@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
package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { LabelAudience } from '@wildo-ai/presets-components-models';
|
|
2
|
+
import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';
|
|
3
|
+
import { ApplicationDataKeySchema, ApplicationDataKeyState, CoreResourceOperation as Op, CryptoKey_Purpose, CryptoKey_Scope, ResourcePrimaryScope, applicationDataKeysResourceConfiguration_InitializationFactory, } from '@wildo-ai/saas-models';
|
|
4
|
+
import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
|
|
5
|
+
import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
|
|
6
|
+
const enumDeclaration = (exportName) => ({
|
|
7
|
+
packageName: '@wildo-ai/saas-models',
|
|
8
|
+
exportName,
|
|
9
|
+
symbolKind: CodeSymbolKind.ENUM,
|
|
10
|
+
declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* Framework-owned specification for `applicationDataKeys` (#2894): the data keys that seal the application's stored
|
|
14
|
+
* secrets, kept only wrapped. No frontend configuration: no route reads or writes a row. The runtime reasoning lives in
|
|
15
|
+
* the schema file's header and in the engine's data-key ring, and is not restated here.
|
|
16
|
+
*/
|
|
17
|
+
export const applicationDataKeysResourceSpecification = resourceSpecification(applicationDataKeysResourceConfiguration_InitializationFactory, ApplicationDataKeySchema, ({ schemaShape }) => ({
|
|
18
|
+
purpose: 'Keep the data keys that seal the application\'s stored secrets, each one only wrapped by a key the platform custodian holds.',
|
|
19
|
+
businessRole: 'What makes a stored secret (an SSO client secret, a TOTP seed, a provider credential, a SIEM credential) independent of the application\'s bearer secret: a value is sealed under a data key, and the data key opens only through the custodian. Rotating the custodian\'s wrapping key re-wraps these rows and never touches a stored value.',
|
|
20
|
+
lifecycleRole: 'Created when a runtime first needs to seal and no ACTIVE data key may seal more. Seals are reserved on it in blocks until its use or age cap, then it is RETIRED and only opens. When the wrapping version that wrapped it is found compromised it is marked exposed, retired, re-wrapped, and the values sealed under it are re-sealed under a fresh data key. Never deleted.',
|
|
21
|
+
audience: LabelAudience.DEVELOPER,
|
|
22
|
+
subDomain: EngineResourceSubDomain.INFRASTRUCTURE,
|
|
23
|
+
codeHandling: {
|
|
24
|
+
mainSchema: {
|
|
25
|
+
packageName: '@wildo-ai/saas-models',
|
|
26
|
+
exportName: 'ApplicationDataKeySchema',
|
|
27
|
+
symbolKind: CodeSymbolKind.SCHEMA,
|
|
28
|
+
declarationKind: CodeDeclarationKind.ZOD_SCHEMA,
|
|
29
|
+
},
|
|
30
|
+
resourceFactory: {
|
|
31
|
+
packageName: '@wildo-ai/saas-models',
|
|
32
|
+
exportName: 'applicationDataKeysResourceConfiguration_InitializationFactory',
|
|
33
|
+
symbolKind: CodeSymbolKind.FACTORY,
|
|
34
|
+
declarationKind: CodeDeclarationKind.FUNCTION,
|
|
35
|
+
},
|
|
36
|
+
resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'APPLICATION_DATA_KEYS' },
|
|
37
|
+
operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation') },
|
|
38
|
+
notes: [
|
|
39
|
+
'Every operation is REPOSITORY_ONLY: the engine\'s data-key service lists the rows at boot, inserts one per data key the custodian issues, and moves `sealsReserved`, `state`, `kid`, `exposedAt` and `resealedAt` forward through guarded writes. No route reads or writes a row.',
|
|
40
|
+
'A row holds only the WRAPPED data key. Unwrapping is a call to the platform custodian, which admits only the application backend and its minions.',
|
|
41
|
+
'No DELETE and no retention binding: a data key opens every value sealed under it, and a value in transit (a SIEM job\'s snapshot) may still name an exposed one after the re-seal sweep has moved every stored value.',
|
|
42
|
+
],
|
|
43
|
+
},
|
|
44
|
+
fields: {
|
|
45
|
+
_id: schemaShape._id.stringSpec({ meaning: 'Identity of this row.', semanticRole: 'identifier' }),
|
|
46
|
+
dataKeyId: schemaShape.dataKeyId.stringSpec({
|
|
47
|
+
meaning: 'The custodian\'s id for the data key, written into every value it seals.',
|
|
48
|
+
whyItMatters: 'It is bound into the wrap and into each sealed value, so a value opens only under the data key that sealed it.',
|
|
49
|
+
semanticRole: 'identifier',
|
|
50
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
51
|
+
}),
|
|
52
|
+
purpose: schemaShape.purpose.enumSpec({
|
|
53
|
+
meaning: 'The purpose whose wrapping key wraps it.',
|
|
54
|
+
enumDeclaration: enumDeclaration('CryptoKey_Purpose'),
|
|
55
|
+
values: {
|
|
56
|
+
[CryptoKey_Purpose.SEALED_SECRETS]: { meaning: 'Sealing stored secrets: the only purpose a data key serves.' },
|
|
57
|
+
},
|
|
58
|
+
}),
|
|
59
|
+
scope: schemaShape.scope.enumSpec({
|
|
60
|
+
meaning: 'Whose wrapping key wraps it.',
|
|
61
|
+
enumDeclaration: enumDeclaration('CryptoKey_Scope'),
|
|
62
|
+
values: {
|
|
63
|
+
[CryptoKey_Scope.PLATFORM]: { meaning: 'The platform\'s own key. Not used for data keys.' },
|
|
64
|
+
[CryptoKey_Scope.APPLICATION]: { meaning: 'The application\'s wrapping key, the only scope sealing uses today.' },
|
|
65
|
+
[CryptoKey_Scope.ORGANIZATION]: { meaning: 'A dedicated wrapping key of one organization.' },
|
|
66
|
+
[CryptoKey_Scope.RECORD]: { meaning: 'A key of one record. Not used for data keys.' },
|
|
67
|
+
},
|
|
68
|
+
}),
|
|
69
|
+
scopeId: schemaShape.scopeId.stringSpec({ meaning: 'The application\'s id for an application-scoped key, the organization\'s for an organization-scoped one.', semanticRole: 'identifier' }),
|
|
70
|
+
kid: schemaShape.kid.stringSpec({
|
|
71
|
+
meaning: 'The wrapping version that wraps the data key now.',
|
|
72
|
+
whyItMatters: 'A rotation of the wrapping key re-wraps the row and moves this; the values it sealed are untouched.',
|
|
73
|
+
semanticRole: 'identifier',
|
|
74
|
+
}),
|
|
75
|
+
wrapped: schemaShape.wrapped.stringSpec({ meaning: 'The data key, wrapped, as base64url. Opaque to the application.', semanticRole: 'code' }),
|
|
76
|
+
state: schemaShape.state.enumSpec({
|
|
77
|
+
meaning: 'Whether the data key still seals new values.',
|
|
78
|
+
enumDeclaration: enumDeclaration('ApplicationDataKeyState'),
|
|
79
|
+
values: {
|
|
80
|
+
[ApplicationDataKeyState.ACTIVE]: { meaning: 'Seals new values while its caps allow, and opens existing ones.' },
|
|
81
|
+
[ApplicationDataKeyState.RETIRED]: { meaning: 'Past its use or age cap: opens existing values only.' },
|
|
82
|
+
},
|
|
83
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
84
|
+
}),
|
|
85
|
+
sealsReserved: schemaShape.sealsReserved.numberSpec({
|
|
86
|
+
meaning: 'How many seals processes have reserved on the data key so far.',
|
|
87
|
+
whyItMatters: 'Every process of every replica counts against this one total, so the key never seals past its cap.',
|
|
88
|
+
}),
|
|
89
|
+
sealingExpiresAt: schemaShape.sealingExpiresAt.dateSpec({ meaning: 'After this instant the data key seals nothing new.' }),
|
|
90
|
+
retiredAt: schemaShape.retiredAt.dateSpec({ meaning: 'When the data key stopped sealing.' }),
|
|
91
|
+
exposedAt: schemaShape.exposedAt.dateSpec({
|
|
92
|
+
meaning: 'When a runtime found the wrapping version that wrapped this data key compromised.',
|
|
93
|
+
whyItMatters: 'Written before the re-wrap moves `kid` off that version and never cleared, so it is the lasting record that the values sealed under this key must be re-sealed. An exposed key never seals again.',
|
|
94
|
+
}),
|
|
95
|
+
exposedByKid: schemaShape.exposedByKid.stringSpec({
|
|
96
|
+
meaning: 'The compromised wrapping version that wrapped this data key when it was marked exposed.',
|
|
97
|
+
semanticRole: 'identifier',
|
|
98
|
+
}),
|
|
99
|
+
resealedAt: schemaShape.resealedAt.dateSpec({
|
|
100
|
+
meaning: 'When the re-seal sweep found no stored value sealed under this exposed data key any more.',
|
|
101
|
+
whyItMatters: 'The sweep stops visiting the stores for this key. The key still opens, for a value in transit that names it.',
|
|
102
|
+
}),
|
|
103
|
+
createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the data key was issued.' }),
|
|
104
|
+
},
|
|
105
|
+
operations: {
|
|
106
|
+
[Op.CREATE]: {
|
|
107
|
+
purpose: 'Store a data key the custodian issued, with its first block of seals reserved.',
|
|
108
|
+
outcome: 'The application seals new values under it.',
|
|
109
|
+
responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The data key was stored.' }],
|
|
110
|
+
},
|
|
111
|
+
[Op.READ]: {
|
|
112
|
+
purpose: 'Read one stored data key.',
|
|
113
|
+
outcome: 'The data key a sealed value names is found and unwrapped.',
|
|
114
|
+
idempotent: true,
|
|
115
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The data key was found.' }],
|
|
116
|
+
},
|
|
117
|
+
[Op.LIST]: {
|
|
118
|
+
purpose: 'List the stored data keys.',
|
|
119
|
+
outcome: 'A runtime unwraps every one at boot, so it opens any value without waiting.',
|
|
120
|
+
idempotent: true,
|
|
121
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The data keys were returned.' }],
|
|
122
|
+
},
|
|
123
|
+
[Op.UPDATE]: {
|
|
124
|
+
purpose: 'Reserve a block of seals on a data key, retire it, re-wrap it, or record that it was exposed and later re-sealed.',
|
|
125
|
+
outcome: 'The reservation is counted once across every replica; a retired key only opens; an exposed key never seals again.',
|
|
126
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The data key was updated.' }],
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
businessConstraints: [
|
|
130
|
+
'A row holds the data key only wrapped; the unwrapped key exists only in a runtime\'s memory.',
|
|
131
|
+
'A data key seals at most 2^28 values and for at most 365 days, then only opens.',
|
|
132
|
+
'A row is never deleted: a data key opens every value sealed under it, including copies no sweep can reach.',
|
|
133
|
+
'A data key whose wrapping version was compromised is marked exposed before it is re-wrapped, never seals again, and every stored value sealed under it is re-sealed under a fresh data key.',
|
|
134
|
+
],
|
|
135
|
+
}), { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION });
|
|
136
|
+
//# sourceMappingURL=application-data-keys.resource.specification.js.map
|
package/dist/esm/engine/infrastructure/resources/application-data-keys.resource.specification.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-data-keys.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/application-data-keys.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACp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,oBAAoB,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAC3D,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n ApplicationDataKeySchema,\n ApplicationDataKeyState,\n CoreResourceOperation as Op,\n CryptoKey_Purpose,\n CryptoKey_Scope,\n ResourcePrimaryScope,\n applicationDataKeysResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst enumDeclaration = (exportName: string) => ({\n packageName: '@wildo-ai/saas-models',\n exportName,\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n});\n\n/**\n * Framework-owned specification for `applicationDataKeys` (#2894): the data keys that seal the application's stored\n * secrets, kept only wrapped. No frontend configuration: no route reads or writes a row. The runtime reasoning lives in\n * the schema file's header and in the engine's data-key ring, and is not restated here.\n */\nexport const applicationDataKeysResourceSpecification = resourceSpecification(\n applicationDataKeysResourceConfiguration_InitializationFactory,\n ApplicationDataKeySchema,\n ({ schemaShape }) => ({\n purpose: 'Keep the data keys that seal the application\\'s stored secrets, each one only wrapped by a key the platform custodian holds.',\n businessRole: 'What makes a stored secret (an SSO client secret, a TOTP seed, a provider credential, a SIEM credential) independent of the application\\'s bearer secret: a value is sealed under a data key, and the data key opens only through the custodian. Rotating the custodian\\'s wrapping key re-wraps these rows and never touches a stored value.',\n lifecycleRole: 'Created when a runtime first needs to seal and no ACTIVE data key may seal more. Seals are reserved on it in blocks until its use or age cap, then it is RETIRED and only opens. When the wrapping version that wrapped it is found compromised it is marked exposed, retired, re-wrapped, and the values sealed under it are re-sealed under a fresh data key. Never deleted.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.INFRASTRUCTURE,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ApplicationDataKeySchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'applicationDataKeysResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: { enumDeclaration: enumDeclaration('CoreResourceType'), memberName: 'APPLICATION_DATA_KEYS' },\n operationVocabulary: { coreEnum: enumDeclaration('CoreResourceOperation') },\n notes: [\n 'Every operation is REPOSITORY_ONLY: the engine\\'s data-key service lists the rows at boot, inserts one per data key the custodian issues, and moves `sealsReserved`, `state`, `kid`, `exposedAt` and `resealedAt` forward through guarded writes. No route reads or writes a row.',\n 'A row holds only the WRAPPED data key. Unwrapping is a call to the platform custodian, which admits only the application backend and its minions.',\n 'No DELETE and no retention binding: a data key opens every value sealed under it, and a value in transit (a SIEM job\\'s snapshot) may still name an exposed one after the re-seal sweep has moved every stored value.',\n ],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of this row.', semanticRole: 'identifier' }),\n dataKeyId: schemaShape.dataKeyId.stringSpec({\n meaning: 'The custodian\\'s id for the data key, written into every value it seals.',\n whyItMatters: 'It is bound into the wrap and into each sealed value, so a value opens only under the data key that sealed it.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n purpose: schemaShape.purpose.enumSpec({\n meaning: 'The purpose whose wrapping key wraps it.',\n enumDeclaration: enumDeclaration('CryptoKey_Purpose'),\n values: {\n [CryptoKey_Purpose.SEALED_SECRETS]: { meaning: 'Sealing stored secrets: the only purpose a data key serves.' },\n },\n }),\n scope: schemaShape.scope.enumSpec({\n meaning: 'Whose wrapping key wraps it.',\n enumDeclaration: enumDeclaration('CryptoKey_Scope'),\n values: {\n [CryptoKey_Scope.PLATFORM]: { meaning: 'The platform\\'s own key. Not used for data keys.' },\n [CryptoKey_Scope.APPLICATION]: { meaning: 'The application\\'s wrapping key, the only scope sealing uses today.' },\n [CryptoKey_Scope.ORGANIZATION]: { meaning: 'A dedicated wrapping key of one organization.' },\n [CryptoKey_Scope.RECORD]: { meaning: 'A key of one record. Not used for data keys.' },\n },\n }),\n scopeId: schemaShape.scopeId.stringSpec({ meaning: 'The application\\'s id for an application-scoped key, the organization\\'s for an organization-scoped one.', semanticRole: 'identifier' }),\n kid: schemaShape.kid.stringSpec({\n meaning: 'The wrapping version that wraps the data key now.',\n whyItMatters: 'A rotation of the wrapping key re-wraps the row and moves this; the values it sealed are untouched.',\n semanticRole: 'identifier',\n }),\n wrapped: schemaShape.wrapped.stringSpec({ meaning: 'The data key, wrapped, as base64url. Opaque to the application.', semanticRole: 'code' }),\n state: schemaShape.state.enumSpec({\n meaning: 'Whether the data key still seals new values.',\n enumDeclaration: enumDeclaration('ApplicationDataKeyState'),\n values: {\n [ApplicationDataKeyState.ACTIVE]: { meaning: 'Seals new values while its caps allow, and opens existing ones.' },\n [ApplicationDataKeyState.RETIRED]: { meaning: 'Past its use or age cap: opens existing values only.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n sealsReserved: schemaShape.sealsReserved.numberSpec({\n meaning: 'How many seals processes have reserved on the data key so far.',\n whyItMatters: 'Every process of every replica counts against this one total, so the key never seals past its cap.',\n }),\n sealingExpiresAt: schemaShape.sealingExpiresAt.dateSpec({ meaning: 'After this instant the data key seals nothing new.' }),\n retiredAt: schemaShape.retiredAt.dateSpec({ meaning: 'When the data key stopped sealing.' }),\n exposedAt: schemaShape.exposedAt.dateSpec({\n meaning: 'When a runtime found the wrapping version that wrapped this data key compromised.',\n whyItMatters: 'Written before the re-wrap moves `kid` off that version and never cleared, so it is the lasting record that the values sealed under this key must be re-sealed. An exposed key never seals again.',\n }),\n exposedByKid: schemaShape.exposedByKid.stringSpec({\n meaning: 'The compromised wrapping version that wrapped this data key when it was marked exposed.',\n semanticRole: 'identifier',\n }),\n resealedAt: schemaShape.resealedAt.dateSpec({\n meaning: 'When the re-seal sweep found no stored value sealed under this exposed data key any more.',\n whyItMatters: 'The sweep stops visiting the stores for this key. The key still opens, for a value in transit that names it.',\n }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the data key was issued.' }),\n },\n operations: {\n [Op.CREATE]: {\n purpose: 'Store a data key the custodian issued, with its first block of seals reserved.',\n outcome: 'The application seals new values under it.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The data key was stored.' }],\n },\n [Op.READ]: {\n purpose: 'Read one stored data key.',\n outcome: 'The data key a sealed value names is found and unwrapped.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The data key was found.' }],\n },\n [Op.LIST]: {\n purpose: 'List the stored data keys.',\n outcome: 'A runtime unwraps every one at boot, so it opens any value without waiting.',\n idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The data keys were returned.' }],\n },\n [Op.UPDATE]: {\n purpose: 'Reserve a block of seals on a data key, retire it, re-wrap it, or record that it was exposed and later re-sealed.',\n outcome: 'The reservation is counted once across every replica; a retired key only opens; an exposed key never seals again.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The data key was updated.' }],\n },\n },\n businessConstraints: [\n 'A row holds the data key only wrapped; the unwrapped key exists only in a runtime\\'s memory.',\n 'A data key seals at most 2^28 values and for at most 365 days, then only opens.',\n 'A row is never deleted: a data key opens every value sealed under it, including copies no sweep can reach.',\n 'A data key whose wrapping version was compromised is marked exposed before it is re-wrapped, never seals again, and every stored value sealed under it is re-sealed under a fresh data key.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-seed-runs.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/data-seed-runs.resource.specification.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAGjI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,eAAO,MAAM,iCAAiC,EAAE,
|
|
1
|
+
{"version":3,"file":"data-seed-runs.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/data-seed-runs.resource.specification.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAGjI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,eAAO,MAAM,iCAAiC,EAAE,8BAqY/C,CAAC"}
|
|
@@ -172,6 +172,7 @@ export const dataSeedRunsResourceSpecification = resourceSpecification(dataSeedR
|
|
|
172
172
|
[DataSeedTriggerOrigin.CRON]: { meaning: 'Reserved for a cron primitive that fires outside a declared seed schedule. No current caller.' },
|
|
173
173
|
[DataSeedTriggerOrigin.ADMIN_MANUAL]: { meaning: 'Fired by an administrator asking for the seed to be run.' },
|
|
174
174
|
[DataSeedTriggerOrigin.SCHEDULED_RERUN]: { meaning: 'Fired by the platform because the seed declaration\'s own schedule matched the current tick.' },
|
|
175
|
+
[DataSeedTriggerOrigin.INBOUND_DELIVERY]: { meaning: 'Fired by an external-data pipeline re-reading the records an inbound delivery named as changed at the system of record.' },
|
|
175
176
|
},
|
|
176
177
|
}),
|
|
177
178
|
triggeredByUserId: schemaShape.triggeredByUserId.stringSpec({
|
|
@@ -234,13 +235,17 @@ export const dataSeedRunsResourceSpecification = resourceSpecification(dataSeedR
|
|
|
234
235
|
entriesReportedOrphans: schemaShape.entriesReportedOrphans.numberSpec({
|
|
235
236
|
meaning: 'How many records outside the declared set were only reported, leaving the records themselves untouched.',
|
|
236
237
|
}),
|
|
238
|
+
entriesImpersonalized: schemaShape.entriesImpersonalized.numberSpec({
|
|
239
|
+
meaning: 'How many records outside the declared set had their personal data erased in place and were kept, because the pass declared that orphans are impersonalized. A record under a legal hold is kept unchanged and is not counted.',
|
|
240
|
+
whyItMatters: 'The scrub cannot be undone, and a record the source lists again loads as a new row, so this is the count of copies the pass emptied of personal data for good.',
|
|
241
|
+
}),
|
|
237
242
|
entriesFailed: schemaShape.entriesFailed.numberSpec({
|
|
238
243
|
meaning: 'How many entries could not be written. The pass continues and settles as partial.',
|
|
239
244
|
whyItMatters: 'It is the count behind a partial outcome; the per-entry detail lives in the report below.',
|
|
240
245
|
importance: FieldSemanticImportance.PRIMARY,
|
|
241
246
|
}),
|
|
242
247
|
failureReport: schemaShape.failureReport.objectSpec({
|
|
243
|
-
meaning: 'Detailed breakdown of everything non-trivial the pass encountered: which entries failed and why, which records fell outside the declared set, and any error that stopped the pass as a whole. Empty when everything succeeded.',
|
|
248
|
+
meaning: 'Detailed breakdown of everything non-trivial the pass encountered: which entries failed and why, which records fell outside the declared set, and any error that stopped the pass as a whole. Each list is bounded by count and size and the error by size, `entriesTruncated` / `orphansTruncated` / `passLevelErrorTruncated` say when something was cut, and the counters stay exact. A recorded error has the forms a store or driver documents as quoting a row\'s value removed (a duplicate key, a refused input or cast, a failing row); a vendor\'s own error text beyond those forms is not controlled. Empty when everything succeeded.',
|
|
244
249
|
whyItMatters: 'It is what lets an operator diagnose a partial or failed pass without going to application logs.',
|
|
245
250
|
importance: FieldSemanticImportance.PRIMARY,
|
|
246
251
|
}),
|
package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-seed-runs.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/data-seed-runs.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,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D,OAAO,EAAE,0GAA0G;YACnH,gBAAgB,EAAE;gBAChB,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,wDAAwD,EAAE;aAC3G;YACD,cAAc,EAAE;gBACd,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,6CAA6C,EAAE;aACpG;YACD,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE;gBACR,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE;oBAChC,OAAO,EAAE,0GAA0G;iBACpH;aACF;SACF;QAED,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;YACX,OAAO,EAAE,oDAAoD;YAC7D,OAAO,EAAE,6FAA6F;YACtG,gBAAgB,EAAE;gBAChB,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,sFAAsF,EAAE;aACzI;YACD,cAAc,EAAE;gBACd,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,iFAAiF,EAAE;aACxI;YACD,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE;gBACR,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE;oBAC7B,OAAO,EAAE,6FAA6F;oBACtG,SAAS,EAAE,8GAA8G;iBAC1H;aACF;SACF;KACF;IAED,mBAAmB,EAAE;QACnB,yJAAyJ;QACzJ,qLAAqL;QACrL,4JAA4J;QAC5J,2LAA2L;KAC5L;CACF,CAAC;AACF,2EAA2E;AAC3E,8EAA8E;AAC9E,+EAA+E;AAC/E,2EAA2E;AAC3E,gEAAgE;AAChE,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAC3D,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n DataSeedMode,\n DataSeedRunSchema,\n DataSeedRunStatus,\n DataSeedRunVariantKey,\n DataSeedScopeKind,\n DataSeedTriggerOrigin,\n dataSeedRunResourceConfiguration_InitializationFactory as dataSeedRunFactory,\n} from '@wildo-ai/saas-backend-lib/data-seeding-models';\nimport { CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';\nimport { type AnyResourceSpecificationConfig, HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Framework-owned specification for the internal `dataSeedRuns` resource — the\n * persistence ledger the data-seeding dispatcher writes one row to per pass.\n *\n * Like `jobExecutions`, this is a platform/infrastructure truth source rather\n * than an end-user surface: its useful semantic layer is the operational model\n * (did this seed already run for this scope at this version, and what did the\n * pass do?), not UI narration. Its only human-facing surface is the back-office\n * ADMIN read/search path and the `DELETE` re-run gesture.\n *\n * Authored 2026-08-21 because the label generator was producing this resource's\n * ~1000 keys with NO spec context at all — the companion logged\n * `No resource specification found for \"dataSeedRuns\"` on every run and invented\n * terminology from bare field names. The counters in particular (`entriesUpdated`\n * vs `entriesUpgraded` vs `entriesSkipped`) are indistinguishable without the\n * per-mode contract stated below.\n *\n * NOTE ON THE REGISTRY KEY: `dataSeedRuns` is a `BackendResourceType`, not a\n * `CoreResourceType`, so its schema and factory live in `@wildo-ai/saas-backend-lib`\n * rather than `@wildo-ai/saas-models`, and its entry in\n * `engineResourceSpecificationsByType` is keyed by the literal resource-type\n * string. The registry is typed `Record<string, …>`, and the runtime-scope\n * alignment guard intersects specs with the CORE registry, so this resource is\n * correctly outside that guard's population rather than silently breaking it.\n *\n * WHY THIS ONE SPEC CARRIES AN EXPLICIT TYPE ANNOTATION (the other 58 do not).\n *\n * `resourceSpecification` returns `ResourceSpecificationConfig<TCustomOp, TCoreOp, TSchema>`,\n * so an unannotated spec exports a type whose arguments are named from wherever its schema\n * and factory live. For every other engine spec that is `@wildo-ai/saas-models`, which this\n * package depends on directly and can always name. This resource is the sole exception — its\n * schema and factory come from `@wildo-ai/saas-backend-lib/data-seeding-models`, because\n * `dataSeedRuns` is a `BackendResourceType` (see the registry note above). That made the\n * inferred type unnameable except through a non-portable nested path\n * (`node_modules/@wildo-ai/saas-frontend-lib/node_modules/@wildo-ai/saas-models/src`), which\n * `isolatedDeclarations`-style declaration emit rejects with TS2742.\n *\n * The annotation is NOT merely a workaround for that. The same declaration also tripped TS7056\n * (`inferred type ... exceeds the maximum length the compiler will serialize`) — this resource\n * authors on the order of a thousand field-spec keys — and TS7056 has no remedy other than an\n * explicit annotation. No amount of dependency or entrypoint surgery removes it, so an\n * annotation is required here regardless of how the package boundary is drawn.\n *\n * `AnyResourceSpecificationConfig` loses nothing at the only consumption point. The sole\n * consumer is `engineResourceSpecificationsByType`, declared `ResourceSpecification`\n * (= `Record<string, AnyResourceSpecificationConfig>`), so the precise generic instantiation\n * was already erased there. Authoring-time checking of the callback body is unaffected: the\n * `resourceSpecification(...)` call still infers `TSchema` from `DataSeedRunSchema` and\n * type-checks the config against it before the annotation widens the exported binding.\n *\n * If a future spec also sources its schema from a package other than `saas-models`, it will hit\n * the same wall and should follow this pattern rather than re-deriving it.\n */\nexport const dataSeedRunsResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n dataSeedRunFactory,\n DataSeedRunSchema,\n ({ schemaShape }) => ({\n purpose: 'Record one pass of the data-seeding dispatcher so the platform knows whether a seed has already been applied to a given scope at a given version.',\n businessRole: 'Operational control-plane ledger used to make seeding idempotent across restarts, and to troubleshoot what a seeding pass inserted, upgraded, skipped, or failed on.',\n lifecycleRole: 'Opens as a running pass when the dispatcher starts, then settles once into completed, partial, or failed. Deleting a settled row is the supported gesture for making the next pass treat that scope as un-run.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.INFRASTRUCTURE,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedRunSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'dataSeedRunResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'BackendResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'DATA_SEED_RUN',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Stable identifier of one recorded seeding pass.',\n whyItMatters: 'It is what an operator addresses when deleting a settled pass to force the next dispatcher run to re-apply that seed.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n seedKey: schemaShape.seedKey.stringSpec({\n meaning: 'Stable name of the seed declaration this pass executed.',\n whyItMatters: 'It is the primary way an operator groups the history of one seed across every scope and version it has been applied to.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n seedVersion: schemaShape.seedVersion.numberSpec({\n meaning: 'The version the seed declaration carried when this pass ran.',\n whyItMatters: 'Raising the declared version is how a developer asks for a re-run; the dispatcher decides by comparing the declared version against the highest version already recorded as completed for the same scope.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n mode: schemaShape.mode.enumSpec({\n meaning: 'The reconciliation strategy the pass applied to the declared entries.',\n whyItMatters: 'It determines which counters below can be non-zero and whether rows outside the declared set were touched at all, so it is the first thing to read when a pass did something unexpected.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedMode',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [DataSeedMode.LAZY]: { meaning: 'Create the entry the first time the scope is accessed if it is missing. Always safe to repeat.' },\n [DataSeedMode.ADDITIVE]: { meaning: 'Insert entries that are absent and re-apply the declared payload to entries that are present. Never removes anything and never walks records outside the declared set.' },\n [DataSeedMode.UPGRADE]: { meaning: 'Insert entries that are absent and migrate entries whose recorded version is behind the declared one.' },\n [DataSeedMode.SYNC]: { meaning: 'Treat the declared entries as the full truth: insert what is missing, update what changed, and handle records that are no longer declared according to the seed orphan policy.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n scopeKind: schemaShape.scopeKind.enumSpec({\n meaning: 'The unit this pass seeded — the whole database, one application, one organization, one user, or one record of some other resource type.',\n whyItMatters: 'Seeding is idempotent per scope, so the scope is half of the answer to \"has this already run?\".',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedScopeKind',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [DataSeedScopeKind.GLOBAL]: { meaning: 'Applied once for the whole database. There is no anchor record.' },\n [DataSeedScopeKind.APPLICATION]: { meaning: 'Applied once per application.' },\n [DataSeedScopeKind.ORGANIZATION]: { meaning: 'Applied once per organization.' },\n [DataSeedScopeKind.USER]: { meaning: 'Applied once per user.' },\n [DataSeedScopeKind.CUSTOM]: { meaning: 'Applied once per record of some other resource type, which is named separately on the pass.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n relatedResourceType: schemaShape.relatedResourceType.stringSpec({\n meaning: 'The resource type whose record anchors a custom-scope pass. Empty for the built-in scopes, whose resource is implied by the scope itself.',\n whyItMatters: 'Two custom-scope seeds can legitimately anchor on the same row identifier under different resource types, so this is what keeps their histories apart.',\n }),\n\n relatedId: schemaShape.relatedId.stringSpec({\n meaning: 'Identifier of the record that anchors this scope. Empty only for a database-wide pass, which has no anchor.',\n whyItMatters: 'It is what narrows the ledger from \"every run of this seed\" to \"the run for this particular organization, user, or row\".',\n semanticRole: 'identifier',\n }),\n\n triggerOrigin: schemaShape.triggerOrigin.enumSpec({\n meaning: 'Coarse classification of what caused the dispatcher to fire.',\n whyItMatters: 'It is the filterable form of the trigger, so history can be narrowed to one pathway without reading the trigger declaration on every row.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedTriggerOrigin',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [DataSeedTriggerOrigin.APP_INIT]: { meaning: 'Fired while the application was starting up.' },\n [DataSeedTriggerOrigin.APP_VERSION_UPGRADE]: { meaning: 'Fired because the application moved to a new version.' },\n [DataSeedTriggerOrigin.RESOURCE_LIFECYCLE]: { meaning: 'Fired by a write to the resource that anchors the scope, such as a new organization being created.' },\n [DataSeedTriggerOrigin.LAZY_ACCESS]: { meaning: 'Fired the first time something read the scope and the seeded data was not there yet.' },\n [DataSeedTriggerOrigin.CRON]: { meaning: 'Reserved for a cron primitive that fires outside a declared seed schedule. No current caller.' },\n [DataSeedTriggerOrigin.ADMIN_MANUAL]: { meaning: 'Fired by an administrator asking for the seed to be run.' },\n [DataSeedTriggerOrigin.SCHEDULED_RERUN]: { meaning: 'Fired by the platform because the seed declaration\\'s own schedule matched the current tick.' },\n },\n }),\n\n triggeredByUserId: schemaShape.triggeredByUserId.stringSpec({\n meaning: 'The user whose action caused the dispatcher to fire. Empty for passes the platform started on its own.',\n whyItMatters: 'It is attribution only, never authority: the seed itself always runs with internal system permissions regardless of who triggered it.',\n semanticRole: 'identifier',\n }),\n\n status: schemaShape.status.enumSpec({\n meaning: 'Outcome of the pass.',\n whyItMatters: 'It is the signal the dispatcher itself reads to decide whether a scope still needs seeding, and the first thing an operator filters on.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedRunStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [DataSeedRunStatus.RUNNING]: { meaning: 'The pass started and has not settled. A pass left in this state by a crash is superseded by the next pass rather than timing out.' },\n [DataSeedRunStatus.COMPLETED]: { meaning: 'Every declared entry succeeded.' },\n [DataSeedRunStatus.PARTIAL]: { meaning: 'At least one entry failed but the pass carried on and reported the rest.' },\n [DataSeedRunStatus.FAILED]: { meaning: 'The pass itself stopped before finishing.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n startedAt: schemaShape.startedAt.dateSpec({\n meaning: 'When the pass began.',\n }),\n\n finishedAt: schemaShape.finishedAt.dateSpec({\n meaning: 'When the pass settled. Empty while it is still running.',\n whyItMatters: 'The gap between this and the start time is the only duration signal for a seeding pass.',\n }),\n\n entriesAttempted: schemaShape.entriesAttempted.numberSpec({\n meaning: 'How many declared entries the pass walked. Counted before each entry is tried, so it matches the declared set whatever the outcome.',\n whyItMatters: 'When it does not match the number of entries in the declaration, the declaration and the deployed code have drifted apart.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n entriesInserted: schemaShape.entriesInserted.numberSpec({\n meaning: 'How many declared entries were written because no matching record existed.',\n }),\n\n entriesUpdated: schemaShape.entriesUpdated.numberSpec({\n meaning: 'How many already-present records had the declared payload re-applied to them.',\n whyItMatters: 'This is the additive-mode counter. A version migration is counted separately, so a non-zero value here means the payload was re-stamped, not migrated.',\n }),\n\n entriesUpgraded: schemaShape.entriesUpgraded.numberSpec({\n meaning: 'How many present records were behind the declared version and were migrated forward.',\n }),\n\n entriesRenamed: schemaShape.entriesRenamed.numberSpec({\n meaning: 'How many records were relocated from a previous identity because the declaration renamed them.',\n }),\n\n entriesSkipped: schemaShape.entriesSkipped.numberSpec({\n meaning: 'How many declared entries the pass deliberately left untouched — already current, or protected from being moved backwards.',\n whyItMatters: 'Skipping is a normal outcome, not a failure; the reason for each skip is reported separately.',\n }),\n\n entriesDeleted: schemaShape.entriesDeleted.numberSpec({\n meaning: 'How many records outside the declared set were removed. Only a full-reconciliation pass configured to delete can produce this.',\n }),\n\n entriesDeprecated: schemaShape.entriesDeprecated.numberSpec({\n meaning: 'How many records outside the declared set were marked deprecated instead of removed.',\n }),\n\n entriesReportedOrphans: schemaShape.entriesReportedOrphans.numberSpec({\n meaning: 'How many records outside the declared set were only reported, leaving the records themselves untouched.',\n }),\n\n entriesFailed: schemaShape.entriesFailed.numberSpec({\n meaning: 'How many entries could not be written. The pass continues and settles as partial.',\n whyItMatters: 'It is the count behind a partial outcome; the per-entry detail lives in the report below.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n failureReport: schemaShape.failureReport.objectSpec({\n meaning: 'Detailed breakdown of everything non-trivial the pass encountered: which entries failed and why, which records fell outside the declared set, and any error that stopped the pass as a whole. Empty when everything succeeded.',\n whyItMatters: 'It is what lets an operator diagnose a partial or failed pass without going to application logs.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n },\n\n /**\n * `trigger` is documented here rather than in `fields` because it is a\n * DISCRIMINATED UNION, and the spec decorators are declared on `ZodObject`\n * / `ZodUnion` but not on `ZodDiscriminatedUnion` — `schemaShape.trigger.objectSpec(...)`\n * does not type-check. Without an entry of some kind the field would reach the\n * label generator as a bare name and the generator would invent terminology for\n * it (the same failure mode `RETENTION_MARKER_FIELD_SPECS` documents), so the\n * meaning is declared through the escape hatch instead of dropped.\n */\n additionalFieldSpecs: [\n {\n fieldName: 'trigger',\n specDecorator: 'objectSpec',\n params: {\n meaning: 'The full trigger declaration that caused this pass, copied verbatim from the seed definition.',\n whyItMatters: 'Its shape varies by what fired the pass, so it carries the detail — the lifecycle event, the schedule, the access path — that the coarse trigger origin deliberately flattens away.',\n },\n },\n ],\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Open the ledger row for a seeding pass that is about to start.',\n outcome: 'The pass becomes visible as running before it touches any data, so a crash mid-pass leaves a trace rather than nothing.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The pass was recorded as running and the record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The pass description fails schema validation.' },\n ],\n idempotent: false,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Let the dispatcher open its own ledger row. There is no externally reachable way to create one.',\n },\n },\n },\n\n [Op.READ]: {\n purpose: 'Read one recorded seeding pass.',\n outcome: 'The caller can inspect exactly what one pass did to one scope.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The recorded pass was found and is returned with its counters and report.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No pass exists for the supplied identifier — never recorded, or already removed by an administrator or by history cleanup.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator. This ledger is never exposed to ordinary tenant callers.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Let the dispatcher recover a previous attempt before writing the outcome of the current one.',\n },\n [DataSeedRunVariantKey.ADMIN]: {\n purpose: 'Let a platform administrator inspect one pass from the back office.',\n },\n },\n },\n\n [Op.UPDATE]: {\n purpose: 'Settle a running pass with its outcome and counters.',\n outcome: 'The ledger stops saying the pass is in flight and starts being the answer to whether the seed already applied.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The pass recorded its outcome, timing, counters and failure report, and the settled record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No pass exists for the supplied identifier to settle.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The outcome fails schema validation, for example an unrecognized status.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A caller outside the dispatcher attempts to rewrite a pass outcome.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Let the dispatcher write the terminal outcome of the pass it opened.',\n whenToUse: 'Use when a pass has finished walking its entries, whether it succeeded, partially succeeded, or stopped.',\n },\n },\n },\n\n [Op.DELETE]: {\n purpose: 'Remove a recorded pass so the next dispatcher run treats that scope as never seeded.',\n outcome: 'The seed is re-applied to that scope on the next run, without editing or re-deploying the seed declaration.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The recorded pass was removed and the scope is eligible for seeding again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No pass exists for the supplied identifier.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.ADMIN]: {\n purpose: 'Give a platform administrator the supported re-run gesture.',\n whenToUse: 'Use when a seed must be applied again to one scope and raising the declared version would wrongly re-run it everywhere. The dispatcher never deletes its own history.',\n },\n },\n },\n\n [Op.LIST]: {\n purpose: 'Enumerate recorded seeding passes.',\n outcome: 'The caller sees seeding history as a set rather than one pass at a time.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A page of recorded passes, possibly empty, narrowed by the requested seed, scope, status, or trigger filters.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator authorized to enumerate seeding history.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Let the dispatcher enumerate prior passes while deciding whether a scope still needs seeding.',\n },\n [DataSeedRunVariantKey.ADMIN]: {\n purpose: 'Let a platform administrator browse seeding history from the back office.',\n },\n },\n },\n\n [Op.COUNT]: {\n purpose: 'Count recorded passes matching a set of conditions.',\n outcome: 'The dispatcher can answer \"has any completed pass already covered this scope?\" without loading the rows.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The number of recorded passes matching the conditions.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Back the dispatcher\\'s already-seeded check, which needs only a yes or no and never the rows themselves.',\n },\n },\n },\n\n [Op.SEARCH]: {\n purpose: 'Search seeding history by seed name or anchor row.',\n outcome: 'An administrator can narrow history to the passes relevant to one seed or one affected row.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A page of recorded passes, possibly empty, matching the search term and any filters.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator authorized to query seeding history.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.ADMIN]: {\n purpose: 'Let a platform administrator find passes by seed name or by the row a pass was anchored to.',\n whenToUse: 'Use when troubleshooting starts from \"which seed touched this row\" rather than from a known pass identifier.',\n },\n },\n },\n },\n\n businessConstraints: [\n 'This ledger records what a seeding pass did. It is never the source of truth for the data the seed produced — that lives on the seeded rows themselves.',\n 'A pass is identified by its seed, its scope, and its declared version together. That identity is what makes seeding safe to repeat, so it must not be widened or narrowed casually.',\n 'Who triggered a pass is recorded for attribution only. Seeding always runs with internal system permissions, so the recorded user never confers authority.',\n 'Removing a recorded pass is a deliberate administrative re-run gesture. The dispatcher itself never deletes its own history, because the history is what makes the next decision correct.',\n ],\n }),\n // DATA_SEED_RUN is a STANDALONE infrastructure ledger reached only through\n // internal repository services and a platform-administrator back-office path.\n // The `APPLICATION → DATA_SEED_RUN` relationship is routing-side only (the row\n // carries no application identifier of its own), which is why the scope is\n // declared here rather than derived from a scope-owning parent.\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
1
|
+
{"version":3,"file":"data-seed-runs.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/data-seed-runs.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EAC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,EAAE,CAC3D,CAAC","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n DataSeedMode,\n DataSeedRunSchema,\n DataSeedRunStatus,\n DataSeedRunVariantKey,\n DataSeedScopeKind,\n DataSeedTriggerOrigin,\n dataSeedRunResourceConfiguration_InitializationFactory as dataSeedRunFactory,\n} from '@wildo-ai/saas-backend-lib/data-seeding-models';\nimport { CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';\nimport { type AnyResourceSpecificationConfig, HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Framework-owned specification for the internal `dataSeedRuns` resource — the\n * persistence ledger the data-seeding dispatcher writes one row to per pass.\n *\n * Like `jobExecutions`, this is a platform/infrastructure truth source rather\n * than an end-user surface: its useful semantic layer is the operational model\n * (did this seed already run for this scope at this version, and what did the\n * pass do?), not UI narration. Its only human-facing surface is the back-office\n * ADMIN read/search path and the `DELETE` re-run gesture.\n *\n * Authored 2026-08-21 because the label generator was producing this resource's\n * ~1000 keys with NO spec context at all — the companion logged\n * `No resource specification found for \"dataSeedRuns\"` on every run and invented\n * terminology from bare field names. The counters in particular (`entriesUpdated`\n * vs `entriesUpgraded` vs `entriesSkipped`) are indistinguishable without the\n * per-mode contract stated below.\n *\n * NOTE ON THE REGISTRY KEY: `dataSeedRuns` is a `BackendResourceType`, not a\n * `CoreResourceType`, so its schema and factory live in `@wildo-ai/saas-backend-lib`\n * rather than `@wildo-ai/saas-models`, and its entry in\n * `engineResourceSpecificationsByType` is keyed by the literal resource-type\n * string. The registry is typed `Record<string, …>`, and the runtime-scope\n * alignment guard intersects specs with the CORE registry, so this resource is\n * correctly outside that guard's population rather than silently breaking it.\n *\n * WHY THIS ONE SPEC CARRIES AN EXPLICIT TYPE ANNOTATION (the other 58 do not).\n *\n * `resourceSpecification` returns `ResourceSpecificationConfig<TCustomOp, TCoreOp, TSchema>`,\n * so an unannotated spec exports a type whose arguments are named from wherever its schema\n * and factory live. For every other engine spec that is `@wildo-ai/saas-models`, which this\n * package depends on directly and can always name. This resource is the sole exception — its\n * schema and factory come from `@wildo-ai/saas-backend-lib/data-seeding-models`, because\n * `dataSeedRuns` is a `BackendResourceType` (see the registry note above). That made the\n * inferred type unnameable except through a non-portable nested path\n * (`node_modules/@wildo-ai/saas-frontend-lib/node_modules/@wildo-ai/saas-models/src`), which\n * `isolatedDeclarations`-style declaration emit rejects with TS2742.\n *\n * The annotation is NOT merely a workaround for that. The same declaration also tripped TS7056\n * (`inferred type ... exceeds the maximum length the compiler will serialize`) — this resource\n * authors on the order of a thousand field-spec keys — and TS7056 has no remedy other than an\n * explicit annotation. No amount of dependency or entrypoint surgery removes it, so an\n * annotation is required here regardless of how the package boundary is drawn.\n *\n * `AnyResourceSpecificationConfig` loses nothing at the only consumption point. The sole\n * consumer is `engineResourceSpecificationsByType`, declared `ResourceSpecification`\n * (= `Record<string, AnyResourceSpecificationConfig>`), so the precise generic instantiation\n * was already erased there. Authoring-time checking of the callback body is unaffected: the\n * `resourceSpecification(...)` call still infers `TSchema` from `DataSeedRunSchema` and\n * type-checks the config against it before the annotation widens the exported binding.\n *\n * If a future spec also sources its schema from a package other than `saas-models`, it will hit\n * the same wall and should follow this pattern rather than re-deriving it.\n */\nexport const dataSeedRunsResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n dataSeedRunFactory,\n DataSeedRunSchema,\n ({ schemaShape }) => ({\n purpose: 'Record one pass of the data-seeding dispatcher so the platform knows whether a seed has already been applied to a given scope at a given version.',\n businessRole: 'Operational control-plane ledger used to make seeding idempotent across restarts, and to troubleshoot what a seeding pass inserted, upgraded, skipped, or failed on.',\n lifecycleRole: 'Opens as a running pass when the dispatcher starts, then settles once into completed, partial, or failed. Deleting a settled row is the supported gesture for making the next pass treat that scope as un-run.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.INFRASTRUCTURE,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedRunSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'dataSeedRunResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'BackendResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'DATA_SEED_RUN',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Stable identifier of one recorded seeding pass.',\n whyItMatters: 'It is what an operator addresses when deleting a settled pass to force the next dispatcher run to re-apply that seed.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n seedKey: schemaShape.seedKey.stringSpec({\n meaning: 'Stable name of the seed declaration this pass executed.',\n whyItMatters: 'It is the primary way an operator groups the history of one seed across every scope and version it has been applied to.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n seedVersion: schemaShape.seedVersion.numberSpec({\n meaning: 'The version the seed declaration carried when this pass ran.',\n whyItMatters: 'Raising the declared version is how a developer asks for a re-run; the dispatcher decides by comparing the declared version against the highest version already recorded as completed for the same scope.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n mode: schemaShape.mode.enumSpec({\n meaning: 'The reconciliation strategy the pass applied to the declared entries.',\n whyItMatters: 'It determines which counters below can be non-zero and whether rows outside the declared set were touched at all, so it is the first thing to read when a pass did something unexpected.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedMode',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [DataSeedMode.LAZY]: { meaning: 'Create the entry the first time the scope is accessed if it is missing. Always safe to repeat.' },\n [DataSeedMode.ADDITIVE]: { meaning: 'Insert entries that are absent and re-apply the declared payload to entries that are present. Never removes anything and never walks records outside the declared set.' },\n [DataSeedMode.UPGRADE]: { meaning: 'Insert entries that are absent and migrate entries whose recorded version is behind the declared one.' },\n [DataSeedMode.SYNC]: { meaning: 'Treat the declared entries as the full truth: insert what is missing, update what changed, and handle records that are no longer declared according to the seed orphan policy.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n scopeKind: schemaShape.scopeKind.enumSpec({\n meaning: 'The unit this pass seeded — the whole database, one application, one organization, one user, or one record of some other resource type.',\n whyItMatters: 'Seeding is idempotent per scope, so the scope is half of the answer to \"has this already run?\".',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedScopeKind',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [DataSeedScopeKind.GLOBAL]: { meaning: 'Applied once for the whole database. There is no anchor record.' },\n [DataSeedScopeKind.APPLICATION]: { meaning: 'Applied once per application.' },\n [DataSeedScopeKind.ORGANIZATION]: { meaning: 'Applied once per organization.' },\n [DataSeedScopeKind.USER]: { meaning: 'Applied once per user.' },\n [DataSeedScopeKind.CUSTOM]: { meaning: 'Applied once per record of some other resource type, which is named separately on the pass.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n relatedResourceType: schemaShape.relatedResourceType.stringSpec({\n meaning: 'The resource type whose record anchors a custom-scope pass. Empty for the built-in scopes, whose resource is implied by the scope itself.',\n whyItMatters: 'Two custom-scope seeds can legitimately anchor on the same row identifier under different resource types, so this is what keeps their histories apart.',\n }),\n\n relatedId: schemaShape.relatedId.stringSpec({\n meaning: 'Identifier of the record that anchors this scope. Empty only for a database-wide pass, which has no anchor.',\n whyItMatters: 'It is what narrows the ledger from \"every run of this seed\" to \"the run for this particular organization, user, or row\".',\n semanticRole: 'identifier',\n }),\n\n triggerOrigin: schemaShape.triggerOrigin.enumSpec({\n meaning: 'Coarse classification of what caused the dispatcher to fire.',\n whyItMatters: 'It is the filterable form of the trigger, so history can be narrowed to one pathway without reading the trigger declaration on every row.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedTriggerOrigin',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [DataSeedTriggerOrigin.APP_INIT]: { meaning: 'Fired while the application was starting up.' },\n [DataSeedTriggerOrigin.APP_VERSION_UPGRADE]: { meaning: 'Fired because the application moved to a new version.' },\n [DataSeedTriggerOrigin.RESOURCE_LIFECYCLE]: { meaning: 'Fired by a write to the resource that anchors the scope, such as a new organization being created.' },\n [DataSeedTriggerOrigin.LAZY_ACCESS]: { meaning: 'Fired the first time something read the scope and the seeded data was not there yet.' },\n [DataSeedTriggerOrigin.CRON]: { meaning: 'Reserved for a cron primitive that fires outside a declared seed schedule. No current caller.' },\n [DataSeedTriggerOrigin.ADMIN_MANUAL]: { meaning: 'Fired by an administrator asking for the seed to be run.' },\n [DataSeedTriggerOrigin.SCHEDULED_RERUN]: { meaning: 'Fired by the platform because the seed declaration\\'s own schedule matched the current tick.' },\n [DataSeedTriggerOrigin.INBOUND_DELIVERY]: { meaning: 'Fired by an external-data pipeline re-reading the records an inbound delivery named as changed at the system of record.' },\n },\n }),\n\n triggeredByUserId: schemaShape.triggeredByUserId.stringSpec({\n meaning: 'The user whose action caused the dispatcher to fire. Empty for passes the platform started on its own.',\n whyItMatters: 'It is attribution only, never authority: the seed itself always runs with internal system permissions regardless of who triggered it.',\n semanticRole: 'identifier',\n }),\n\n status: schemaShape.status.enumSpec({\n meaning: 'Outcome of the pass.',\n whyItMatters: 'It is the signal the dispatcher itself reads to decide whether a scope still needs seeding, and the first thing an operator filters on.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'DataSeedRunStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [DataSeedRunStatus.RUNNING]: { meaning: 'The pass started and has not settled. A pass left in this state by a crash is superseded by the next pass rather than timing out.' },\n [DataSeedRunStatus.COMPLETED]: { meaning: 'Every declared entry succeeded.' },\n [DataSeedRunStatus.PARTIAL]: { meaning: 'At least one entry failed but the pass carried on and reported the rest.' },\n [DataSeedRunStatus.FAILED]: { meaning: 'The pass itself stopped before finishing.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n startedAt: schemaShape.startedAt.dateSpec({\n meaning: 'When the pass began.',\n }),\n\n finishedAt: schemaShape.finishedAt.dateSpec({\n meaning: 'When the pass settled. Empty while it is still running.',\n whyItMatters: 'The gap between this and the start time is the only duration signal for a seeding pass.',\n }),\n\n entriesAttempted: schemaShape.entriesAttempted.numberSpec({\n meaning: 'How many declared entries the pass walked. Counted before each entry is tried, so it matches the declared set whatever the outcome.',\n whyItMatters: 'When it does not match the number of entries in the declaration, the declaration and the deployed code have drifted apart.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n entriesInserted: schemaShape.entriesInserted.numberSpec({\n meaning: 'How many declared entries were written because no matching record existed.',\n }),\n\n entriesUpdated: schemaShape.entriesUpdated.numberSpec({\n meaning: 'How many already-present records had the declared payload re-applied to them.',\n whyItMatters: 'This is the additive-mode counter. A version migration is counted separately, so a non-zero value here means the payload was re-stamped, not migrated.',\n }),\n\n entriesUpgraded: schemaShape.entriesUpgraded.numberSpec({\n meaning: 'How many present records were behind the declared version and were migrated forward.',\n }),\n\n entriesRenamed: schemaShape.entriesRenamed.numberSpec({\n meaning: 'How many records were relocated from a previous identity because the declaration renamed them.',\n }),\n\n entriesSkipped: schemaShape.entriesSkipped.numberSpec({\n meaning: 'How many declared entries the pass deliberately left untouched — already current, or protected from being moved backwards.',\n whyItMatters: 'Skipping is a normal outcome, not a failure; the reason for each skip is reported separately.',\n }),\n\n entriesDeleted: schemaShape.entriesDeleted.numberSpec({\n meaning: 'How many records outside the declared set were removed. Only a full-reconciliation pass configured to delete can produce this.',\n }),\n\n entriesDeprecated: schemaShape.entriesDeprecated.numberSpec({\n meaning: 'How many records outside the declared set were marked deprecated instead of removed.',\n }),\n\n entriesReportedOrphans: schemaShape.entriesReportedOrphans.numberSpec({\n meaning: 'How many records outside the declared set were only reported, leaving the records themselves untouched.',\n }),\n\n entriesImpersonalized: schemaShape.entriesImpersonalized.numberSpec({\n meaning: 'How many records outside the declared set had their personal data erased in place and were kept, because the pass declared that orphans are impersonalized. A record under a legal hold is kept unchanged and is not counted.',\n whyItMatters: 'The scrub cannot be undone, and a record the source lists again loads as a new row, so this is the count of copies the pass emptied of personal data for good.',\n }),\n\n entriesFailed: schemaShape.entriesFailed.numberSpec({\n meaning: 'How many entries could not be written. The pass continues and settles as partial.',\n whyItMatters: 'It is the count behind a partial outcome; the per-entry detail lives in the report below.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n\n failureReport: schemaShape.failureReport.objectSpec({\n meaning: 'Detailed breakdown of everything non-trivial the pass encountered: which entries failed and why, which records fell outside the declared set, and any error that stopped the pass as a whole. Each list is bounded by count and size and the error by size, `entriesTruncated` / `orphansTruncated` / `passLevelErrorTruncated` say when something was cut, and the counters stay exact. A recorded error has the forms a store or driver documents as quoting a row\\'s value removed (a duplicate key, a refused input or cast, a failing row); a vendor\\'s own error text beyond those forms is not controlled. Empty when everything succeeded.',\n whyItMatters: 'It is what lets an operator diagnose a partial or failed pass without going to application logs.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n },\n\n /**\n * `trigger` is documented here rather than in `fields` because it is a\n * DISCRIMINATED UNION, and the spec decorators are declared on `ZodObject`\n * / `ZodUnion` but not on `ZodDiscriminatedUnion` — `schemaShape.trigger.objectSpec(...)`\n * does not type-check. Without an entry of some kind the field would reach the\n * label generator as a bare name and the generator would invent terminology for\n * it (the same failure mode `RETENTION_MARKER_FIELD_SPECS` documents), so the\n * meaning is declared through the escape hatch instead of dropped.\n */\n additionalFieldSpecs: [\n {\n fieldName: 'trigger',\n specDecorator: 'objectSpec',\n params: {\n meaning: 'The full trigger declaration that caused this pass, copied verbatim from the seed definition.',\n whyItMatters: 'Its shape varies by what fired the pass, so it carries the detail — the lifecycle event, the schedule, the access path — that the coarse trigger origin deliberately flattens away.',\n },\n },\n ],\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Open the ledger row for a seeding pass that is about to start.',\n outcome: 'The pass becomes visible as running before it touches any data, so a crash mid-pass leaves a trace rather than nothing.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The pass was recorded as running and the record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The pass description fails schema validation.' },\n ],\n idempotent: false,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Let the dispatcher open its own ledger row. There is no externally reachable way to create one.',\n },\n },\n },\n\n [Op.READ]: {\n purpose: 'Read one recorded seeding pass.',\n outcome: 'The caller can inspect exactly what one pass did to one scope.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The recorded pass was found and is returned with its counters and report.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No pass exists for the supplied identifier — never recorded, or already removed by an administrator or by history cleanup.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator. This ledger is never exposed to ordinary tenant callers.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Let the dispatcher recover a previous attempt before writing the outcome of the current one.',\n },\n [DataSeedRunVariantKey.ADMIN]: {\n purpose: 'Let a platform administrator inspect one pass from the back office.',\n },\n },\n },\n\n [Op.UPDATE]: {\n purpose: 'Settle a running pass with its outcome and counters.',\n outcome: 'The ledger stops saying the pass is in flight and starts being the answer to whether the seed already applied.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The pass recorded its outcome, timing, counters and failure report, and the settled record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No pass exists for the supplied identifier to settle.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The outcome fails schema validation, for example an unrecognized status.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'A caller outside the dispatcher attempts to rewrite a pass outcome.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Let the dispatcher write the terminal outcome of the pass it opened.',\n whenToUse: 'Use when a pass has finished walking its entries, whether it succeeded, partially succeeded, or stopped.',\n },\n },\n },\n\n [Op.DELETE]: {\n purpose: 'Remove a recorded pass so the next dispatcher run treats that scope as never seeded.',\n outcome: 'The seed is re-applied to that scope on the next run, without editing or re-deploying the seed declaration.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The recorded pass was removed and the scope is eligible for seeding again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No pass exists for the supplied identifier.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.ADMIN]: {\n purpose: 'Give a platform administrator the supported re-run gesture.',\n whenToUse: 'Use when a seed must be applied again to one scope and raising the declared version would wrongly re-run it everywhere. The dispatcher never deletes its own history.',\n },\n },\n },\n\n [Op.LIST]: {\n purpose: 'Enumerate recorded seeding passes.',\n outcome: 'The caller sees seeding history as a set rather than one pass at a time.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A page of recorded passes, possibly empty, narrowed by the requested seed, scope, status, or trigger filters.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator authorized to enumerate seeding history.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Let the dispatcher enumerate prior passes while deciding whether a scope still needs seeding.',\n },\n [DataSeedRunVariantKey.ADMIN]: {\n purpose: 'Let a platform administrator browse seeding history from the back office.',\n },\n },\n },\n\n [Op.COUNT]: {\n purpose: 'Count recorded passes matching a set of conditions.',\n outcome: 'The dispatcher can answer \"has any completed pass already covered this scope?\" without loading the rows.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The number of recorded passes matching the conditions.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.INTERNAL]: {\n purpose: 'Back the dispatcher\\'s already-seeded check, which needs only a yes or no and never the rows themselves.',\n },\n },\n },\n\n [Op.SEARCH]: {\n purpose: 'Search seeding history by seed name or anchor row.',\n outcome: 'An administrator can narrow history to the passes relevant to one seed or one affected row.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A page of recorded passes, possibly empty, matching the search term and any filters.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not a platform administrator authorized to query seeding history.' },\n ],\n idempotent: true,\n variants: {\n [DataSeedRunVariantKey.ADMIN]: {\n purpose: 'Let a platform administrator find passes by seed name or by the row a pass was anchored to.',\n whenToUse: 'Use when troubleshooting starts from \"which seed touched this row\" rather than from a known pass identifier.',\n },\n },\n },\n },\n\n businessConstraints: [\n 'This ledger records what a seeding pass did. It is never the source of truth for the data the seed produced — that lives on the seeded rows themselves.',\n 'A pass is identified by its seed, its scope, and its declared version together. That identity is what makes seeding safe to repeat, so it must not be widened or narrowed casually.',\n 'Who triggered a pass is recorded for attribution only. Seeding always runs with internal system permissions, so the recorded user never confers authority.',\n 'Removing a recorded pass is a deliberate administrative re-run gesture. The dispatcher itself never deletes its own history, because the history is what makes the next decision correct.',\n ],\n }),\n // DATA_SEED_RUN is a STANDALONE infrastructure ledger reached only through\n // internal repository services and a platform-administrator back-office path.\n // The `APPLICATION → DATA_SEED_RUN` relationship is routing-side only (the row\n // carries no application identifier of its own), which is why the scope is\n // declared here rather than derived from a scope-owning parent.\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-data-erasure-suppressions.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAGjI;;;;;GAKG;AACH,eAAO,MAAM,oDAAoD,EAAE,
|
|
1
|
+
{"version":3,"file":"external-data-erasure-suppressions.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAGjI;;;;;GAKG;AACH,eAAO,MAAM,oDAAoD,EAAE,8BA0HlE,CAAC"}
|
|
@@ -39,12 +39,12 @@ export const externalDataErasureSuppressionsResourceSpecification = resourceSpec
|
|
|
39
39
|
_id: schemaShape._id.stringSpec({ meaning: 'Identity of the suppression row, assigned by the store.' }),
|
|
40
40
|
remoteRecordDigest: schemaShape.remoteRecordDigest.stringSpec({
|
|
41
41
|
meaning: 'A keyed hash (HMAC-SHA-256) of the system-of-record instance, the remote entity, the key shape and the remote key — never the key itself. Unique: one remote record, one suppression.',
|
|
42
|
-
whyItMatters: 'The suppression must not keep the personal identifier it exists to suppress. A remote key is often a small integer, so an unkeyed hash would be reversed by enumeration; the key,
|
|
42
|
+
whyItMatters: 'The suppression must not keep the personal identifier it exists to suppress. A remote key is often a small integer, so an unkeyed hash would be reversed by enumeration; the key, the application\'s erasure-suppression key (minted by the platform, held by the backend and its minions, never rotated, #2893), is what makes the digest unlinkable. Uniqueness makes a second erasure of the same record find the first suppression.',
|
|
43
43
|
semanticRole: 'identifier',
|
|
44
44
|
importance: FieldSemanticImportance.PRIMARY,
|
|
45
45
|
}),
|
|
46
46
|
system: schemaShape.system.stringSpec({ meaning: 'The system-of-record instance whose record is suppressed. Names a system, not a person.' }),
|
|
47
|
-
remoteEntityRef: schemaShape.remoteEntityRef.stringSpec({ meaning: 'The remote entity
|
|
47
|
+
remoteEntityRef: schemaShape.remoteEntityRef.stringSpec({ meaning: 'The remote entity whose record is suppressed — the Odoo model or OData entity set, or the object a REST statement selects from. Names a table, not a person.' }),
|
|
48
48
|
remoteKeyShape: schemaShape.remoteKeyShape.stringSpec({
|
|
49
49
|
meaning: 'The shape of the remote key the digest covers: each key field\'s remote name and codec. Names columns, not a person.',
|
|
50
50
|
whyItMatters: 'Two pipelines on one entity can key it differently. Scoping by shape means a pipeline only matches, and only releases, suppressions computed over its own key shape — otherwise one pipeline\'s full pass would read the other\'s suppressions as absent and release them.',
|
|
@@ -53,7 +53,10 @@ export const externalDataErasureSuppressionsResourceSpecification = resourceSpec
|
|
|
53
53
|
meaning: 'A short digest of the hashing key that produced the identifier.',
|
|
54
54
|
whyItMatters: 'A digest cannot be re-keyed. A run that finds an active suppression under another fingerprint refuses to load, because it can no longer match it and would copy the person back.',
|
|
55
55
|
}),
|
|
56
|
-
erasedFromResourceType: schemaShape.erasedFromResourceType.stringSpec({
|
|
56
|
+
erasedFromResourceType: schemaShape.erasedFromResourceType.stringSpec({
|
|
57
|
+
meaning: 'The destination resource the erased row lived in when the suppression was written.',
|
|
58
|
+
whyItMatters: 'It is never used for matching. It is one of the two ways a pipeline finds the suppressions it owes when its source identity changes — the other is the identity it last matched under, kept on its own state, which finds suppressions another pipeline recorded. A suppression filed under an identity the pipeline no longer has would match nothing, so the pipeline refuses to run until an operator decides, for that pipeline, to keep matching it or to release it.',
|
|
59
|
+
}),
|
|
57
60
|
suppressedAt: schemaShape.suppressedAt.dateSpec({ meaning: 'When the erasure wrote (or re-activated) the suppression.' }),
|
|
58
61
|
releasedAt: schemaShape.releasedAt.dateSpec({
|
|
59
62
|
meaning: 'When a completed full pass over the whole remote entity no longer saw the record; empty while the suppression is active.',
|
|
@@ -71,6 +74,9 @@ export const externalDataErasureSuppressionsResourceSpecification = resourceSpec
|
|
|
71
74
|
[ExternalDataErasureSuppressionReleaseReason.REMOTE_RECORD_ABSENT]: {
|
|
72
75
|
meaning: 'A completed full pass that read the whole entity did not see the record: the source no longer holds it, so nothing is left to re-import.',
|
|
73
76
|
},
|
|
77
|
+
[ExternalDataErasureSuppressionReleaseReason.OPERATOR_RELEASED_IDENTITY_CHANGED]: {
|
|
78
|
+
meaning: 'An operator released it, with a written reason, because a pipeline\'s source identity changed and no longer names the record — and no other registered pipeline still matched it or still owed a decision about it. A record still at the source is copied back in.',
|
|
79
|
+
},
|
|
74
80
|
},
|
|
75
81
|
}),
|
|
76
82
|
},
|
|
@@ -108,7 +114,7 @@ export const externalDataErasureSuppressionsResourceSpecification = resourceSpec
|
|
|
108
114
|
purpose: 'SWEEP ONLY — dispose of a released suppression once its AUDIT_LOGS period has passed. No client door.',
|
|
109
115
|
outcome: 'The released suppression is deleted by the retention-class sweep. INTERNAL_CALL, so it has no HTTP route; an active suppression is never deleted.',
|
|
110
116
|
whenToUse: 'Never directly.',
|
|
111
|
-
responseStatuses: [{ code: HttpResponseStatusCode.
|
|
117
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The released suppression was removed by the sweep. Not observable over HTTP.' }],
|
|
112
118
|
idempotent: true,
|
|
113
119
|
},
|
|
114
120
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-data-erasure-suppressions.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,2CAA2C,EAC3C,oCAAoC,EACpC,wCAAwC,EACxC,yEAAyE,IAAI,kBAAkB,GAChG,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,qBAAqB,IAAI,EAAE,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC1F,OAAO,EAAuC,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACjI,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E;;;;;GAKG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAmC,qBAAqB,CACvH,kBAAkB,EAClB,oCAAoC,EACpC,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IACpB,OAAO,EAAE,8IAA8I;IACvJ,YAAY,EAAE,2MAA2M;IACzN,aAAa,EAAE,qTAAqT;IACpU,QAAQ,EAAE,aAAa,CAAC,SAAS;IACjC,SAAS,EAAE,uBAAuB,CAAC,cAAc;IACjD,YAAY,EAAE;QACZ,UAAU,EAAE;YACV,WAAW,EAAE,4BAA4B,EAAE,UAAU,EAAE,iDAAiD;YACxG,UAAU,EAAE,sCAAsC,EAAE,UAAU,EAAE,cAAc,CAAC,MAAM,EAAE,eAAe,EAAE,mBAAmB,CAAC,UAAU;SACvI;QACD,eAAe,EAAE;YACf,WAAW,EAAE,4BAA4B,EAAE,UAAU,EAAE,iDAAiD;YACxG,UAAU,EAAE,2EAA2E,EAAE,UAAU,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ai/presets-components-models';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n ExternalDataErasureSuppressionReleaseReason,\n ExternalDataErasureSuppressionSchema,\n ExternalDataErasureSuppressionVariantKey,\n externalDataErasureSuppressionResourceConfiguration_InitializationFactory as suppressionFactory,\n} from '@wildo-ai/saas-backend-lib/external-data-models';\nimport { CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';\nimport { type AnyResourceSpecificationConfig, HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Framework-owned specification for the internal `externalDataErasureSuppressions` resource (#1746) — the list that\n * stops a pipeline from copying an erased person back in from a system of record.\n *\n * Registry-key and type-annotation notes: identical situation to `dataSeedRuns` — see that spec's header.\n */\nexport const externalDataErasureSuppressionsResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n suppressionFactory,\n ExternalDataErasureSuppressionSchema,\n ({ schemaShape }) => ({\n purpose: 'Remember which remote records a subject erasure removed locally, so no external-data pipeline copies them back in from the system of record.',\n businessRole: 'Makes an erasure of pipeline-copied personal data survive the next pass: without it the source still holds the record, and the next scheduled run writes it back while the erasure receipt says complete.',\n lifecycleRole: 'Written by the erasure (the scrub chokepoint and the erasure cascade\\'s delete), read by every full and incremental pass, released by a completed full pass over the whole entity that no longer sees the record, and deleted by the retention sweep at the end of the AUDIT_LOGS period counted from that release.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.INFRASTRUCTURE,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',\n exportName: 'ExternalDataErasureSuppressionSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',\n exportName: 'externalDataErasureSuppressionResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: { packageName: '@wildo-ai/saas-backend-lib', exportName: 'BackendResourceType',\n symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n memberName: 'EXTERNAL_DATA_ERASURE_SUPPRESSIONS',\n },\n operationVocabulary: {\n coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n },\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of the suppression row, assigned by the store.' }),\n remoteRecordDigest: schemaShape.remoteRecordDigest.stringSpec({\n meaning: 'A keyed hash (HMAC-SHA-256) of the system-of-record instance, the remote entity, the key shape and the remote key — never the key itself. Unique: one remote record, one suppression.',\n whyItMatters: 'The suppression must not keep the personal identifier it exists to suppress. A remote key is often a small integer, so an unkeyed hash would be reversed by enumeration; the key, derived from the application\\'s own secret, is what makes the digest unlinkable. Uniqueness makes a second erasure of the same record find the first suppression.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n system: schemaShape.system.stringSpec({ meaning: 'The system-of-record instance whose record is suppressed. Names a system, not a person.' }),\n remoteEntityRef: schemaShape.remoteEntityRef.stringSpec({ meaning: 'The remote entity (Odoo model, OData entity set) whose record is suppressed. Names a table, not a person.' }),\n remoteKeyShape: schemaShape.remoteKeyShape.stringSpec({\n meaning: 'The shape of the remote key the digest covers: each key field\\'s remote name and codec. Names columns, not a person.',\n whyItMatters: 'Two pipelines on one entity can key it differently. Scoping by shape means a pipeline only matches, and only releases, suppressions computed over its own key shape — otherwise one pipeline\\'s full pass would read the other\\'s suppressions as absent and release them.',\n }),\n keyFingerprint: schemaShape.keyFingerprint.stringSpec({\n meaning: 'A short digest of the hashing key that produced the identifier.',\n whyItMatters: 'A digest cannot be re-keyed. A run that finds an active suppression under another fingerprint refuses to load, because it can no longer match it and would copy the person back.',\n }),\n erasedFromResourceType: schemaShape.erasedFromResourceType.stringSpec({ meaning: 'The destination resource the erased row lived in when the suppression was written — for an operator, never used for matching.' }),\n suppressedAt: schemaShape.suppressedAt.dateSpec({ meaning: 'When the erasure wrote (or re-activated) the suppression.' }),\n releasedAt: schemaShape.releasedAt.dateSpec({\n meaning: 'When a completed full pass over the whole remote entity no longer saw the record; empty while the suppression is active.',\n whyItMatters: 'It is the retention clock: an active suppression never expires, because a period that ran out while the source still held the record would silently undo the erasure.',\n }),\n releaseReason: schemaShape.releaseReason.enumSpec({\n meaning: 'Why the suppression stopped suppressing.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'ExternalDataErasureSuppressionReleaseReason',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [ExternalDataErasureSuppressionReleaseReason.REMOTE_RECORD_ABSENT]: {\n meaning: 'A completed full pass that read the whole entity did not see the record: the source no longer holds it, so nothing is left to re-import.',\n },\n },\n }),\n },\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Record that an erasure removed a pipeline-copied row.',\n outcome: 'Every pipeline reading that remote entity skips the record from its next pass on.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The suppression was recorded.' }],\n idempotent: false,\n variants: { [ExternalDataErasureSuppressionVariantKey.INTERNAL]: { purpose: 'Let the erasure path suppress a record inside the erasure\\'s own transaction.' } },\n },\n [Op.READ]: {\n purpose: 'Read one suppression row by its identity.',\n outcome: 'The row is returned for internal inspection; matching and idempotency go through the digest listing.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The suppression is returned.' }],\n idempotent: true,\n variants: { [ExternalDataErasureSuppressionVariantKey.INTERNAL]: { purpose: 'Internal idempotency read only.' } },\n },\n [Op.LIST]: {\n purpose: 'Load the active suppressions of one remote entity for a pipeline run, or find a record\\'s suppression by its digest before recording it again.',\n outcome: 'The run loads no extracted row that is suppressed, and a second erasure of the same record leaves the active suppression as it is.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The active suppressions are returned.' }],\n idempotent: true,\n variants: { [ExternalDataErasureSuppressionVariantKey.INTERNAL]: { purpose: 'Internal pipeline read only.' } },\n },\n [Op.UPDATE]: {\n purpose: 'Release a suppression whose record is gone at the source, or re-activate one whose record was copied in and erased again.',\n outcome: 'A released suppression stops suppressing and starts its AUDIT_LOGS retention period.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The suppression was released or re-activated.' }],\n idempotent: true,\n variants: { [ExternalDataErasureSuppressionVariantKey.INTERNAL]: { purpose: 'Internal release by a completed full pass, or re-activation by an erasure.' } },\n },\n [Op.DELETE]: {\n purpose: 'SWEEP ONLY — dispose of a released suppression once its AUDIT_LOGS period has passed. No client door.',\n outcome: 'The released suppression is deleted by the retention-class sweep. INTERNAL_CALL, so it has no HTTP route; an active suppression is never deleted.',\n whenToUse: 'Never directly.',\n responseStatuses: [{ code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The released suppression was removed by the sweep. Not observable over HTTP.' }],\n idempotent: true,\n },\n },\n\n businessConstraints: [\n 'Never stores the remote key: the identifier is a keyed hash, and the instance and entity names are the only clear text.',\n 'Both pipeline tracks skip a suppressed key and count the skip on the run report, the stored summary and the run\\'s audit row; the key stays observed, so the orphan walk never reaches a retained row.',\n 'Only a completed full pass whose load completed, with no unidentified source row, over a pipeline with no sourceFilter may release a suppression.',\n 'A run that finds an active suppression hashed under another key refuses to load rather than re-importing it.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
1
|
+
{"version":3,"file":"external-data-erasure-suppressions.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,2CAA2C,EAC3C,oCAAoC,EACpC,wCAAwC,EACxC,yEAAyE,IAAI,kBAAkB,GAChG,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,qBAAqB,IAAI,EAAE,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC1F,OAAO,EAAuC,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACjI,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E;;;;;GAKG;AACH,MAAM,CAAC,MAAM,oDAAoD,GAAmC,qBAAqB,CACvH,kBAAkB,EAClB,oCAAoC,EACpC,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IACpB,OAAO,EAAE,8IAA8I;IACvJ,YAAY,EAAE,2MAA2M;IACzN,aAAa,EAAE,qTAAqT;IACpU,QAAQ,EAAE,aAAa,CAAC,SAAS;IACjC,SAAS,EAAE,uBAAuB,CAAC,cAAc;IACjD,YAAY,EAAE;QACZ,UAAU,EAAE;YACV,WAAW,EAAE,4BAA4B,EAAE,UAAU,EAAE,iDAAiD;YACxG,UAAU,EAAE,sCAAsC,EAAE,UAAU,EAAE,cAAc,CAAC,MAAM,EAAE,eAAe,EAAE,mBAAmB,CAAC,UAAU;SACvI;QACD,eAAe,EAAE;YACf,WAAW,EAAE,4BAA4B,EAAE,UAAU,EAAE,iDAAiD;YACxG,UAAU,EAAE,2EAA2E,EAAE,UAAU,EAAE,cAAc,CAAC,OAAO,EAAE,eAAe,EAAE,mBAAmB,CAAC,QAAQ;SAC3K;QACD,YAAY,EAAE;YACZ,eAAe,EAAE,EAAE,WAAW,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components-models';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n ExternalDataErasureSuppressionReleaseReason,\n ExternalDataErasureSuppressionSchema,\n ExternalDataErasureSuppressionVariantKey,\n externalDataErasureSuppressionResourceConfiguration_InitializationFactory as suppressionFactory,\n} from '@wildo-ai/saas-backend-lib/external-data-models';\nimport { CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';\nimport { type AnyResourceSpecificationConfig, HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Framework-owned specification for the internal `externalDataErasureSuppressions` resource (#1746) — the list that\n * stops a pipeline from copying an erased person back in from a system of record.\n *\n * Registry-key and type-annotation notes: identical situation to `dataSeedRuns` — see that spec's header.\n */\nexport const externalDataErasureSuppressionsResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n suppressionFactory,\n ExternalDataErasureSuppressionSchema,\n ({ schemaShape }) => ({\n purpose: 'Remember which remote records a subject erasure removed locally, so no external-data pipeline copies them back in from the system of record.',\n businessRole: 'Makes an erasure of pipeline-copied personal data survive the next pass: without it the source still holds the record, and the next scheduled run writes it back while the erasure receipt says complete.',\n lifecycleRole: 'Written by the erasure (the scrub chokepoint and the erasure cascade\\'s delete), read by every full and incremental pass, released by a completed full pass over the whole entity that no longer sees the record, and deleted by the retention sweep at the end of the AUDIT_LOGS period counted from that release.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.INFRASTRUCTURE,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',\n exportName: 'ExternalDataErasureSuppressionSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',\n exportName: 'externalDataErasureSuppressionResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: { packageName: '@wildo-ai/saas-backend-lib', exportName: 'BackendResourceType',\n symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n memberName: 'EXTERNAL_DATA_ERASURE_SUPPRESSIONS',\n },\n operationVocabulary: {\n coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n },\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of the suppression row, assigned by the store.' }),\n remoteRecordDigest: schemaShape.remoteRecordDigest.stringSpec({\n meaning: 'A keyed hash (HMAC-SHA-256) of the system-of-record instance, the remote entity, the key shape and the remote key — never the key itself. Unique: one remote record, one suppression.',\n whyItMatters: 'The suppression must not keep the personal identifier it exists to suppress. A remote key is often a small integer, so an unkeyed hash would be reversed by enumeration; the key, the application\\'s erasure-suppression key (minted by the platform, held by the backend and its minions, never rotated, #2893), is what makes the digest unlinkable. Uniqueness makes a second erasure of the same record find the first suppression.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n system: schemaShape.system.stringSpec({ meaning: 'The system-of-record instance whose record is suppressed. Names a system, not a person.' }),\n remoteEntityRef: schemaShape.remoteEntityRef.stringSpec({ meaning: 'The remote entity whose record is suppressed — the Odoo model or OData entity set, or the object a REST statement selects from. Names a table, not a person.' }),\n remoteKeyShape: schemaShape.remoteKeyShape.stringSpec({\n meaning: 'The shape of the remote key the digest covers: each key field\\'s remote name and codec. Names columns, not a person.',\n whyItMatters: 'Two pipelines on one entity can key it differently. Scoping by shape means a pipeline only matches, and only releases, suppressions computed over its own key shape — otherwise one pipeline\\'s full pass would read the other\\'s suppressions as absent and release them.',\n }),\n keyFingerprint: schemaShape.keyFingerprint.stringSpec({\n meaning: 'A short digest of the hashing key that produced the identifier.',\n whyItMatters: 'A digest cannot be re-keyed. A run that finds an active suppression under another fingerprint refuses to load, because it can no longer match it and would copy the person back.',\n }),\n erasedFromResourceType: schemaShape.erasedFromResourceType.stringSpec({\n meaning: 'The destination resource the erased row lived in when the suppression was written.',\n whyItMatters: 'It is never used for matching. It is one of the two ways a pipeline finds the suppressions it owes when its source identity changes — the other is the identity it last matched under, kept on its own state, which finds suppressions another pipeline recorded. A suppression filed under an identity the pipeline no longer has would match nothing, so the pipeline refuses to run until an operator decides, for that pipeline, to keep matching it or to release it.',\n }),\n suppressedAt: schemaShape.suppressedAt.dateSpec({ meaning: 'When the erasure wrote (or re-activated) the suppression.' }),\n releasedAt: schemaShape.releasedAt.dateSpec({\n meaning: 'When a completed full pass over the whole remote entity no longer saw the record; empty while the suppression is active.',\n whyItMatters: 'It is the retention clock: an active suppression never expires, because a period that ran out while the source still held the record would silently undo the erasure.',\n }),\n releaseReason: schemaShape.releaseReason.enumSpec({\n meaning: 'Why the suppression stopped suppressing.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'ExternalDataErasureSuppressionReleaseReason',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [ExternalDataErasureSuppressionReleaseReason.REMOTE_RECORD_ABSENT]: {\n meaning: 'A completed full pass that read the whole entity did not see the record: the source no longer holds it, so nothing is left to re-import.',\n },\n [ExternalDataErasureSuppressionReleaseReason.OPERATOR_RELEASED_IDENTITY_CHANGED]: {\n meaning: 'An operator released it, with a written reason, because a pipeline\\'s source identity changed and no longer names the record — and no other registered pipeline still matched it or still owed a decision about it. A record still at the source is copied back in.',\n },\n },\n }),\n },\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Record that an erasure removed a pipeline-copied row.',\n outcome: 'Every pipeline reading that remote entity skips the record from its next pass on.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The suppression was recorded.' }],\n idempotent: false,\n variants: { [ExternalDataErasureSuppressionVariantKey.INTERNAL]: { purpose: 'Let the erasure path suppress a record inside the erasure\\'s own transaction.' } },\n },\n [Op.READ]: {\n purpose: 'Read one suppression row by its identity.',\n outcome: 'The row is returned for internal inspection; matching and idempotency go through the digest listing.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The suppression is returned.' }],\n idempotent: true,\n variants: { [ExternalDataErasureSuppressionVariantKey.INTERNAL]: { purpose: 'Internal idempotency read only.' } },\n },\n [Op.LIST]: {\n purpose: 'Load the active suppressions of one remote entity for a pipeline run, or find a record\\'s suppression by its digest before recording it again.',\n outcome: 'The run loads no extracted row that is suppressed, and a second erasure of the same record leaves the active suppression as it is.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The active suppressions are returned.' }],\n idempotent: true,\n variants: { [ExternalDataErasureSuppressionVariantKey.INTERNAL]: { purpose: 'Internal pipeline read only.' } },\n },\n [Op.UPDATE]: {\n purpose: 'Release a suppression whose record is gone at the source, or re-activate one whose record was copied in and erased again.',\n outcome: 'A released suppression stops suppressing and starts its AUDIT_LOGS retention period.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The suppression was released or re-activated.' }],\n idempotent: true,\n variants: { [ExternalDataErasureSuppressionVariantKey.INTERNAL]: { purpose: 'Internal release by a completed full pass, or re-activation by an erasure.' } },\n },\n [Op.DELETE]: {\n purpose: 'SWEEP ONLY — dispose of a released suppression once its AUDIT_LOGS period has passed. No client door.',\n outcome: 'The released suppression is deleted by the retention-class sweep. INTERNAL_CALL, so it has no HTTP route; an active suppression is never deleted.',\n whenToUse: 'Never directly.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The released suppression was removed by the sweep. Not observable over HTTP.' }],\n idempotent: true,\n },\n },\n\n businessConstraints: [\n 'Never stores the remote key: the identifier is a keyed hash, and the instance and entity names are the only clear text.',\n 'Both pipeline tracks skip a suppressed key and count the skip on the run report, the stored summary and the run\\'s audit row; the key stays observed, so the orphan walk never reaches a retained row.',\n 'Only a completed full pass whose load completed, with no unidentified source row, over a pipeline with no sourceFilter may release a suppression.',\n 'A run that finds an active suppression hashed under another key refuses to load rather than re-importing it.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-data-outbound-changes.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAGjI;;;;;GAKG;AACH,eAAO,MAAM,gDAAgD,EAAE,
|
|
1
|
+
{"version":3,"file":"external-data-outbound-changes.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAGjI;;;;;GAKG;AACH,eAAO,MAAM,gDAAgD,EAAE,8BAmK9D,CAAC"}
|
|
@@ -92,10 +92,28 @@ export const externalDataOutboundChangesResourceSpecification = resourceSpecific
|
|
|
92
92
|
}),
|
|
93
93
|
localBothChanged: schemaShape.localBothChanged.booleanSpec({
|
|
94
94
|
meaning: 'Two-way pipelines: whether a local change since the last send touched a field both sides own — the only kind of change that can conflict with one made in the system of record.',
|
|
95
|
+
whyItMatters: 'Cleared when the inbound pass discards the change to the shared fields (the system of record won, or both sides arrived at the same value). An update then leaves the shared fields out instead of echoing back values the record already holds.',
|
|
96
|
+
}),
|
|
97
|
+
localBothChangedFields: schemaShape.localBothChangedFields.objectSpec({
|
|
98
|
+
meaning: 'Two-way pipelines: which shared fields the local writes since the last send changed, each with the generation of the latest '
|
|
99
|
+
+ 'change that did. A field counts only when a write names it with a value other than the row held.',
|
|
100
|
+
whyItMatters: 'An empty shared link listed here was cleared by a person, not emptied while its target loads: the system of record\'s stored '
|
|
101
|
+
+ 'reference is never written over it, and the clear is sent. A write whose fields or prior row are not known lists nothing, so no clear is '
|
|
102
|
+
+ 'ever sent on a guess. An entry is removed when the change that listed it is settled, even when a newer change moved the record on.',
|
|
103
|
+
}),
|
|
104
|
+
localBothChangedUnlistedGeneration: schemaShape.localBothChangedUnlistedGeneration.numberSpec({
|
|
105
|
+
meaning: 'Two-way pipelines: the generation of the latest local change that may have changed a shared field without saying which — its '
|
|
106
|
+
+ 'input was not known, or it named a shared field on a row it could not read first.',
|
|
107
|
+
whyItMatters: 'While set, the list of changed shared fields is not the whole local change, so a conflict on the row is decided as one rather '
|
|
108
|
+
+ 'than per field. Cleared once the change it marks is settled.',
|
|
109
|
+
}),
|
|
110
|
+
localOwnedChanged: schemaShape.localOwnedChanged.booleanSpec({
|
|
111
|
+
meaning: 'Two-way pipelines: whether a local change since the last send touched a field only the application owns.',
|
|
112
|
+
whyItMatters: 'An update of a pending change sends the application-owned fields only when this is set, and the shared fields only when the shared flag is. A change that owes neither is dropped without a write.',
|
|
95
113
|
}),
|
|
96
114
|
conflictResolution: schemaShape.conflictResolution.enumSpec({
|
|
97
|
-
meaning: 'An operator\'s choice for a refused conflict:
|
|
98
|
-
enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: '
|
|
115
|
+
meaning: 'An operator\'s choice of side for a refused conflict, applied by whichever pass meets the row first and then cleared: the local side is sent over the record, the system of record\'s side is loaded over the local values.',
|
|
116
|
+
enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'ExternalDataConflictWinner', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },
|
|
99
117
|
}),
|
|
100
118
|
dispatchedFieldNames: schemaShape.dispatchedFieldNames.arraySpec({
|
|
101
119
|
meaning: 'The local fields the current or last send carried, recorded when it was sent.',
|