@wildo-ai/saas-specifications 1.1.3 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assurance/external-framework-mapping.json +1228 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts +34 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js +66 -0
- package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts +3 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js +48 -0
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts +201 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js +306 -0
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +304 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js +314 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -0
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts +2 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js +4 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts +4 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts +5 -4
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.js +4 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts +5 -4
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.js +7 -4
- package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts +31 -0
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-audience.schemas.js +29 -0
- package/dist/esm/_core/brand/brand-audience.schemas.js.map +1 -0
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts +4 -4
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts +12 -9
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-logo-direction.schemas.js +12 -7
- package/dist/esm/_core/brand/brand-logo-direction.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot-validation.js +1 -8
- package/dist/esm/_core/brand/brand-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +23 -12
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js +7 -0
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts +2 -2
- package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand.family-aspects.js +12 -1
- package/dist/esm/_core/brand/brand.family-aspects.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +252 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js +19 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +121 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js +215 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts +703 -14
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +536 -7
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +82 -2
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/business-model-lite/business-model-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +3 -3
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js +1 -1
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts +4 -3
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +4 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +36 -0
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js +52 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts +22 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js +89 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts +3 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js +26 -0
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +141 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +147 -0
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts +160 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +124 -4
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts +95 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js +85 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +743 -14
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js +699 -22
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts +98 -6
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js +197 -8
- package/dist/esm/_core/compliance-documents/compliance-documents.family-aspects.js.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +64 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +283 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js +30 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +220 -4
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +149 -2
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts +70 -3
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js +75 -3
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.d.ts +14 -0
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js +13 -0
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.d.ts +6 -4
- package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.js +7 -5
- package/dist/esm/_core/cross-registry-assertions.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +5 -4
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js +5 -2
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +30 -0
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +99 -6
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +58 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +71 -0
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +37 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +83 -0
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +78 -0
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +285 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +293 -0
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -0
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts +9 -2
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js +7 -0
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts +18 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js +21 -0
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js.map +1 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts +19 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js +23 -0
- package/dist/esm/_core/expert-personas/expert-role-template.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.registry.js +22 -1
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +64 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +27 -27
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +59 -59
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js +1 -1
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.js.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +6 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts +11 -15
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js +12 -11
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +16 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +16 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +52 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +50 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts +27 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.js +63 -0
- package/dist/esm/_core/integration-plan/integration-plan-validation.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +52 -0
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +168 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +170 -0
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -0
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts +6 -5
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.js +5 -2
- package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.js +4 -1
- package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts +11 -9
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.js +13 -10
- package/dist/esm/_core/market/market-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js +4 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-category.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-channel.schemas.d.ts +6 -5
- package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-channel.schemas.js +6 -3
- package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.js +4 -1
- package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.d.ts +12 -11
- package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.js +12 -9
- package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.js +4 -1
- package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.js +5 -2
- package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.js +4 -1
- package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.js +4 -1
- package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.d.ts +5 -4
- package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.js +5 -2
- package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-positioning.schemas.d.ts +2 -2
- package/dist/esm/_core/market/market-proof.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-proof.schemas.js +4 -1
- package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +54 -54
- package/dist/esm/_core/market/market-snapshot.schemas.d.ts +59 -59
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js +4 -1
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.d.ts +4 -3
- package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.js +4 -1
- package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.js +25 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts +27 -22
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js +7 -12
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +21 -21
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +30 -16
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +34 -12
- package/dist/esm/_core/placement-plan/placement-plan-validation.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js +24 -1
- package/dist/esm/_core/placement-plan/placement-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +78 -47
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +62 -24
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts +19 -0
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.js +0 -20
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +2 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +4 -4
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js +3 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +8 -0
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts +5 -0
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js +1 -8
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts +2 -2
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js +1 -1
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.js +4 -2
- package/dist/esm/_core/utils/extract-field-specs.js.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts +3 -2
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.js +5 -2
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-idea.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-mission.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-problem.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts +10 -10
- package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts +2 -2
- package/dist/esm/_core/vision/vision.family-aspects.js +1 -1
- package/dist/esm/_core/vision/vision.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts +45 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js +55 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +37 -0
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan-validation.js +77 -0
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts +3 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +35 -0
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +194 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.js +193 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -0
- package/dist/esm/_core/zod-core-nameability.d.ts +47 -0
- package/dist/esm/_core/zod-core-nameability.d.ts.map +1 -0
- package/dist/esm/_core/zod-core-nameability.js +1 -0
- package/dist/esm/_core/zod-core-nameability.js.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +86 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +96 -0
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +139 -34
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js +182 -11
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts +71 -2
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js +88 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts +14 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts.map +1 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.js +17 -0
- package/dist/esm/application-creation/creator-inputs.family-aspects.js.map +1 -0
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.js +25 -1
- package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.js +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +14 -48
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +52 -52
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +209 -495
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +257 -534
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +10 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +10 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +73 -8
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +103 -8
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +24 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts.map +1 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +24 -0
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -0
- package/dist/esm/assurance/application-document-publication.schemas.d.ts +49 -0
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.js +51 -0
- package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts +161 -0
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/application-document-release-set.schemas.js +138 -0
- package/dist/esm/assurance/application-document-release-set.schemas.js.map +1 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.d.ts +28 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.js +58 -0
- package/dist/esm/assurance/application-risk-register.family-aspects.js.map +1 -0
- package/dist/esm/assurance/application-risk-register.schemas.d.ts +172 -0
- package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-register.schemas.js +192 -0
- package/dist/esm/assurance/application-risk-register.schemas.js.map +1 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +177 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -0
- package/dist/esm/assurance/application-risk-signals.derivations.js +229 -0
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +257 -13
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +836 -69
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +99 -33
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js +38 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +30 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.js +40 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +99 -8
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +133 -41
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +60 -11
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts +470 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js +451 -0
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -0
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +0 -33
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +3339 -159
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +21 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +21 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts +32 -2
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +148 -5
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +257 -14
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +588 -45
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts +32 -8
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.js +288 -10
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +1182 -333
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +460 -68
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +70 -2
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.d.ts +17 -0
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js +17 -0
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +205 -3
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/document-publication.family-aspects.js +1 -1
- package/dist/esm/assurance/document-publication.family-aspects.js.map +1 -1
- package/dist/esm/assurance/document-release-set.family-aspects.d.ts +11 -0
- package/dist/esm/assurance/document-release-set.family-aspects.d.ts.map +1 -0
- package/dist/esm/assurance/document-release-set.family-aspects.js +36 -0
- package/dist/esm/assurance/document-release-set.family-aspects.js.map +1 -0
- package/dist/esm/assurance/governed-document-release.d.ts +211 -0
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -0
- package/dist/esm/assurance/governed-document-release.js +314 -0
- package/dist/esm/assurance/governed-document-release.js.map +1 -0
- package/dist/esm/assurance.exports.d.ts +5 -0
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js +5 -0
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +135 -11
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/_bootstrap.d.ts +1 -1
- package/dist/esm/engine/_bootstrap.js +1 -1
- package/dist/esm/engine/_bootstrap.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts +0 -23
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js +110 -28
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts +1 -0
- package/dist/esm/engine/applications/resources/applications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +57 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +412 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/index.d.ts +2 -0
- package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/index.js +2 -0
- package/dist/esm/engine/auth/resources/index.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts +4 -4
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js +57 -6
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts +9 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js +141 -0
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts +4 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js +10 -6
- package/dist/esm/engine/auth/resources/organization-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js +5 -4
- package/dist/esm/engine/auth/resources/scim-provisioning-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts +4 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js +129 -0
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts +19 -7
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js +24 -13
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts +0 -40
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js +14 -27
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts +8 -2
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +16 -3
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +5 -2
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js +10 -16
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +15 -5
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts +9 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js +164 -0
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts +14 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +124 -0
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts +9 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js +123 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts +11 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js +172 -0
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js.map +1 -0
- package/dist/esm/engine/billing/resources/index.d.ts +4 -0
- package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/index.js +4 -0
- package/dist/esm/engine/billing/resources/index.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts +3 -3
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +3 -3
- package/dist/esm/engine/billing/resources/products.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +92 -36
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +77 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +375 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +1 -1
- package/dist/esm/engine/compliance/resources/index.d.ts +2 -0
- package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/index.js +2 -0
- package/dist/esm/engine/compliance/resources/index.js.map +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts +16 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js +183 -0
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -0
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +28 -0
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +123 -19
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js +2 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +1 -0
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +4 -1
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +15 -3
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts +3 -3
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +14 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +184 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/actions/button-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js +18 -0
- package/dist/esm/engine/frontend-components/actions/button.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js +21 -0
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +82 -0
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +6 -5
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js +81 -0
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js +4 -2
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js +3 -2
- package/dist/esm/engine/frontend-components/auth/public-layout-auth-callback.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-magic-link-verify.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js +4 -4
- package/dist/esm/engine/frontend-components/auth/public-layout-user-register.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +21 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-usage-dashboard.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js +20 -2
- package/dist/esm/engine/frontend-components/data-display/description-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js +177 -0
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js +10 -2
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-document.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js +166 -0
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js +122 -0
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js +152 -0
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js +13 -0
- package/dist/esm/engine/frontend-components/feedback/celebration-overlay.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js +92 -0
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +29 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-file.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +12 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +40 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts +25 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js +16 -2
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts +9 -0
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js +91 -7
- package/dist/esm/engine/frontend-components/progression/progression-milestone-tracker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js +9 -3
- package/dist/esm/engine/frontend-components/sections/accordion.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js +41 -1
- package/dist/esm/engine/frontend-components/sections/card.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js +19 -1
- package/dist/esm/engine/frontend-components/sections/tabs.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js +3 -3
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js +21 -1
- package/dist/esm/engine/frontend-components/typography/text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts +2 -0
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +48 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +3 -2
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +77 -3
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +11 -3
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +26 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +17 -8
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts +49 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +293 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js +5 -5
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js +6 -6
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js +3 -3
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js +2 -2
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts +3 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +27 -5
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js +31 -12
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js +10 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.js +12 -1
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js +9 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +12 -1
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js +12 -1
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.js +10 -1
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js +22 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js +10 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.js +10 -1
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js +9 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js +10 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +10 -1
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js +10 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js +10 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/index.d.ts +4 -3
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +6 -4
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts +5 -3
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts +2 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js +8 -3
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts +2 -2
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +2 -2
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +5 -5
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts +4 -4
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts +1 -0
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/index.d.ts +39 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +39 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts +134 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js +142 -0
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +35 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js +45 -0
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts +33 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.js +77 -0
- package/dist/esm/technical-documentation/application-documentation-plan-validation.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts +3 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js +40 -0
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts +122 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js +138 -0
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -0
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +7 -15
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts +14 -0
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js +16 -3
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/esm/technical-documentation.exports.d.ts +4 -0
- package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
- package/dist/esm/technical-documentation.exports.js +24 -0
- package/dist/esm/technical-documentation.exports.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -13
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts +0 -103
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.map +0 -1
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js +0 -76
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.js.map +0 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts +0 -108
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.d.ts.map +0 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js +0 -119
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +0 -1
- package/dist/esm/application-creation-playbook-runtime.exports.d.ts +0 -3
- package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +0 -1
- package/dist/esm/application-creation-playbook-runtime.exports.js +0 -3
- package/dist/esm/application-creation-playbook-runtime.exports.js.map +0 -1
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-effect-outbox.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/billing/resources/billing-effect-outbox.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,yBAAyB,EACzB,6BAA6B,EAC7B,0BAA0B,EAC1B,2BAA2B,EAC3B,mBAAmB,EACnB,+CAA+C,IAAI,mBAAmB,GACvE,MAAM,2CAA2C,CAAC;AACnD,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,wCAAwC,GAAmC,qBAAqB,CAC3G,mBAAmB,EACnB,yBAAyB,EACzB,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IACpB,OAAO,EAAE,mMAAmM;IAC5M,YAAY,EAAE,4JAA4J;IAC1K,aAAa,EAAE,8PAA8P;IAC7Q,QAAQ,EAAE,aAAa,CAAC,SAAS;IACjC,SAAS,EAAE,uBAAuB,CAAC,OAAO;IAC1C,YAAY,EAAE;QACZ,UAAU,EAAE;YACV,WAAW,EAAE,4BAA4B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Kind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n BillingEffectOutboxSchema,\n BillingEffectOutboxVariantKey,\n BillingOutboxAggregateType,\n BillingOutboxDeliveryStatus,\n BillingOutboxEffect,\n billingEffectOutboxResourceConfigurationFactory as effectOutboxFactory,\n} from '@wildo-ai/saas-backend-lib/billing-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 `billingEffectOutbox` resource — the effects a committed billing change owes,\n * written in that change's transaction and delivered under each effect's own guarantee (#535 decision D5).\n *\n * Registry-key and type-annotation notes: identical situation to `dataSeedRuns` — see that spec's header.\n */\nexport const billingEffectOutboxResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n effectOutboxFactory,\n BillingEffectOutboxSchema,\n ({ schemaShape }) => ({\n purpose: 'Hold every effect a committed billing change owes — its audit row, feature recomputation (which also invalidates the feature cache), broadcast and notifications — until each has been delivered.',\n businessRole: 'Transactional outbox: the effect exists if and only if the change committed, so a crash between commit and delivery can delay an effect but never lose it.',\n lifecycleRole: 'Enqueued pending in the change\\'s transaction. A relay leases a row, delivers it and marks it delivered. An expired lease makes an at-least-once effect eligible again and kills an at-most-once one; exhausting its attempts marks it dead for an operator.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.BILLING,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'BillingEffectOutboxSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'billingEffectOutboxResourceConfigurationFactory',\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: 'BILLING_EFFECT_OUTBOX',\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: 'Identifier derived from the aggregate, its generation and the effect.',\n whyItMatters: 'Enqueuing the same effect for the same committed change twice collides on the identifier instead of scheduling it twice.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n aggregateType: schemaShape.aggregateType.enumSpec({\n meaning: 'What kind of record owes the effect.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'BillingOutboxAggregateType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [BillingOutboxAggregateType.SUBSCRIPTION_MUTATION]: { meaning: 'A generation of a subscription\\'s mutation slot.' },\n },\n }),\n aggregateId: schemaShape.aggregateId.stringSpec({\n meaning: 'The identity of the record that owes the effect — for a subscription mutation, its slot.',\n }),\n generation: schemaShape.generation.numberSpec({\n meaning: 'The generation of the aggregate whose commit created the effect.',\n }),\n effect: schemaShape.effect.enumSpec({\n meaning: 'The effect owed.',\n whyItMatters: 'Each effect has one consumer and decides how often it may be attempted: an idempotent one is re-attempted until delivered, keyed by this row so a redelivery never applies it twice; a notification is attempted at most once, because an email or webhook cannot be unsent.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'BillingOutboxEffect',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [BillingOutboxEffect.AUDIT]: { meaning: 'Write the operation\\'s audit row, under an id derived from this row so a redelivery records it once.' },\n [BillingOutboxEffect.FEATURE_SYNC]: { meaning: 'Recompute the scope\\'s features from the committed subscription, invalidate their cache and tell connected clients.' },\n [BillingOutboxEffect.BROADCAST]: { meaning: 'Tell clients viewing the subscription that it changed.' },\n [BillingOutboxEffect.NOTIFICATION]: { meaning: 'Send the operation\\'s configured notifications; attempted at most once, because an email or webhook cannot be unsent.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n payload: schemaShape.payload.objectSpec({\n meaning: 'Everything the consumer needs, captured at commit.',\n whyItMatters: 'A consumer must not re-derive the effect from later state, which may have moved since the change committed.',\n }),\n status: schemaShape.status.enumSpec({\n meaning: 'Where the effect stands in delivery.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'BillingOutboxDeliveryStatus',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [BillingOutboxDeliveryStatus.PENDING]: { meaning: 'Awaiting delivery; eligible once its next attempt instant has passed.' },\n [BillingOutboxDeliveryStatus.IN_FLIGHT]: { meaning: 'Leased by a relay until its lease expires.' },\n [BillingOutboxDeliveryStatus.DELIVERED]: { meaning: 'Delivered; final.' },\n [BillingOutboxDeliveryStatus.DEAD]: { meaning: 'Final and left for an operator: attempts exhausted, a payload no retry can fix, or an at-most-once effect whose one attempt failed or whose lease expired after a possible send.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n attemptCount: schemaShape.attemptCount.numberSpec({ meaning: 'How many delivery attempts were made.' }),\n leaseExpiresAt: schemaShape.leaseExpiresAt.dateSpec({ meaning: 'When the current relay lease ends. Empty unless leased.' }),\n nextAttemptAt: schemaShape.nextAttemptAt.dateSpec({ meaning: 'The earliest instant the row may be leased again.' }),\n lastError: schemaShape.lastError.stringSpec({ meaning: 'What the last failed delivery attempt reported.' }),\n deliveredAt: schemaShape.deliveredAt.dateSpec({ meaning: 'When the effect was delivered.' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the effect was enqueued, which is when its change committed.' }),\n },\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Enqueue an effect a committed change owes.',\n outcome: 'The effect becomes durable with its change, or not at all.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The effect was enqueued pending.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The same effect was already enqueued for the same generation; the enclosing transaction aborts.' }],\n idempotent: false,\n variants: {\n [BillingEffectOutboxVariantKey.INTERNAL]: {\n purpose: 'Let the billing mutation store enqueue effects inside the completing transaction.',\n },\n },\n },\n [Op.READ]: {\n purpose: 'Read one effect\\'s delivery state.',\n outcome: 'A relay or an operator sees where one effect stands.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The effect was found and is returned.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No such effect was ever enqueued.' }],\n idempotent: true,\n variants: {\n [BillingEffectOutboxVariantKey.INTERNAL]: {\n purpose: 'Let the relay and the store read an effect before settling it.',\n },\n },\n },\n [Op.UPDATE]: {\n purpose: 'Lease, settle or retire an effect.',\n outcome: 'Exactly one relay holds an effect at a time, and a delivered effect stops being eligible.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The transition applied and the effect is returned.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'Another relay leased or settled the effect first; nothing is overwritten.' }],\n idempotent: false,\n variants: {\n [BillingEffectOutboxVariantKey.INTERNAL]: {\n purpose: 'Let the relay lease an eligible effect, record delivery, back off after a failure, or mark it dead.',\n },\n },\n },\n },\n\n businessConstraints: [\n 'An effect row exists if and only if the billing change that owes it committed.',\n 'An effect is re-attempted only if its consumer is idempotent on the row\\'s identity; any other effect is attempted at most once, and an attempt that may already have sent is never repeated.',\n 'The shape is generic on purpose — aggregate, generation, effect — so it can become the framework-wide outbox without a redesign; today only billing writes it.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type AnyResourceSpecificationConfig } from '../../../_core';
|
|
2
|
+
/**
|
|
3
|
+
* Framework-owned specification for the internal `billingProviderEventSettlements` resource — the durable idempotency ledger
|
|
4
|
+
* for money-affecting billing webhook events.
|
|
5
|
+
*
|
|
6
|
+
* Authored 2026-09-15: the resource shipped on 2026-09-12 without a specification, which kept the engine sub-domain test's
|
|
7
|
+
* "every registered resource has a specification" pin red. The runtime reasoning — why the claim is the primary key, and why
|
|
8
|
+
* the lease window is measured against the provider's retry cadence — lives in the schema file's header and is not
|
|
9
|
+
* restated here.
|
|
10
|
+
*
|
|
11
|
+
* Registry-key and type-annotation notes: identical situation to `dataSeedRuns` — see that spec's header.
|
|
12
|
+
*/
|
|
13
|
+
export declare const billingProviderEventSettlementsResourceSpecification: AnyResourceSpecificationConfig;
|
|
14
|
+
//# sourceMappingURL=billing-provider-event-settlements.resource.specification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-provider-event-settlements.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/billing/resources/billing-provider-event-settlements.resource.specification.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAGjI;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oDAAoD,EAAE,8BAiHlE,CAAC"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { LabelAudience } from '@wildo-ai/presets-components-models';
|
|
2
|
+
import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';
|
|
3
|
+
import { BillingProviderEventSettlementSchema, BillingProviderEventSettlementVariantKey, billingProviderEventSettlementResourceConfiguration_InitializationFactory as settlementFactory, } from '@wildo-ai/saas-backend-lib/billing-models';
|
|
4
|
+
import { CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';
|
|
5
|
+
import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
|
|
6
|
+
import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
|
|
7
|
+
/**
|
|
8
|
+
* Framework-owned specification for the internal `billingProviderEventSettlements` resource — the durable idempotency ledger
|
|
9
|
+
* for money-affecting billing webhook events.
|
|
10
|
+
*
|
|
11
|
+
* Authored 2026-09-15: the resource shipped on 2026-09-12 without a specification, which kept the engine sub-domain test's
|
|
12
|
+
* "every registered resource has a specification" pin red. The runtime reasoning — why the claim is the primary key, and why
|
|
13
|
+
* the lease window is measured against the provider's retry cadence — lives in the schema file's header and is not
|
|
14
|
+
* restated here.
|
|
15
|
+
*
|
|
16
|
+
* Registry-key and type-annotation notes: identical situation to `dataSeedRuns` — see that spec's header.
|
|
17
|
+
*/
|
|
18
|
+
export const billingProviderEventSettlementsResourceSpecification = resourceSpecification(settlementFactory, BillingProviderEventSettlementSchema, ({ schemaShape }) => ({
|
|
19
|
+
purpose: 'Record, once per money-affecting provider event, that its effect was claimed and applied, so a redelivered event can never grant the same money twice.',
|
|
20
|
+
businessRole: 'Durable webhook idempotency ledger shared by every backend replica: a retry delivered to another instance, after a restart, or long after the first delivery finds the settlement instead of repeating the grant.',
|
|
21
|
+
lifecycleRole: 'Claimed when a handler starts applying an event, and marked applied when the money-affecting work completes. A claim left without an applied instant past its lease may be taken over by a later delivery of the same event.',
|
|
22
|
+
audience: LabelAudience.DEVELOPER,
|
|
23
|
+
subDomain: EngineResourceSubDomain.BILLING,
|
|
24
|
+
codeHandling: {
|
|
25
|
+
mainSchema: {
|
|
26
|
+
packageName: '@wildo-ai/saas-backend-lib',
|
|
27
|
+
exportName: 'BillingProviderEventSettlementSchema',
|
|
28
|
+
symbolKind: CodeSymbolKind.SCHEMA,
|
|
29
|
+
declarationKind: CodeDeclarationKind.ZOD_SCHEMA,
|
|
30
|
+
},
|
|
31
|
+
resourceFactory: {
|
|
32
|
+
packageName: '@wildo-ai/saas-backend-lib',
|
|
33
|
+
exportName: 'billingProviderEventSettlementResourceConfiguration_InitializationFactory',
|
|
34
|
+
symbolKind: CodeSymbolKind.FACTORY,
|
|
35
|
+
declarationKind: CodeDeclarationKind.FUNCTION,
|
|
36
|
+
},
|
|
37
|
+
resourceType: {
|
|
38
|
+
enumDeclaration: {
|
|
39
|
+
packageName: '@wildo-ai/saas-backend-lib',
|
|
40
|
+
exportName: 'BackendResourceType',
|
|
41
|
+
symbolKind: CodeSymbolKind.ENUM,
|
|
42
|
+
declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
43
|
+
},
|
|
44
|
+
memberName: 'BILLING_PROVIDER_EVENT_SETTLEMENTS',
|
|
45
|
+
},
|
|
46
|
+
operationVocabulary: {
|
|
47
|
+
coreEnum: {
|
|
48
|
+
packageName: '@wildo-ai/saas-models',
|
|
49
|
+
exportName: 'CoreResourceOperation',
|
|
50
|
+
symbolKind: CodeSymbolKind.ENUM,
|
|
51
|
+
declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
fields: {
|
|
56
|
+
_id: schemaShape._id.stringSpec({
|
|
57
|
+
meaning: 'Identifier derived from the claim key.',
|
|
58
|
+
whyItMatters: 'Two deliveries of the same provider event compute the same identifier, so the second claim collides at the store instead of granting twice.',
|
|
59
|
+
semanticRole: 'identifier',
|
|
60
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
61
|
+
}),
|
|
62
|
+
claimKey: schemaShape.claimKey.stringSpec({
|
|
63
|
+
meaning: 'The claim in readable form: the event type and the checkout session or provider event it belongs to.',
|
|
64
|
+
whyItMatters: 'It is what an operator filters on to answer whether a given session or event was already settled.',
|
|
65
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
66
|
+
}),
|
|
67
|
+
eventType: schemaShape.eventType.stringSpec({
|
|
68
|
+
meaning: 'The provider event type the claim was taken for.',
|
|
69
|
+
}),
|
|
70
|
+
claimedAt: schemaShape.claimedAt.dateSpec({
|
|
71
|
+
meaning: 'When a handler took the claim, refreshed when a stale claim is taken over.',
|
|
72
|
+
whyItMatters: 'It is the lease timestamp: an unapplied claim older than the lease window may be taken over by a later delivery.',
|
|
73
|
+
}),
|
|
74
|
+
appliedAt: schemaShape.appliedAt.dateSpec({
|
|
75
|
+
meaning: 'When the money-affecting work completed. Empty while a handler still holds the claim.',
|
|
76
|
+
whyItMatters: 'Its absence is what distinguishes a claim in flight, or abandoned by a crashed process, from a settled event.',
|
|
77
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
78
|
+
}),
|
|
79
|
+
},
|
|
80
|
+
operations: {
|
|
81
|
+
[Op.CREATE]: {
|
|
82
|
+
purpose: 'Take the claim for a provider event before applying its effect.',
|
|
83
|
+
outcome: 'Exactly one delivery of the event proceeds to apply it.',
|
|
84
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
85
|
+
responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The claim was taken.' }],
|
|
86
|
+
errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The event was already claimed; the delivery reads the existing settlement instead.' }],
|
|
87
|
+
idempotent: false,
|
|
88
|
+
variants: {
|
|
89
|
+
[BillingProviderEventSettlementVariantKey.INTERNAL]: {
|
|
90
|
+
purpose: 'Let the billing webhook router claim a money-affecting event.',
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
[Op.READ]: {
|
|
95
|
+
purpose: 'Read an event\'s settlement.',
|
|
96
|
+
outcome: 'A delivery learns whether the event is settled, in flight, or abandoned past its lease.',
|
|
97
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The settlement was found and is returned.' }],
|
|
98
|
+
errorScenarios: [{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'The event was never claimed.' }],
|
|
99
|
+
idempotent: true,
|
|
100
|
+
variants: {
|
|
101
|
+
[BillingProviderEventSettlementVariantKey.INTERNAL]: {
|
|
102
|
+
purpose: 'Let the billing webhook router inspect a claim that collided.',
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
[Op.UPDATE]: {
|
|
107
|
+
purpose: 'Mark a claimed event applied, or take over a stale claim.',
|
|
108
|
+
outcome: 'The ledger records that the grant happened, or hands an abandoned claim to the delivery that will finish it.',
|
|
109
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The settlement was updated and is returned.' }],
|
|
110
|
+
errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'Another delivery settled or took over the claim first.' }],
|
|
111
|
+
idempotent: false,
|
|
112
|
+
variants: {
|
|
113
|
+
[BillingProviderEventSettlementVariantKey.INTERNAL]: {
|
|
114
|
+
purpose: 'Let the billing webhook router settle its own claim or take over one past its lease.',
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
businessConstraints: [
|
|
120
|
+
'Money already granted cannot be un-granted by a later correction, so the suppression lives in a durable row every replica can see.',
|
|
121
|
+
'The ledger is not a webhook audit log: it records only what a second delivery must be able to ask.',
|
|
122
|
+
],
|
|
123
|
+
}), { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION });
|
|
124
|
+
//# sourceMappingURL=billing-provider-event-settlements.resource.specification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-provider-event-settlements.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/billing/resources/billing-provider-event-settlements.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0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,EAAE;gBACR,CAAC,wCAAwC,CAAC,QAAQ,CAAC,EAAE;oBACnD,OAAO,EAAE,+DAA+D;iBACzE;aACF;SACF;QACD,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE;YACT,OAAO,EAAE,8BAA8B;YACvC,OAAO,EAAE,yFAAyF;YAClG,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,2CAA2C,EAAE,CAAC;YACjH,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC;YACtG,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE;gBACR,CAAC,wCAAwC,CAAC,QAAQ,CAAC,EAAE;oBACnD,OAAO,EAAE,+DAA+D;iBACzE;aACF;SACF;QACD,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;YACX,OAAO,EAAE,2DAA2D;YACpE,OAAO,EAAE,8GAA8G;YACvH,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,6CAA6C,EAAE,CAAC;YACnH,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,wDAAwD,EAAE,CAAC;YAC/H,UAAU,EAAE,KAAK;YACjB,QAAQ,EAAE;gBACR,CAAC,wCAAwC,CAAC,QAAQ,CAAC,EAAE;oBACnD,OAAO,EAAE,sFAAsF;iBAChG;aACF;SACF;KACF;IAED,mBAAmB,EAAE;QACnB,oIAAoI;QACpI,oGAAoG;KACrG;CACF,CAAC,EACF,EAAE,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 BillingProviderEventSettlementSchema,\n BillingProviderEventSettlementVariantKey,\n billingProviderEventSettlementResourceConfiguration_InitializationFactory as settlementFactory,\n} from '@wildo-ai/saas-backend-lib/billing-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 `billingProviderEventSettlements` resource — the durable idempotency ledger\n * for money-affecting billing webhook events.\n *\n * Authored 2026-09-15: the resource shipped on 2026-09-12 without a specification, which kept the engine sub-domain test's\n * \"every registered resource has a specification\" pin red. The runtime reasoning — why the claim is the primary key, and why\n * the lease window is measured against the provider's retry cadence — lives in the schema file's header and is not\n * restated here.\n *\n * Registry-key and type-annotation notes: identical situation to `dataSeedRuns` — see that spec's header.\n */\nexport const billingProviderEventSettlementsResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n settlementFactory,\n BillingProviderEventSettlementSchema,\n ({ schemaShape }) => ({\n purpose: 'Record, once per money-affecting provider event, that its effect was claimed and applied, so a redelivered event can never grant the same money twice.',\n businessRole: 'Durable webhook idempotency ledger shared by every backend replica: a retry delivered to another instance, after a restart, or long after the first delivery finds the settlement instead of repeating the grant.',\n lifecycleRole: 'Claimed when a handler starts applying an event, and marked applied when the money-affecting work completes. A claim left without an applied instant past its lease may be taken over by a later delivery of the same event.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.BILLING,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'BillingProviderEventSettlementSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'billingProviderEventSettlementResourceConfiguration_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: 'BILLING_PROVIDER_EVENT_SETTLEMENTS',\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: 'Identifier derived from the claim key.',\n whyItMatters: 'Two deliveries of the same provider event compute the same identifier, so the second claim collides at the store instead of granting twice.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n claimKey: schemaShape.claimKey.stringSpec({\n meaning: 'The claim in readable form: the event type and the checkout session or provider event it belongs to.',\n whyItMatters: 'It is what an operator filters on to answer whether a given session or event was already settled.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n eventType: schemaShape.eventType.stringSpec({\n meaning: 'The provider event type the claim was taken for.',\n }),\n claimedAt: schemaShape.claimedAt.dateSpec({\n meaning: 'When a handler took the claim, refreshed when a stale claim is taken over.',\n whyItMatters: 'It is the lease timestamp: an unapplied claim older than the lease window may be taken over by a later delivery.',\n }),\n appliedAt: schemaShape.appliedAt.dateSpec({\n meaning: 'When the money-affecting work completed. Empty while a handler still holds the claim.',\n whyItMatters: 'Its absence is what distinguishes a claim in flight, or abandoned by a crashed process, from a settled event.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n },\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Take the claim for a provider event before applying its effect.',\n outcome: 'Exactly one delivery of the event proceeds to apply it.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The claim was taken.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The event was already claimed; the delivery reads the existing settlement instead.' }],\n idempotent: false,\n variants: {\n [BillingProviderEventSettlementVariantKey.INTERNAL]: {\n purpose: 'Let the billing webhook router claim a money-affecting event.',\n },\n },\n },\n [Op.READ]: {\n purpose: 'Read an event\\'s settlement.',\n outcome: 'A delivery learns whether the event is settled, in flight, or abandoned past its lease.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The settlement was found and is returned.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'The event was never claimed.' }],\n idempotent: true,\n variants: {\n [BillingProviderEventSettlementVariantKey.INTERNAL]: {\n purpose: 'Let the billing webhook router inspect a claim that collided.',\n },\n },\n },\n [Op.UPDATE]: {\n purpose: 'Mark a claimed event applied, or take over a stale claim.',\n outcome: 'The ledger records that the grant happened, or hands an abandoned claim to the delivery that will finish it.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The settlement was updated and is returned.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'Another delivery settled or took over the claim first.' }],\n idempotent: false,\n variants: {\n [BillingProviderEventSettlementVariantKey.INTERNAL]: {\n purpose: 'Let the billing webhook router settle its own claim or take over one past its lease.',\n },\n },\n },\n },\n\n businessConstraints: [\n 'Money already granted cannot be un-granted by a later correction, so the suppression lives in a durable row every replica can see.',\n 'The ledger is not a webhook audit log: it records only what a second delivery must be able to ask.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type AnyResourceSpecificationConfig } from '../../../_core';
|
|
2
|
+
/**
|
|
3
|
+
* Framework-owned specification for the internal `billingSubscriptionMutationCompletions` resource — the durable record that
|
|
4
|
+
* one admitted subscription change committed locally (#535).
|
|
5
|
+
*
|
|
6
|
+
* Registry-key and type-annotation notes: identical situation to `dataSeedRuns` — see that spec's header.
|
|
7
|
+
*/
|
|
8
|
+
export declare const billingSubscriptionMutationCompletionsResourceSpecification: AnyResourceSpecificationConfig;
|
|
9
|
+
//# sourceMappingURL=billing-subscription-mutation-completions.resource.specification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-subscription-mutation-completions.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAGjI;;;;;GAKG;AACH,eAAO,MAAM,2DAA2D,EAAE,8BAqHzE,CAAC"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { LabelAudience } from '@wildo-ai/presets-components-models';
|
|
2
|
+
import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';
|
|
3
|
+
import { BillingSubscriptionMutationCompletionSchema, BillingSubscriptionMutationCompletionVariantKey, billingSubscriptionMutationCompletionResourceConfigurationFactory as mutationCompletionFactory, } from '@wildo-ai/saas-backend-lib/billing-models';
|
|
4
|
+
import { BillingSubscription_Operations, CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';
|
|
5
|
+
import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
|
|
6
|
+
import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
|
|
7
|
+
/**
|
|
8
|
+
* Framework-owned specification for the internal `billingSubscriptionMutationCompletions` resource — the durable record that
|
|
9
|
+
* one admitted subscription change committed locally (#535).
|
|
10
|
+
*
|
|
11
|
+
* Registry-key and type-annotation notes: identical situation to `dataSeedRuns` — see that spec's header.
|
|
12
|
+
*/
|
|
13
|
+
export const billingSubscriptionMutationCompletionsResourceSpecification = resourceSpecification(mutationCompletionFactory, BillingSubscriptionMutationCompletionSchema, ({ schemaShape }) => ({
|
|
14
|
+
purpose: 'Record that one admitted subscription change committed locally, in a form that outlives the mutation slot being reused.',
|
|
15
|
+
businessRole: 'Lets a request whose commit acknowledgement was lost learn afterwards that its change did commit, so it answers with the stored result instead of admitting the same commercial change a second time.',
|
|
16
|
+
lifecycleRole: 'Written once, in the same database transaction as the subscription write that completes the change, and never updated.',
|
|
17
|
+
audience: LabelAudience.DEVELOPER,
|
|
18
|
+
subDomain: EngineResourceSubDomain.BILLING,
|
|
19
|
+
codeHandling: {
|
|
20
|
+
mainSchema: {
|
|
21
|
+
packageName: '@wildo-ai/saas-backend-lib',
|
|
22
|
+
exportName: 'BillingSubscriptionMutationCompletionSchema',
|
|
23
|
+
symbolKind: CodeSymbolKind.SCHEMA,
|
|
24
|
+
declarationKind: CodeDeclarationKind.ZOD_SCHEMA,
|
|
25
|
+
},
|
|
26
|
+
resourceFactory: {
|
|
27
|
+
packageName: '@wildo-ai/saas-backend-lib',
|
|
28
|
+
exportName: 'billingSubscriptionMutationCompletionResourceConfigurationFactory',
|
|
29
|
+
symbolKind: CodeSymbolKind.FACTORY,
|
|
30
|
+
declarationKind: CodeDeclarationKind.FUNCTION,
|
|
31
|
+
},
|
|
32
|
+
resourceType: {
|
|
33
|
+
enumDeclaration: {
|
|
34
|
+
packageName: '@wildo-ai/saas-backend-lib',
|
|
35
|
+
exportName: 'BackendResourceType',
|
|
36
|
+
symbolKind: CodeSymbolKind.ENUM,
|
|
37
|
+
declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
38
|
+
},
|
|
39
|
+
memberName: 'BILLING_SUBSCRIPTION_MUTATION_COMPLETIONS',
|
|
40
|
+
},
|
|
41
|
+
operationVocabulary: {
|
|
42
|
+
coreEnum: {
|
|
43
|
+
packageName: '@wildo-ai/saas-models',
|
|
44
|
+
exportName: 'CoreResourceOperation',
|
|
45
|
+
symbolKind: CodeSymbolKind.ENUM,
|
|
46
|
+
declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
fields: {
|
|
51
|
+
_id: schemaShape._id.stringSpec({
|
|
52
|
+
meaning: 'Identifier derived from the slot and the admission key.',
|
|
53
|
+
whyItMatters: 'Deriving it makes a second completion of the same request on the same subscription collide on the identifier itself, identically on every database; the slot is part of it because the same request key on another subscription is a different admission.',
|
|
54
|
+
semanticRole: 'identifier',
|
|
55
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
56
|
+
}),
|
|
57
|
+
admissionKey: schemaShape.admissionKey.stringSpec({
|
|
58
|
+
meaning: 'The request identity that was admitted: a preview identifier or a request idempotency key.',
|
|
59
|
+
whyItMatters: 'It is what a replayed request looks its outcome up by.',
|
|
60
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
61
|
+
}),
|
|
62
|
+
slotId: schemaShape.slotId.stringSpec({
|
|
63
|
+
meaning: 'The mutation slot the change ran in.',
|
|
64
|
+
whyItMatters: 'It lets an operator list every completed change of one subscription.',
|
|
65
|
+
}),
|
|
66
|
+
generation: schemaShape.generation.numberSpec({
|
|
67
|
+
meaning: 'The slot generation that completed.',
|
|
68
|
+
}),
|
|
69
|
+
operation: schemaShape.operation.enumSpec({
|
|
70
|
+
meaning: 'The subscription operation that completed.',
|
|
71
|
+
enumDeclaration: {
|
|
72
|
+
packageName: '@wildo-ai/saas-models',
|
|
73
|
+
exportName: 'BillingSubscription_Operations',
|
|
74
|
+
symbolKind: CodeSymbolKind.ENUM,
|
|
75
|
+
declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
76
|
+
},
|
|
77
|
+
values: {
|
|
78
|
+
[BillingSubscription_Operations.CHANGE_PLAN]: { meaning: 'A plan upgrade or downgrade completed.' },
|
|
79
|
+
[BillingSubscription_Operations.CANCEL]: { meaning: 'A cancellation completed.' },
|
|
80
|
+
[BillingSubscription_Operations.RESUME]: { meaning: 'A scheduled cancellation was removed.' },
|
|
81
|
+
[BillingSubscription_Operations.ADD_ADDON]: { meaning: 'An addon was added.' },
|
|
82
|
+
[BillingSubscription_Operations.REMOVE_ADDON]: { meaning: 'An addon was removed.' },
|
|
83
|
+
},
|
|
84
|
+
}),
|
|
85
|
+
requestFingerprint: schemaShape.requestFingerprint.stringSpec({
|
|
86
|
+
meaning: 'A digest of the request that was admitted under the admission key: the operation, the acting user and organization, and the request values as the caller sent them.',
|
|
87
|
+
whyItMatters: 'A request key reused for a DIFFERENT request must be refused rather than answered with this earlier change; comparing fingerprints is how the store tells a retry from a reuse. It is a digest, never the request, because a request may carry free text such as a cancellation reason. Null on a completion recorded before fingerprints existed, which never matches.',
|
|
88
|
+
}),
|
|
89
|
+
completedAt: schemaShape.completedAt.dateSpec({ meaning: 'When the change committed locally.' }),
|
|
90
|
+
},
|
|
91
|
+
operations: {
|
|
92
|
+
[Op.CREATE]: {
|
|
93
|
+
purpose: 'Record a completed admission.',
|
|
94
|
+
outcome: 'The completion becomes durable with the subscription write it belongs to, or not at all.',
|
|
95
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
96
|
+
responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The completion was recorded.' }],
|
|
97
|
+
errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The same admission already completed; the enclosing transaction aborts rather than completing it twice.' }],
|
|
98
|
+
idempotent: false,
|
|
99
|
+
variants: {
|
|
100
|
+
[BillingSubscriptionMutationCompletionVariantKey.INTERNAL]: {
|
|
101
|
+
purpose: 'Let the billing mutation store record completion inside the completing transaction.',
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
[Op.READ]: {
|
|
106
|
+
purpose: 'Look up whether an admission completed.',
|
|
107
|
+
outcome: 'A replayed request learns its change already committed.',
|
|
108
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The admission completed and its record is returned.' }],
|
|
109
|
+
errorScenarios: [{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'The admission never completed locally.' }],
|
|
110
|
+
idempotent: true,
|
|
111
|
+
variants: {
|
|
112
|
+
[BillingSubscriptionMutationCompletionVariantKey.INTERNAL]: {
|
|
113
|
+
purpose: 'Let the billing mutation store answer a replay from the durable record.',
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
businessConstraints: [
|
|
119
|
+
'A completion record exists if and only if the subscription write it describes committed.',
|
|
120
|
+
'It is never updated or deleted by the store: it is the memory that outlives the slot\'s reuse.',
|
|
121
|
+
],
|
|
122
|
+
}), { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION });
|
|
123
|
+
//# sourceMappingURL=billing-subscription-mutation-completions.resource.specification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-subscription-mutation-completions.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/billing/resources/billing-subscription-mutation-completions.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,+CAA+C,EAC/C,iEAAiE,IAAI,yBAAyB,GAC/F,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,8BAA8B,EAAE,qBAAqB,IAAI,EAAE,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC1H,OAAO,EAAuC,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACjI,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E;;;;;GAKG;AACH,MAAM,CAAC,MAAM,2DAA2D,GAAmC,qBAAqB,CAC9H,yBAAyB,EACzB,2CAA2C,EAC3C,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IACpB,OAAO,EAAE,yHAAyH;IAClI,YAAY,EAAE,uMAAuM;IACrN,aAAa,EAAE,wHAAwH;IACvI,QAAQ,EAAE,aAA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8B,EAAE,CAAC;YACzG,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,yGAAyG,EAAE,CAAC;YAChL,UAAU,EAAE,KAAK;YACjB,QAAQ,EAAE;gBACR,CAAC,+CAA+C,CAAC,QAAQ,CAAC,EAAE;oBAC1D,OAAO,EAAE,qFAAqF;iBAC/F;aACF;SACF;QACD,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE;YACT,OAAO,EAAE,yCAAyC;YAClD,OAAO,EAAE,yDAAyD;YAClE,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,qDAAqD,EAAE,CAAC;YAC3H,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,wCAAwC,EAAE,CAAC;YAChH,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE;gBACR,CAAC,+CAA+C,CAAC,QAAQ,CAAC,EAAE;oBAC1D,OAAO,EAAE,yEAAyE;iBACnF;aACF;SACF;KACF;IAED,mBAAmB,EAAE;QACnB,0FAA0F;QAC1F,gGAAgG;KACjG;CACF,CAAC,EACF,EAAE,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 BillingSubscriptionMutationCompletionSchema,\n BillingSubscriptionMutationCompletionVariantKey,\n billingSubscriptionMutationCompletionResourceConfigurationFactory as mutationCompletionFactory,\n} from '@wildo-ai/saas-backend-lib/billing-models';\nimport { BillingSubscription_Operations, 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 `billingSubscriptionMutationCompletions` resource — the durable record that\n * one admitted subscription change committed locally (#535).\n *\n * Registry-key and type-annotation notes: identical situation to `dataSeedRuns` — see that spec's header.\n */\nexport const billingSubscriptionMutationCompletionsResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n mutationCompletionFactory,\n BillingSubscriptionMutationCompletionSchema,\n ({ schemaShape }) => ({\n purpose: 'Record that one admitted subscription change committed locally, in a form that outlives the mutation slot being reused.',\n businessRole: 'Lets a request whose commit acknowledgement was lost learn afterwards that its change did commit, so it answers with the stored result instead of admitting the same commercial change a second time.',\n lifecycleRole: 'Written once, in the same database transaction as the subscription write that completes the change, and never updated.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.BILLING,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'BillingSubscriptionMutationCompletionSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'billingSubscriptionMutationCompletionResourceConfigurationFactory',\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: 'BILLING_SUBSCRIPTION_MUTATION_COMPLETIONS',\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: 'Identifier derived from the slot and the admission key.',\n whyItMatters: 'Deriving it makes a second completion of the same request on the same subscription collide on the identifier itself, identically on every database; the slot is part of it because the same request key on another subscription is a different admission.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n admissionKey: schemaShape.admissionKey.stringSpec({\n meaning: 'The request identity that was admitted: a preview identifier or a request idempotency key.',\n whyItMatters: 'It is what a replayed request looks its outcome up by.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n slotId: schemaShape.slotId.stringSpec({\n meaning: 'The mutation slot the change ran in.',\n whyItMatters: 'It lets an operator list every completed change of one subscription.',\n }),\n generation: schemaShape.generation.numberSpec({\n meaning: 'The slot generation that completed.',\n }),\n operation: schemaShape.operation.enumSpec({\n meaning: 'The subscription operation that completed.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'BillingSubscription_Operations',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [BillingSubscription_Operations.CHANGE_PLAN]: { meaning: 'A plan upgrade or downgrade completed.' },\n [BillingSubscription_Operations.CANCEL]: { meaning: 'A cancellation completed.' },\n [BillingSubscription_Operations.RESUME]: { meaning: 'A scheduled cancellation was removed.' },\n [BillingSubscription_Operations.ADD_ADDON]: { meaning: 'An addon was added.' },\n [BillingSubscription_Operations.REMOVE_ADDON]: { meaning: 'An addon was removed.' },\n },\n }),\n requestFingerprint: schemaShape.requestFingerprint.stringSpec({\n meaning: 'A digest of the request that was admitted under the admission key: the operation, the acting user and organization, and the request values as the caller sent them.',\n whyItMatters: 'A request key reused for a DIFFERENT request must be refused rather than answered with this earlier change; comparing fingerprints is how the store tells a retry from a reuse. It is a digest, never the request, because a request may carry free text such as a cancellation reason. Null on a completion recorded before fingerprints existed, which never matches.',\n }),\n completedAt: schemaShape.completedAt.dateSpec({ meaning: 'When the change committed locally.' }),\n },\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Record a completed admission.',\n outcome: 'The completion becomes durable with the subscription write it belongs to, or not at all.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The completion was recorded.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The same admission already completed; the enclosing transaction aborts rather than completing it twice.' }],\n idempotent: false,\n variants: {\n [BillingSubscriptionMutationCompletionVariantKey.INTERNAL]: {\n purpose: 'Let the billing mutation store record completion inside the completing transaction.',\n },\n },\n },\n [Op.READ]: {\n purpose: 'Look up whether an admission completed.',\n outcome: 'A replayed request learns its change already committed.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The admission completed and its record is returned.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'The admission never completed locally.' }],\n idempotent: true,\n variants: {\n [BillingSubscriptionMutationCompletionVariantKey.INTERNAL]: {\n purpose: 'Let the billing mutation store answer a replay from the durable record.',\n },\n },\n },\n },\n\n businessConstraints: [\n 'A completion record exists if and only if the subscription write it describes committed.',\n 'It is never updated or deleted by the store: it is the memory that outlives the slot\\'s reuse.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type AnyResourceSpecificationConfig } from '../../../_core';
|
|
2
|
+
/**
|
|
3
|
+
* Framework-owned specification for the internal `billingSubscriptionMutationIntents` resource — the one mutation slot per
|
|
4
|
+
* subscription that coordinates every commercial change and every other writer of that subscription (#535).
|
|
5
|
+
*
|
|
6
|
+
* Registry-key and type-annotation notes: identical situation to `dataSeedRuns` (a `BackendResourceType` sourced from
|
|
7
|
+
* `@wildo-ai/saas-backend-lib`, keyed by its literal resource-type string, with the explicit
|
|
8
|
+
* `AnyResourceSpecificationConfig` annotation) — see that spec's header rather than a re-derivation here.
|
|
9
|
+
*/
|
|
10
|
+
export declare const billingSubscriptionMutationIntentsResourceSpecification: AnyResourceSpecificationConfig;
|
|
11
|
+
//# sourceMappingURL=billing-subscription-mutation-intents.resource.specification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-subscription-mutation-intents.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAGjI;;;;;;;GAOG;AACH,eAAO,MAAM,uDAAuD,EAAE,8BAoKrE,CAAC"}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { LabelAudience } from '@wildo-ai/presets-components-models';
|
|
2
|
+
import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';
|
|
3
|
+
import { BillingSubscriptionMutationIntentSchema, BillingSubscriptionMutationIntentVariantKey, BillingSubscriptionMutationState, billingSubscriptionMutationIntentResourceConfigurationFactory as mutationIntentFactory, } from '@wildo-ai/saas-backend-lib/billing-models';
|
|
4
|
+
import { CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';
|
|
5
|
+
import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
|
|
6
|
+
import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
|
|
7
|
+
/**
|
|
8
|
+
* Framework-owned specification for the internal `billingSubscriptionMutationIntents` resource — the one mutation slot per
|
|
9
|
+
* subscription that coordinates every commercial change and every other writer of that subscription (#535).
|
|
10
|
+
*
|
|
11
|
+
* Registry-key and type-annotation notes: identical situation to `dataSeedRuns` (a `BackendResourceType` sourced from
|
|
12
|
+
* `@wildo-ai/saas-backend-lib`, keyed by its literal resource-type string, with the explicit
|
|
13
|
+
* `AnyResourceSpecificationConfig` annotation) — see that spec's header rather than a re-derivation here.
|
|
14
|
+
*/
|
|
15
|
+
export const billingSubscriptionMutationIntentsResourceSpecification = resourceSpecification(mutationIntentFactory, BillingSubscriptionMutationIntentSchema, ({ schemaShape }) => ({
|
|
16
|
+
purpose: 'Hold the one commercial change a subscription is undergoing, from admission through the provider call to local completion, so no second change can be admitted over it and no uncertain outcome is ever mistaken for no effect.',
|
|
17
|
+
businessRole: 'Durable coordination slot that makes a plan change, cancellation or addon change happen at most once per accepted request, and gives every other writer of the subscription one row to lock first.',
|
|
18
|
+
lifecycleRole: 'Created idle the first time any writer of the subscription needs it — an operation, the provider webhook projection, reconciliation or an erasure. Each admission advances its generation through prepared, dispatching and provider-applied to completed, or to rejected when the provider conclusively refused. An unknown outcome stays owned until recovery or an operator resolves it.',
|
|
19
|
+
audience: LabelAudience.DEVELOPER,
|
|
20
|
+
subDomain: EngineResourceSubDomain.BILLING,
|
|
21
|
+
codeHandling: {
|
|
22
|
+
mainSchema: {
|
|
23
|
+
packageName: '@wildo-ai/saas-backend-lib',
|
|
24
|
+
exportName: 'BillingSubscriptionMutationIntentSchema',
|
|
25
|
+
symbolKind: CodeSymbolKind.SCHEMA,
|
|
26
|
+
declarationKind: CodeDeclarationKind.ZOD_SCHEMA,
|
|
27
|
+
},
|
|
28
|
+
resourceFactory: {
|
|
29
|
+
packageName: '@wildo-ai/saas-backend-lib',
|
|
30
|
+
exportName: 'billingSubscriptionMutationIntentResourceConfigurationFactory',
|
|
31
|
+
symbolKind: CodeSymbolKind.FACTORY,
|
|
32
|
+
declarationKind: CodeDeclarationKind.FUNCTION,
|
|
33
|
+
},
|
|
34
|
+
resourceType: {
|
|
35
|
+
enumDeclaration: {
|
|
36
|
+
packageName: '@wildo-ai/saas-backend-lib',
|
|
37
|
+
exportName: 'BackendResourceType',
|
|
38
|
+
symbolKind: CodeSymbolKind.ENUM,
|
|
39
|
+
declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
40
|
+
},
|
|
41
|
+
memberName: 'BILLING_SUBSCRIPTION_MUTATION_INTENTS',
|
|
42
|
+
},
|
|
43
|
+
operationVocabulary: {
|
|
44
|
+
coreEnum: {
|
|
45
|
+
packageName: '@wildo-ai/saas-models',
|
|
46
|
+
exportName: 'CoreResourceOperation',
|
|
47
|
+
symbolKind: CodeSymbolKind.ENUM,
|
|
48
|
+
declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
fields: {
|
|
53
|
+
_id: schemaShape._id.stringSpec({
|
|
54
|
+
meaning: 'Stable identifier of the subscription\'s slot, derived from the application, the subscription resource and the subscription.',
|
|
55
|
+
whyItMatters: 'Deriving it means every writer of one subscription addresses the same row, so a second concurrent slot cannot exist.',
|
|
56
|
+
semanticRole: 'identifier',
|
|
57
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
58
|
+
}),
|
|
59
|
+
identity: schemaShape.identity.objectSpec({
|
|
60
|
+
meaning: 'The full identity the slot was created for: application, subscription resource, scope, billing account, provider and provider subscription.',
|
|
61
|
+
whyItMatters: 'Stored separately from the derived identifier so a rebinding of the subscription to another account or provider is detected instead of silently sharing the slot.',
|
|
62
|
+
}),
|
|
63
|
+
generation: schemaShape.generation.numberSpec({
|
|
64
|
+
meaning: 'How many changes have been admitted on this slot. Zero while none ever was.',
|
|
65
|
+
whyItMatters: 'An admission names the generation its decision was based on; any other value refuses it, which is what stops two different previews from both confirming.',
|
|
66
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
67
|
+
}),
|
|
68
|
+
nonce: schemaShape.nonce.stringSpec({
|
|
69
|
+
meaning: 'Random value renewed on every admission.',
|
|
70
|
+
whyItMatters: 'Together with the generation it fences a worker still holding an older admission away from the current one.',
|
|
71
|
+
}),
|
|
72
|
+
state: schemaShape.state.enumSpec({
|
|
73
|
+
meaning: 'What is known about the current generation\'s external effect.',
|
|
74
|
+
whyItMatters: 'It decides whether a new change may be admitted, whether the provider may be called, and whether local completion is still owed.',
|
|
75
|
+
enumDeclaration: {
|
|
76
|
+
packageName: '@wildo-ai/saas-backend-lib',
|
|
77
|
+
exportName: 'BillingSubscriptionMutationState',
|
|
78
|
+
symbolKind: CodeSymbolKind.ENUM,
|
|
79
|
+
declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
80
|
+
},
|
|
81
|
+
values: {
|
|
82
|
+
[BillingSubscriptionMutationState.IDLE]: { meaning: 'No change holds the slot; it has never been admitted.' },
|
|
83
|
+
[BillingSubscriptionMutationState.PREPARED]: { meaning: 'A change is admitted and has not contacted the provider; it may still be abandoned safely.' },
|
|
84
|
+
[BillingSubscriptionMutationState.DISPATCHING]: { meaning: 'The provider is being called. A crash here may already have caused the change.' },
|
|
85
|
+
[BillingSubscriptionMutationState.PROVIDER_APPLIED]: { meaning: 'The provider applied the change and its answer is recorded; the local write is still owed.' },
|
|
86
|
+
[BillingSubscriptionMutationState.COMPLETED]: { meaning: 'The local write committed; a new change may be admitted.' },
|
|
87
|
+
[BillingSubscriptionMutationState.REJECTED]: { meaning: 'The change was abandoned before dispatch, or the provider conclusively refused it without effect.' },
|
|
88
|
+
[BillingSubscriptionMutationState.OUTCOME_UNKNOWN]: { meaning: 'The provider may have applied the change. Age alone never releases this state.' },
|
|
89
|
+
},
|
|
90
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
91
|
+
}),
|
|
92
|
+
version: schemaShape.version.numberSpec({
|
|
93
|
+
meaning: 'Counter advanced by every write to the slot, including a writer merely locking it.',
|
|
94
|
+
whyItMatters: 'A second guard beside the generation: an admission that read the slot cannot succeed if anything touched it since, such as an erasure claiming priority.',
|
|
95
|
+
}),
|
|
96
|
+
admissionKey: schemaShape.admissionKey.stringSpec({
|
|
97
|
+
meaning: 'The identity of the request that admitted the current generation: a preview identifier or a request idempotency key.',
|
|
98
|
+
whyItMatters: 'A replay of the same request finds its own generation or completion record instead of admitting the change again.',
|
|
99
|
+
}),
|
|
100
|
+
payload: schemaShape.payload.objectSpec({
|
|
101
|
+
meaning: 'The exact command of the current generation: the operation, the provider request, the local patch, the basis it was accepted against, the principal it was admitted for, and the provider idempotency key.',
|
|
102
|
+
whyItMatters: 'Recovery re-sends or reads back exactly this request; nothing is recomputed from catalogue or subscription state that may have moved.',
|
|
103
|
+
}),
|
|
104
|
+
providerReceipt: schemaShape.providerReceipt.objectSpec({
|
|
105
|
+
meaning: 'The provider\'s recorded answer for the current generation: applied with its response, or refused without effect with its evidence.',
|
|
106
|
+
}),
|
|
107
|
+
firstDispatchedAt: schemaShape.firstDispatchedAt.dateSpec({
|
|
108
|
+
meaning: 'When the current generation first called the provider.',
|
|
109
|
+
whyItMatters: 'Same-key resends are allowed only while the provider still retains the idempotency key, measured from this instant.',
|
|
110
|
+
}),
|
|
111
|
+
lastDispatchAttemptAt: schemaShape.lastDispatchAttemptAt.dateSpec({
|
|
112
|
+
meaning: 'When the current generation last called the provider, including a resend.',
|
|
113
|
+
}),
|
|
114
|
+
resendCount: schemaShape.resendCount.numberSpec({
|
|
115
|
+
meaning: 'How many times the current generation re-sent its provider request after an uncertain outcome.',
|
|
116
|
+
}),
|
|
117
|
+
erasurePriority: schemaShape.erasurePriority.objectSpec({
|
|
118
|
+
meaning: 'A data-subject erasure\'s claim on the slot: when it was requested and which erasure request it belongs to.',
|
|
119
|
+
whyItMatters: 'While present, no other change may be admitted, and the erasure never takes over a change already in flight.',
|
|
120
|
+
}),
|
|
121
|
+
operatorResolution: schemaShape.operatorResolution.objectSpec({
|
|
122
|
+
meaning: 'How an operator resolved a generation whose provider outcome stayed unknown, with a mandatory justification.',
|
|
123
|
+
}),
|
|
124
|
+
createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the slot was first created.' }),
|
|
125
|
+
updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the slot was last written.' }),
|
|
126
|
+
},
|
|
127
|
+
operations: {
|
|
128
|
+
[Op.CREATE]: {
|
|
129
|
+
purpose: 'Create a subscription\'s idle slot the first time any writer of the subscription needs it.',
|
|
130
|
+
outcome: 'Every writer of the subscription has a row to lock.',
|
|
131
|
+
responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The idle slot was created and is returned.' }],
|
|
132
|
+
errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'Another writer created the slot concurrently; the existing slot is read instead.' }],
|
|
133
|
+
idempotent: true,
|
|
134
|
+
variants: {
|
|
135
|
+
[BillingSubscriptionMutationIntentVariantKey.INTERNAL]: {
|
|
136
|
+
purpose: 'Let the billing mutation store create the slot, always outside a database transaction.',
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
[Op.READ]: {
|
|
141
|
+
purpose: 'Read a subscription\'s slot.',
|
|
142
|
+
outcome: 'The caller learns which generation and state the subscription\'s mutation is in.',
|
|
143
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The slot was found and is returned.' }],
|
|
144
|
+
errorScenarios: [{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No writer of the subscription has needed the slot yet.' }],
|
|
145
|
+
idempotent: true,
|
|
146
|
+
variants: {
|
|
147
|
+
[BillingSubscriptionMutationIntentVariantKey.INTERNAL]: {
|
|
148
|
+
purpose: 'Let the billing mutation store read the slot before admitting or recovering a change.',
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
},
|
|
152
|
+
[Op.UPDATE]: {
|
|
153
|
+
purpose: 'Advance the slot through one guarded transition.',
|
|
154
|
+
outcome: 'Exactly one writer moves the slot; a stale or competing writer changes nothing.',
|
|
155
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
156
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The transition applied and the slot is returned.' }],
|
|
157
|
+
errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The slot moved since it was read; the transition is refused, never applied over it.' }],
|
|
158
|
+
idempotent: false,
|
|
159
|
+
variants: {
|
|
160
|
+
[BillingSubscriptionMutationIntentVariantKey.INTERNAL]: {
|
|
161
|
+
purpose: 'Let the billing mutation store admit, dispatch, record the provider\'s answer, lock and complete generations.',
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
businessConstraints: [
|
|
167
|
+
'A lost provider response is never evidence that the change did not happen: only the provider\'s answer, a conclusive readback, or an audited operator resolution releases an uncertain generation.',
|
|
168
|
+
'Every writer of a subscription locks this slot before the subscription row, so all writers serialize in one order.',
|
|
169
|
+
'The slot is reused by every generation. The fact that a request completed lives on its completion record, which survives that reuse.',
|
|
170
|
+
],
|
|
171
|
+
}), { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION });
|
|
172
|
+
//# sourceMappingURL=billing-subscription-mutation-intents.resource.specification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-subscription-mutation-intents.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/billing/resources/billing-subscription-mutation-intents.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,uCAAuC,EACvC,2CAA2C,EAC3C,gCAAgC,EAChC,6DAA6D,IAAI,qBAAqB,GACvF,MAAM,2CAA2C,CAAC;AACnD,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;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,uDAAuD,GAAmC,qBAAqB,CAC1H,qBAAqB,EACrB,uCAAuC,EACvC,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IACpB,OAAO,EAAE,iOAAiO;IAC1O,YAAY,EAAE,oMAAoM;IAClN,aAAa,EAAE,6XAA6X;IAC5Y,QAAQ,EAAE,aAAa,CAAC,SAAS;IACjC,SAAS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ent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n BillingSubscriptionMutationIntentSchema,\n BillingSubscriptionMutationIntentVariantKey,\n BillingSubscriptionMutationState,\n billingSubscriptionMutationIntentResourceConfigurationFactory as mutationIntentFactory,\n} from '@wildo-ai/saas-backend-lib/billing-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 `billingSubscriptionMutationIntents` resource — the one mutation slot per\n * subscription that coordinates every commercial change and every other writer of that subscription (#535).\n *\n * Registry-key and type-annotation notes: identical situation to `dataSeedRuns` (a `BackendResourceType` sourced from\n * `@wildo-ai/saas-backend-lib`, keyed by its literal resource-type string, with the explicit\n * `AnyResourceSpecificationConfig` annotation) — see that spec's header rather than a re-derivation here.\n */\nexport const billingSubscriptionMutationIntentsResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n mutationIntentFactory,\n BillingSubscriptionMutationIntentSchema,\n ({ schemaShape }) => ({\n purpose: 'Hold the one commercial change a subscription is undergoing, from admission through the provider call to local completion, so no second change can be admitted over it and no uncertain outcome is ever mistaken for no effect.',\n businessRole: 'Durable coordination slot that makes a plan change, cancellation or addon change happen at most once per accepted request, and gives every other writer of the subscription one row to lock first.',\n lifecycleRole: 'Created idle the first time any writer of the subscription needs it — an operation, the provider webhook projection, reconciliation or an erasure. Each admission advances its generation through prepared, dispatching and provider-applied to completed, or to rejected when the provider conclusively refused. An unknown outcome stays owned until recovery or an operator resolves it.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.BILLING,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'BillingSubscriptionMutationIntentSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'billingSubscriptionMutationIntentResourceConfigurationFactory',\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: 'BILLING_SUBSCRIPTION_MUTATION_INTENTS',\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 the subscription\\'s slot, derived from the application, the subscription resource and the subscription.',\n whyItMatters: 'Deriving it means every writer of one subscription addresses the same row, so a second concurrent slot cannot exist.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n identity: schemaShape.identity.objectSpec({\n meaning: 'The full identity the slot was created for: application, subscription resource, scope, billing account, provider and provider subscription.',\n whyItMatters: 'Stored separately from the derived identifier so a rebinding of the subscription to another account or provider is detected instead of silently sharing the slot.',\n }),\n generation: schemaShape.generation.numberSpec({\n meaning: 'How many changes have been admitted on this slot. Zero while none ever was.',\n whyItMatters: 'An admission names the generation its decision was based on; any other value refuses it, which is what stops two different previews from both confirming.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n nonce: schemaShape.nonce.stringSpec({\n meaning: 'Random value renewed on every admission.',\n whyItMatters: 'Together with the generation it fences a worker still holding an older admission away from the current one.',\n }),\n state: schemaShape.state.enumSpec({\n meaning: 'What is known about the current generation\\'s external effect.',\n whyItMatters: 'It decides whether a new change may be admitted, whether the provider may be called, and whether local completion is still owed.',\n enumDeclaration: {\n packageName: '@wildo-ai/saas-backend-lib',\n exportName: 'BillingSubscriptionMutationState',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n values: {\n [BillingSubscriptionMutationState.IDLE]: { meaning: 'No change holds the slot; it has never been admitted.' },\n [BillingSubscriptionMutationState.PREPARED]: { meaning: 'A change is admitted and has not contacted the provider; it may still be abandoned safely.' },\n [BillingSubscriptionMutationState.DISPATCHING]: { meaning: 'The provider is being called. A crash here may already have caused the change.' },\n [BillingSubscriptionMutationState.PROVIDER_APPLIED]: { meaning: 'The provider applied the change and its answer is recorded; the local write is still owed.' },\n [BillingSubscriptionMutationState.COMPLETED]: { meaning: 'The local write committed; a new change may be admitted.' },\n [BillingSubscriptionMutationState.REJECTED]: { meaning: 'The change was abandoned before dispatch, or the provider conclusively refused it without effect.' },\n [BillingSubscriptionMutationState.OUTCOME_UNKNOWN]: { meaning: 'The provider may have applied the change. Age alone never releases this state.' },\n },\n importance: FieldSemanticImportance.PRIMARY,\n }),\n version: schemaShape.version.numberSpec({\n meaning: 'Counter advanced by every write to the slot, including a writer merely locking it.',\n whyItMatters: 'A second guard beside the generation: an admission that read the slot cannot succeed if anything touched it since, such as an erasure claiming priority.',\n }),\n admissionKey: schemaShape.admissionKey.stringSpec({\n meaning: 'The identity of the request that admitted the current generation: a preview identifier or a request idempotency key.',\n whyItMatters: 'A replay of the same request finds its own generation or completion record instead of admitting the change again.',\n }),\n payload: schemaShape.payload.objectSpec({\n meaning: 'The exact command of the current generation: the operation, the provider request, the local patch, the basis it was accepted against, the principal it was admitted for, and the provider idempotency key.',\n whyItMatters: 'Recovery re-sends or reads back exactly this request; nothing is recomputed from catalogue or subscription state that may have moved.',\n }),\n providerReceipt: schemaShape.providerReceipt.objectSpec({\n meaning: 'The provider\\'s recorded answer for the current generation: applied with its response, or refused without effect with its evidence.',\n }),\n firstDispatchedAt: schemaShape.firstDispatchedAt.dateSpec({\n meaning: 'When the current generation first called the provider.',\n whyItMatters: 'Same-key resends are allowed only while the provider still retains the idempotency key, measured from this instant.',\n }),\n lastDispatchAttemptAt: schemaShape.lastDispatchAttemptAt.dateSpec({\n meaning: 'When the current generation last called the provider, including a resend.',\n }),\n resendCount: schemaShape.resendCount.numberSpec({\n meaning: 'How many times the current generation re-sent its provider request after an uncertain outcome.',\n }),\n erasurePriority: schemaShape.erasurePriority.objectSpec({\n meaning: 'A data-subject erasure\\'s claim on the slot: when it was requested and which erasure request it belongs to.',\n whyItMatters: 'While present, no other change may be admitted, and the erasure never takes over a change already in flight.',\n }),\n operatorResolution: schemaShape.operatorResolution.objectSpec({\n meaning: 'How an operator resolved a generation whose provider outcome stayed unknown, with a mandatory justification.',\n }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the slot was first created.' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'When the slot was last written.' }),\n },\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Create a subscription\\'s idle slot the first time any writer of the subscription needs it.',\n outcome: 'Every writer of the subscription has a row to lock.',\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The idle slot was created and is returned.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'Another writer created the slot concurrently; the existing slot is read instead.' }],\n idempotent: true,\n variants: {\n [BillingSubscriptionMutationIntentVariantKey.INTERNAL]: {\n purpose: 'Let the billing mutation store create the slot, always outside a database transaction.',\n },\n },\n },\n [Op.READ]: {\n purpose: 'Read a subscription\\'s slot.',\n outcome: 'The caller learns which generation and state the subscription\\'s mutation is in.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The slot was found and is returned.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No writer of the subscription has needed the slot yet.' }],\n idempotent: true,\n variants: {\n [BillingSubscriptionMutationIntentVariantKey.INTERNAL]: {\n purpose: 'Let the billing mutation store read the slot before admitting or recovering a change.',\n },\n },\n },\n [Op.UPDATE]: {\n purpose: 'Advance the slot through one guarded transition.',\n outcome: 'Exactly one writer moves the slot; a stale or competing writer changes nothing.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The transition applied and the slot is returned.' }],\n errorScenarios: [{ code: HttpResponseStatusCode.CONFLICT_409, when: 'The slot moved since it was read; the transition is refused, never applied over it.' }],\n idempotent: false,\n variants: {\n [BillingSubscriptionMutationIntentVariantKey.INTERNAL]: {\n purpose: 'Let the billing mutation store admit, dispatch, record the provider\\'s answer, lock and complete generations.',\n },\n },\n },\n },\n\n businessConstraints: [\n 'A lost provider response is never evidence that the change did not happen: only the provider\\'s answer, a conclusive readback, or an audited operator resolution releases an uncertain generation.',\n 'Every writer of a subscription locks this slot before the subscription row, so all writers serialize in one order.',\n 'The slot is reused by every generation. The fact that a request completed lives on its completion record, which survives that reuse.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|