@wildo-ai/saas-specifications 1.1.10 → 1.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +5 -4
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.js +1 -1
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts +5 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity-validation.js +13 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +5 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +34 -40
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +26 -2
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +20 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.js +20 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +1 -1
- package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +8 -4
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js +11 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +25 -22
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +6 -4
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +25 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.js +77 -1
- package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts +34 -32
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +67 -35
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name-screening.schemas.js +65 -8
- package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +14 -14
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +27 -9
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js +26 -8
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.d.ts +52 -0
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.d.ts.map +1 -0
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.js +325 -0
- package/dist/esm/_core/build-plan/build-plan-relationship-grouping.js.map +1 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +225 -108
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +39 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +112 -8
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +249 -12
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +506 -344
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +425 -13
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +11 -4
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts +5 -21
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +16 -6
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +12 -5
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js +32 -9
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +30 -5
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.js +28 -2
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +6 -5
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +19 -9
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +12 -33
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +4 -3
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.d.ts +19 -3
- package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.js +7 -3
- package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts +265 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js +371 -0
- package/dist/esm/_core/compliance-documents/ai-document-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +0 -298
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +1 -6
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +3 -619
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +14 -2
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +60 -7
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +137 -12
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts +0 -32
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +2 -2
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +50 -12
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +166 -13
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +35 -148
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +10 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +102 -10
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +128 -25
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +28 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +36 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +2 -24
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +18 -2
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts +4 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js +6 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +21 -10
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +130 -14
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.d.ts +26 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.js +44 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-generation.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-validation.d.ts +34 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-validation.d.ts.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-validation.js +47 -0
- package/dist/esm/_core/compliance-posture/compliance-posture-validation.js.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.d.ts +4 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.js +19 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.family-aspects.js.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.schemas.d.ts +88 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.schemas.js +78 -0
- package/dist/esm/_core/compliance-posture/compliance-posture.schemas.js.map +1 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js +2 -2
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.d.ts +2 -0
- package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.js +10 -1
- package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
- package/dist/esm/_core/definition-specification-validators.d.ts +2 -3
- package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
- package/dist/esm/_core/definition-specification-validators.js +2 -3
- package/dist/esm/_core/definition-specification-validators.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +44 -19
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +75 -2
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +93 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +369 -2
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +412 -5
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +429 -0
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +18 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +88 -2
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.js +2 -2
- package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +20 -9
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +3 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +25 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +57 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +23 -4
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +96 -131
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +144 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +15 -8
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +13 -6
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.registry.js +4 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +12 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js +11 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +37 -53
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts +0 -14
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +2 -2
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-specification.schemas.js +5 -4
- package/dist/esm/_core/feature-specification.schemas.js.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.js +2 -2
- package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.js +2 -2
- package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +1 -3
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +10 -12
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +12 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +12 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +8 -4
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +2 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +19 -51
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +29 -10
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts +5 -5
- package/dist/esm/_core/market/market-alternative.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +4 -4
- package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-channel.schemas.d.ts +5 -5
- package/dist/esm/_core/market/market-gain.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-icp.schemas.d.ts +11 -11
- package/dist/esm/_core/market/market-job.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-message-template.schemas.d.ts +4 -4
- package/dist/esm/_core/market/market-objection.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-pain.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-persona.schemas.d.ts +4 -4
- package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-proof.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-references.schemas.d.ts +7 -0
- package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.js +13 -1
- package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +80 -106
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js +46 -17
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +3 -3
- package/dist/esm/_core/market/market-trigger.schemas.d.ts +3 -3
- package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/milestone-specification.schemas.js +5 -4
- package/dist/esm/_core/milestone-specification.schemas.js.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +0 -2
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -8
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +32 -27
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +3 -3
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +12 -2
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +42 -9
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +16 -4
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +84 -90
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +90 -13
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/product-specification.schemas.js +5 -4
- package/dist/esm/_core/product-specification.schemas.js.map +1 -1
- package/dist/esm/_core/required-features-specification.schemas.d.ts +1 -5
- package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/required-features-specification.schemas.js +1 -5
- package/dist/esm/_core/required-features-specification.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +6 -6
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +4 -4
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +0 -4
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +6 -15
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +2 -3
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +76 -18
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js +168 -60
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +3 -18
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js +3 -17
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js +2 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +3 -3
- package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/role-specification.schemas.js +5 -4
- package/dist/esm/_core/role-specification.schemas.js.map +1 -1
- package/dist/esm/_core/service-method/service-method-derivation.d.ts +155 -0
- package/dist/esm/_core/service-method/service-method-derivation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-derivation.js +415 -0
- package/dist/esm/_core/service-method/service-method-derivation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts +87 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js +30 -0
- package/dist/esm/_core/service-method/service-method-generation.schemas.js.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts +45 -0
- package/dist/esm/_core/service-method/service-method-validation.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method-validation.js +102 -0
- package/dist/esm/_core/service-method/service-method-validation.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts +3 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js +59 -0
- package/dist/esm/_core/service-method/service-method.family-aspects.js.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts +356 -0
- package/dist/esm/_core/service-method/service-method.schemas.d.ts.map +1 -0
- package/dist/esm/_core/service-method/service-method.schemas.js +416 -0
- package/dist/esm/_core/service-method/service-method.schemas.js.map +1 -0
- package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/sidebar-section-specification.schemas.js +2 -2
- package/dist/esm/_core/sidebar-section-specification.schemas.js.map +1 -1
- package/dist/esm/_core/specification-definition-faults.d.ts +160 -0
- package/dist/esm/_core/specification-definition-faults.d.ts.map +1 -0
- package/dist/esm/_core/specification-definition-faults.js +283 -0
- package/dist/esm/_core/specification-definition-faults.js.map +1 -0
- package/dist/esm/_core/specification-module-faults.d.ts +271 -0
- package/dist/esm/_core/specification-module-faults.d.ts.map +1 -0
- package/dist/esm/_core/specification-module-faults.js +655 -0
- package/dist/esm/_core/specification-module-faults.js.map +1 -0
- package/dist/esm/_core/translation-glossary.schemas.d.ts +79 -0
- package/dist/esm/_core/translation-glossary.schemas.d.ts.map +1 -0
- package/dist/esm/_core/translation-glossary.schemas.js +98 -0
- package/dist/esm/_core/translation-glossary.schemas.js.map +1 -0
- package/dist/esm/_core/utils/extract-field-specs.d.ts +25 -0
- package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.js +6 -1
- package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +6 -4
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-constraint.schemas.js +4 -2
- package/dist/esm/_core/vision/vision-constraint.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts +15 -9
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js +30 -20
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
- package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +31 -7
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +34 -6
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +24 -4
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.js +84 -7
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +2 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +424 -120
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.js +687 -32
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts +90 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js +104 -0
- package/dist/esm/application-creation/accepted-change-attribution.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +110 -127
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +122 -16
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.d.ts +22 -0
- package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.js +23 -0
- package/dist/esm/application-creation/application-declared-answer.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.d.ts +50 -0
- package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.js +33 -0
- package/dist/esm/application-creation/application-declared-answers.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +57 -41
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +22 -4
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +3 -11
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +206 -10
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.js +226 -9
- package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +4 -2
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +42 -41
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +79 -23
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +2 -2
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +2 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +13 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +15 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +0 -12
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts +1 -9
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-register.schemas.d.ts +10 -73
- package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +34 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js +45 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
- package/dist/esm/assurance/assurance-assessment-twins.d.ts +38 -0
- package/dist/esm/assurance/assurance-assessment-twins.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-assessment-twins.js +36 -0
- package/dist/esm/assurance/assurance-assessment-twins.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +632 -19
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +3000 -1063
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +27 -22
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +1 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts +2 -0
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +168 -29
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +34 -112
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +13 -0
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +121 -114
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +142 -7
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +1746 -116
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +0 -11
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts +77 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js +51 -0
- package/dist/esm/assurance/assurance-host-implementation-artifacts.js.map +1 -0
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +3 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +354 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts +12 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js +19 -0
- package/dist/esm/assurance/assurance-open-compliance-answer-cell.js.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts +422 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js +886 -0
- package/dist/esm/assurance/assurance-open-compliance-coverage-pack.js.map +1 -0
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +61 -182
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +180 -22
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program-obligation-standing.d.ts +107 -0
- package/dist/esm/assurance/assurance-program-obligation-standing.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-program-obligation-standing.js +153 -0
- package/dist/esm/assurance/assurance-program-obligation-standing.js.map +1 -0
- package/dist/esm/assurance/assurance-program.schemas.d.ts +373 -1165
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +267 -18
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts +2 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +277 -23
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts +17 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js +246 -0
- package/dist/esm/assurance/assurance-source-requirement-inventory.definitions.js.map +1 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +84 -24
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +111 -1
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +372 -17
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts +83 -0
- package/dist/esm/assurance/governed-document-audience.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js +97 -0
- package/dist/esm/assurance/governed-document-audience.derivations.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +15 -1
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
- package/dist/esm/assurance/governed-document-release.js +10 -4
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/assurance.exports.d.ts +5 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +5 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +39 -3
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js +61 -0
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +16 -16
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js +37 -11
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +3 -3
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +10 -13
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +19 -19
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +64 -12
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +4 -4
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +4 -4
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +7 -6
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js +7 -7
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +20 -12
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +51 -14
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.d.ts +26 -0
- package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.js +112 -0
- package/dist/esm/engine/auth/resources/application-provider-credentials.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js +4 -4
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/index.d.ts +0 -2
- package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/index.js +0 -2
- package/dist/esm/engine/auth/resources/index.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts +13 -12
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +15 -4
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts +16 -16
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js +44 -17
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +20 -20
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +48 -9
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +25 -21
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +44 -12
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts +20 -14
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js +73 -20
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts +22 -22
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +15 -14
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts +9 -8
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js +20 -16
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +40 -40
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +135 -16
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +108 -108
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +80 -20
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.d.ts +17 -0
- package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.js +85 -0
- package/dist/esm/engine/auth/resources/sso-domain-reservations.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +21 -19
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +14 -10
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts +14 -12
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +4 -2
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +20 -20
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts +22 -20
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +9 -8
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +8 -8
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js +11 -10
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +16 -16
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +11 -10
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts +11 -11
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js +31 -29
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts +22 -21
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +7 -6
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +48 -48
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +112 -26
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts +30 -26
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +5 -2
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +37 -25
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +50 -12
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts +78 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js +213 -0
- package/dist/esm/engine/compliance/resources/approval-seals.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +33 -23
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js +61 -21
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.d.ts +39 -0
- package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.js +533 -0
- package/dist/esm/engine/compliance/resources/data-subject-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/index.d.ts +2 -0
- package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/index.js +2 -0
- package/dist/esm/engine/compliance/resources/index.js.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts +21 -16
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +17 -6
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts +37 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js +161 -0
- package/dist/esm/engine/compliance/resources/published-verification-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts +13 -11
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +9 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/siem-delivery-dlq.resource.specification.d.ts +27 -0
- package/dist/esm/engine/compliance/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/{auth → compliance}/resources/siem-delivery-dlq.resource.specification.js +24 -19
- package/dist/esm/engine/compliance/resources/siem-delivery-dlq.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/{auth → compliance}/resources/siem-delivery-outbox.resource.specification.js +1 -1
- package/dist/esm/engine/compliance/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/{auth → compliance}/resources/siem-export-config.resource.specification.d.ts +18 -18
- package/dist/esm/engine/compliance/resources/siem-export-config.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/{auth → compliance}/resources/siem-export-config.resource.specification.js +2 -2
- package/dist/esm/engine/compliance/resources/siem-export-config.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.d.ts +45 -0
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.js +224 -0
- package/dist/esm/engine/compliance/resources/signature-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +3 -2
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +82 -20
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.d.ts +7 -3
- package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.js +8 -4
- package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +359 -5
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts +10 -4
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js +100 -5
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.js +7 -3
- package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/index.d.ts +4 -2
- package/dist/esm/engine/features/index.d.ts.map +1 -1
- package/dist/esm/engine/features/index.js +6 -4
- package/dist/esm/engine/features/index.js.map +1 -1
- package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.js +1 -1
- package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts +7 -7
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +8 -8
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts +7 -7
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +37 -18
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +7 -7
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +4 -4
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts +27 -24
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +30 -8
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts +30 -30
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +32 -4
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts +18 -18
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +7 -7
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts +30 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js +181 -0
- package/dist/esm/engine/flows-actors/resources/actor-system-executions.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js +110 -0
- package/dist/esm/engine/flows-actors/resources/actor-tasks.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js +286 -0
- package/dist/esm/engine/flows-actors/resources/agent-behavior-reports.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js +147 -0
- package/dist/esm/engine/flows-actors/resources/agent-operation-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +71 -26
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js +97 -0
- package/dist/esm/engine/flows-actors/resources/application-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts +46 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js +196 -0
- package/dist/esm/engine/flows-actors/resources/chat-conversations.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +229 -178
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +126 -22
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +60 -54
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +23 -8
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/human-decision-notice-stays.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +17 -5
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +47 -7
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js +118 -0
- package/dist/esm/engine/flows-actors/resources/model-usage-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js +240 -0
- package/dist/esm/engine/flows-actors/resources/operation-approval-requests.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js +151 -0
- package/dist/esm/engine/flows-actors/resources/organization-agent-policies.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts +23 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js +124 -0
- package/dist/esm/engine/flows-actors/resources/organization-chat-settings.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js +114 -0
- package/dist/esm/engine/flows-actors/resources/person-token-ceiling-state.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +45 -3
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js +9 -3
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js +78 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation-thread.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-evaluation-export-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-autonomous-agents-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +7 -5
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-model-cost-breakdown-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-representative-activity-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +2 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-chat-identity-link.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js +7 -0
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js +24 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-usage.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js +6 -6
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js +128 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-graph-viewer.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js +4 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js +4 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js +4 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js +4 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js +4 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js +139 -0
- package/dist/esm/engine/frontend-components/form/controls/string/chips-input.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.js +3 -0
- package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js +5 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +6 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +26 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js +12 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js +7 -3
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.js +1 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js +27 -0
- package/dist/esm/engine/frontend-components/resources/resource-layout-record-sharing.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +5 -3
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts +16 -14
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +4 -4
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts +18 -16
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +20 -18
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts +24 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js +136 -0
- package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +6 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +10 -4
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +20 -2
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +6 -6
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +5 -5
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js +118 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-requested-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +54 -8
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +33 -5
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.js +155 -0
- package/dist/esm/engine/infrastructure/resources/external-effect-reservations.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.js +155 -0
- package/dist/esm/engine/infrastructure/resources/idempotent-request-outcomes.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +37 -19
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +14 -14
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js +159 -0
- package/dist/esm/engine/infrastructure/resources/post-commit-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +15 -15
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +45 -16
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js +100 -0
- package/dist/esm/engine/infrastructure/resources/transactional-commit-receipts.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts +37 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js +183 -0
- package/dist/esm/engine/notifications/resources/chat-identity-links.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +52 -50
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +18 -10
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +86 -53
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +78 -17
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +85 -83
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +59 -55
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +30 -26
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +38 -20
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +12 -14
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +0 -2
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.d.ts +56 -0
- package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.js +277 -0
- package/dist/esm/engine/notifications/resources/sms-provider-events.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts +20 -16
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +13 -8
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +1 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +43 -2
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts +0 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.js +1 -3
- package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js +25 -15
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +13 -13
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/index.d.ts +1 -2
- package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/index.js +1 -2
- package/dist/esm/engine/organizations/resources/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.d.ts +33 -0
- package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.js +195 -0
- package/dist/esm/engine/organizations/resources/organization-custom-domains.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +19 -18
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js +129 -64
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts +7 -7
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +5 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts +13 -13
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts +12 -11
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +10 -7
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts +128 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js +653 -0
- package/dist/esm/engine/organizations/resources/organization-relationships.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts +9 -9
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js +15 -17
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +14 -14
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +5 -5
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +18 -13
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +111 -43
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts +39 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js +140 -0
- package/dist/esm/engine/organizations/resources/professional-qualifications.resource.specification.js.map +1 -0
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js +18 -3
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.js +6 -2
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +18 -7
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js +48 -0
- package/dist/esm/engine/providers/google-drive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/google-places.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google-places.provider.specification.js +5 -2
- package/dist/esm/engine/providers/google-places.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js +8 -2
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.js +14 -3
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/index.d.ts +2 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -1
- package/dist/esm/engine/providers/index.js +5 -1
- package/dist/esm/engine/providers/index.js.map +1 -1
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js +55 -0
- package/dist/esm/engine/providers/microsoft-onedrive.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js +26 -3
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js +20 -5
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.js +30 -3
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js +13 -2
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/recaptcha.provider.specification.js +8 -3
- package/dist/esm/engine/providers/recaptcha.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +27 -10
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js +19 -3
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js +21 -6
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-sms-provider-events.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-sms-provider-events.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-sms-provider-events.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-sms-provider-events.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/index.d.ts +8 -7
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +13 -10
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +24 -24
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-representative.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js +22 -0
- package/dist/esm/engine/roles/org-representative.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/org-signature-provider-events.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-signature-provider-events.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-signature-provider-events.role.specification.js +21 -0
- package/dist/esm/engine/roles/org-signature-provider-events.role.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +13 -12
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +7 -5
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +12 -12
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +4 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js +3 -3
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts +15 -15
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +17 -17
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +13 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +2 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +4 -0
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +25 -20
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +8 -8
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts +8 -8
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +25 -20
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +7 -2
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts +8 -8
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +11 -9
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +46 -7
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts +3 -0
- package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users-api-reference.examples.js +3 -0
- package/dist/esm/engine/users/resources/users-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts +12 -10
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +26 -15
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +63 -29
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +75 -11
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +2 -2
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +2 -30
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +2 -2
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +51 -24
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts +0 -31
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts +0 -11
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts +0 -20
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts +0 -3
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts +0 -24
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +0 -12
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +11 -11
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts +0 -35
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +0 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +0 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +0 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts +0 -6
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +0 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js +0 -146
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +0 -38
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +0 -152
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts +0 -106
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +0 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +0 -417
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +0 -2
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +0 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.js +0 -22
- package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +0 -1
- /package/dist/esm/engine/{auth → compliance}/resources/siem-delivery-outbox.resource.specification.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExternalDataMappingEntryKind } from "@wildo-ai/saas-models/external-data";
|
|
2
|
-
import { personalDataDisclosedThroughCapabilities, PersonalDataCategory, RecipientCategoriesNotDerivableReason, RECIPIENT_CAPABILITY_FLOW_TOKEN_KIND, resolveResourcePersonalDataCategories, sortPersonalDataCategories, } from "@wildo-ai/saas-models";
|
|
1
|
+
import { ExternalDataMappingEntryKind, ExternalDataPipelineDirection, externalDataEntryIsLoaded, externalDataEntryIsSent, externalDataPipelineFollowsSystemOfRecord, HTTP_API_DEFAULT_SUBJECT_RIGHTS, } from "@wildo-ai/saas-models/external-data";
|
|
2
|
+
import { personalDataDisclosedThroughCapabilities, PersonalDataCategory, RecipientCategoriesNotDerivableReason, RECIPIENT_CAPABILITY_FLOW_TOKEN_KIND, resolveResourcePersonalDataCategories, resourceComplianceSchema, sortPersonalDataCategories, } from "@wildo-ai/saas-models";
|
|
3
3
|
import { RecipientDataPathKind, RecipientPopulationClass, } from "./recipient-population.schemas.js";
|
|
4
4
|
/**
|
|
5
5
|
* **What each recipient RECEIVES, and for which purpose** — derived from the flows the application declares (#1709).
|
|
@@ -25,13 +25,15 @@ import { RecipientDataPathKind, RecipientPopulationClass, } from "./recipient-po
|
|
|
25
25
|
* field-to-input map, so its categories are NOT DERIVABLE. That is reported per recipient, never as an empty answer
|
|
26
26
|
* and never as a guess.
|
|
27
27
|
*
|
|
28
|
-
* ## A pipeline
|
|
28
|
+
* ## A pipeline's mapped fields count on the instance, whatever the direction
|
|
29
29
|
*
|
|
30
|
-
* `ExternalDataPipelineDirection` has
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
30
|
+
* `ExternalDataPipelineDirection` has three members (#2111): an INBOUND pipeline copies rows FROM the system of record,
|
|
31
|
+
* an OUTBOUND one sends the application's rows TO it, and a BIDIRECTIONAL one does both. In every direction the mapped
|
|
32
|
+
* (non-`CONSTANT`) fields are data the instance HOLDS: received from it, disclosed to it by being sent, or both. They are
|
|
33
|
+
* all counted on the instance, because the instance is the application's processor for those rows (it holds them on
|
|
34
|
+
* the operator's account) and a processor's record must name them. The direction does not change WHETHER a category is
|
|
35
|
+
* held, so this count does not branch on it. Whether the instance is also a SOURCE (Art. 14) is a different question,
|
|
36
|
+
* answered by the system-of-record sources fact.
|
|
35
37
|
*
|
|
36
38
|
* ## Purposes are LINKED, never inferred
|
|
37
39
|
*
|
|
@@ -49,9 +51,60 @@ export var SystemOfRecordDataFlowKind;
|
|
|
49
51
|
(function (SystemOfRecordDataFlowKind) {
|
|
50
52
|
/** A read-through binding: the resource's rows live in the system of record, every field maps by name or by map. */
|
|
51
53
|
SystemOfRecordDataFlowKind["READ_THROUGH_BINDING"] = "read-through-binding";
|
|
52
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* A pipeline LOADS the mapped fields from the system of record into a local resource: every entry of an INBOUND
|
|
56
|
+
* pipeline, and the REMOTE- and BOTH-owned entries of a BIDIRECTIONAL one (#2704), which is also an OUTBOUND_PIPELINE
|
|
57
|
+
* flow for what it sends.
|
|
58
|
+
*/
|
|
53
59
|
SystemOfRecordDataFlowKind["PIPELINE"] = "pipeline";
|
|
60
|
+
/**
|
|
61
|
+
* A pipeline SENDS the mapped fields of the application's rows to the system of record: every entry of an OUTBOUND
|
|
62
|
+
* pipeline, which reads nothing from it (#2560), and the LOCAL- and BOTH-owned entries of a BIDIRECTIONAL one (#2704).
|
|
63
|
+
* The system then holds those categories, so it is where they flow — a recipient disclosure counts it — but it is NOT a
|
|
64
|
+
* source of them: the source statement leaves this kind out. Kept apart from PIPELINE because the direction is the
|
|
65
|
+
* whole difference between "obtained from" and "sent to", and both statements read it.
|
|
66
|
+
*/
|
|
67
|
+
SystemOfRecordDataFlowKind["OUTBOUND_PIPELINE"] = "outbound-pipeline";
|
|
54
68
|
})(SystemOfRecordDataFlowKind || (SystemOfRecordDataFlowKind = {}));
|
|
69
|
+
/**
|
|
70
|
+
* Split declared fields into what is held on every row and, per condition, what is held only under it (#2119). The ONE
|
|
71
|
+
* split every statement here uses, so a source clause and a recipient clause cannot word the same field differently.
|
|
72
|
+
*/
|
|
73
|
+
export function splitPersonalDataFieldCategories(fields) {
|
|
74
|
+
const unconditional = [];
|
|
75
|
+
const byCondition = new Map();
|
|
76
|
+
for (const field of fields) {
|
|
77
|
+
if (field.personalOnlyWhen === undefined) {
|
|
78
|
+
unconditional.push(...field.categories);
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
byCondition.set(field.personalOnlyWhen, [...(byCondition.get(field.personalOnlyWhen) ?? []), ...field.categories]);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return {
|
|
85
|
+
unconditionalCategories: sortPersonalDataCategories(unconditional),
|
|
86
|
+
conditionalCategories: mergeConditionallyHeldCategories([...byCondition].map(([condition, categories]) => ({ condition, categories }))),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
/** Union per condition, each condition once, sorted by condition and then by the category enum's order. */
|
|
90
|
+
export function mergeConditionallyHeldCategories(entries) {
|
|
91
|
+
const byCondition = new Map();
|
|
92
|
+
for (const entry of entries)
|
|
93
|
+
byCondition.set(entry.condition, [...(byCondition.get(entry.condition) ?? []), ...entry.categories]);
|
|
94
|
+
return [...byCondition]
|
|
95
|
+
.sort(([left], [right]) => left.localeCompare(right))
|
|
96
|
+
.map(([condition, categories]) => ({ condition, categories: sortPersonalDataCategories(categories) }));
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* A binding's declared subject-rights posture, or the binding schema's default when it declares none (#2561).
|
|
100
|
+
*
|
|
101
|
+
* Typed through the binding's own `HttpApiSubjectRightsDeclaration`, never a structural copy: renaming the field in
|
|
102
|
+
* saas-models must fail the build here, because a copy would keep compiling and read every declared posture as the
|
|
103
|
+
* default, the one guess a notice must not make. `Partial`, because a raw (unparsed) declaration may omit it.
|
|
104
|
+
*/
|
|
105
|
+
function postureOfBinding(binding) {
|
|
106
|
+
return binding.subjectRights?.posture ?? HTTP_API_DEFAULT_SUBJECT_RIGHTS.posture;
|
|
107
|
+
}
|
|
55
108
|
/** @wildo_source:part:end saas.specifications.recipient-disclosures */
|
|
56
109
|
/**
|
|
57
110
|
* The system-of-record flows one resource declares, read off its materialized configuration — the one function the
|
|
@@ -62,6 +115,12 @@ export var SystemOfRecordDataFlowKind;
|
|
|
62
115
|
* - A pipeline (`externalDataPipeline`) moves only its MAPPED fields: the categories of the local fields its remote
|
|
63
116
|
* field, remote reference and declared-expression entries (#1685) write. A constant entry carries no remote data and
|
|
64
117
|
* does not count.
|
|
118
|
+
* - Its DIRECTION decides the flow kind, per entry (#2704): the entries it loads are a PIPELINE flow, the entries it sends
|
|
119
|
+
* an OUTBOUND_PIPELINE flow, as `externalDataEntryIsLoaded` and `externalDataEntryIsSent` decide. So an INBOUND
|
|
120
|
+
* pipeline is one PIPELINE flow and an OUTBOUND one one OUTBOUND_PIPELINE flow, while a BIDIRECTIONAL one is both: its
|
|
121
|
+
* REMOTE-owned fields are only obtained from the system, its LOCAL-owned fields only sent to it, and a BOTH-owned
|
|
122
|
+
* field is both. One flow for the whole pipeline stated a LOCAL field, which the application only sends, as data it
|
|
123
|
+
* obtained from the system. A BIDIRECTIONAL direction carrying no entry yields no flow.
|
|
65
124
|
*
|
|
66
125
|
* Structural input, so a configuration of any generic instantiation passes without this module taking a view on it.
|
|
67
126
|
*/
|
|
@@ -69,34 +128,60 @@ export function systemOfRecordFlowsOfResource(resourceType, configuration) {
|
|
|
69
128
|
const flows = [];
|
|
70
129
|
if (configuration.httpApiBinding === undefined && configuration.externalDataPipeline === undefined)
|
|
71
130
|
return flows;
|
|
72
|
-
const profile = resolveResourcePersonalDataCategories(configuration
|
|
131
|
+
const profile = resolveResourcePersonalDataCategories(resourceComplianceSchema(configuration));
|
|
73
132
|
if (configuration.httpApiBinding !== undefined) {
|
|
74
133
|
flows.push({
|
|
75
134
|
system: configuration.httpApiBinding.system,
|
|
76
135
|
resourceType,
|
|
77
136
|
kind: SystemOfRecordDataFlowKind.READ_THROUGH_BINDING,
|
|
78
137
|
categories: [...profile.categories],
|
|
138
|
+
...splitPersonalDataFieldCategories(profile.declaredFields),
|
|
79
139
|
uncategorizedPersonalFields: profile.uncategorizedPersonalFields.map((field) => field.fieldName).sort(),
|
|
80
140
|
purposeRefs: [...new Set(configuration.httpApiBinding.purposeRefs ?? [])].sort(),
|
|
141
|
+
subjectRightsPosture: postureOfBinding(configuration.httpApiBinding),
|
|
142
|
+
// A read-through binding keeps nothing locally, so there is no copy to follow anything.
|
|
143
|
+
followsSystemOfRecord: false,
|
|
81
144
|
});
|
|
82
145
|
}
|
|
83
146
|
const pipeline = configuration.externalDataPipeline;
|
|
84
147
|
if (pipeline !== undefined) {
|
|
85
|
-
// Every local field
|
|
86
|
-
//
|
|
87
|
-
// nothing — which is why this excludes the one kind rather than listing the others, so a kind
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
kind: SystemOfRecordDataFlowKind.PIPELINE,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
148
|
+
// Every local field the system of record holds, whichever way it travels (an outbound pipeline SENDS it; #2111): a
|
|
149
|
+
// mapped field, a reference, and each declared expression (#1685). Only a CONSTANT carries nothing to or from the
|
|
150
|
+
// system and so discloses nothing — which is why this excludes the one kind rather than listing the others, so a kind
|
|
151
|
+
// added later counts.
|
|
152
|
+
const flowing = pipeline.mapping.filter((entry) => entry.kind !== ExternalDataMappingEntryKind.CONSTANT);
|
|
153
|
+
const direction = pipeline.direction ?? ExternalDataPipelineDirection.INBOUND;
|
|
154
|
+
// The direction rule has one home (#2704): the predicates the pipeline itself loads and sends by. Structural input,
|
|
155
|
+
// so each entry is read as the declaration's own entry type there.
|
|
156
|
+
const asEntry = (entry) => entry;
|
|
157
|
+
const halves = [
|
|
158
|
+
{ kind: SystemOfRecordDataFlowKind.PIPELINE, entries: flowing.filter((entry) => externalDataEntryIsLoaded(direction, asEntry(entry))) },
|
|
159
|
+
{ kind: SystemOfRecordDataFlowKind.OUTBOUND_PIPELINE, entries: flowing.filter((entry) => externalDataEntryIsSent(direction, asEntry(entry))) },
|
|
160
|
+
];
|
|
161
|
+
// A single-direction pipeline is its one flow, as it always was, even with nothing mapped; a BIDIRECTIONAL one is each
|
|
162
|
+
// direction that carries an entry.
|
|
163
|
+
const ownKind = direction === ExternalDataPipelineDirection.OUTBOUND ? SystemOfRecordDataFlowKind.OUTBOUND_PIPELINE : SystemOfRecordDataFlowKind.PIPELINE;
|
|
164
|
+
// One answer for the whole pipeline: both halves of a two-way copy concern the same local rows.
|
|
165
|
+
const followsSystemOfRecord = externalDataPipelineFollowsSystemOfRecord({
|
|
166
|
+
direction, binding: { subjectRights: { posture: postureOfBinding(pipeline.binding) } },
|
|
99
167
|
});
|
|
168
|
+
for (const half of halves) {
|
|
169
|
+
if (direction === ExternalDataPipelineDirection.BIDIRECTIONAL ? half.entries.length === 0 : half.kind !== ownKind)
|
|
170
|
+
continue;
|
|
171
|
+
const mapped = new Set(half.entries.map((entry) => entry.localField));
|
|
172
|
+
const flowingFields = profile.declaredFields.filter((field) => mapped.has(field.fieldName));
|
|
173
|
+
flows.push({
|
|
174
|
+
system: pipeline.binding.system,
|
|
175
|
+
resourceType,
|
|
176
|
+
kind: half.kind,
|
|
177
|
+
categories: sortPersonalDataCategories(flowingFields.flatMap((field) => field.categories)),
|
|
178
|
+
...splitPersonalDataFieldCategories(flowingFields),
|
|
179
|
+
uncategorizedPersonalFields: profile.uncategorizedPersonalFields.filter((field) => mapped.has(field.fieldName)).map((field) => field.fieldName).sort(),
|
|
180
|
+
purposeRefs: [...new Set(pipeline.binding.purposeRefs ?? [])].sort(),
|
|
181
|
+
subjectRightsPosture: postureOfBinding(pipeline.binding),
|
|
182
|
+
followsSystemOfRecord,
|
|
183
|
+
});
|
|
184
|
+
}
|
|
100
185
|
}
|
|
101
186
|
return flows;
|
|
102
187
|
}
|
|
@@ -107,16 +192,22 @@ export function deriveRecipientDisclosures(inputs) {
|
|
|
107
192
|
const basesByRef = new Map((inputs.lawfulBases ?? []).flatMap((entry) => (entry.purposeRef === undefined ? [] : [[entry.purposeRef, entry]])));
|
|
108
193
|
return recipients.map((member) => {
|
|
109
194
|
const found = new Set();
|
|
195
|
+
// A capability's categories are carried on every call; a system of record's split per field (#2119).
|
|
196
|
+
const foundUnconditionally = new Set();
|
|
197
|
+
const foundConditionally = [];
|
|
110
198
|
/** The purposes the member's flows link (#1745) — only a system of record's flows carry any. */
|
|
111
199
|
const flowPurposeRefs = [];
|
|
112
200
|
const derivedFrom = [];
|
|
201
|
+
/** Per system-of-record flow, who answers for its records (#2561). Empty for every other recipient. */
|
|
202
|
+
const postureByFlow = {};
|
|
203
|
+
const followsByFlow = {};
|
|
113
204
|
const notDerivable = new Set();
|
|
114
205
|
for (const path of member.dataPaths) {
|
|
115
206
|
switch (path.kind) {
|
|
116
207
|
case RecipientDataPathKind.ENGINE_CAPABILITY:
|
|
117
208
|
case RecipientDataPathKind.PROVIDER_CAPABILITY: {
|
|
118
209
|
const disclosed = personalDataDisclosedThroughCapabilities(path.detail);
|
|
119
|
-
disclosed.categories.forEach((category) => found.add(category));
|
|
210
|
+
disclosed.categories.forEach((category) => { found.add(category); foundUnconditionally.add(category); });
|
|
120
211
|
derivedFrom.push(...path.detail.filter((token) => !disclosed.undeclared.includes(token)).map((token) => `${RECIPIENT_CAPABILITY_FLOW_TOKEN_KIND}:${token}`));
|
|
121
212
|
if (disclosed.undeclared.length > 0)
|
|
122
213
|
notDerivable.add(RecipientCategoriesNotDerivableReason.FLOW_UNDECLARED);
|
|
@@ -132,7 +223,11 @@ export function deriveRecipientDisclosures(inputs) {
|
|
|
132
223
|
notDerivable.add(RecipientCategoriesNotDerivableReason.NO_RESOURCE_FLOW);
|
|
133
224
|
for (const flow of flows) {
|
|
134
225
|
flow.categories.forEach((category) => found.add(category));
|
|
226
|
+
flow.unconditionalCategories.forEach((category) => foundUnconditionally.add(category));
|
|
227
|
+
foundConditionally.push(...flow.conditionalCategories);
|
|
135
228
|
derivedFrom.push(`${flow.kind}:${flow.resourceType}`);
|
|
229
|
+
postureByFlow[`${flow.kind}:${flow.resourceType}`] = flow.subjectRightsPosture;
|
|
230
|
+
followsByFlow[`${flow.kind}:${flow.resourceType}`] = flow.followsSystemOfRecord;
|
|
136
231
|
if (flow.uncategorizedPersonalFields.length > 0)
|
|
137
232
|
notDerivable.add(RecipientCategoriesNotDerivableReason.UNCATEGORIZED_PERSONAL_FIELDS);
|
|
138
233
|
flowPurposeRefs.push(...flow.purposeRefs);
|
|
@@ -158,6 +253,8 @@ export function deriveRecipientDisclosures(inputs) {
|
|
|
158
253
|
kind: member.kind,
|
|
159
254
|
populationClass: member.populationClass,
|
|
160
255
|
categories,
|
|
256
|
+
unconditionalCategories: order.filter((category) => foundUnconditionally.has(category)),
|
|
257
|
+
conditionalCategories: mergeConditionallyHeldCategories(foundConditionally),
|
|
161
258
|
categoriesNotDerivable: [...notDerivable].sort(),
|
|
162
259
|
categoriesAreAFloor: categories.includes(PersonalDataCategory.USER_CONTENT),
|
|
163
260
|
derivedFrom: [...new Set(derivedFrom)].sort(),
|
|
@@ -166,6 +263,12 @@ export function deriveRecipientDisclosures(inputs) {
|
|
|
166
263
|
return basis === undefined ? [] : [{ purposeRef, purpose: basis.purpose, basis: basis.basis }];
|
|
167
264
|
}),
|
|
168
265
|
purposeRefsNamingNoPurpose: purposeRefs.filter((purposeRef) => !basesByRef.has(purposeRef)),
|
|
266
|
+
...(Object.keys(postureByFlow).length > 0
|
|
267
|
+
? { subjectRightsPostureByFlow: Object.fromEntries(Object.entries(postureByFlow).sort(([left], [right]) => left.localeCompare(right))) }
|
|
268
|
+
: {}),
|
|
269
|
+
...(Object.keys(followsByFlow).length > 0
|
|
270
|
+
? { localCopyFollowsSourceByFlow: Object.fromEntries(Object.entries(followsByFlow).sort(([left], [right]) => left.localeCompare(right))) }
|
|
271
|
+
: {}),
|
|
169
272
|
};
|
|
170
273
|
});
|
|
171
274
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipient-disclosures.schemas.js","sourceRoot":"","sources":["../../../../src/_core/compliance-documents/recipient-disclosures.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,qCAAqC,CAAC;AACnF,OAAO,EACL,wCAAwC,EACxC,oBAAoB,EACpB,qCAAqC,EACrC,oCAAoC,EACpC,qC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EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,EAAE;gBAC3C,MAAM,KAAK,GAAG,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;gBACzC,OAAO,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC;YACjG,CAAC,CAAC;YACF,0BAA0B,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;SAC5F,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { ExternalDataMappingEntryKind } from \"@wildo-ai/saas-models/external-data\";\nimport {\n personalDataDisclosedThroughCapabilities,\n PersonalDataCategory,\n RecipientCategoriesNotDerivableReason,\n RECIPIENT_CAPABILITY_FLOW_TOKEN_KIND,\n resolveResourcePersonalDataCategories,\n sortPersonalDataCategories,\n type ApplicationProviderComplianceChoices,\n type LawfulBasis,\n type OperatorLawfulBasis,\n} from \"@wildo-ai/saas-models\";\n\nimport {\n RecipientDataPathKind,\n RecipientPopulationClass,\n RecipientPopulationMemberKind,\n type RecipientPopulation,\n} from \"./recipient-population.schemas\";\n\n/**\n * **What each recipient RECEIVES, and for which purpose** — derived from the flows the application declares (#1709).\n *\n * A record of processing states the categories of personal data and the categories of recipients (GDPR Art.\n * 30(1)(c) and (d)), and a notice names the recipients (Art. 13(1)(e)). The law asks for the two lists, not for a\n * cross-reference between them; saying which categories reach which recipient is the practice that keeps the two\n * lists consistent, and it is what an operator needs to answer a data subject's \"who has my data\". Until this\n * existed, it rested on free text an operator typed.\n * spec-cite: GDPR Art. 30, https://gdpr-info.eu/art-30-gdpr/ — \"(c) a description of the categories of data subjects\n * and of the categories of personal data; (d) the categories of recipients to whom the personal data have been or\n * will be disclosed\".\n *\n * ## Derived from DECLARED FLOWS only, and a flow nobody declared is a marked gap\n *\n * Three kinds of flow say which data reaches a vendor, and each is read where it is declared:\n *\n * - an ENGINE CAPABILITY (or a capability ROLE the engine wires): the engine composes the call, so the categories are\n * the engine's own statement, `PROVIDER_CAPABILITY_DISCLOSURES` in `@wildo-ai/saas-models`;\n * - a SYSTEM OF RECORD: every resource bound to the instance (a read-through binding) or piped from it, with the\n * `.dataCategories()` of the fields that flow — {@link SystemOfRecordDataFlow}, read off the materialized resources;\n * - anything else — a generated typed client, a browser operation, code the scan could not read — carries no static\n * field-to-input map, so its categories are NOT DERIVABLE. That is reported per recipient, never as an empty answer\n * and never as a guess.\n *\n * ## A pipeline is a SOURCE today, and it is counted as what the instance holds\n *\n * `ExternalDataPipelineDirection` has one member, INBOUND: a pipeline copies rows FROM the system of record. Its\n * mapped categories are therefore data the instance HOLDS and the application receives from it, not data disclosed to\n * it. They are counted on the instance anyway, because the instance is the application's processor for those rows\n * (it holds them on the operator's account) and a processor's record must name them. When an OUTBOUND direction\n * exists, this is where source and recipient part ways.\n *\n * ## Purposes are LINKED, never inferred\n *\n * A recipient serves the purposes its compliance choice names (`providerComplianceChoices.<ref>.purposeRefs`), each a\n * `purposeRef` of `operatorComplianceIdentity.lawfulBases`. A system of record ALSO serves the purposes its bindings\n * and pipelines link (`binding.purposeRefs`, #1745): the flow is where the purpose of a copy is declared, per resource.\n * A recipient that names none is reported as such; a ref naming no declared purpose is reported as a broken link.\n * Nothing here decides a purpose on the operator's behalf.\n *\n * Report-only, like the population it reads: it never refuses (`application-creation-directive.md`).\n */\n\n/** @wildo_source:part:start saas.specifications.recipient-disclosures facet:layer:shared facet:audience:app-developer */\n\n/** How a resource exchanges data with a system-of-record instance. */\nexport enum SystemOfRecordDataFlowKind {\n /** A read-through binding: the resource's rows live in the system of record, every field maps by name or by map. */\n READ_THROUGH_BINDING = \"read-through-binding\",\n /** A pipeline copies the mapped fields between the system of record and a local resource. */\n PIPELINE = \"pipeline\",\n}\n\n/** One resource's declared exchange with a system-of-record instance, with the categories of the fields that flow. */\nexport interface SystemOfRecordDataFlow {\n /** The `systemsOfRecord.<name>` instance. */\n readonly system: string;\n readonly resourceType: string;\n readonly kind: SystemOfRecordDataFlowKind;\n /** The `.dataCategories()` of the fields that flow, in enum order. Empty when none of them declares one. */\n readonly categories: readonly PersonalDataCategory[];\n /**\n * Flowing fields the application already declares personal (a scrub treatment, a provenance) with NO category: they\n * reach the instance and name no category, so the instance's categories are incomplete. Empty when there are none.\n */\n readonly uncategorizedPersonalFields: readonly string[];\n /**\n * The processing purposes the binding links this flow to (`binding.purposeRefs`, #1745), sorted and deduplicated.\n * Empty when it links none — which is reported where the purposes are read, never filled in.\n */\n readonly purposeRefs: readonly string[];\n}\n\n/*\n * Why a recipient's categories are not all derivable: `RecipientCategoriesNotDerivableReason`, in `@wildo-ai/saas-models`\n * since #1710 — the running application states the same reason to a data subject, so the vocabulary lives where both halves\n * can import it.\n */\n\n/** What one recipient receives, and for which purposes. */\nexport interface RecipientDisclosure {\n readonly ref: string;\n readonly kind: RecipientPopulationMemberKind;\n readonly populationClass: RecipientPopulationClass;\n /** The categories the declared flows carry to it, in enum order. */\n readonly categories: readonly PersonalDataCategory[];\n /**\n * Every reason the categories are not all known — some path declares no field map, a flowing field has no category.\n * `categories` is then what the DECLARED paths carry, and a notice must say the rest is not established. Empty when\n * the declared flows account for everything.\n */\n readonly categoriesNotDerivable: readonly RecipientCategoriesNotDerivableReason[];\n /**\n * True when `categories` includes free text a person wrote (`USER_CONTENT`), which can carry any other category — so\n * the list is a FLOOR of what reaches the vendor, and a notice must not conclude nothing else does.\n */\n readonly categoriesAreAFloor: boolean;\n /** The declared flows the categories come from — `capability:EMAIL_TRANSACTIONAL`, `pipeline:contacts`, … */\n readonly derivedFrom: readonly string[];\n /** The purposes the recipient's compliance choice links to, resolved against the declared lawful bases. */\n readonly purposes: readonly { readonly purposeRef: string; readonly purpose: string; readonly basis: LawfulBasis }[];\n /** `purposeRefs` the choice names that no lawful basis carries — a broken link, reported. */\n readonly purposeRefsNamingNoPurpose: readonly string[];\n}\n\n/** @wildo_source:part:end saas.specifications.recipient-disclosures */\n\n/**\n * The system-of-record flows one resource declares, read off its materialized configuration — the one function the\n * companion's facts and the evidence collector both call, so they cannot disagree about what flows.\n *\n * - A read-through binding (`httpApiBinding`) keeps the resource's rows IN the system of record: every field maps to\n * a remote field (by name, or through `fieldMappings`), so the vendor holds every category the resource declares.\n * - A pipeline (`externalDataPipeline`) moves only its MAPPED fields: the categories of the local fields its remote\n * field, remote reference and declared-expression entries (#1685) write. A constant entry carries no remote data and\n * does not count.\n *\n * Structural input, so a configuration of any generic instantiation passes without this module taking a view on it.\n */\nexport function systemOfRecordFlowsOfResource(\n resourceType: string,\n configuration: {\n readonly mainSchema?: unknown;\n readonly httpApiBinding?: { readonly system: string; readonly purposeRefs?: readonly string[] };\n readonly externalDataPipeline?: {\n readonly binding: { readonly system: string; readonly purposeRefs?: readonly string[] };\n readonly mapping: readonly { readonly kind: string; readonly localField: string }[];\n };\n },\n): readonly SystemOfRecordDataFlow[] {\n const flows: SystemOfRecordDataFlow[] = [];\n if (configuration.httpApiBinding === undefined && configuration.externalDataPipeline === undefined) return flows;\n const profile = resolveResourcePersonalDataCategories(configuration.mainSchema);\n if (configuration.httpApiBinding !== undefined) {\n flows.push({\n system: configuration.httpApiBinding.system,\n resourceType,\n kind: SystemOfRecordDataFlowKind.READ_THROUGH_BINDING,\n categories: [...profile.categories],\n uncategorizedPersonalFields: profile.uncategorizedPersonalFields.map((field) => field.fieldName).sort(),\n purposeRefs: [...new Set(configuration.httpApiBinding.purposeRefs ?? [])].sort(),\n });\n }\n const pipeline = configuration.externalDataPipeline;\n if (pipeline !== undefined) {\n // Every local field whose value comes FROM the system of record: a copied field, a reference, and each declared\n // expression (#1685), whose output is derived from remote values. Only a CONSTANT reads nothing and so discloses\n // nothing — which is why this excludes the one kind rather than listing the others, so a kind added later counts.\n const mapped = new Set(pipeline.mapping\n .filter((entry) => entry.kind !== ExternalDataMappingEntryKind.CONSTANT)\n .map((entry) => entry.localField));\n const categories = profile.declaredFields.filter((field) => mapped.has(field.fieldName)).flatMap((field) => field.categories);\n flows.push({\n system: pipeline.binding.system,\n resourceType,\n kind: SystemOfRecordDataFlowKind.PIPELINE,\n categories: sortPersonalDataCategories(categories),\n uncategorizedPersonalFields: profile.uncategorizedPersonalFields.filter((field) => mapped.has(field.fieldName)).map((field) => field.fieldName).sort(),\n purposeRefs: [...new Set(pipeline.binding.purposeRefs ?? [])].sort(),\n });\n }\n return flows;\n}\n\n/** Every recipient's disclosure — operator sub-processors and tenant recipients — sorted by ref. */\nexport function deriveRecipientDisclosures(inputs: {\n readonly population: RecipientPopulation;\n /** `undefined` when the resource configurations could not be read, which every system-of-record member reports. */\n readonly systemOfRecordFlows: readonly SystemOfRecordDataFlow[] | undefined;\n readonly providerComplianceChoices: ApplicationProviderComplianceChoices | undefined;\n readonly lawfulBases: readonly OperatorLawfulBasis[] | undefined;\n}): readonly RecipientDisclosure[] {\n const recipients = inputs.population.members.filter((member) =>\n member.populationClass === RecipientPopulationClass.OPERATOR_SUB_PROCESSOR || member.populationClass === RecipientPopulationClass.TENANT_RECIPIENT);\n const order = Object.values(PersonalDataCategory);\n const basesByRef = new Map((inputs.lawfulBases ?? []).flatMap((entry) => (entry.purposeRef === undefined ? [] : [[entry.purposeRef, entry] as const])));\n\n return recipients.map((member) => {\n const found = new Set<PersonalDataCategory>();\n /** The purposes the member's flows link (#1745) — only a system of record's flows carry any. */\n const flowPurposeRefs: string[] = [];\n const derivedFrom: string[] = [];\n const notDerivable = new Set<RecipientCategoriesNotDerivableReason>();\n for (const path of member.dataPaths) {\n switch (path.kind) {\n case RecipientDataPathKind.ENGINE_CAPABILITY:\n case RecipientDataPathKind.PROVIDER_CAPABILITY: {\n const disclosed = personalDataDisclosedThroughCapabilities(path.detail);\n disclosed.categories.forEach((category) => found.add(category));\n derivedFrom.push(...path.detail.filter((token) => !disclosed.undeclared.includes(token)).map((token) => `${RECIPIENT_CAPABILITY_FLOW_TOKEN_KIND}:${token}`));\n if (disclosed.undeclared.length > 0) notDerivable.add(RecipientCategoriesNotDerivableReason.FLOW_UNDECLARED);\n break;\n }\n case RecipientDataPathKind.SYSTEM_OF_RECORD_INSTANCE: {\n if (inputs.systemOfRecordFlows === undefined) {\n notDerivable.add(RecipientCategoriesNotDerivableReason.FLOWS_NOT_READ);\n break;\n }\n const flows = inputs.systemOfRecordFlows.filter((flow) => flow.system === member.ref);\n if (flows.length === 0) notDerivable.add(RecipientCategoriesNotDerivableReason.NO_RESOURCE_FLOW);\n for (const flow of flows) {\n flow.categories.forEach((category) => found.add(category));\n derivedFrom.push(`${flow.kind}:${flow.resourceType}`);\n if (flow.uncategorizedPersonalFields.length > 0) notDerivable.add(RecipientCategoriesNotDerivableReason.UNCATEGORIZED_PERSONAL_FIELDS);\n flowPurposeRefs.push(...flow.purposeRefs);\n }\n break;\n }\n case RecipientDataPathKind.BROWSER_OPERATION:\n case RecipientDataPathKind.TYPED_CLIENT:\n case RecipientDataPathKind.UNSCANNED_CODE:\n notDerivable.add(RecipientCategoriesNotDerivableReason.FLOW_UNDECLARED);\n break;\n default: {\n // A new path kind is a compile error here until someone says whether it declares its fields.\n const unhandled: never = path.kind;\n throw new Error(`recipient disclosures: unhandled data path kind ${String(unhandled)}`);\n }\n }\n }\n const purposeRefs = [...new Set([...(inputs.providerComplianceChoices?.[member.ref]?.purposeRefs ?? []), ...flowPurposeRefs])].sort();\n const categories = order.filter((category) => found.has(category));\n return {\n ref: member.ref,\n kind: member.kind,\n populationClass: member.populationClass,\n categories,\n categoriesNotDerivable: [...notDerivable].sort(),\n categoriesAreAFloor: categories.includes(PersonalDataCategory.USER_CONTENT),\n derivedFrom: [...new Set(derivedFrom)].sort(),\n purposes: purposeRefs.flatMap((purposeRef) => {\n const basis = basesByRef.get(purposeRef);\n return basis === undefined ? [] : [{ purposeRef, purpose: basis.purpose, basis: basis.basis }];\n }),\n purposeRefsNamingNoPurpose: purposeRefs.filter((purposeRef) => !basesByRef.has(purposeRef)),\n };\n });\n}\n"]}
|
|
1
|
+
{"version":3,"file":"recipient-disclosures.schemas.js","sourceRoot":"","sources":["../../../../src/_core/compliance-documents/recipient-disclosures.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,4BAA4B,EAAE,6BAA6B,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,yCAAyC,EAC1J,+BAA+B,GAChC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,wCAAwC,EACxC,oBAAoB,EAGpB,qCAAqC,EACrC,oCAAoC,EACpC,qCAAqC,EACrC,wBAAwB,EAExB,0BAA0B,GAK3B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EACL,qBAAqB,EACrB,wBAAwB,GAGzB,MAAM,gCAAgC,CAAC;AAExC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,yHAAyH;AAEzH,sEAAsE;AACtE,MAAM,CAAN,IAAY,0BAiBX;AAjBD,WAAY,0BAA0B;IACpC,oHAAoH;IACpH,2EAA6C,CAAA;IAC7C;;;;OAIG;IACH,mDAAqB,CAAA;IACrB;;;;;;OAMG;IACH,qEAAuC,CAAA;AACzC,CAAC,EAjBW,0BAA0B,KAA1B,0BAA0B,QAiBrC;AAWD;;;GAGG;AACH,MAAM,UAAU,gCAAgC,CAAC,MAA8C;IAI7F,MAAM,aAAa,GAA2B,EAAE,CAAC;IACjD,MAAM,WAAW,GAAG,IAAI,GAAG,EAAiD,CAAC;IAC7E,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,IAAI,KAAK,CAAC,gBAAgB,KAAK,SAAS,EAAE,CAAC;YACzC,aAAa,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC;QAC1C,CAAC;aAAM,CAAC;YACN,WAAW,CAAC,GAAG,CAAC,KAAK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,CAAC,CAAC;YAC3F,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,MAAM,GAAG,CAAC;gBACvC,CAAC,CAAC,EAAE,0BAA0B,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE;gBACxI,CAAC,CAAC,EAAE,CAAC;YACP,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,MAAM,GAAG,CAAC;gBACvC,CAAC,CAAC,EAAE,4BAA4B,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE;gBAC1I,CAAC,CAAC,EAAE,CAAC;SACR,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC","sourcesContent":["import {\n ExternalDataMappingEntryKind, ExternalDataPipelineDirection, externalDataEntryIsLoaded, externalDataEntryIsSent, externalDataPipelineFollowsSystemOfRecord,\n HTTP_API_DEFAULT_SUBJECT_RIGHTS, type ExternalDataPipelineDeclaration, type HttpApiSubjectRightsDeclaration,\n} from \"@wildo-ai/saas-models/external-data\";\nimport {\n personalDataDisclosedThroughCapabilities,\n PersonalDataCategory,\n type PersonalDataCondition,\n type PersonalDataFieldCategories,\n RecipientCategoriesNotDerivableReason,\n RECIPIENT_CAPABILITY_FLOW_TOKEN_KIND,\n resolveResourcePersonalDataCategories,\n resourceComplianceSchema,\n type ResourceComplianceInheritanceSource,\n sortPersonalDataCategories,\n SystemOfRecordSubjectRightsPosture,\n type ApplicationProviderComplianceChoices,\n type LawfulBasis,\n type OperatorLawfulBasis,\n} from \"@wildo-ai/saas-models\";\n\nimport {\n RecipientDataPathKind,\n RecipientPopulationClass,\n RecipientPopulationMemberKind,\n type RecipientPopulation,\n} from \"./recipient-population.schemas\";\n\n/**\n * **What each recipient RECEIVES, and for which purpose** — derived from the flows the application declares (#1709).\n *\n * A record of processing states the categories of personal data and the categories of recipients (GDPR Art.\n * 30(1)(c) and (d)), and a notice names the recipients (Art. 13(1)(e)). The law asks for the two lists, not for a\n * cross-reference between them; saying which categories reach which recipient is the practice that keeps the two\n * lists consistent, and it is what an operator needs to answer a data subject's \"who has my data\". Until this\n * existed, it rested on free text an operator typed.\n * spec-cite: GDPR Art. 30, https://gdpr-info.eu/art-30-gdpr/ — \"(c) a description of the categories of data subjects\n * and of the categories of personal data; (d) the categories of recipients to whom the personal data have been or\n * will be disclosed\".\n *\n * ## Derived from DECLARED FLOWS only, and a flow nobody declared is a marked gap\n *\n * Three kinds of flow say which data reaches a vendor, and each is read where it is declared:\n *\n * - an ENGINE CAPABILITY (or a capability ROLE the engine wires): the engine composes the call, so the categories are\n * the engine's own statement, `PROVIDER_CAPABILITY_DISCLOSURES` in `@wildo-ai/saas-models`;\n * - a SYSTEM OF RECORD: every resource bound to the instance (a read-through binding) or piped from it, with the\n * `.dataCategories()` of the fields that flow — {@link SystemOfRecordDataFlow}, read off the materialized resources;\n * - anything else — a generated typed client, a browser operation, code the scan could not read — carries no static\n * field-to-input map, so its categories are NOT DERIVABLE. That is reported per recipient, never as an empty answer\n * and never as a guess.\n *\n * ## A pipeline's mapped fields count on the instance, whatever the direction\n *\n * `ExternalDataPipelineDirection` has three members (#2111): an INBOUND pipeline copies rows FROM the system of record,\n * an OUTBOUND one sends the application's rows TO it, and a BIDIRECTIONAL one does both. In every direction the mapped\n * (non-`CONSTANT`) fields are data the instance HOLDS: received from it, disclosed to it by being sent, or both. They are\n * all counted on the instance, because the instance is the application's processor for those rows (it holds them on\n * the operator's account) and a processor's record must name them. The direction does not change WHETHER a category is\n * held, so this count does not branch on it. Whether the instance is also a SOURCE (Art. 14) is a different question,\n * answered by the system-of-record sources fact.\n *\n * ## Purposes are LINKED, never inferred\n *\n * A recipient serves the purposes its compliance choice names (`providerComplianceChoices.<ref>.purposeRefs`), each a\n * `purposeRef` of `operatorComplianceIdentity.lawfulBases`. A system of record ALSO serves the purposes its bindings\n * and pipelines link (`binding.purposeRefs`, #1745): the flow is where the purpose of a copy is declared, per resource.\n * A recipient that names none is reported as such; a ref naming no declared purpose is reported as a broken link.\n * Nothing here decides a purpose on the operator's behalf.\n *\n * Report-only, like the population it reads: it never refuses (`application-creation-directive.md`).\n */\n\n/** @wildo_source:part:start saas.specifications.recipient-disclosures facet:layer:shared facet:audience:app-developer */\n\n/** How a resource exchanges data with a system-of-record instance. */\nexport enum SystemOfRecordDataFlowKind {\n /** A read-through binding: the resource's rows live in the system of record, every field maps by name or by map. */\n READ_THROUGH_BINDING = \"read-through-binding\",\n /**\n * A pipeline LOADS the mapped fields from the system of record into a local resource: every entry of an INBOUND\n * pipeline, and the REMOTE- and BOTH-owned entries of a BIDIRECTIONAL one (#2704), which is also an OUTBOUND_PIPELINE\n * flow for what it sends.\n */\n PIPELINE = \"pipeline\",\n /**\n * A pipeline SENDS the mapped fields of the application's rows to the system of record: every entry of an OUTBOUND\n * pipeline, which reads nothing from it (#2560), and the LOCAL- and BOTH-owned entries of a BIDIRECTIONAL one (#2704).\n * The system then holds those categories, so it is where they flow — a recipient disclosure counts it — but it is NOT a\n * source of them: the source statement leaves this kind out. Kept apart from PIPELINE because the direction is the\n * whole difference between \"obtained from\" and \"sent to\", and both statements read it.\n */\n OUTBOUND_PIPELINE = \"outbound-pipeline\",\n}\n\n/**\n * Categories held, sent or received only under one `PersonalDataCondition` (#2119). A statement about them — a source\n * clause, a recipient clause — words them with the condition (\"where the customer is an individual\").\n */\nexport interface ConditionallyHeldCategories {\n readonly condition: PersonalDataCondition;\n readonly categories: readonly PersonalDataCategory[];\n}\n\n/**\n * Split declared fields into what is held on every row and, per condition, what is held only under it (#2119). The ONE\n * split every statement here uses, so a source clause and a recipient clause cannot word the same field differently.\n */\nexport function splitPersonalDataFieldCategories(fields: readonly PersonalDataFieldCategories[]): {\n readonly unconditionalCategories: readonly PersonalDataCategory[];\n readonly conditionalCategories: readonly ConditionallyHeldCategories[];\n} {\n const unconditional: PersonalDataCategory[] = [];\n const byCondition = new Map<PersonalDataCondition, PersonalDataCategory[]>();\n for (const field of fields) {\n if (field.personalOnlyWhen === undefined) {\n unconditional.push(...field.categories);\n } else {\n byCondition.set(field.personalOnlyWhen, [...(byCondition.get(field.personalOnlyWhen) ?? []), ...field.categories]);\n }\n }\n return {\n unconditionalCategories: sortPersonalDataCategories(unconditional),\n conditionalCategories: mergeConditionallyHeldCategories([...byCondition].map(([condition, categories]) => ({ condition, categories }))),\n };\n}\n\n/** Union per condition, each condition once, sorted by condition and then by the category enum's order. */\nexport function mergeConditionallyHeldCategories(entries: readonly ConditionallyHeldCategories[]): readonly ConditionallyHeldCategories[] {\n const byCondition = new Map<PersonalDataCondition, PersonalDataCategory[]>();\n for (const entry of entries) byCondition.set(entry.condition, [...(byCondition.get(entry.condition) ?? []), ...entry.categories]);\n return [...byCondition]\n .sort(([left], [right]) => left.localeCompare(right))\n .map(([condition, categories]) => ({ condition, categories: sortPersonalDataCategories(categories) }));\n}\n\n/** One resource's declared exchange with a system-of-record instance, with the categories of the fields that flow. */\nexport interface SystemOfRecordDataFlow {\n /** The `systemsOfRecord.<name>` instance. */\n readonly system: string;\n readonly resourceType: string;\n readonly kind: SystemOfRecordDataFlowKind;\n /** The `.dataCategories()` of the fields that flow, in enum order. Empty when none of them declares one. */\n readonly categories: readonly PersonalDataCategory[];\n /** The categories of the flowing fields that are personal on EVERY row; equal to `categories` when none is conditional (#2119). */\n readonly unconditionalCategories: readonly PersonalDataCategory[];\n /**\n * Per condition, the categories of flowing fields declared `personalOnlyWhen` it (#2119): a customer account's name\n * reaches the system of record on every row, and is a person's data only where the customer is a sole trader. Empty\n * when no flowing field declares a condition.\n */\n readonly conditionalCategories: readonly ConditionallyHeldCategories[];\n /**\n * Flowing fields the application already declares personal (a scrub treatment, a provenance) with NO category: they\n * reach the instance and name no category, so the instance's categories are incomplete. Empty when there are none.\n */\n readonly uncategorizedPersonalFields: readonly string[];\n /**\n * The processing purposes the binding links this flow to (`binding.purposeRefs`, #1745), sorted and deduplicated.\n * Empty when it links none — which is reported where the purposes are read, never filled in.\n */\n readonly purposeRefs: readonly string[];\n /**\n * Who answers data-subject requests about the records this flow concerns (#2561): the binding's\n * `subjectRights.posture`, the default (`HANDLED_AT_SOURCE`) when it declares none — the same default the binding\n * schema applies. A statement reads it to say where a person's request about these records is handled: in the source\n * system, which decides and answers for its own records (HANDLED_AT_SOURCE); there, with the application also forwarding\n * an erasure to it, best effort (FORWARDED_TO_SOURCE); the source for its records and the application for the copy it\n * keeps and erases itself (OWNED_COPY). NO_SUBJECT_DATA is a flow whose fields carry nothing about a person.\n */\n readonly subjectRightsPosture: SystemOfRecordSubjectRightsPosture;\n /**\n * Whether the resource's LOCAL rows are a copy that FOLLOWS the system of record (#2704): a pipeline that loads records\n * (INBOUND, or BIDIRECTIONAL) and whose binding is not `OWNED_COPY`, decided by `externalDataPipelineFollowsSystemOfRecord`,\n * the predicate the erasure planner uses. Such a copy is left to the system's next complete pass by an erasure, never\n * erased as the application's own rows, and that holds for BOTH halves of a two-way pipeline. So the sending half of a\n * two-way copy says this, while an OUTBOUND pipeline (whose rows are the application's own) and a read-through binding\n * (which keeps nothing locally) say `false`.\n */\n readonly followsSystemOfRecord: boolean;\n}\n\n/**\n * A binding's declared subject-rights posture, or the binding schema's default when it declares none (#2561).\n *\n * Typed through the binding's own `HttpApiSubjectRightsDeclaration`, never a structural copy: renaming the field in\n * saas-models must fail the build here, because a copy would keep compiling and read every declared posture as the\n * default, the one guess a notice must not make. `Partial`, because a raw (unparsed) declaration may omit it.\n */\nfunction postureOfBinding(binding: { readonly subjectRights?: Partial<HttpApiSubjectRightsDeclaration> }): SystemOfRecordSubjectRightsPosture {\n return binding.subjectRights?.posture ?? HTTP_API_DEFAULT_SUBJECT_RIGHTS.posture;\n}\n\n/*\n * Why a recipient's categories are not all derivable: `RecipientCategoriesNotDerivableReason`, in `@wildo-ai/saas-models`\n * since #1710 — the running application states the same reason to a data subject, so the vocabulary lives where both halves\n * can import it.\n */\n\n/** What one recipient receives, and for which purposes. */\nexport interface RecipientDisclosure {\n readonly ref: string;\n readonly kind: RecipientPopulationMemberKind;\n readonly populationClass: RecipientPopulationClass;\n /** The categories the declared flows carry to it, in enum order — conditional ones included, since they do reach it. */\n readonly categories: readonly PersonalDataCategory[];\n /** The categories some flow carries on EVERY row; equal to `categories` when no flowing field is conditional (#2119). */\n readonly unconditionalCategories: readonly PersonalDataCategory[];\n /** Per condition, the categories carried only under it (#2119) — a notice words these \"where the customer is an individual\". */\n readonly conditionalCategories: readonly ConditionallyHeldCategories[];\n /**\n * Every reason the categories are not all known — some path declares no field map, a flowing field has no category.\n * `categories` is then what the DECLARED paths carry, and a notice must say the rest is not established. Empty when\n * the declared flows account for everything.\n */\n readonly categoriesNotDerivable: readonly RecipientCategoriesNotDerivableReason[];\n /**\n * True when `categories` includes free text a person wrote (`USER_CONTENT`), which can carry any other category — so\n * the list is a FLOOR of what reaches the vendor, and a notice must not conclude nothing else does.\n */\n readonly categoriesAreAFloor: boolean;\n /** The declared flows the categories come from — `capability:EMAIL_TRANSACTIONAL`, `pipeline:contacts`, … */\n readonly derivedFrom: readonly string[];\n /** The purposes the recipient's compliance choice links to, resolved against the declared lawful bases. */\n readonly purposes: readonly { readonly purposeRef: string; readonly purpose: string; readonly basis: LawfulBasis }[];\n /** `purposeRefs` the choice names that no lawful basis carries — a broken link, reported. */\n readonly purposeRefsNamingNoPurpose: readonly string[];\n /**\n * A system of record only (#2561): who answers a person's requests about the records each of its flows concerns,\n * keyed by the same `<flow kind>:<resource>` token `derivedFrom` lists — `HANDLED_AT_SOURCE`, `FORWARDED_TO_SOURCE`,\n * `OWNED_COPY` or `NO_SUBJECT_DATA` (see {@link SystemOfRecordDataFlow.subjectRightsPosture}). A notice words an\n * `outbound-pipeline:` flow as data SENT to the system, which then answers for what it received. Absent for every\n * other recipient.\n */\n readonly subjectRightsPostureByFlow?: Readonly<Record<string, SystemOfRecordSubjectRightsPosture>>;\n /**\n * A system of record only (#2704): per flow, keyed like {@link subjectRightsPostureByFlow}, whether the resource's local\n * rows FOLLOW the system (see {@link SystemOfRecordDataFlow.followsSystemOfRecord}). A notice words the sending half of a\n * two-way copy by it: what is sent becomes the system's, and the local copy follows the system rather than being erased\n * as the application's own rows. Absent for every other recipient.\n */\n readonly localCopyFollowsSourceByFlow?: Readonly<Record<string, boolean>>;\n}\n\n/** @wildo_source:part:end saas.specifications.recipient-disclosures */\n\n/**\n * The system-of-record flows one resource declares, read off its materialized configuration — the one function the\n * companion's facts and the evidence collector both call, so they cannot disagree about what flows.\n *\n * - A read-through binding (`httpApiBinding`) keeps the resource's rows IN the system of record: every field maps to\n * a remote field (by name, or through `fieldMappings`), so the vendor holds every category the resource declares.\n * - A pipeline (`externalDataPipeline`) moves only its MAPPED fields: the categories of the local fields its remote\n * field, remote reference and declared-expression entries (#1685) write. A constant entry carries no remote data and\n * does not count.\n * - Its DIRECTION decides the flow kind, per entry (#2704): the entries it loads are a PIPELINE flow, the entries it sends\n * an OUTBOUND_PIPELINE flow, as `externalDataEntryIsLoaded` and `externalDataEntryIsSent` decide. So an INBOUND\n * pipeline is one PIPELINE flow and an OUTBOUND one one OUTBOUND_PIPELINE flow, while a BIDIRECTIONAL one is both: its\n * REMOTE-owned fields are only obtained from the system, its LOCAL-owned fields only sent to it, and a BOTH-owned\n * field is both. One flow for the whole pipeline stated a LOCAL field, which the application only sends, as data it\n * obtained from the system. A BIDIRECTIONAL direction carrying no entry yields no flow.\n *\n * Structural input, so a configuration of any generic instantiation passes without this module taking a view on it.\n */\nexport function systemOfRecordFlowsOfResource(\n resourceType: string,\n configuration: {\n readonly mainSchema?: unknown;\n /** Read for its variant schemas, so a field only a variant declares is counted (#2274). */\n readonly inheritenceSchemaDefinition?: ResourceComplianceInheritanceSource;\n readonly httpApiBinding?: { readonly system: string; readonly purposeRefs?: readonly string[]; readonly subjectRights?: Partial<HttpApiSubjectRightsDeclaration> };\n readonly externalDataPipeline?: {\n /** INBOUND unless declared; an OUTBOUND pipeline is a different flow kind (#2560). */\n readonly direction?: string;\n readonly binding: { readonly system: string; readonly purposeRefs?: readonly string[]; readonly subjectRights?: Partial<HttpApiSubjectRightsDeclaration> };\n /** `owner` decides a BIDIRECTIONAL entry's direction (#2704); REMOTE when absent, as the pipeline schema reads it. */\n readonly mapping: readonly { readonly kind: string; readonly localField: string; readonly owner?: string }[];\n };\n },\n): readonly SystemOfRecordDataFlow[] {\n const flows: SystemOfRecordDataFlow[] = [];\n if (configuration.httpApiBinding === undefined && configuration.externalDataPipeline === undefined) return flows;\n const profile = resolveResourcePersonalDataCategories(resourceComplianceSchema(configuration));\n if (configuration.httpApiBinding !== undefined) {\n flows.push({\n system: configuration.httpApiBinding.system,\n resourceType,\n kind: SystemOfRecordDataFlowKind.READ_THROUGH_BINDING,\n categories: [...profile.categories],\n ...splitPersonalDataFieldCategories(profile.declaredFields),\n uncategorizedPersonalFields: profile.uncategorizedPersonalFields.map((field) => field.fieldName).sort(),\n purposeRefs: [...new Set(configuration.httpApiBinding.purposeRefs ?? [])].sort(),\n subjectRightsPosture: postureOfBinding(configuration.httpApiBinding),\n // A read-through binding keeps nothing locally, so there is no copy to follow anything.\n followsSystemOfRecord: false,\n });\n }\n const pipeline = configuration.externalDataPipeline;\n if (pipeline !== undefined) {\n // Every local field the system of record holds, whichever way it travels (an outbound pipeline SENDS it; #2111): a\n // mapped field, a reference, and each declared expression (#1685). Only a CONSTANT carries nothing to or from the\n // system and so discloses nothing — which is why this excludes the one kind rather than listing the others, so a kind\n // added later counts.\n const flowing = pipeline.mapping.filter((entry) => entry.kind !== ExternalDataMappingEntryKind.CONSTANT);\n const direction = (pipeline.direction as ExternalDataPipelineDirection | undefined) ?? ExternalDataPipelineDirection.INBOUND;\n // The direction rule has one home (#2704): the predicates the pipeline itself loads and sends by. Structural input,\n // so each entry is read as the declaration's own entry type there.\n const asEntry = (entry: (typeof flowing)[number]) => entry as unknown as ExternalDataPipelineDeclaration['mapping'][number];\n const halves = [\n { kind: SystemOfRecordDataFlowKind.PIPELINE, entries: flowing.filter((entry) => externalDataEntryIsLoaded(direction, asEntry(entry))) },\n { kind: SystemOfRecordDataFlowKind.OUTBOUND_PIPELINE, entries: flowing.filter((entry) => externalDataEntryIsSent(direction, asEntry(entry))) },\n ];\n // A single-direction pipeline is its one flow, as it always was, even with nothing mapped; a BIDIRECTIONAL one is each\n // direction that carries an entry.\n const ownKind = direction === ExternalDataPipelineDirection.OUTBOUND ? SystemOfRecordDataFlowKind.OUTBOUND_PIPELINE : SystemOfRecordDataFlowKind.PIPELINE;\n // One answer for the whole pipeline: both halves of a two-way copy concern the same local rows.\n const followsSystemOfRecord = externalDataPipelineFollowsSystemOfRecord({\n direction, binding: { subjectRights: { posture: postureOfBinding(pipeline.binding) } },\n });\n for (const half of halves) {\n if (direction === ExternalDataPipelineDirection.BIDIRECTIONAL ? half.entries.length === 0 : half.kind !== ownKind) continue;\n const mapped = new Set(half.entries.map((entry) => entry.localField));\n const flowingFields = profile.declaredFields.filter((field) => mapped.has(field.fieldName));\n flows.push({\n system: pipeline.binding.system,\n resourceType,\n kind: half.kind,\n categories: sortPersonalDataCategories(flowingFields.flatMap((field) => field.categories)),\n ...splitPersonalDataFieldCategories(flowingFields),\n uncategorizedPersonalFields: profile.uncategorizedPersonalFields.filter((field) => mapped.has(field.fieldName)).map((field) => field.fieldName).sort(),\n purposeRefs: [...new Set(pipeline.binding.purposeRefs ?? [])].sort(),\n subjectRightsPosture: postureOfBinding(pipeline.binding),\n followsSystemOfRecord,\n });\n }\n }\n return flows;\n}\n\n/** Every recipient's disclosure — operator sub-processors and tenant recipients — sorted by ref. */\nexport function deriveRecipientDisclosures(inputs: {\n readonly population: RecipientPopulation;\n /** `undefined` when the resource configurations could not be read, which every system-of-record member reports. */\n readonly systemOfRecordFlows: readonly SystemOfRecordDataFlow[] | undefined;\n readonly providerComplianceChoices: ApplicationProviderComplianceChoices | undefined;\n readonly lawfulBases: readonly OperatorLawfulBasis[] | undefined;\n}): readonly RecipientDisclosure[] {\n const recipients = inputs.population.members.filter((member) =>\n member.populationClass === RecipientPopulationClass.OPERATOR_SUB_PROCESSOR || member.populationClass === RecipientPopulationClass.TENANT_RECIPIENT);\n const order = Object.values(PersonalDataCategory);\n const basesByRef = new Map((inputs.lawfulBases ?? []).flatMap((entry) => (entry.purposeRef === undefined ? [] : [[entry.purposeRef, entry] as const])));\n\n return recipients.map((member) => {\n const found = new Set<PersonalDataCategory>();\n // A capability's categories are carried on every call; a system of record's split per field (#2119).\n const foundUnconditionally = new Set<PersonalDataCategory>();\n const foundConditionally: ConditionallyHeldCategories[] = [];\n /** The purposes the member's flows link (#1745) — only a system of record's flows carry any. */\n const flowPurposeRefs: string[] = [];\n const derivedFrom: string[] = [];\n /** Per system-of-record flow, who answers for its records (#2561). Empty for every other recipient. */\n const postureByFlow: Record<string, SystemOfRecordSubjectRightsPosture> = {};\n const followsByFlow: Record<string, boolean> = {};\n const notDerivable = new Set<RecipientCategoriesNotDerivableReason>();\n for (const path of member.dataPaths) {\n switch (path.kind) {\n case RecipientDataPathKind.ENGINE_CAPABILITY:\n case RecipientDataPathKind.PROVIDER_CAPABILITY: {\n const disclosed = personalDataDisclosedThroughCapabilities(path.detail);\n disclosed.categories.forEach((category) => { found.add(category); foundUnconditionally.add(category); });\n derivedFrom.push(...path.detail.filter((token) => !disclosed.undeclared.includes(token)).map((token) => `${RECIPIENT_CAPABILITY_FLOW_TOKEN_KIND}:${token}`));\n if (disclosed.undeclared.length > 0) notDerivable.add(RecipientCategoriesNotDerivableReason.FLOW_UNDECLARED);\n break;\n }\n case RecipientDataPathKind.SYSTEM_OF_RECORD_INSTANCE: {\n if (inputs.systemOfRecordFlows === undefined) {\n notDerivable.add(RecipientCategoriesNotDerivableReason.FLOWS_NOT_READ);\n break;\n }\n const flows = inputs.systemOfRecordFlows.filter((flow) => flow.system === member.ref);\n if (flows.length === 0) notDerivable.add(RecipientCategoriesNotDerivableReason.NO_RESOURCE_FLOW);\n for (const flow of flows) {\n flow.categories.forEach((category) => found.add(category));\n flow.unconditionalCategories.forEach((category) => foundUnconditionally.add(category));\n foundConditionally.push(...flow.conditionalCategories);\n derivedFrom.push(`${flow.kind}:${flow.resourceType}`);\n postureByFlow[`${flow.kind}:${flow.resourceType}`] = flow.subjectRightsPosture;\n followsByFlow[`${flow.kind}:${flow.resourceType}`] = flow.followsSystemOfRecord;\n if (flow.uncategorizedPersonalFields.length > 0) notDerivable.add(RecipientCategoriesNotDerivableReason.UNCATEGORIZED_PERSONAL_FIELDS);\n flowPurposeRefs.push(...flow.purposeRefs);\n }\n break;\n }\n case RecipientDataPathKind.BROWSER_OPERATION:\n case RecipientDataPathKind.TYPED_CLIENT:\n case RecipientDataPathKind.UNSCANNED_CODE:\n notDerivable.add(RecipientCategoriesNotDerivableReason.FLOW_UNDECLARED);\n break;\n default: {\n // A new path kind is a compile error here until someone says whether it declares its fields.\n const unhandled: never = path.kind;\n throw new Error(`recipient disclosures: unhandled data path kind ${String(unhandled)}`);\n }\n }\n }\n const purposeRefs = [...new Set([...(inputs.providerComplianceChoices?.[member.ref]?.purposeRefs ?? []), ...flowPurposeRefs])].sort();\n const categories = order.filter((category) => found.has(category));\n return {\n ref: member.ref,\n kind: member.kind,\n populationClass: member.populationClass,\n categories,\n unconditionalCategories: order.filter((category) => foundUnconditionally.has(category)),\n conditionalCategories: mergeConditionallyHeldCategories(foundConditionally),\n categoriesNotDerivable: [...notDerivable].sort(),\n categoriesAreAFloor: categories.includes(PersonalDataCategory.USER_CONTENT),\n derivedFrom: [...new Set(derivedFrom)].sort(),\n purposes: purposeRefs.flatMap((purposeRef) => {\n const basis = basesByRef.get(purposeRef);\n return basis === undefined ? [] : [{ purposeRef, purpose: basis.purpose, basis: basis.basis }];\n }),\n purposeRefsNamingNoPurpose: purposeRefs.filter((purposeRef) => !basesByRef.has(purposeRef)),\n ...(Object.keys(postureByFlow).length > 0\n ? { subjectRightsPostureByFlow: Object.fromEntries(Object.entries(postureByFlow).sort(([left], [right]) => left.localeCompare(right))) }\n : {}),\n ...(Object.keys(followsByFlow).length > 0\n ? { localCopyFollowsSourceByFlow: Object.fromEntries(Object.entries(followsByFlow).sort(([left], [right]) => left.localeCompare(right))) }\n : {}),\n };\n });\n}\n"]}
|
|
@@ -261,6 +261,34 @@ export declare function providerRefsImportedByTypedClient(sourceLine: string, ap
|
|
|
261
261
|
* greps the committed HEAD and the companion and the CLI the working tree, which is the only difference.
|
|
262
262
|
*/
|
|
263
263
|
export declare function typedClientSitesFromGrepLines(lines: readonly string[], applicationProviderPackages?: ReadonlyMap<string, string>): readonly ProviderTypedClientSite[];
|
|
264
|
+
/** What {@link partitionCapabilitiesByContractedService} answers. Both lists sorted. */
|
|
265
|
+
export interface ContractedServiceCapabilityPartition {
|
|
266
|
+
/** Capabilities a user of the application can reach while the application serves them. */
|
|
267
|
+
readonly reachingContractedService: readonly string[];
|
|
268
|
+
/** Capabilities that serve only the BUILD: authoring-only by declaration, or offered by the build-time scope alone. */
|
|
269
|
+
readonly authoringOnly: readonly string[];
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Which declared capabilities reach the CONTRACTED SERVICE, and which serve only the build (#2838).
|
|
273
|
+
*
|
|
274
|
+
* THE CAPABILITY SAYS WHAT IT CAN SERVE; THE SCOPE SAYS WHAT THIS APPLICATION DOES WITH IT. A capability is outside the
|
|
275
|
+
* contracted service when it is authoring-only by declaration (`AI_CODING_AGENT`), or when it can serve both surfaces
|
|
276
|
+
* and is offered ONLY by a provider bound to the build-time companion scope (Wonder Todos' image generator). Every
|
|
277
|
+
* other declared capability reaches it, including one no provider offers (`ORGANIZATIONS`): nothing scopes it, and it
|
|
278
|
+
* is an application feature by nature.
|
|
279
|
+
*
|
|
280
|
+
* `engineCapabilityReachesRuntimeService` cannot answer this alone: it says what a capability CAN serve, and a
|
|
281
|
+
* both-surface capability reads as reaching even when this application binds it to the build only.
|
|
282
|
+
*
|
|
283
|
+
* ONE function, called by the privacy-notice brief, the evidence collector, the assurance extractors and the AI-use
|
|
284
|
+
* facts. Until #2838 the rule lived twice, as a private closure in the companion and a hand copy in the collector,
|
|
285
|
+
* walking the providers block two different ways.
|
|
286
|
+
*/
|
|
287
|
+
export declare function partitionCapabilitiesByContractedService(input: {
|
|
288
|
+
readonly declaredCapabilities: readonly string[];
|
|
289
|
+
/** The SaaS config's `providers` block. */
|
|
290
|
+
readonly providers: unknown;
|
|
291
|
+
}): ContractedServiceCapabilityPartition;
|
|
264
292
|
/**
|
|
265
293
|
* Classify every runtime-scoped provider and every system-of-record instance. See the module documentation for
|
|
266
294
|
* the axes and the limits; the class order is: operator-run, then no data path, then operator sub-processor
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipient-population.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/compliance-documents/recipient-population.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sCAAsC,EAAE,MAAM,sCAAsC,CAAC;AAC9F,OAAO,
|
|
1
|
+
{"version":3,"file":"recipient-population.schemas.d.ts","sourceRoot":"","sources":["../../../../src/_core/compliance-documents/recipient-population.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sCAAsC,EAAE,MAAM,sCAAsC,CAAC;AAC9F,OAAO,EAIL,uBAAuB,EACvB,gCAAgC,EAIhC,KAAK,oCAAoC,EACzC,KAAK,kCAAkC,EACvC,KAAK,uCAAuC,EAC5C,KAAK,yBAAyB,EAC/B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,8BAA8B,CAAC;AAEtC;;;;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E,OAAO,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAOlG;AAED;;;;;GAKG;AACH,wBAAgB,mCAAmC,CAAC,eAAe,EAAE,OAAO,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAC,CAQxI"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExternalProvider_Connection_OwnerScope } from "@wildo-ai/external-connectors-models";
|
|
2
|
-
import { PROVIDER_CAPABILITY_TO_ENGINE_CAPABILITY, ProviderComplianceDetermination, ProviderDeploymentModel, SystemOfRecordPersonalDataOrigin, assessProviderComplianceChoice, assessProviderComplianceChoices, } from "@wildo-ai/saas-models";
|
|
2
|
+
import { EngineCapability, PROVIDER_CAPABILITY_TO_ENGINE_CAPABILITY, ProviderComplianceDetermination, ProviderDeploymentModel, SystemOfRecordPersonalDataOrigin, assessProviderComplianceChoice, assessProviderComplianceChoices, engineCapabilityIsAuthoringOnly, } from "@wildo-ai/saas-models";
|
|
3
3
|
import { ProcessorRegisterEntryKind, } from "./processor-register.schemas.js";
|
|
4
4
|
/**
|
|
5
5
|
* **Who, of everything an application declares, actually RECEIVES personal data — and on whose account.**
|
|
@@ -285,6 +285,41 @@ function declaredProviderEntries(providers) {
|
|
|
285
285
|
return entries;
|
|
286
286
|
}
|
|
287
287
|
const sorted = (values) => [...new Set(values)].sort();
|
|
288
|
+
/**
|
|
289
|
+
* Which declared capabilities reach the CONTRACTED SERVICE, and which serve only the build (#2838).
|
|
290
|
+
*
|
|
291
|
+
* THE CAPABILITY SAYS WHAT IT CAN SERVE; THE SCOPE SAYS WHAT THIS APPLICATION DOES WITH IT. A capability is outside the
|
|
292
|
+
* contracted service when it is authoring-only by declaration (`AI_CODING_AGENT`), or when it can serve both surfaces
|
|
293
|
+
* and is offered ONLY by a provider bound to the build-time companion scope (Wonder Todos' image generator). Every
|
|
294
|
+
* other declared capability reaches it, including one no provider offers (`ORGANIZATIONS`): nothing scopes it, and it
|
|
295
|
+
* is an application feature by nature.
|
|
296
|
+
*
|
|
297
|
+
* `engineCapabilityReachesRuntimeService` cannot answer this alone: it says what a capability CAN serve, and a
|
|
298
|
+
* both-surface capability reads as reaching even when this application binds it to the build only.
|
|
299
|
+
*
|
|
300
|
+
* ONE function, called by the privacy-notice brief, the evidence collector, the assurance extractors and the AI-use
|
|
301
|
+
* facts. Until #2838 the rule lived twice, as a private closure in the companion and a hand copy in the collector,
|
|
302
|
+
* walking the providers block two different ways.
|
|
303
|
+
*/
|
|
304
|
+
export function partitionCapabilitiesByContractedService(input) {
|
|
305
|
+
const runtimeOffered = new Set();
|
|
306
|
+
const authoringOffered = new Set();
|
|
307
|
+
for (const entry of declaredProviderEntries(input.providers)) {
|
|
308
|
+
const into = entry.scopeKey === ProviderScopeKey.COMPANION ? authoringOffered : runtimeOffered;
|
|
309
|
+
for (const capability of stringArray(entry.declaration.engineCapabilities))
|
|
310
|
+
into.add(capability);
|
|
311
|
+
}
|
|
312
|
+
const isEngineCapability = (capability) => Object.values(EngineCapability).includes(capability);
|
|
313
|
+
const reaches = (capability) => {
|
|
314
|
+
if (isEngineCapability(capability) && engineCapabilityIsAuthoringOnly(capability))
|
|
315
|
+
return false;
|
|
316
|
+
return !(authoringOffered.has(capability) && !runtimeOffered.has(capability));
|
|
317
|
+
};
|
|
318
|
+
return {
|
|
319
|
+
reachingContractedService: sorted(input.declaredCapabilities.filter(reaches)),
|
|
320
|
+
authoringOnly: sorted(input.declaredCapabilities.filter((capability) => !reaches(capability))),
|
|
321
|
+
};
|
|
322
|
+
}
|
|
288
323
|
/**
|
|
289
324
|
* Classify every runtime-scoped provider and every system-of-record instance. See the module documentation for
|
|
290
325
|
* the axes and the limits; the class order is: operator-run, then no data path, then operator sub-processor
|