@wildo-ai/saas-specifications 1.1.8 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/_catalogs/index.d.ts.map +1 -1
- package/dist/esm/_catalogs/index.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/aggregate-rating.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/aggregate-rating.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/article.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/article.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/blog-posting.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/blog-posting.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/breadcrumb-list.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/breadcrumb-list.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/faq-page.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/faq-page.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/offer.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/offer.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/organization.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/organization.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/product.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/review.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/review.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/website.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/website.catalog-spec.js.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity-validation.d.ts.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity-validation.js.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.family-aspects.js.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-maturity/application-maturity.schemas.js.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +9 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.js +9 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-behaviors.schemas.js.map +1 -1
- package/dist/esm/_core/assertions/assertion-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-references.schemas.js.map +1 -1
- package/dist/esm/_core/assertions/assertion-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-asset.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-audience.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-audience.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-generation.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-logo-direction.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-logo-direction.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-name-choice.d.ts +198 -0
- package/dist/esm/_core/brand/brand-name-choice.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-name-choice.js +313 -0
- package/dist/esm/_core/brand/brand-name-choice.js.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts +148 -0
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js +75 -0
- package/dist/esm/_core/brand/brand-name-screening-generation.schemas.js.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts +57 -0
- package/dist/esm/_core/brand/brand-name-screening-validation.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening-validation.js +178 -0
- package/dist/esm/_core/brand/brand-name-screening-validation.js.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts +172 -0
- package/dist/esm/_core/brand/brand-name-screening-view.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening-view.js +88 -0
- package/dist/esm/_core/brand/brand-name-screening-view.js.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening.family-aspects.d.ts +3 -0
- package/dist/esm/_core/brand/brand-name-screening.family-aspects.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening.family-aspects.js +42 -0
- package/dist/esm/_core/brand/brand-name-screening.family-aspects.js.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts +438 -0
- package/dist/esm/_core/brand/brand-name-screening.schemas.d.ts.map +1 -0
- package/dist/esm/_core/brand/brand-name-screening.schemas.js +434 -0
- package/dist/esm/_core/brand/brand-name-screening.schemas.js.map +1 -0
- package/dist/esm/_core/brand/brand-name.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-name.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts +23 -0
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.js +32 -0
- package/dist/esm/_core/brand/brand-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-visual-tone.schemas.js.map +1 -1
- package/dist/esm/_core/brand/brand.family-aspects.d.ts.map +1 -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 +20 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +61 -0
- 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 +105 -0
- 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 +137 -21
- 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 +113 -12
- 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 +18 -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.map +1 -1
- 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-generation.schemas.d.ts +28 -4
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js +53 -5
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts +24 -4
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js +64 -4
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts +59 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.js +64 -0
- package/dist/esm/_core/business-model-lite/business-model-lite-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model-references.schemas.js.map +1 -1
- package/dist/esm/_core/business-model-lite/business-model.family-aspects.d.ts.map +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 +3 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js +16 -0
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.js.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts +7 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.js +34 -28
- package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.family-aspects.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +75 -4
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +62 -4
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-completeness-statement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-completeness-statement.schemas.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-set.schemas.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +7 -0
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/document-fact-specification-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts +193 -0
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js +414 -0
- package/dist/esm/_core/compliance-documents/launch-blockers.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +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.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.js.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.js.map +1 -1
- package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
- package/dist/esm/_core/definition-specification-validators.js.map +1 -1
- package/dist/esm/_core/definition-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/definition-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts +32 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js +41 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-generation.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts +40 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js +153 -10
- package/dist/esm/_core/domain-plan/domain-plan-output-set-validation.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts +178 -3
- 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 +191 -3
- 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.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +21 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/error-message-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/error-message-specification.schemas.js.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts +17 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js +21 -5
- package/dist/esm/_core/experience-plan/experience-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts +7 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js +39 -1
- package/dist/esm/_core/experience-plan/experience-plan-validation.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js +31 -5
- package/dist/esm/_core/experience-plan/experience-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +74 -9
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +60 -7
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-authored-metadata.schemas.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-charter.schemas.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-persona-validation.js.map +1 -1
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/expert-personas/expert-personas.family-aspects.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/_core/family-aspects.registry.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.registry.js +2 -0
- package/dist/esm/_core/family-aspects.registry.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +24 -0
- package/dist/esm/_core/family-aspects.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js +20 -0
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +14 -14
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-validation.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-validation.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-drafts.family-aspects.d.ts.map +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-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-generation.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-validation.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts-validation.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.map +1 -1
- package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-specification.schemas.js.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.js.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +7 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +7 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-validation.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +5 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
- package/dist/esm/_core/market/inherit-from.d.ts.map +1 -1
- package/dist/esm/_core/market/inherit-from.js.map +1 -1
- package/dist/esm/_core/market/is-benefit-available.d.ts.map +1 -1
- package/dist/esm/_core/market/is-benefit-available.js.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-category.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-category.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-context-block.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-context-block.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.d.ts +7 -0
- package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.js +7 -0
- package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-language-coverage.d.ts +62 -0
- package/dist/esm/_core/market/market-language-coverage.d.ts.map +1 -0
- package/dist/esm/_core/market/market-language-coverage.js +48 -0
- package/dist/esm/_core/market/market-language-coverage.js.map +1 -0
- package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-positioning.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-positioning.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-scoring.d.ts.map +1 -1
- package/dist/esm/_core/market/market-scoring.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +28 -28
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-validation.js +2 -2
- package/dist/esm/_core/market/market-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot.schemas.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -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 +4 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/milestone-specification.schemas.js.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts +8 -3
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js +6 -3
- package/dist/esm/_core/placement-plan/placement-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +10 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +40 -1
- 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.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts +27 -0
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +41 -0
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/product-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/product-specification.schemas.js.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
- package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/required-features-specification.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +3 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -2
- package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts +1 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js +2 -0
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts +41 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.d.ts.map +1 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js +63 -0
- package/dist/esm/_core/requirements/requirements-pain-coverage.js.map +1 -0
- package/dist/esm/_core/requirements/requirements-references.schemas.d.ts +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts +16 -0
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js +12 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts +13 -2
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js +32 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +65 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js +53 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.js +2 -0
- package/dist/esm/_core/requirements/requirements.family-aspects.js.map +1 -1
- package/dist/esm/_core/resource-specification-registry-alignment.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification-registry-alignment.js.map +1 -1
- 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/resource-type-member-name.types.d.ts.map +1 -1
- package/dist/esm/_core/resource-type-member-name.types.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-references.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/roadmap/roadmap.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap.family-aspects.js.map +1 -1
- package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/role-specification.schemas.js.map +1 -1
- package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/sidebar-section-specification.schemas.js.map +1 -1
- package/dist/esm/_core/system-email-template-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/system-email-template-specification.schemas.js.map +1 -1
- package/dist/esm/_core/translation-slot-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/translation-slot-specification.schemas.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.map +1 -1
- package/dist/esm/_core/utils/family-ref-stamping.d.ts.map +1 -1
- package/dist/esm/_core/utils/family-ref-stamping.js.map +1 -1
- package/dist/esm/_core/utils/retention-clock-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/retention-clock-field-specs.js.map +1 -1
- package/dist/esm/_core/utils/retention-marker-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/retention-marker-field-specs.js.map +1 -1
- package/dist/esm/_core/utils/validate-field-shapes.d.ts.map +1 -1
- package/dist/esm/_core/utils/validate-field-shapes.js.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-constraint.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-idea.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-idea.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-mission.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-mission.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-problem.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-problem.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-references.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-snapshot.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-success-criterion.schemas.js.map +1 -1
- package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +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 +2 -0
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts +7 -1
- package/dist/esm/_core/website-plan/website-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan-validation.js +16 -1
- package/dist/esm/_core/website-plan/website-plan-validation.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js +5 -1
- package/dist/esm/_core/website-plan/website-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +54 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.js +25 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
- package/dist/esm/_core/zod-core-nameability.d.ts.map +1 -1
- package/dist/esm/_core/zod-core-nameability.js.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +81 -2
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +83 -5
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/application-creation/application-document-release-policy-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.js +2 -0
- package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/creator-inputs.family-aspects.d.ts.map +1 -1
- package/dist/esm/application-creation/creator-inputs.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.js.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js +7 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.js.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +114 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +136 -8
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/specification-content-validation-state.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/specification-content-validation-state.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js +1 -0
- package/dist/esm/application-creation/structured-artifact-landing.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +8 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +8 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-publication.schemas.js.map +1 -1
- package/dist/esm/assurance/application-document-release-set.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-document-release-set.schemas.js.map +1 -1
- package/dist/esm/assurance/application-risk-register.family-aspects.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-register.family-aspects.js.map +1 -1
- package/dist/esm/assurance/application-risk-register.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-register.schemas.js.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts +20 -0
- package/dist/esm/assurance/application-risk-signals.derivations.d.ts.map +1 -1
- package/dist/esm/assurance/application-risk-signals.derivations.js +85 -0
- package/dist/esm/assurance/application-risk-signals.derivations.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-judgement.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-external-framework-mapping.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-external-framework-mapping.js.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-sources.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/document-publication.family-aspects.d.ts.map +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.map +1 -1
- package/dist/esm/assurance/document-release-set.family-aspects.js.map +1 -1
- package/dist/esm/assurance/governed-document-release.d.ts +9 -0
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
- package/dist/esm/assurance/governed-document-release.js +9 -0
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/assurance.exports.d.ts.map +1 -1
- package/dist/esm/assurance.exports.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +10 -1
- 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.map +1 -1
- package/dist/esm/engine/_bootstrap.js.map +1 -1
- package/dist/esm/engine/applications/index.d.ts.map +1 -1
- package/dist/esm/engine/applications/index.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-metadata.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +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.map +1 -1
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/index.js.map +1 -1
- package/dist/esm/engine/auth/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/index.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/consumable-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/index.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-api-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/organization-onboarding-operations.resource.specification.js.map +1 -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.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/platform-access-grants.resource.specification.js.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.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/scim-tokens.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-dlq.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/siem-delivery-outbox.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/siem-export-config.resource.specification.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/engine/auth/resources/sso-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/index.d.ts.map +1 -1
- package/dist/esm/engine/billing/index.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.map +1 -1
- package/dist/esm/engine/billing/resources/billing-api-reference-examples.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-api-reference-examples.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-completions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-subscription-mutation-intents.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/index.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.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.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/index.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/index.js.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/user-governed-document-acceptances.resource.specification.js.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +3 -0
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-sub-domain.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/errors/index.d.ts.map +1 -1
- package/dist/esm/engine/errors/index.js.map +1 -1
- package/dist/esm/engine/features/_engine-feature-shared.d.ts.map +1 -1
- package/dist/esm/engine/features/_engine-feature-shared.js.map +1 -1
- package/dist/esm/engine/features/advanced-analytics.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/advanced-analytics.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/audit-logs.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/audit-logs.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.d.ts.map +1 -1
- package/dist/esm/engine/features/core-limits.feature.specifications.js.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/custom-branding.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/directory-provisioning.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/directory-provisioning.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/index.d.ts.map +1 -1
- package/dist/esm/engine/features/index.js.map +1 -1
- package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/features/resources/index.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.map +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.map +1 -1
- package/dist/esm/engine/features/security-event-export.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/security-event-export.feature.specification.js.map +1 -1
- package/dist/esm/engine/features/single-sign-on.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/single-sign-on.feature.specification.js.map +1 -1
- package/dist/esm/engine/files/index.d.ts.map +1 -1
- package/dist/esm/engine/files/index.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.map +1 -1
- package/dist/esm/engine/files/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/index.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-bar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-button.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/action-button.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group-separator.frontend-component.specification.d.ts.map +1 -1
- 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-text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/actions/button-group-text.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.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.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-artifact.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-code-block.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-code-block.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-diff-block.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-image.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-image.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-web-preview.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/artifacts/ai-web-preview.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-conversation.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-message.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-message.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-prompt-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-sources.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-sources.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestion.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestion.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestions.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/chat/ai-suggestions.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-decision-request.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-decision-request.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-human-input-request.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-human-input-request.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/execution/ai-confirmation.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/execution/ai-confirmation.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/execution/ai-queue.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/execution/ai-queue.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/execution/ai-task.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/execution/ai-task.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/execution/ai-tool.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/execution/ai-tool.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-canvas.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-connection.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-connection.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-controls.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-controls.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-edge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-edge.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-panel.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-panel.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-toolbar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/graph/ai-toolbar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-capabilities.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-capabilities.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-card.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-card.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-prompt-spec.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-agent-prompt-spec.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-context.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-context.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-model-selector.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-model-selector.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-open-in-chat.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/meta/ai-open-in-chat.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/shared/ai-loader.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/shared/ai-loader.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/shared/ai-shimmer.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/shared/ai-shimmer.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-chain-of-thought.frontend-component.specification.d.ts.map +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/ai-elements/trace/ai-checkpoint.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-checkpoint.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-inline-citation.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-inline-citation.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-plan.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-plan.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-reasoning.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/trace/ai-reasoning.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-consent-gate.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-document-acceptance-gate.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-error-boundary.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-error-boundary.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-home.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-home.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-router-error-boundary.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-router-error-boundary.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-settings-hub.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-surface-error-boundary.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layouts-test-component.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layouts-test-component.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-activation-progress.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-dashboard.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/lifecycle-home-welcome-back.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-file-upload-grant.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts +4 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js +22 -0
- package/dist/esm/engine/frontend-components/app/public-layout-legal-notice.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-main-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-static-content-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-static-content-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/public-layout-terms.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.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.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-enrollment-required.frontend-component.specification.d.ts.map +1 -1
- 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.d.ts.map +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-mfa-challenge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-mfa-challenge.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-oauth-consent.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-oauth-consent.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logged-out.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logged-out.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logout-confirm.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-oauth-logout-confirm.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-one-off-session.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-one-off-session.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-organization-onboarding.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-auth.frontend-component.specification.d.ts.map +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-confirm-email.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-confirm-email.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-invitation.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-password-lost.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/auth/public-layout-user-password-lost.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.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-invoice-history.frontend-component.specification.d.ts.map +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.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-portal-link.frontend-component.specification.d.ts.map +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.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-subscription-status.frontend-component.specification.d.ts.map +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.d.ts.map +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/avatar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/avatar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/badge.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-details.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-details.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.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-term.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/description-term.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/duration.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/_display-field-spec.factory.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/_display-field-spec.factory.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-address.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-bigdecimal.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-boolean.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-boolean.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-code.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-code.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-date.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-date.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-datetime.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-datetime.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-duration.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-duration.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-enum.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-enum.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-audio.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-audio.frontend-component.specification.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-gallery.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-gallery.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-image.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-image.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-video.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file-video.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-file.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-foreign-key.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.extra-props.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.extra-props.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-money.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-phone.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-phone.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-bigdecimal.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-date.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-date.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-datetime.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-money.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-money.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-number.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-number.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-time.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-range-time.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-time.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-time.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/identifier.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/kbd.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/notification-indicator.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/notification-indicator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/timeline.frontend-component.specification.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/danger-zone.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/danger-zone.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/empty-state.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/empty-state.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/error-display.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/error-display.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-limit-indicator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-lock-badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-lock-badge.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-dialog.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-dialog.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-prompt.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/features/feature-unavailable-prompt.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/loading-overlay.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/loading-overlay.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/loading-spinner.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/loading-spinner.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/operations-confirm-critical.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/operations-confirm-critical.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/progress.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/progress.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/skeleton.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/skeleton.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/toast.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/feedback/toast.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-actor.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-actor.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-agent-config.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-agent-config.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-artifact-browser.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-artifact-browser.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-plan.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-plan.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-stream.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-execution-stream.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-execution.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-execution.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-flow-node.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-system-catalog.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-detail.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-detail.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-memory.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-task-memory.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/_framework-layout-form-field-spec.factory.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/_framework-layout-form-field-spec.factory.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/_low-level-preset-wrapper-spec.factory.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/_low-level-preset-wrapper-spec.factory.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/autosave-indicator.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/autosave-indicator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-content.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-content.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-description.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-description.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-error.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-error.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-label.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-label.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-separator.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-separator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-title.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field-title.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/field.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-control.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-control.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-description.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-description.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-field.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-field.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-item.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-item.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-label.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-label.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-message.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-message.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-root.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/chromes/form-root.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox-multiple.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/combobox.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/checkbox.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/checkbox.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/switch.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/switch.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle-group-boolean.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle-group-boolean.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/boolean/toggle.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/calendar-day-button.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/calendar-day-button.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/calendar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/calendar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/date-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datepicker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/datetime-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/date-time/time-range-picker.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/radio-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/radio-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/radio-item.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/radio-item.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select-multiple.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/select.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/enum/toggle-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/file/file-upload.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/file/file-upload.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/file/image-crop.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/file/image-crop.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group-addon.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group-addon.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group-button.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group-button.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group-text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group-text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group-textarea.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group-textarea.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/number/range-slider.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/number/range-slider.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/number/slider.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/number/slider.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/color-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/inline-edit-text.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/input-otp.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/markdown-editor.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/password-input.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/password-input.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/controls/string/textarea.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-bigdecimal.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-bigdecimal.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-boolean.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-boolean.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-code.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-code.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-date.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-date.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-datetime.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-datetime.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-duration.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-duration.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-enum.frontend-component.specification.d.ts.map +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.d.ts.map +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/form/fields/form-field-money.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-money.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-number.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-number.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-phone.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-phone.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-bigdecimal.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-bigdecimal.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-date.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-date.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-datetime.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-datetime.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-money.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-money.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-number.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-number.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-time.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-range-time.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-time.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-time.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/form-field-foreign-key.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/form-field-foreign-key.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-announcement.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-announcement.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-badge.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-banner.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-banner.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-card.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-card.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-checklist-item.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-checklist-item.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-checklist.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-checklist.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-modal.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-modal.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-onboarding-view.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-onboarding-view.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-survey.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-survey.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-tooltip.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-tooltip.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-tour.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/guidance/guidance-tour.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/chart-echarts.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/chart-echarts.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/chart-widget.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/chart-widget.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-chart.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-composite.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-composite.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-execution.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-execution.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-flows-actors.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-full-custom.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-full-custom.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-not-found.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/high-level-views/high-level-views-not-found.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +1 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +3 -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.map +1 -1
- package/dist/esm/engine/frontend-components/internal/_tier2-virtual-slot-spec.factory.js.map +1 -1
- package/dist/esm/engine/frontend-components/layout/aspect-ratio.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout/aspect-ratio.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/layout/carousel.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout/carousel.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/layout/divider.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout/divider.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/layout/resizable-panel-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout/resizable-panel-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/layout/scroll-area.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout/scroll-area.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/layout/separator.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout/separator.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-group.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-group.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-legend.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section-legend.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout-internals/low-level-content-section.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/layout-internals/low-level-overlay-container.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/layout-internals/low-level-overlay-container.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/activity-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/activity-bar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/command-menu.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/command-menu.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/control-panel.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/control-panel.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/menubar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/menubar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/navigation-back.frontend-component.specification.d.ts.map +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/navigation/app-level/notification-center.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/notification-center.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/quick-action-button.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/quick-action-button.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/quick-switcher.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/quick-switcher.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/sidebar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/status-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/status-bar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/toolbar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/toolbar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/user-dropdown.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/app-level/utility-panel.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/breadcrumb.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/breadcrumb.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/command.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/command.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/menu-bar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/menu-bar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/navbar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/navbar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/sidebar.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/navigation/sidebar.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/containers/alert-dialog.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/containers/alert-dialog.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/containers/alert.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/containers/alert.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/containers/dialog.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/containers/dialog.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/containers/drawer.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/containers/drawer.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/containers/sheet.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/containers/sheet.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/floating/context-menu.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/floating/context-menu.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/floating/dropdown-menu.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/floating/dropdown-menu.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/floating/hover-card.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/floating/hover-card.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/floating/popover.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/floating/popover.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/floating/tooltip.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/overlays/floating/tooltip.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-achievement-badge.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/progression/progression-achievement-badge.frontend-component.specification.js.map +1 -1
- 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.map +1 -1
- package/dist/esm/engine/frontend-components/resources/_framework-layout-resource-layout-spec.factory.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/_framework-layout-resource-layout-spec.factory.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-action.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-action.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-breadcrumb.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-breadcrumb.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-container-dialogs.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-container-dialogs.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-container-nested.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-container-nested.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-create.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-create.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-danger-zone.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-danger-zone.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-filters.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-header.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list-table.frontend-component.preset-specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list-table.frontend-component.preset-specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-list.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-operation-bulk.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-operation-bulk.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-operations-items.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-pagination.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-pagination.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read-expandable.frontend-component.preset-specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read-expandable.frontend-component.preset-specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary-table-row.frontend-component.preset-specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary-table-row.frontend-component.preset-specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read-summary.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-read.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-search-table.frontend-component.preset-specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-search-table.frontend-component.preset-specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-search.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-search.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-update.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-update.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit-search.frontend-component.preset-specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit-search.frontend-component.preset-specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.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.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.map +1 -1
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/collapsible.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/pagination.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/pagination.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/stacked-layout.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/stacked-layout.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/table.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/table.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.map +1 -1
- package/dist/esm/engine/frontend-components/typography/code.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/code.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/heading.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/heading.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/label.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/label.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/link.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/strong.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/strong.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/subheading.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/subheading.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text-link.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/typography/text-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.map +1 -1
- package/dist/esm/engine/full-custom-views/index.d.ts.map +1 -1
- package/dist/esm/engine/full-custom-views/index.js.map +1 -1
- package/dist/esm/engine/guidance/index.d.ts.map +1 -1
- package/dist/esm/engine/guidance/index.js.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/index.js.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/index.d.ts.map +1 -1
- package/dist/esm/engine/index.js.map +1 -1
- package/dist/esm/engine/infrastructure/index.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/index.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js +110 -0
- package/dist/esm/engine/infrastructure/resources/document-sequence-counters.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/index.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +1 -0
- 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.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.d.ts +1 -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.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/index.js.map +1 -1
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/index.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/authentication.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/authentication.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/organization.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/security.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.js.map +1 -1
- package/dist/esm/engine/organizations/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -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.map +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.map +1 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +1 -1
- package/dist/esm/engine/providers/_engine-provider-shared.d.ts.map +1 -1
- package/dist/esm/engine/providers/_engine-provider-shared.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.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.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.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.map +1 -1
- package/dist/esm/engine/providers/google-places.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google-places.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js.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.map +1 -1
- package/dist/esm/engine/providers/index.d.ts.map +1 -1
- package/dist/esm/engine/providers/index.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.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.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.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.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.map +1 -1
- package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/recaptcha.provider.specification.js.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.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.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.map +1 -1
- package/dist/esm/engine/roles/_engine-role-shared.d.ts.map +1 -1
- package/dist/esm/engine/roles/_engine-role-shared.js.map +1 -1
- package/dist/esm/engine/roles/app-admin-billing-manager.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-admin-billing-manager.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-admin-marketing-editor.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-admin-marketing-editor.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-admin-super-admin.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-admin-super-admin.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-admin-viewer.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-admin-viewer.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-anonymous.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-anonymous.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-audit-evidence-reader.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-public.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-public.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-user.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-user.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/roles/org-admin.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-admin.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-guest.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-guest.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-manager.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-manager.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-member.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-member.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-owner.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-owner.role.specification.js.map +1 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +1 -1
- package/dist/esm/engine/users/index.d.ts.map +1 -1
- package/dist/esm/engine/users/index.js.map +1 -1
- 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.map +1 -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 +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/index.js.map +1 -1
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-identity-links.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self-profiles.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-chapters.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts +2 -2
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-plan-generation.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-plan-validation.d.ts.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-plan-validation.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-plan.family-aspects.js.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/application-documentation-plan.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-api-reference-targets.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-api-reference-targets.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-assets.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-environment-identity.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-environment-identity.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-evidence.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.js.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.map +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.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-units.schemas.js.map +1 -1
- package/dist/esm/technical-documentation.exports.d.ts.map +1 -1
- package/dist/esm/technical-documentation.exports.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +0 -24
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts.map +0 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +0 -24
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +0 -1
package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-provider-credentials.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/auth/resources/user-provider-credentials.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,kCAAkC,EAClC,iCAAiC,EACjC,oBAAoB,EACpB,4BAA4B,EAC5B,kEAAkE,GACnE,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,MAAM,qBAAqB,GAAG,wCAAwC,CAAC;AACvE,MAAM,0BAA0B,GAAG,iCAAiC,CAAC;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EAAE,WAAW,EAAE,wBAAwB,EAAE;oBACnG,QAAQ,EAAE,yBAAyB;oBACnC,SAAS,EAAE,sBAAsB,CAAC,MAAM;iBACzC,CAAC;SACH;QACD,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;YACX,OAAO,EAAE,wCAAwC;YACjD,OAAO,EACL,iQAAiQ;YACnQ,SAAS,EAAE,iHAAiH;YAC5H,UAAU,EAAE,uBAAuB,CAAC,OAAO;YAC3C,gBAAgB,EAAE;gBAChB,EAAE,IAAI,EAAE,sBAAsB,CAAC,cAAc,EAAE,OAAO,EAAE,sCAAsC,EAAE;aACjG;YACD,cAAc,EAAE;gBACd,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,kFAAkF,EAAE;aACzI;YACD,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE,CAAC;oBACT,KAAK,EAAE,8BAA8B;oBACrC,OAAO,EAAE,EAAE,wBAAwB,EAAE,qBAAqB,EAAE;oBAC5D,SAAS,EAAE,sBAAsB,CAAC,cAAc;iBACjD,CAAC;SACH;KACF;IAED,QAAQ,EAAE;QACR,MAAM,EAAE;YACN,OAAO,EAAE,qMAAqM;YAC9M,aAAa,EAAE,8KAA8K;YAC7L,cAAc,EAAE,iNAAiN;YACjO,cAAc,EAAE,wJAAwJ;YACxK,WAAW,EAAE,gYAAgY;SAC9Y;QACD,UAAU,EAAE;YACV,OAAO,EAAE,qOAAqO;SAC/O;KACF;IACD,mBAAmB,EAAE;QACnB,0pBAA0pB;QAC1pB,2UAA2U;QAC3U,kMAAkM;QAClM,ijBAAijB;QACjjB,oVAAoV;KACrV;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,SAAS,EAAE,CACzD,CAAC","sourcesContent":["/**\n * Resource: `userProviderCredentials` — Wildo SaaS engine specification\n * (user-self-scoped, backend-managed secret).\n *\n * Inputs:\n * - Schema: engine/saas-models/src/security/connected-accounts/provider-credentials.shared.schemas.ts\n * → `UserProviderCredentialSchema`\n * - Factory: engine/saas-models/src/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.ts\n * → `userProviderCredentialsResourceConfiguration_InitializationFactory`\n * - Custom operations: none\n * - UI presets: `engine/presets-components/src/config/resources/security.resource-presets.tsx`\n * → `USER_PROVIDER_CREDENTIALS`, reached through the `my-provider-credentials` settings destination.\n */\n\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n ProviderCredentialSlotWriteRefusal,\n ProviderCredentialValidationState,\n ResourcePrimaryScope,\n UserProviderCredentialSchema,\n userProviderCredentialsResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst CREDENTIAL_EXAMPLE_ID = 'usrprovcred_01J7K2M4N6P8Q0R2S4T6V8W0XY';\nconst CREDENTIAL_EXAMPLE_USER_ID = 'user_01J4M1Z2X3C4V5B6N7M8Q9R0ST';\n\n/**\n * The record as a client sees it — with the value MASKED.\n *\n * That mask is not decoration in an example: `secretValue` is `.isWriteOnlySecret()`, so the\n * framework redacts it at the client boundary on every read. Showing a plausible token here would\n * teach an integrator that a credential can be read back, which is the one thing this resource\n * guarantees it cannot.\n */\nconst CREDENTIAL_RECORD_EXAMPLE = {\n _id: CREDENTIAL_EXAMPLE_ID,\n userId: CREDENTIAL_EXAMPLE_USER_ID,\n providerRef: 'openai',\n connectionRef: 'openai',\n secretSlug: 'apiKey',\n secretValue: '••••••••',\n enabled: true,\n validationState: ProviderCredentialValidationState.VALID,\n lastValidatedAt: '2026-09-02T11:14:00.000Z',\n lastUsedAt: '2026-09-02T11:14:00.000Z',\n secretSetAt: '2026-08-30T09:00:00.000Z',\n description: 'My personal key, so my drafts are billed to me.',\n createdAt: '2026-08-30T09:00:00.000Z',\n updatedAt: '2026-09-02T11:14:00.000Z',\n} as const;\n\nconst CREDENTIAL_PAGE_EXAMPLE = {\n data: [CREDENTIAL_RECORD_EXAMPLE],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n} as const;\n\nexport const userProviderCredentialsResourceSpecification = resourceSpecification(\n userProviderCredentialsResourceConfiguration_InitializationFactory,\n UserProviderCredentialSchema,\n ({ schemaShape }) => ({\n purpose:\n \"One PERSON's OWN credential toward a third-party provider — their personal API key, the account they connected themselves.\",\n businessRole:\n \"The record that lets an application act as an individual toward a third party rather than as the tenant or as itself. It is what makes a personal integration possible — work attributed to the person at the vendor, billed to their account, and carrying only the permissions they granted.\",\n lifecycleRole:\n 'Created by the holder when they connect a provider, rotated in place when they reissue the credential at the vendor, disabled to stop the application acting as them without discarding the credential, and removed when they disconnect the provider or their own account is erased.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'UserProviderCredentialSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'userProviderCredentialsResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'USER_PROVIDER_CREDENTIALS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n notes: [\n 'The stored value is SEALED, never the plaintext the holder typed: an AES-256-GCM envelope whose key is derived from the application\\'s own `secrets.security.session.encryptionKey`. The USER scope selects a DIFFERENT key domain from the organization-owned sibling, so a person\\'s envelope cannot be opened as a tenant\\'s even with a matching owner id — and the associated data binds it to (userId, connectionRef, secretSlug), which is the key of the row (#1670), so a ciphertext copied into another person\\'s row fails to open rather than silently working.',\n 'Every door is APP_USER and there is deliberately NO administrative variant — not an organization administrator\\'s, not a platform operator\\'s. Consenting to STORE a personal credential is not consenting for somebody else to spend it, and the vendor records the resulting act as the holder\\'s, which no later audit event makes reversible.',\n 'There is NO resolution fallback. A person who has connected nothing gets a refusal naming what to connect — never the deployment\\'s shared principal and never their organization\\'s credential. Substituting either would attribute the act to a party that granted no permission for it.',\n 'A row appears in TWO ways, and only one of them is an HTTP write. A credential you PASTE arrives through the Connect screen, which offers only the providers this application declares and, for each, only the credential slots that provider declares, and stores it through the connection controller\\'s declared-secret door. `CREATE` below performs the same write for an API caller; the application\\'s own screens do not offer it, because a free-text slot is how a value lands where nothing will ever read it (#1040). A credential a vendor MINTS arrives through the authorization exchange: you authorize on the vendor\\'s own consent screen, come back through one shared callback, and the application records the grant — you never see or type the token. The second path is why this resource permits a system-tier create at all.',\n 'Set, rotate, use and delete are audited as `USER_PROVIDER_CREDENTIAL_*`, annotated `WILDO.IDENTITY.DELEGATED_AUTHORIZATION`. None of the four payload schemas has a field the value could occupy, and none carries an organization — a person\\'s connections must not reach their tenant\\'s SIEM stream.',\n ],\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Identifier for one stored credential.',\n whyItMatters: 'The address for a rotation or a revocation, and the id every audit event carries.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'The person who owns this credential.',\n whyItMatters:\n 'The isolation axis, and here it is also the SUBJECT. Injected by the framework from the authenticated scope rather than read from the payload, it scopes every read, and it is bound into the encryption envelope — so a credential cannot be read, spent or moved outside the person who set it. It is what makes \"another user\\'s key\" unreachable rather than merely filtered.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n providerRef: schemaShape.providerRef.stringSpec({\n meaning: 'The provider this credential authenticates toward — `openai`, `slack`, a generated provider package\\'s ref.',\n whyItMatters: 'What tells the holder which third parties they have granted the application authority toward, and which ref\\'s connect flow or write CREATED the row. It is no longer part of the key (#1670): `connectionRef` is.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n connectionRef: schemaShape.connectionRef.stringSpec({\n meaning: 'The connection this credential belongs to — the grant a set of provider refs of one vendor spends. Derived by the server from `providerRef`, never supplied by a client, and equal to it for every ref an application has not declared as part of a shared connection.',\n whyItMatters:\n 'Half of the credential\\'s identity for its holder, and what the sealed value is bound to. Every ref of one connection resolves this one row, so a person authorizes a vendor once rather than once per ref. It cannot change: a row stored under one connection is replaced by reconnecting, never moved (#1670).',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n secretSlug: schemaShape.secretSlug.stringSpec({\n meaning: \"The provider's `secretsContract` KEY this value satisfies (`accessToken`) — not the slot's environment-variable spelling, which a provider regeneration may rename.\",\n whyItMatters:\n 'A provider declaring several secrets (an API key and a signing secret) gets one row per slug, so the holder can rotate one without disturbing the other.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n secretValue: schemaShape.secretValue.stringSpec({\n meaning: 'The credential itself. Supplied in plaintext on write, stored SEALED, and never returned — a read renders a fixed mask.',\n whyItMatters:\n 'Echoing the mask back on an update means \"keep the stored secret\", which is how the holder edits a note without retyping the credential. Sending a real value replaces it and is recorded as a rotation.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n enabled: schemaShape.enabled.booleanSpec({\n meaning: 'Whether this credential may be spent.',\n whyItMatters:\n 'Disabling stops the application acting as this person without discarding the credential. Unlike the tenant-owned sibling, a disabled credential does NOT degrade to a shared principal — the call refuses, which is the intended outcome: somebody switching their own connection off is asking the application to stop acting as them.',\n }),\n validationState: schemaShape.validationState.enumSpec({\n meaning: 'Whether the provider has accepted this credential on its last use.',\n whyItMatters:\n 'Separates \"never tried\" from \"tried and rejected\", which a boolean would merge into the same falsy answer. For a personal credential this badge is the only notice the holder will get that their integration has stopped working — nobody else can rotate it for them.',\n values: {\n [ProviderCredentialValidationState.UNVALIDATED]: {\n meaning: 'Stored, never exercised against the provider. Every credential starts here — storing one proves only that somebody typed it.',\n },\n [ProviderCredentialValidationState.VALID]: {\n meaning: 'The provider accepted it on its last use.',\n },\n [ProviderCredentialValidationState.INVALID]: {\n meaning: 'The provider rejected it on its last use; the integration is down until the holder rotates it.',\n },\n },\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ProviderCredentialValidationState',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n }),\n validationError: schemaShape.validationError.stringSpec({\n meaning: \"The provider's own message about why the last use failed.\",\n whyItMatters:\n 'Turns \"it stopped working\" into a vendor-attributed reason the holder can act on. Server-owned: it describes the credential\\'s status and is never derived from the credential.',\n }),\n lastValidatedAt: schemaShape.lastValidatedAt.dateSpec({\n meaning: 'When the provider last accepted or rejected this credential.',\n whyItMatters: 'How current the validation state is — a `VALID` from three months ago says less than one from this morning.',\n temporalRole: 'modified',\n }),\n lastUsedAt: schemaShape.lastUsedAt.dateSpec({\n meaning: 'When this credential was last resolved for an outbound call.',\n whyItMatters:\n 'Shows the holder what the application is actually doing as them. A credential nothing has spent in months is the one safest to disconnect, and the one riskiest to leave live.',\n temporalRole: 'modified',\n }),\n secretSetAt: schemaShape.secretSetAt.dateSpec({\n meaning: 'When the stored VALUE last changed.',\n whyItMatters: 'Distinct from `updatedAt`, which any field write moves. This is the one that answers \"did I rotate this after the vendor warned me?\".',\n temporalRole: 'modified',\n }),\n connectionFacts: schemaShape.connectionFacts.objectSpec({\n meaning: 'Facts about the connected account, keyed by name: values entered when connecting, such as a tenant or region, and values the vendor reported, such as the account\\'s API address. Calls to the provider are built from them. Not secret, and never written by a client.',\n }),\n description: schemaShape.description.stringSpec({\n meaning: \"The holder's own note — which account, which environment, why this credential exists.\",\n whyItMatters: 'Somebody may hold several credentials for one provider across slugs; the note is what tells them apart in a list.',\n }),\n createdAt: schemaShape.createdAt.dateSpec({\n meaning: 'When the credential was first stored.',\n whyItMatters: 'When this person first granted the application authority toward this provider.',\n temporalRole: 'creation',\n }),\n updatedAt: schemaShape.updatedAt.dateSpec({\n meaning: 'When any field last changed.',\n whyItMatters: 'Ordering for the credential list.',\n temporalRole: 'modified',\n }),\n },\n\n operations: {\n [Op.READ]: {\n purpose: 'Inspect one of your own stored provider credentials.',\n outcome: 'The holder sees which provider and slug the credential covers, whether it is enabled, and whether the provider last accepted it — with the value masked.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: \"The credential was found in the caller's own scope and returned with `secretValue` masked.\" },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: \"No credential with that id belongs to the caller. Another person's credential is indistinguishable from one that does not exist — there is no variant, for any role, that can address somebody else's.\" },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect the personal OpenAI key',\n request: { userProviderCredentialId: CREDENTIAL_EXAMPLE_ID },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.LIST]: {\n purpose: 'List your own provider credentials — which third parties you have connected.',\n outcome: 'The holder sees every provider they have connected and the health of each.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: \"A (possibly empty) page of the caller's OWN credentials, values masked.\" },\n ],\n errorScenarios: [],\n idempotent: true,\n examples: [{\n title: 'List my connected accounts',\n request: { page: 1, limit: 20, sort: 'createdAt:desc' },\n response: CREDENTIAL_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Store your own credential for a provider, so the application acts as YOU toward that third party.',\n outcome: \"Outbound calls this application makes on your behalf to that provider use your own credential, so the vendor attributes the work to your account and applies the permissions you granted.\",\n whenToUse: 'When you connect a provider with a credential you obtained yourself — a personal API key, an account you authorized.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The credential was sealed and stored. The response masks the value; it is never readable again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation, or `secretValue` is empty.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: \"`secretSlug` names no credential slot of the provider's current secrets contract — a retired or free-text name, or an unregistered provider. A value stored there could never be read, so it is refused (#624). Name the slot by its contract key (`apiKey`) or its environment-variable spelling; it is stored as the key.\", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_DECLARED },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: \"`secretSlug` names the provider's own OAuth2 registration (a client id or secret), which is authored in the deployment environment and never read from a credential row.\", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_A_CREDENTIAL },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'You already hold a credential for this provider and slug — rotate that one instead of creating a second.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Connect my own OpenAI account',\n request: {\n providerRef: 'openai',\n secretSlug: 'apiKey',\n secretValue: 'sk-my-own-personal-key',\n description: 'My personal key, so my drafts are billed to me.',\n },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.CREATED_201,\n }],\n },\n [Op.UPDATE]: {\n purpose: 'Rotate your stored credential, or edit its note and enabled flag.',\n outcome: 'A new value replaces the old one immediately — there is no overlap window, because the vendor is the authority on which credential is live and only one of them is.',\n whenToUse: 'After reissuing the credential at the vendor, or to stop the application acting as you without disconnecting.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The credential was updated. A payload carrying a new `secretValue` re-seals it and is recorded as a rotation; one echoing the mask leaves the stored secret untouched.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: \"A new `secretValue` is written into a credential stored under a slot the provider's current secrets contract no longer declares. That value could never be read; reconnect (or create the credential under the current slot) and delete this row. Edits that carry no new value are still accepted.\", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_DECLARED },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload names a different `providerRef`, `connectionRef` or `secretSlug`. A stored credential cannot move: its sealed value is bound to its connection and slot, and `providerRef` records which ref created it.', errorCode: ProviderCredentialSlotWriteRefusal.CREDENTIAL_SLOT_IMMUTABLE },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No credential with that id belongs to the caller.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Rotate the key after reissuing it at the vendor',\n request: { userProviderCredentialId: CREDENTIAL_EXAMPLE_ID, secretValue: 'sk-my-newly-issued-key' },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.DELETE]: {\n purpose: 'Disconnect your account at a provider.',\n outcome:\n 'The application stops acting as you toward that provider. Calls that named you as the connection are REFUSED by name — there is no fallback to the deployment\\'s or your organization\\'s credential, because either would act as a party you did not authorize.',\n whenToUse: 'When you disconnect the provider, or when you believe the credential is compromised and rotation is not enough.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The credential was removed. No body.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No credential with that id belongs to the caller, including one already removed.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Disconnect my OpenAI account',\n request: { userProviderCredentialId: CREDENTIAL_EXAMPLE_ID },\n forStatus: HttpResponseStatusCode.NO_CONTENT_204,\n }],\n },\n },\n\n frontend: {\n layout: {\n purpose: 'No sections: a stored credential is a handful of facts that no heading would group better than the rows do, so the templates are flat rows under a header and the preset declares no `layout.refs`.',\n headerPurpose: 'The READ identity line: `providerRef · secretSlug` as the title and the `validationState` badge beside it. Neither the provider, the slot nor the state repeats in the body.',\n displayPurpose: 'Settings rows: whether the credential is enabled, then its description, last validation error, validation, use and secret-set dates and any connection facts — each hidden while empty — and its creation date.',\n summaryPurpose: 'A list card: the `providerRef · secretSlug` title, the `validationState` badge, and \"Enabled\" / \"Disabled\" as a word rather than a labelled checkmark.',\n editPurpose: 'The form reached from a credential\\'s Edit action: the new secret (focused), whether it is enabled, a description. `validationState` is not offered: it is the store\\'s verdict on the last use, excluded from create and update (#1809), and shows as the header badge. Provider and slot are the credential\\'s identity and are offered only on the API\\'s CREATE, which these screens hide.',\n },\n emptyState: {\n purpose: 'Say that nothing is connected yet and that connecting happens on the Connect tab beside this list — the list offers no Create of its own (#1040), so without this line the empty state is the page title again with no way forward.',\n },\n },\n businessConstraints: [\n 'The uniqueness grain is `(userId, connectionRef, secretSlug)` — the CONNECTION, not the provider ref (#1670): several refs of one vendor may share one connection and must then spend one stored grant rather than one per ref. Every ref is its own connection until the application declares otherwise, so today `connectionRef` equals `providerRef` on every row. It is enforced by a compound unique index rather than a read-then-write. Saving a rotation twice in the same minute would otherwise leave two rows, and the resolver would pick between them arbitrarily — so half the holder\\'s outbound calls would carry the retired credential with nothing to say which half.',\n 'A person\\'s credential has NO fallback, in either direction. Their organization\\'s credential is not a next-best owner and neither is the deployment\\'s: a call that named this person and could not resolve them is REFUSED, because the vendor records the act under whichever identity was actually spent and that record outlives us.',\n 'Nobody but the holder may read, spend, rotate or remove one. There is no administrative variant at any tier — consent to STORE a personal credential is not consent for somebody else to use it.',\n 'A subject erasure DOES reach this resource, and it DESTROYS the rows. The resource declares no `retentionPolicy`, because neither retain treatment fits a secret: an impersonalized row would keep key material that still opens against a person who asked to be forgotten, and a RETAIN_ONLY row keeps it untouched. The `USERS` → credentials edge authors `onParentDelete.strategy: DELETE`, read both by the delete cascade and by an erasure, which keeps the scrubbed person row. Until #1569 the resource declared RETAIN_ONLY, and every erasure kept the credentials.',\n '`exportSubject` is FORBIDDEN, and it matters more here than on the organization-owned sibling. That row is unreachable on the subject-export graph by construction; this one is reachable BY construction, because it hangs off the subject. The refusal is what stands between a subject-access request and a working credential in the response.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.USER_SELF },\n);\n"]}
|
|
1
|
+
{"version":3,"file":"user-provider-credentials.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/auth/resources/user-provider-credentials.resource.specification.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,kCAAkC,EAClC,iCAAiC,EACjC,oBAAoB,EACpB,4BAA4B,EAC5B,kEAAkE,GACnE,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E,MAAM,qBAAqB,GAAG,wCAAwC,CAAC;AACvE,MAAM,0BAA0B,GAAG,iCAAiC,CAAC;AAErE;;;;;;;GAOG;AACH,MAAM,yBAAyB,GAAG;IAChC,GAAG,EAAE,qBAAqB;IAC1B,MAAM,EAAE,0BAA0B;IAClC,WAAW,EAAE,QAAQ;IACrB,aAAa,EAAE,QAAQ;IACvB,UAAU,EAAE,QAAQ;IACpB,WAAW,EAAE,UAAU;IACvB,OAAO,EAAE,IAAI;IACb,eAAe,EAAE,iCAAiC,CAAC,KAAK;IACxD,eA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AAC,OAAO;YAC3C,gBAAgB,EAAE;gBAChB,EAAE,IAAI,EAAE,sBAAsB,CAAC,cAAc,EAAE,OAAO,EAAE,sCAAsC,EAAE;aACjG;YACD,cAAc,EAAE;gBACd,EAAE,IAAI,EAAE,sBAAsB,CAAC,aAAa,EAAE,IAAI,EAAE,kFAAkF,EAAE;aACzI;YACD,UAAU,EAAE,IAAI;YAChB,QAAQ,EAAE,CAAC;oBACT,KAAK,EAAE,8BAA8B;oBACrC,OAAO,EAAE,EAAE,wBAAwB,EAAE,qBAAqB,EAAE;oBAC5D,SAAS,EAAE,sBAAsB,CAAC,cAAc;iBACjD,CAAC;SACH;KACF;IAED,QAAQ,EAAE;QACR,MAAM,EAAE;YACN,OAAO,EAAE,qMAAqM;YAC9M,aAAa,EAAE,8KAA8K;YAC7L,cAAc,EAAE,iNAAiN;YACjO,cAAc,EAAE,wJAAwJ;YACxK,WAAW,EAAE,gYAAgY;SAC9Y;QACD,UAAU,EAAE;YACV,OAAO,EAAE,qOAAqO;SAC/O;KACF;IACD,mBAAmB,EAAE;QACnB,0pBAA0pB;QAC1pB,2UAA2U;QAC3U,kMAAkM;QAClM,ijBAAijB;QACjjB,oVAAoV;KACrV;CACF,CAAC,EACF,EAAE,oBAAoB,EAAE,oBAAoB,CAAC,SAAS,EAAE,CACzD,CAAC","sourcesContent":["/**\n * Resource: `userProviderCredentials` — Wildo SaaS engine specification\n * (user-self-scoped, backend-managed secret).\n *\n * Inputs:\n * - Schema: engine/saas-models/src/security/connected-accounts/provider-credentials.shared.schemas.ts\n * → `UserProviderCredentialSchema`\n * - Factory: engine/saas-models/src/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.ts\n * → `userProviderCredentialsResourceConfiguration_InitializationFactory`\n * - Custom operations: none\n * - UI presets: `engine/presets-components/src/config/resources/security.resource-presets.tsx`\n * → `USER_PROVIDER_CREDENTIALS`, reached through the `my-provider-credentials` settings destination.\n */\n\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n FieldSemanticImportance,\n} from '@wildo-ai/zod-decorators';\nimport {\n CoreResourceOperation as Op,\n ProviderCredentialSlotWriteRefusal,\n ProviderCredentialValidationState,\n ResourcePrimaryScope,\n UserProviderCredentialSchema,\n userProviderCredentialsResourceConfiguration_InitializationFactory,\n} from '@wildo-ai/saas-models';\nimport { HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\nconst CREDENTIAL_EXAMPLE_ID = 'usrprovcred_01J7K2M4N6P8Q0R2S4T6V8W0XY';\nconst CREDENTIAL_EXAMPLE_USER_ID = 'user_01J4M1Z2X3C4V5B6N7M8Q9R0ST';\n\n/**\n * The record as a client sees it — with the value MASKED.\n *\n * That mask is not decoration in an example: `secretValue` is `.isWriteOnlySecret()`, so the\n * framework redacts it at the client boundary on every read. Showing a plausible token here would\n * teach an integrator that a credential can be read back, which is the one thing this resource\n * guarantees it cannot.\n */\nconst CREDENTIAL_RECORD_EXAMPLE = {\n _id: CREDENTIAL_EXAMPLE_ID,\n userId: CREDENTIAL_EXAMPLE_USER_ID,\n providerRef: 'openai',\n connectionRef: 'openai',\n secretSlug: 'apiKey',\n secretValue: '••••••••',\n enabled: true,\n validationState: ProviderCredentialValidationState.VALID,\n lastValidatedAt: '2026-09-02T11:14:00.000Z',\n lastUsedAt: '2026-09-02T11:14:00.000Z',\n secretSetAt: '2026-08-30T09:00:00.000Z',\n description: 'My personal key, so my drafts are billed to me.',\n createdAt: '2026-08-30T09:00:00.000Z',\n updatedAt: '2026-09-02T11:14:00.000Z',\n} as const;\n\nconst CREDENTIAL_PAGE_EXAMPLE = {\n data: [CREDENTIAL_RECORD_EXAMPLE],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n} as const;\n\nexport const userProviderCredentialsResourceSpecification = resourceSpecification(\n userProviderCredentialsResourceConfiguration_InitializationFactory,\n UserProviderCredentialSchema,\n ({ schemaShape }) => ({\n purpose:\n \"One PERSON's OWN credential toward a third-party provider — their personal API key, the account they connected themselves.\",\n businessRole:\n \"The record that lets an application act as an individual toward a third party rather than as the tenant or as itself. It is what makes a personal integration possible — work attributed to the person at the vendor, billed to their account, and carrying only the permissions they granted.\",\n lifecycleRole:\n 'Created by the holder when they connect a provider, rotated in place when they reissue the credential at the vendor, disabled to stop the application acting as them without discarding the credential, and removed when they disconnect the provider or their own account is erased.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.AUTH,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'UserProviderCredentialSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'userProviderCredentialsResourceConfiguration_InitializationFactory',\n symbolKind: CodeSymbolKind.FACTORY,\n declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceType',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n memberName: 'USER_PROVIDER_CREDENTIALS',\n },\n operationVocabulary: {\n coreEnum: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n },\n notes: [\n 'The stored value is SEALED, never the plaintext the holder typed: an AES-256-GCM envelope whose key is derived from the application\\'s own `secrets.security.session.encryptionKey`. The USER scope selects a DIFFERENT key domain from the organization-owned sibling, so a person\\'s envelope cannot be opened as a tenant\\'s even with a matching owner id — and the associated data binds it to (userId, connectionRef, secretSlug), which is the key of the row (#1670), so a ciphertext copied into another person\\'s row fails to open rather than silently working.',\n 'Every door is APP_USER and there is deliberately NO administrative variant — not an organization administrator\\'s, not a platform operator\\'s. Consenting to STORE a personal credential is not consenting for somebody else to spend it, and the vendor records the resulting act as the holder\\'s, which no later audit event makes reversible.',\n 'There is NO resolution fallback. A person who has connected nothing gets a refusal naming what to connect — never the deployment\\'s shared principal and never their organization\\'s credential. Substituting either would attribute the act to a party that granted no permission for it.',\n 'A row appears in TWO ways, and only one of them is an HTTP write. A credential you PASTE arrives through the Connect screen, which offers only the providers this application declares and, for each, only the credential slots that provider declares, and stores it through the connection controller\\'s declared-secret door. `CREATE` below performs the same write for an API caller; the application\\'s own screens do not offer it, because a free-text slot is how a value lands where nothing will ever read it (#1040). A credential a vendor MINTS arrives through the authorization exchange: you authorize on the vendor\\'s own consent screen, come back through one shared callback, and the application records the grant — you never see or type the token. The second path is why this resource permits a system-tier create at all.',\n 'Set, rotate, use and delete are audited as `USER_PROVIDER_CREDENTIAL_*`, annotated `WILDO.IDENTITY.DELEGATED_AUTHORIZATION`. None of the four payload schemas has a field the value could occupy, and none carries an organization — a person\\'s connections must not reach their tenant\\'s SIEM stream.',\n ],\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({\n meaning: 'Identifier for one stored credential.',\n whyItMatters: 'The address for a rotation or a revocation, and the id every audit event carries.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'The person who owns this credential.',\n whyItMatters:\n 'The isolation axis, and here it is also the SUBJECT. Injected by the framework from the authenticated scope rather than read from the payload, it scopes every read, and it is bound into the encryption envelope — so a credential cannot be read, spent or moved outside the person who set it. It is what makes \"another user\\'s key\" unreachable rather than merely filtered.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n providerRef: schemaShape.providerRef.stringSpec({\n meaning: 'The provider this credential authenticates toward — `openai`, `slack`, a generated provider package\\'s ref.',\n whyItMatters: 'What tells the holder which third parties they have granted the application authority toward, and which ref\\'s connect flow or write CREATED the row. It is no longer part of the key (#1670): `connectionRef` is.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n connectionRef: schemaShape.connectionRef.stringSpec({\n meaning: 'The connection this credential belongs to — the grant a set of provider refs of one vendor spends. Derived by the server from `providerRef`, never supplied by a client, and equal to it for every ref an application has not declared as part of a shared connection.',\n whyItMatters:\n 'Half of the credential\\'s identity for its holder, and what the sealed value is bound to. Every ref of one connection resolves this one row, so a person authorizes a vendor once rather than once per ref. It cannot change: a row stored under one connection is replaced by reconnecting, never moved (#1670).',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n secretSlug: schemaShape.secretSlug.stringSpec({\n meaning: \"The provider's `secretsContract` KEY this value satisfies (`accessToken`) — not the slot's environment-variable spelling, which a provider regeneration may rename.\",\n whyItMatters:\n 'A provider declaring several secrets (an API key and a signing secret) gets one row per slug, so the holder can rotate one without disturbing the other.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n secretValue: schemaShape.secretValue.stringSpec({\n meaning: 'The credential itself. Supplied in plaintext on write, stored SEALED, and never returned — a read renders a fixed mask.',\n whyItMatters:\n 'Echoing the mask back on an update means \"keep the stored secret\", which is how the holder edits a note without retyping the credential. Sending a real value replaces it and is recorded as a rotation.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n enabled: schemaShape.enabled.booleanSpec({\n meaning: 'Whether this credential may be spent.',\n whyItMatters:\n 'Disabling stops the application acting as this person without discarding the credential. Unlike the tenant-owned sibling, a disabled credential does NOT degrade to a shared principal — the call refuses, which is the intended outcome: somebody switching their own connection off is asking the application to stop acting as them.',\n }),\n validationState: schemaShape.validationState.enumSpec({\n meaning: 'Whether the provider has accepted this credential on its last use.',\n whyItMatters:\n 'Separates \"never tried\" from \"tried and rejected\", which a boolean would merge into the same falsy answer. For a personal credential this badge is the only notice the holder will get that their integration has stopped working — nobody else can rotate it for them.',\n values: {\n [ProviderCredentialValidationState.UNVALIDATED]: {\n meaning: 'Stored, never exercised against the provider. Every credential starts here — storing one proves only that somebody typed it.',\n },\n [ProviderCredentialValidationState.VALID]: {\n meaning: 'The provider accepted it on its last use.',\n },\n [ProviderCredentialValidationState.INVALID]: {\n meaning: 'The provider rejected it on its last use; the integration is down until the holder rotates it.',\n },\n },\n enumDeclaration: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'ProviderCredentialValidationState',\n symbolKind: CodeSymbolKind.ENUM,\n declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,\n },\n }),\n validationError: schemaShape.validationError.stringSpec({\n meaning: \"The provider's own message about why the last use failed.\",\n whyItMatters:\n 'Turns \"it stopped working\" into a vendor-attributed reason the holder can act on. Server-owned: it describes the credential\\'s status and is never derived from the credential.',\n }),\n lastValidatedAt: schemaShape.lastValidatedAt.dateSpec({\n meaning: 'When the provider last accepted or rejected this credential.',\n whyItMatters: 'How current the validation state is — a `VALID` from three months ago says less than one from this morning.',\n temporalRole: 'modified',\n }),\n lastUsedAt: schemaShape.lastUsedAt.dateSpec({\n meaning: 'When this credential was last resolved for an outbound call.',\n whyItMatters:\n 'Shows the holder what the application is actually doing as them. A credential nothing has spent in months is the one safest to disconnect, and the one riskiest to leave live.',\n temporalRole: 'modified',\n }),\n secretSetAt: schemaShape.secretSetAt.dateSpec({\n meaning: 'When the stored VALUE last changed.',\n whyItMatters: 'Distinct from `updatedAt`, which any field write moves. This is the one that answers \"did I rotate this after the vendor warned me?\".',\n temporalRole: 'modified',\n }),\n connectionFacts: schemaShape.connectionFacts.objectSpec({\n meaning: 'Facts about the connected account, keyed by name: values entered when connecting, such as a tenant or region, and values the vendor reported, such as the account\\'s API address. Calls to the provider are built from them. Not secret, and never written by a client.',\n }),\n description: schemaShape.description.stringSpec({\n meaning: \"The holder's own note — which account, which environment, why this credential exists.\",\n whyItMatters: 'Somebody may hold several credentials for one provider across slugs; the note is what tells them apart in a list.',\n }),\n createdAt: schemaShape.createdAt.dateSpec({\n meaning: 'When the credential was first stored.',\n whyItMatters: 'When this person first granted the application authority toward this provider.',\n temporalRole: 'creation',\n }),\n updatedAt: schemaShape.updatedAt.dateSpec({\n meaning: 'When any field last changed.',\n whyItMatters: 'Ordering for the credential list.',\n temporalRole: 'modified',\n }),\n },\n\n operations: {\n [Op.READ]: {\n purpose: 'Inspect one of your own stored provider credentials.',\n outcome: 'The holder sees which provider and slug the credential covers, whether it is enabled, and whether the provider last accepted it — with the value masked.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: \"The credential was found in the caller's own scope and returned with `secretValue` masked.\" },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: \"No credential with that id belongs to the caller. Another person's credential is indistinguishable from one that does not exist — there is no variant, for any role, that can address somebody else's.\" },\n ],\n idempotent: true,\n examples: [{\n title: 'Inspect the personal OpenAI key',\n request: { userProviderCredentialId: CREDENTIAL_EXAMPLE_ID },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.LIST]: {\n purpose: 'List your own provider credentials — which third parties you have connected.',\n outcome: 'The holder sees every provider they have connected and the health of each.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: \"A (possibly empty) page of the caller's OWN credentials, values masked.\" },\n ],\n errorScenarios: [],\n idempotent: true,\n examples: [{\n title: 'List my connected accounts',\n request: { page: 1, limit: 20, sort: 'createdAt:desc' },\n response: CREDENTIAL_PAGE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.CREATE]: {\n purpose: 'Store your own credential for a provider, so the application acts as YOU toward that third party.',\n outcome: \"Outbound calls this application makes on your behalf to that provider use your own credential, so the vendor attributes the work to your account and applies the permissions you granted.\",\n whenToUse: 'When you connect a provider with a credential you obtained yourself — a personal API key, an account you authorized.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The credential was sealed and stored. The response masks the value; it is never readable again.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation, or `secretValue` is empty.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: \"`secretSlug` names no credential slot of the provider's current secrets contract — a retired or free-text name, or an unregistered provider. A value stored there could never be read, so it is refused (#624). Name the slot by its contract key (`apiKey`) or its environment-variable spelling; it is stored as the key.\", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_DECLARED },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: \"`secretSlug` names the provider's own OAuth2 registration (a client id or secret), which is authored in the deployment environment and never read from a credential row.\", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_A_CREDENTIAL },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'You already hold a credential for this provider and slug — rotate that one instead of creating a second.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Connect my own OpenAI account',\n request: {\n providerRef: 'openai',\n secretSlug: 'apiKey',\n secretValue: 'sk-my-own-personal-key',\n description: 'My personal key, so my drafts are billed to me.',\n },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.CREATED_201,\n }],\n },\n [Op.UPDATE]: {\n purpose: 'Rotate your stored credential, or edit its note and enabled flag.',\n outcome: 'A new value replaces the old one immediately — there is no overlap window, because the vendor is the authority on which credential is live and only one of them is.',\n whenToUse: 'After reissuing the credential at the vendor, or to stop the application acting as you without disconnecting.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The credential was updated. A payload carrying a new `secretValue` re-seals it and is recorded as a rotation; one echoing the mask leaves the stored secret untouched.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload fails validation.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: \"A new `secretValue` is written into a credential stored under a slot the provider's current secrets contract no longer declares. That value could never be read; reconnect (or create the credential under the current slot) and delete this row. Edits that carry no new value are still accepted.\", errorCode: ProviderCredentialSlotWriteRefusal.SECRET_SLUG_NOT_DECLARED },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The payload names a different `providerRef`, `connectionRef` or `secretSlug`. A stored credential cannot move: its sealed value is bound to its connection and slot, and `providerRef` records which ref created it.', errorCode: ProviderCredentialSlotWriteRefusal.CREDENTIAL_SLOT_IMMUTABLE },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No credential with that id belongs to the caller.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Rotate the key after reissuing it at the vendor',\n request: { userProviderCredentialId: CREDENTIAL_EXAMPLE_ID, secretValue: 'sk-my-newly-issued-key' },\n response: CREDENTIAL_RECORD_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [Op.DELETE]: {\n purpose: 'Disconnect your account at a provider.',\n outcome:\n 'The application stops acting as you toward that provider. Calls that named you as the connection are REFUSED by name — there is no fallback to the deployment\\'s or your organization\\'s credential, because either would act as a party you did not authorize.',\n whenToUse: 'When you disconnect the provider, or when you believe the credential is compromised and rotation is not enough.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The credential was removed. No body.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No credential with that id belongs to the caller, including one already removed.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Disconnect my OpenAI account',\n request: { userProviderCredentialId: CREDENTIAL_EXAMPLE_ID },\n forStatus: HttpResponseStatusCode.NO_CONTENT_204,\n }],\n },\n },\n\n frontend: {\n layout: {\n purpose: 'No sections: a stored credential is a handful of facts that no heading would group better than the rows do, so the templates are flat rows under a header and the preset declares no `layout.refs`.',\n headerPurpose: 'The READ identity line: `providerRef · secretSlug` as the title and the `validationState` badge beside it. Neither the provider, the slot nor the state repeats in the body.',\n displayPurpose: 'Settings rows: whether the credential is enabled, then its description, last validation error, validation, use and secret-set dates and any connection facts — each hidden while empty — and its creation date.',\n summaryPurpose: 'A list card: the `providerRef · secretSlug` title, the `validationState` badge, and \"Enabled\" / \"Disabled\" as a word rather than a labelled checkmark.',\n editPurpose: 'The form reached from a credential\\'s Edit action: the new secret (focused), whether it is enabled, a description. `validationState` is not offered: it is the store\\'s verdict on the last use, excluded from create and update (#1809), and shows as the header badge. Provider and slot are the credential\\'s identity and are offered only on the API\\'s CREATE, which these screens hide.',\n },\n emptyState: {\n purpose: 'Say that nothing is connected yet and that connecting happens on the Connect tab beside this list — the list offers no Create of its own (#1040), so without this line the empty state is the page title again with no way forward.',\n },\n },\n businessConstraints: [\n 'The uniqueness grain is `(userId, connectionRef, secretSlug)` — the CONNECTION, not the provider ref (#1670): several refs of one vendor may share one connection and must then spend one stored grant rather than one per ref. Every ref is its own connection until the application declares otherwise, so today `connectionRef` equals `providerRef` on every row. It is enforced by a compound unique index rather than a read-then-write. Saving a rotation twice in the same minute would otherwise leave two rows, and the resolver would pick between them arbitrarily — so half the holder\\'s outbound calls would carry the retired credential with nothing to say which half.',\n 'A person\\'s credential has NO fallback, in either direction. Their organization\\'s credential is not a next-best owner and neither is the deployment\\'s: a call that named this person and could not resolve them is REFUSED, because the vendor records the act under whichever identity was actually spent and that record outlives us.',\n 'Nobody but the holder may read, spend, rotate or remove one. There is no administrative variant at any tier — consent to STORE a personal credential is not consent for somebody else to use it.',\n 'A subject erasure DOES reach this resource, and it DESTROYS the rows. The resource declares no `retentionPolicy`, because neither retain treatment fits a secret: an impersonalized row would keep key material that still opens against a person who asked to be forgotten, and a RETAIN_ONLY row keeps it untouched. The `USERS` → credentials edge authors `onParentDelete.strategy: DELETE`, read both by the delete cascade and by an erasure, which keeps the scrubbed person row. Until #1569 the resource declared RETAIN_ONLY, and every erasure kept the credentials.',\n '`exportSubject` is FORBIDDEN, and it matters more here than on the organization-owned sibling. That row is unreachable on the subject-export graph by construction; this one is reachable BY construction, because it hangs off the subject. The refusal is what stands between a subject-access request and a working credential in the response.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.USER_SELF },\n);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/engine/billing/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/engine/billing/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC","sourcesContent":["export * from './resources';\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-accounts.resource.specification.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"billing-accounts.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/billing/resources/billing-accounts.resource.specification.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,yBAAyB,EAIzB,qBAAqB,IAAI,EAAE,EAK5B,MAAM,uBAAuB,CAAC;AAgY/B,eAAO,MAAM,gDAAgD;;;;;;;;iCAG5D,CAAC;AAEF,eAAO,MAAM,wCAAwC;;;;;;;;iCAGpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-accounts.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/billing/resources/billing-accounts.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,wBAAwB,EACx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;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,gDAAgD,GAAG,wCAAwC,CACtG,gBAAgB,CAAC,6BAA6B,EAC9C,+BAA+B,CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAAG,wCAAwC,CAC9F,gBAAgB,CAAC,qBAAqB,EACtC,uBAAuB,CACxB,CAAC","sourcesContent":["import { billingAdminPresets, billingMainPresets } from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n BillingAccount_Operations,\n BillingAccountBaseSchema,\n BillingSliceAvailability,\n BillingStateSlice,\n CoreResourceOperation as Op,\n CoreResourceType,\n ResourcePrimaryScope,\n billingAccountsPolymorphicFactories,\n ErrorCustomMessageReference,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport {\n BILLING_API_REFERENCE_PAGE_REQUEST,\n billingApiReferencePage,\n createBillingApiReferenceScopeExample,\n type BillingApiReferenceExampleScope,\n} from './billing-api-reference-examples';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype BillingAccountResourceType = CoreResourceType.ORGANIZATION_BILLING_ACCOUNTS | CoreResourceType.USER_BILLING_ACCOUNTS;\ntype BillingAccountResourceTypeMember = 'ORGANIZATION_BILLING_ACCOUNTS' | 'USER_BILLING_ACCOUNTS';\n\nconst billingAccountResourcePrimaryScopeByResourceType: Record<BillingAccountResourceType, BillingApiReferenceExampleScope> = {\n [CoreResourceType.ORGANIZATION_BILLING_ACCOUNTS]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.USER_BILLING_ACCOUNTS]: ResourcePrimaryScope.USER_SELF,\n};\n\ntype Cfg = ReturnType<(typeof billingAccountsPolymorphicFactories)[CoreResourceType.ORGANIZATION_BILLING_ACCOUNTS]>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = typeof BillingAccountBaseSchema;\ntype BillAcctFrontend = ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nfunction resolveBillingAccountUI(\n source: Partial<Record<string, unknown>>,\n resourceType: BillingAccountResourceType,\n sourceName: string,\n): BillAcctFrontend {\n const uiBehavior = source[resourceType] as BillAcctFrontend | undefined;\n if (!uiBehavior) {\n throw new Error(`Missing \"${resourceType}\" UI behavior in ${sourceName}.`);\n }\n return uiBehavior;\n}\n\nfunction buildBillingAccountBase(\n resourceType: BillingAccountResourceType,\n resourceTypeMemberName: BillingAccountResourceTypeMember,\n) {\n const exampleScope = createBillingApiReferenceScopeExample(\n billingAccountResourcePrimaryScopeByResourceType[resourceType],\n );\n const billingAccountExample = {\n _id: exampleScope.billingAccountId,\n isActive: true,\n metadata: { costCentre: 'customer-success' },\n createdAt: '2026-06-01T09:00:00.000Z',\n updatedAt: '2026-06-18T14:30:00.000Z',\n ...exampleScope.scopeIdentity,\n };\n const billingAccountSummaryExample = {\n _id: billingAccountExample._id,\n isActive: billingAccountExample.isActive,\n };\n\n return resourceSpecification<Custom, Core, Main>(\n billingAccountsPolymorphicFactories[resourceType],\n BillingAccountBaseSchema,\n ({ schemaShape }) => ({\n purpose:\n `Billing account for ${exampleScope.scopeLabel === 'organization' ? 'an organization' : 'a user'}: exposes activation state and safe metadata, and provides the entry point for checkout, the billing portal, and aggregated billing state.`,\n businessRole: 'Anchor row for subscriptions, invoices, credit pools, and self-serve `OPEN_CHECKOUT` / `OPEN_PORTAL` flows in user/org billing settings.',\n lifecycleRole:\n 'Created automatically the first time billing state is requested, then synchronized from billing-provider events. An inactive account remains readable for billing history but cannot start a new checkout or portal session. There is no client-facing create operation.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.BILLING,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'BillingAccountBaseSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactoryCollectionEntry: {\n collectionSymbol: { packageName: '@wildo-ai/saas-models', exportName: 'billingAccountsPolymorphicFactories', symbolKind: CodeSymbolKind.FACTORY },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n resourceType: {\n enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n memberName: resourceTypeMemberName,\n },\n operationVocabulary: {\n coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n customEnum: { packageName: '@wildo-ai/saas-models', exportName: 'BillingAccount_Operations', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n },\n frontendConfigurationSourceEntries: [\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'billingMainPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: resourceType },\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'billingAdminPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: resourceType },\n ],\n notes: ['Two variants under `BILLING_SCOPE_VARIANTS` — org primary catalog scope is `ORGANIZATIONS`; user row is `USER_SELF`.'],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Document id in Mongo for this billing account record.', importance: FieldSemanticImportance.PRIMARY, semanticRole: 'identifier' }),\n isActive: schemaShape.isActive.booleanSpec({ meaning: 'Whether the account should participate in new purchases and portal sessions.', importance: FieldSemanticImportance.PRIMARY }),\n providerRef: schemaShape.providerRef.stringSpec({ meaning: 'Which billing adapter integration backs this account (e.g. stripe) — backend-only in typical responses.', whyItMatters: 'Drives which SDK and webhook namespace hydrate the row.' }),\n providerCustomerId: schemaShape.providerCustomerId.stringSpec({ meaning: 'Provider-side customer id; master link for subscription and invoice fetch.', whyItMatters: 'Without it the row cannot call provider APIs for portal or state.', importance: FieldSemanticImportance.PRIMARY }),\n metadata: schemaShape.metadata.objectSpec({ meaning: 'Key/value tags mirrored to the provider for analytics or tax hints — not the full address book.' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the record was first created.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'Last backend sync with provider or local patch.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Load the account row and derived UI flags for settings surfaces.',\n outcome: 'Owner sees the account id, activation state, and non-sensitive metadata needed for support correlation. Provider customer identifiers remain backend-only.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The billing account was found and its public id, activation state, and metadata are returned. Backend-only provider identifiers are omitted.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No billing account exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n examples: [{\n title: `Inspect an active ${exampleScope.scopeLabel} billing account`,\n response: billingAccountExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Inspect the billing account with available relationship context',\n response: billingAccountExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Inspect the compact billing-account summary',\n response: billingAccountSummaryExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.LIST]: {\n purpose: 'List billing account rows in org or user scope (often singleton).',\n outcome: 'Picker or table for rare multi-account orgs in admin.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty, often singleton) page of billing accounts for the scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Browse billing accounts for the current scope',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([billingAccountExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Browse billing accounts with relationship context',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([billingAccountExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Browse compact billing-account summaries',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([billingAccountSummaryExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.CREATE]: {\n purpose: 'System-context bootstrap when a scope first needs a billing account: auto-created in-process by the billing service (INTERNAL_CALL, no HTTP surface) through the `systemAccessPolicy.create` opt-in, which injects the scope FK via the execution context map.',\n outcome: 'New row for the scope after provider customer linkage in implementation.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A billing account was provisioned for the scope (with its provider customer linked) and is returned with its server-assigned id.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The account payload fails schema validation (e.g. missing `providerRef`).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the entitlement to provision a billing account in this scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A billing account already links this scope to the provider customer (the scope→customer link is unique).' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Provision a Stripe-backed billing account for a scope',\n request: {\n providerRef: 'stripe',\n providerCustomerId: 'cus_01HX2…',\n isActive: true,\n metadata: { tier: 'pro' },\n },\n response: {\n _id: 'billacct_01HX2…',\n providerRef: 'stripe',\n providerCustomerId: 'cus_01HX2…',\n isActive: true,\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Metadata or activation toggles; heavy provider writes often go through webhooks or custom ops instead.',\n outcome: 'Patched `metadata` or `isActive` per DTO in factory config.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The account’s `metadata` / `isActive` fields were patched and the updated record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited fields fail schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the entitlement to mutate this billing account.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No billing account exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Dangerous off-boarding: in-process hard removal of the account row (INTERNAL_CALL, no HTTP surface). The product off-boarding path is the soft retire (`isActive: false`), not this.',\n outcome: 'Row removed — but only once the account has no retained financial children left. The dependents check is enforced by the engine before the delete, not left to the caller.',\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The billing account had no retained financial children and was removed; no body is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the elevated entitlement required for billing-account off-boarding.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No billing account exists for the supplied id (or it was already removed).' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The account still has retained financial children — subscriptions, invoice refs, usage records, or credit pools — that reference it. Those rows survive scope and account deletion by design (billing-retention decision), and this account holds the only local `providerCustomerId` that maps them back to the provider customer, so the delete is refused before anything is written. Each blocking child resource is named in the error context (`blockingDependents`).', customMessageReference: ErrorCustomMessageReference.RESOURCE_HAS_DEPENDENTS },\n ],\n idempotent: true,\n },\n [BillingAccount_Operations.OPEN_CHECKOUT]: {\n operationId: BillingAccount_Operations.OPEN_CHECKOUT,\n purpose: 'Start a hosted checkout session (product+price) for the connected customer. Trial duration comes from the server-owned product policy or application default, never from payer input.',\n outcome: 'Redirect URL or client secret to complete purchase in the provider UI.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A provider checkout session was created; the redirect URL / client secret to complete the purchase is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The requested product/price is missing or malformed in the checkout request.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'A caller-supplied `metadata` key uses the framework-reserved `wildo_` namespace, or `quantity` is not an integer within the supported bound. Reserved keys are refused rather than dropped: that namespace carries the values the completion webhook reads back to decide which account is credited and by how much.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`priceId` names a price whose `productId` is not `productKey`’s product. The provider is billed the PRICE while the purchase is recorded against the PRODUCT, so an unmatched pair would deliver one product’s goods at another’s price.', customMessageReference: ErrorCustomMessageReference.BILLING_PRICE_PRODUCT_MISMATCH },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not own this billing account and may not open checkout for it.' },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: '`quantity` is more than the product\\'s `purchaseConfig.maxQuantityPerPurchase` allows in one purchase. The cap applies to one-time products (one-time, credit pack, item); a subscription product ignores it.', customMessageReference: ErrorCustomMessageReference.BILLING_PURCHASE_QUANTITY_EXCEEDS_LIMIT },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No billing account exists for the supplied id, or the referenced price is not in the catalog.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The account is inactive or has no linked provider customer, so a checkout session cannot be opened.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: '`productKey` (or the price named by `priceId`) has been RETIRED — the product left the code catalogue and the catalogue sync soft-retired it. It still exists, and existing subscribers keep it, but it may no longer be bought: its entitlements are frozen at whatever the last sync wrote and nobody maintains them.', customMessageReference: ErrorCustomMessageReference.BILLING_PRODUCT_RETIRED },\n { code: HttpResponseStatusCode.CONFLICT_409, when: '`productKey` is announced but not yet on sale — its catalogue `availability` is UPCOMING. Pricing surfaces list it so a visitor can see it coming; checkout refuses it until the catalogue puts it on sale.', customMessageReference: ErrorCustomMessageReference.BILLING_PRODUCT_NOT_YET_AVAILABLE },\n ],\n idempotent: false,\n examples: [{\n title: 'Open checkout for the Pro plan',\n request: {\n productKey: 'pro_plan',\n priceId: 'price_pro_monthly',\n successUrl: 'https://app.example.test/settings/billing?checkout=success',\n cancelUrl: 'https://app.example.test/settings/billing?checkout=cancelled',\n quantity: 25,\n promotionCode: 'WELCOME20',\n metadata: { campaign: 'customer-expansion' },\n },\n response: {\n url: 'https://billing.example.test/checkout/cs_01HX2EXAMPLE',\n sessionId: 'cs_01HX2EXAMPLE',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [BillingAccount_Operations.OPEN_PORTAL]: {\n operationId: BillingAccount_Operations.OPEN_PORTAL,\n purpose: 'Open the provider customer portal (payment methods, cancel at period end) with a return URL.',\n outcome: 'Session URL for self-serve management.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A provider customer-portal session was created; its session URL is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not own this billing account and may not open its portal.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No billing account exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The account has no linked provider customer, so a portal session cannot be opened.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Open the hosted billing portal',\n request: { returnUrl: 'https://app.example.test/settings/billing' },\n response: { url: 'https://billing.example.test/portal/bps_01HX2EXAMPLE' },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [BillingAccount_Operations.REDEEM_REFERRAL]: {\n operationId: BillingAccount_Operations.REDEEM_REFERRAL,\n purpose: 'Redeem a referral code for this account, as the new customer the referral brought in (#1802).',\n outcome: 'The referral is ACCEPTED with this account as its referred side. The rewards are granted when this account pays its first invoice; a trial-extension reward lengthens the trial of every subscription checkout this account opens until then.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The code was redeemed; the response names the referral and what this account receives.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`referralCode` is missing or empty.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not own this billing account.' },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: 'The code is unknown, expired, withdrawn or already used. Which one is not said, so codes cannot be probed.', customMessageReference: ErrorCustomMessageReference.BILLING_REFERRAL_CODE_INVALID },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: 'This account cannot be referred: it is the referrer\\'s own, it has subscribed or paid before, or it already redeemed a code.', customMessageReference: ErrorCustomMessageReference.BILLING_REFERRAL_ACCOUNT_NOT_ELIGIBLE },\n ],\n idempotent: false,\n },\n [BillingAccount_Operations.GET_STATE]: {\n operationId: BillingAccount_Operations.GET_STATE,\n purpose: 'Collection-scoped aggregate read of account + subscriptions + catalog slices for billing home widgets. The billing service auto-creates the scope’s account only after a successful lookup confirms absence.',\n outcome: 'Convenience bundle for a single call instead of N reads in the client; the absence of an existing account is a bootstrap condition, not a 404.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The billing snapshot is returned with per-slice availability: healthy slices remain usable and unavailable slices must not be read as confirmed empty data.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The authenticated request context does not contain the scope identifier required to resolve billing state.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The requested scope does not match the caller’s authenticated scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Billing is not enabled for this scope type.', customMessageReference: ErrorCustomMessageReference.BILLING_SCOPE_NOT_ENABLED },\n ],\n idempotent: true,\n examples: [{\n title: 'Load the billing home state before a subscription exists',\n response: {\n billingAccount: {\n _id: billingAccountExample._id,\n isActive: true,\n createdAt: billingAccountExample.createdAt,\n updatedAt: billingAccountExample.updatedAt,\n },\n availability: {\n [BillingStateSlice.BILLING_ACCOUNT]: BillingSliceAvailability.AVAILABLE,\n [BillingStateSlice.SUBSCRIPTION]: BillingSliceAvailability.AVAILABLE,\n [BillingStateSlice.PRODUCTS]: BillingSliceAvailability.AVAILABLE,\n [BillingStateSlice.PRICES]: BillingSliceAvailability.AVAILABLE,\n [BillingStateSlice.INVOICES]: BillingSliceAvailability.AVAILABLE,\n [BillingStateSlice.USAGE]: BillingSliceAvailability.AVAILABLE,\n [BillingStateSlice.CREDIT_POOLS]: BillingSliceAvailability.AVAILABLE,\n [BillingStateSlice.ACTIVE_PROMOTIONS]: BillingSliceAvailability.AVAILABLE,\n },\n subscription: null,\n products: [],\n prices: [],\n invoices: [],\n usage: { byProduct: {} },\n creditPools: {},\n activePromotions: [],\n scopeType: exampleScope.scopeType,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n businessConstraints: [\n 'Contact, tax, and payment instruments live in the provider — do not expect them duplicated on this document.',\n 'Checkout-session metadata is split by trust: keys prefixed `wildo_` are framework-authoritative (they are what the signed completion webhook reads back to credit an account), and caller-supplied keys in that namespace are refused at the request DTO. A provider signature proves the provider sent the echoed metadata, never that the framework wrote it, so the completion handler re-derives the billing account from the provider CUSTOMER and only cross-checks the echoed value.',\n 'Polymorphic scope FKs (`organizationId` / `userId`) are injected on concrete variant schemas, not on `BillingAccountBaseSchema` itself.',\n 'The account outlives its scope: deleting the owning org or user does NOT cascade to this row, and its financial children (subscriptions, invoice refs, usage records, credit pools) are retained too. Consequently a hard DELETE is refused with 409 while any of those children remain — this row carries the only local `providerCustomerId`, so removing it would leave the retained financial records unreconcilable against the provider.',\n ],\n }),\n { resourcePrimaryScope: billingAccountResourcePrimaryScopeByResourceType[resourceType] },\n );\n}\n\nfunction buildBillingAccountResourceSpecification(\n resourceType: BillingAccountResourceType,\n memberName: BillingAccountResourceTypeMember,\n) {\n const base = buildBillingAccountBase(resourceType, memberName);\n const main = resolveBillingAccountUI(billingMainPresets as Partial<Record<string, unknown>>, resourceType, 'billingMainPresets');\n const admin = resolveBillingAccountUI(billingAdminPresets as Partial<Record<string, unknown>>, resourceType, 'billingAdminPresets');\n return resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(resourceFrontendConfiguration(main), resourceFrontendConfiguration(admin)),\n base,\n () => ({\n label: { purpose: 'Preset uses the Mongo id string as a compact label when the row is the anchor for self-serve and admin lists.' },\n layout: {\n purpose: 'Inline summary template (no named `layout.refs.sections` in billing presets) shows `isActive` and `_id`; `variantOverrides` wire subscription/invoice/usage/credit child tabs in org vs user parent views at different `orderIndex` values.',\n displayPurpose: 'Not a public directory — org-owner/org-admin or user self-serve billing surfaces; LIST/READ are org-owner/org-admin-gated API operations, while writes (auto-create + provider-event sync) stay internal service-pipeline ops, not HTTP-exposed. Provider events act with the handler-only `ORG_BILLING_PROVIDER_EVENTS` / `APP_BILLING_PROVIDER_EVENTS` role, which the LIST grant and the UPDATE that deactivates an account on `customer.deleted` name; READ does not.',\n },\n views: {\n [BillingAccount_Operations.OPEN_CHECKOUT]: { purpose: 'Custom flow entry that behaves like a purchase wizard linked to the account.', whenToUse: '“Upgrade” or “Buy credits” in product UI when checkout is the next step.' },\n [BillingAccount_Operations.OPEN_PORTAL]: { purpose: 'Custom flow entry for hosted portal; non-addressable `views` entry in merged presets (still documented as surfaced op).', whenToUse: '“Manage payment method / invoices” in settings.' },\n [BillingAccount_Operations.GET_STATE]: { purpose: 'Aggregate “billing snapshot” for dashboards; not a CRUD read replacement.', whenToUse: 'Billing home that needs a denormalized bundle in one call.' },\n [BillingAccount_Operations.REDEEM_REFERRAL]: { purpose: 'Action for entering a referral code on the account, non-addressable.', whenToUse: 'A new customer was given a code before their first purchase.' },\n },\n }),\n );\n}\n\nexport const organizationBillingAccountsResourceSpecification = buildBillingAccountResourceSpecification(\n CoreResourceType.ORGANIZATION_BILLING_ACCOUNTS,\n 'ORGANIZATION_BILLING_ACCOUNTS',\n);\n\nexport const userBillingAccountsResourceSpecification = buildBillingAccountResourceSpecification(\n CoreResourceType.USER_BILLING_ACCOUNTS,\n 'USER_BILLING_ACCOUNTS',\n);\n"]}
|
|
1
|
+
{"version":3,"file":"billing-accounts.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/billing/resources/billing-accounts.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,wBAAwB,EACxB,iBAAiB,EACjB,qBAAqB,IAAI,EAAE,EAC3B,gBAAgB,EAChB,oBAAoB,EACpB,mCAAmC,EACnC,2BAA2B,GAC5B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,kCAAkC,EAClC,uBAAuB,EACvB,qCAAqC,GAEtC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAK3E,MAAM,gDAAgD,GAAwE;IAC5H,CAAC,gBAAgB,CAAC,6BAA6B,CAAC,EAAE,oBAAoB,CAAC,aAAa;IACpF,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,EAAE,oBAAoB,CAAC,SAAS;CACzE,CAAC;AAQF,SAAS,uBAAuB,CAC9B,MAAwC,EACxC,YAAwC,EACxC,UAAkB;IAElB,MAAM,UAAU,GAAG,MAAM,CAAC,YAAY,CAAiC,CAAC;IACxE,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,MAAM,IAAI,KAAK,CAAC,YAAY,YAAY,oBAAoB,UAAU,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;YACtP,cAAc,EAAE,2cAA2c;SAC5d;QACD,KAAK,EAAE;YACL,CAAC,yBAAyB,CAAC,aAAa,CAAC,EAAE,EAAE,OAAO,EAAE,8EAA8E,EAAE,SAAS,EAAE,0EAA0E,EAAE;YAC7N,CAAC,yBAAyB,CAAC,WAAW,CAAC,EAAE,EAAE,OAAO,EAAE,yHAAyH,EAAE,SAAS,EAAE,iDAAiD,EAAE;YAC7O,CAAC,yBAAyB,CAAC,SAAS,CAAC,EAAE,EAAE,OAAO,EAAE,2EAA2E,EAAE,SAAS,EAAE,4DAA4D,EAAE;YACxM,CAAC,yBAAyB,CAAC,eAAe,CAAC,EAAE,EAAE,OAAO,EAAE,sEAAsE,EAAE,SAAS,EAAE,8DAA8D,EAAE;SAC5M;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,gDAAgD,GAAG,wCAAwC,CACtG,gBAAgB,CAAC,6BAA6B,EAC9C,+BAA+B,CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,wCAAwC,GAAG,wCAAwC,CAC9F,gBAAgB,CAAC,qBAAqB,EACtC,uBAAuB,CACxB,CAAC","sourcesContent":["import { billingAdminPresets, billingMainPresets } from '@wildo-ai/presets-components';\nimport { LabelAudience } from '@wildo-ai/presets-components-models';\nimport type { ResourceUIBehaviorConfig } from '@wildo-ai/saas-frontend-lib/companion';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n BillingAccount_Operations,\n BillingAccountBaseSchema,\n BillingSliceAvailability,\n BillingStateSlice,\n CoreResourceOperation as Op,\n CoreResourceType,\n ResourcePrimaryScope,\n billingAccountsPolymorphicFactories,\n ErrorCustomMessageReference,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport {\n BILLING_API_REFERENCE_PAGE_REQUEST,\n billingApiReferencePage,\n createBillingApiReferenceScopeExample,\n type BillingApiReferenceExampleScope,\n} from './billing-api-reference-examples';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype BillingAccountResourceType = CoreResourceType.ORGANIZATION_BILLING_ACCOUNTS | CoreResourceType.USER_BILLING_ACCOUNTS;\ntype BillingAccountResourceTypeMember = 'ORGANIZATION_BILLING_ACCOUNTS' | 'USER_BILLING_ACCOUNTS';\n\nconst billingAccountResourcePrimaryScopeByResourceType: Record<BillingAccountResourceType, BillingApiReferenceExampleScope> = {\n [CoreResourceType.ORGANIZATION_BILLING_ACCOUNTS]: ResourcePrimaryScope.ORGANIZATIONS,\n [CoreResourceType.USER_BILLING_ACCOUNTS]: ResourcePrimaryScope.USER_SELF,\n};\n\ntype Cfg = ReturnType<(typeof billingAccountsPolymorphicFactories)[CoreResourceType.ORGANIZATION_BILLING_ACCOUNTS]>;\ntype Custom = NonNullable<Cfg['customOperation']>;\ntype Core = Cfg['coreOperations'][number];\ntype Main = typeof BillingAccountBaseSchema;\ntype BillAcctFrontend = ResourceUIBehaviorConfig<Custom, Core, Main>;\n\nfunction resolveBillingAccountUI(\n source: Partial<Record<string, unknown>>,\n resourceType: BillingAccountResourceType,\n sourceName: string,\n): BillAcctFrontend {\n const uiBehavior = source[resourceType] as BillAcctFrontend | undefined;\n if (!uiBehavior) {\n throw new Error(`Missing \"${resourceType}\" UI behavior in ${sourceName}.`);\n }\n return uiBehavior;\n}\n\nfunction buildBillingAccountBase(\n resourceType: BillingAccountResourceType,\n resourceTypeMemberName: BillingAccountResourceTypeMember,\n) {\n const exampleScope = createBillingApiReferenceScopeExample(\n billingAccountResourcePrimaryScopeByResourceType[resourceType],\n );\n const billingAccountExample = {\n _id: exampleScope.billingAccountId,\n isActive: true,\n metadata: { costCentre: 'customer-success' },\n createdAt: '2026-06-01T09:00:00.000Z',\n updatedAt: '2026-06-18T14:30:00.000Z',\n ...exampleScope.scopeIdentity,\n };\n const billingAccountSummaryExample = {\n _id: billingAccountExample._id,\n isActive: billingAccountExample.isActive,\n };\n\n return resourceSpecification<Custom, Core, Main>(\n billingAccountsPolymorphicFactories[resourceType],\n BillingAccountBaseSchema,\n ({ schemaShape }) => ({\n purpose:\n `Billing account for ${exampleScope.scopeLabel === 'organization' ? 'an organization' : 'a user'}: exposes activation state and safe metadata, and provides the entry point for checkout, the billing portal, and aggregated billing state.`,\n businessRole: 'Anchor row for subscriptions, invoices, credit pools, and self-serve `OPEN_CHECKOUT` / `OPEN_PORTAL` flows in user/org billing settings.',\n lifecycleRole:\n 'Created automatically the first time billing state is requested, then synchronized from billing-provider events. An inactive account remains readable for billing history but cannot start a new checkout or portal session. There is no client-facing create operation.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.BILLING,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-models',\n exportName: 'BillingAccountBaseSchema',\n symbolKind: CodeSymbolKind.SCHEMA,\n declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactoryCollectionEntry: {\n collectionSymbol: { packageName: '@wildo-ai/saas-models', exportName: 'billingAccountsPolymorphicFactories', symbolKind: CodeSymbolKind.FACTORY },\n identifierField: 'collectionKey',\n identifierValue: resourceType,\n },\n resourceType: {\n enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n memberName: resourceTypeMemberName,\n },\n operationVocabulary: {\n coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n customEnum: { packageName: '@wildo-ai/saas-models', exportName: 'BillingAccount_Operations', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n },\n frontendConfigurationSourceEntries: [\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'billingMainPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: resourceType },\n { collectionSymbol: { packageName: '@wildo-ai/presets-components', exportName: 'billingAdminPresets', symbolKind: CodeSymbolKind.UI_BEHAVIOR }, identifierField: 'collectionKey', identifierValue: resourceType },\n ],\n notes: ['Two variants under `BILLING_SCOPE_VARIANTS` — org primary catalog scope is `ORGANIZATIONS`; user row is `USER_SELF`.'],\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Document id in Mongo for this billing account record.', importance: FieldSemanticImportance.PRIMARY, semanticRole: 'identifier' }),\n isActive: schemaShape.isActive.booleanSpec({ meaning: 'Whether the account should participate in new purchases and portal sessions.', importance: FieldSemanticImportance.PRIMARY }),\n providerRef: schemaShape.providerRef.stringSpec({ meaning: 'Which billing adapter integration backs this account (e.g. stripe) — backend-only in typical responses.', whyItMatters: 'Drives which SDK and webhook namespace hydrate the row.' }),\n providerCustomerId: schemaShape.providerCustomerId.stringSpec({ meaning: 'Provider-side customer id; master link for subscription and invoice fetch.', whyItMatters: 'Without it the row cannot call provider APIs for portal or state.', importance: FieldSemanticImportance.PRIMARY }),\n metadata: schemaShape.metadata.objectSpec({ meaning: 'Key/value tags mirrored to the provider for analytics or tax hints — not the full address book.' }),\n createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the record was first created.', temporalRole: 'creation' }),\n updatedAt: schemaShape.updatedAt.dateSpec({ meaning: 'Last backend sync with provider or local patch.', temporalRole: 'modified' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Load the account row and derived UI flags for settings surfaces.',\n outcome: 'Owner sees the account id, activation state, and non-sensitive metadata needed for support correlation. Provider customer identifiers remain backend-only.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The billing account was found and its public id, activation state, and metadata are returned. Backend-only provider identifiers are omitted.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No billing account exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n examples: [{\n title: `Inspect an active ${exampleScope.scopeLabel} billing account`,\n response: billingAccountExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Inspect the billing account with available relationship context',\n response: billingAccountExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Inspect the compact billing-account summary',\n response: billingAccountSummaryExample,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.LIST]: {\n purpose: 'List billing account rows in org or user scope (often singleton).',\n outcome: 'Picker or table for rare multi-account orgs in admin.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty, often singleton) page of billing accounts for the scope.' },\n ],\n idempotent: true,\n examples: [{\n title: 'Browse billing accounts for the current scope',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([billingAccountExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n examples: [{\n title: 'Browse billing accounts with relationship context',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([billingAccountExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n examples: [{\n title: 'Browse compact billing-account summaries',\n request: BILLING_API_REFERENCE_PAGE_REQUEST,\n response: billingApiReferencePage([billingAccountSummaryExample]),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n },\n [Op.CREATE]: {\n purpose: 'System-context bootstrap when a scope first needs a billing account: auto-created in-process by the billing service (INTERNAL_CALL, no HTTP surface) through the `systemAccessPolicy.create` opt-in, which injects the scope FK via the execution context map.',\n outcome: 'New row for the scope after provider customer linkage in implementation.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A billing account was provisioned for the scope (with its provider customer linked) and is returned with its server-assigned id.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The account payload fails schema validation (e.g. missing `providerRef`).' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the entitlement to provision a billing account in this scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'A billing account already links this scope to the provider customer (the scope→customer link is unique).' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Provision a Stripe-backed billing account for a scope',\n request: {\n providerRef: 'stripe',\n providerCustomerId: 'cus_01HX2…',\n isActive: true,\n metadata: { tier: 'pro' },\n },\n response: {\n _id: 'billacct_01HX2…',\n providerRef: 'stripe',\n providerCustomerId: 'cus_01HX2…',\n isActive: true,\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Metadata or activation toggles; heavy provider writes often go through webhooks or custom ops instead.',\n outcome: 'Patched `metadata` or `isActive` per DTO in factory config.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The account’s `metadata` / `isActive` fields were patched and the updated record is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The edited fields fail schema validation.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the entitlement to mutate this billing account.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No billing account exists for the supplied id in the caller’s scope.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Dangerous off-boarding: in-process hard removal of the account row (INTERNAL_CALL, no HTTP surface). The product off-boarding path is the soft retire (`isActive: false`), not this.',\n outcome: 'Row removed — but only once the account has no retained financial children left. The dependents check is enforced by the engine before the delete, not left to the caller.',\n responseStatuses: [\n { code: HttpResponseStatusCode.NO_CONTENT_204, meaning: 'The billing account had no retained financial children and was removed; no body is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller lacks the elevated entitlement required for billing-account off-boarding.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No billing account exists for the supplied id (or it was already removed).' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The account still has retained financial children — subscriptions, invoice refs, usage records, or credit pools — that reference it. Those rows survive scope and account deletion by design (billing-retention decision), and this account holds the only local `providerCustomerId` that maps them back to the provider customer, so the delete is refused before anything is written. Each blocking child resource is named in the error context (`blockingDependents`).', customMessageReference: ErrorCustomMessageReference.RESOURCE_HAS_DEPENDENTS },\n ],\n idempotent: true,\n },\n [BillingAccount_Operations.OPEN_CHECKOUT]: {\n operationId: BillingAccount_Operations.OPEN_CHECKOUT,\n purpose: 'Start a hosted checkout session (product+price) for the connected customer. Trial duration comes from the server-owned product policy or application default, never from payer input.',\n outcome: 'Redirect URL or client secret to complete purchase in the provider UI.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A provider checkout session was created; the redirect URL / client secret to complete the purchase is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The requested product/price is missing or malformed in the checkout request.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'A caller-supplied `metadata` key uses the framework-reserved `wildo_` namespace, or `quantity` is not an integer within the supported bound. Reserved keys are refused rather than dropped: that namespace carries the values the completion webhook reads back to decide which account is credited and by how much.' },\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`priceId` names a price whose `productId` is not `productKey`’s product. The provider is billed the PRICE while the purchase is recorded against the PRODUCT, so an unmatched pair would deliver one product’s goods at another’s price.', customMessageReference: ErrorCustomMessageReference.BILLING_PRICE_PRODUCT_MISMATCH },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not own this billing account and may not open checkout for it.' },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: '`quantity` is more than the product\\'s `purchaseConfig.maxQuantityPerPurchase` allows in one purchase. The cap applies to one-time products (one-time, credit pack, item); a subscription product ignores it.', customMessageReference: ErrorCustomMessageReference.BILLING_PURCHASE_QUANTITY_EXCEEDS_LIMIT },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No billing account exists for the supplied id, or the referenced price is not in the catalog.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The account is inactive or has no linked provider customer, so a checkout session cannot be opened.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: '`productKey` (or the price named by `priceId`) has been RETIRED — the product left the code catalogue and the catalogue sync soft-retired it. It still exists, and existing subscribers keep it, but it may no longer be bought: its entitlements are frozen at whatever the last sync wrote and nobody maintains them.', customMessageReference: ErrorCustomMessageReference.BILLING_PRODUCT_RETIRED },\n { code: HttpResponseStatusCode.CONFLICT_409, when: '`productKey` is announced but not yet on sale — its catalogue `availability` is UPCOMING. Pricing surfaces list it so a visitor can see it coming; checkout refuses it until the catalogue puts it on sale.', customMessageReference: ErrorCustomMessageReference.BILLING_PRODUCT_NOT_YET_AVAILABLE },\n ],\n idempotent: false,\n examples: [{\n title: 'Open checkout for the Pro plan',\n request: {\n productKey: 'pro_plan',\n priceId: 'price_pro_monthly',\n successUrl: 'https://app.example.test/settings/billing?checkout=success',\n cancelUrl: 'https://app.example.test/settings/billing?checkout=cancelled',\n quantity: 25,\n promotionCode: 'WELCOME20',\n metadata: { campaign: 'customer-expansion' },\n },\n response: {\n url: 'https://billing.example.test/checkout/cs_01HX2EXAMPLE',\n sessionId: 'cs_01HX2EXAMPLE',\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [BillingAccount_Operations.OPEN_PORTAL]: {\n operationId: BillingAccount_Operations.OPEN_PORTAL,\n purpose: 'Open the provider customer portal (payment methods, cancel at period end) with a return URL.',\n outcome: 'Session URL for self-serve management.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A provider customer-portal session was created; its session URL is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not own this billing account and may not open its portal.' },\n { code: HttpResponseStatusCode.NOT_FOUND_404, when: 'No billing account exists for the supplied id in the caller’s scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'The account has no linked provider customer, so a portal session cannot be opened.' },\n ],\n idempotent: false,\n examples: [{\n title: 'Open the hosted billing portal',\n request: { returnUrl: 'https://app.example.test/settings/billing' },\n response: { url: 'https://billing.example.test/portal/bps_01HX2EXAMPLE' },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n [BillingAccount_Operations.REDEEM_REFERRAL]: {\n operationId: BillingAccount_Operations.REDEEM_REFERRAL,\n purpose: 'Redeem a referral code for this account, as the new customer the referral brought in (#1802).',\n outcome: 'The referral is ACCEPTED with this account as its referred side. The rewards are granted when this account pays its first invoice; a trial-extension reward lengthens the trial of every subscription checkout this account opens until then.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The code was redeemed; the response names the referral and what this account receives.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: '`referralCode` is missing or empty.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller does not own this billing account.' },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: 'The code is unknown, expired, withdrawn or already used. Which one is not said, so codes cannot be probed.', customMessageReference: ErrorCustomMessageReference.BILLING_REFERRAL_CODE_INVALID },\n { code: HttpResponseStatusCode.UNPROCESSABLE_ENTITY_422, when: 'This account cannot be referred: it is the referrer\\'s own, it has subscribed or paid before, or it already redeemed a code.', customMessageReference: ErrorCustomMessageReference.BILLING_REFERRAL_ACCOUNT_NOT_ELIGIBLE },\n ],\n idempotent: false,\n },\n [BillingAccount_Operations.GET_STATE]: {\n operationId: BillingAccount_Operations.GET_STATE,\n purpose: 'Collection-scoped aggregate read of account + subscriptions + catalog slices for billing home widgets. The billing service auto-creates the scope’s account only after a successful lookup confirms absence.',\n outcome: 'Convenience bundle for a single call instead of N reads in the client; the absence of an existing account is a bootstrap condition, not a 404.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The billing snapshot is returned with per-slice availability: healthy slices remain usable and unavailable slices must not be read as confirmed empty data.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The authenticated request context does not contain the scope identifier required to resolve billing state.' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The requested scope does not match the caller’s authenticated scope.' },\n { code: HttpResponseStatusCode.CONFLICT_409, when: 'Billing is not enabled for this scope type.', customMessageReference: ErrorCustomMessageReference.BILLING_SCOPE_NOT_ENABLED },\n ],\n idempotent: true,\n examples: [{\n title: 'Load the billing home state before a subscription exists',\n response: {\n billingAccount: {\n _id: billingAccountExample._id,\n isActive: true,\n createdAt: billingAccountExample.createdAt,\n updatedAt: billingAccountExample.updatedAt,\n },\n availability: {\n [BillingStateSlice.BILLING_ACCOUNT]: BillingSliceAvailability.AVAILABLE,\n [BillingStateSlice.SUBSCRIPTION]: BillingSliceAvailability.AVAILABLE,\n [BillingStateSlice.PRODUCTS]: BillingSliceAvailability.AVAILABLE,\n [BillingStateSlice.PRICES]: BillingSliceAvailability.AVAILABLE,\n [BillingStateSlice.INVOICES]: BillingSliceAvailability.AVAILABLE,\n [BillingStateSlice.USAGE]: BillingSliceAvailability.AVAILABLE,\n [BillingStateSlice.CREDIT_POOLS]: BillingSliceAvailability.AVAILABLE,\n [BillingStateSlice.ACTIVE_PROMOTIONS]: BillingSliceAvailability.AVAILABLE,\n },\n subscription: null,\n products: [],\n prices: [],\n invoices: [],\n usage: { byProduct: {} },\n creditPools: {},\n activePromotions: [],\n scopeType: exampleScope.scopeType,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n businessConstraints: [\n 'Contact, tax, and payment instruments live in the provider — do not expect them duplicated on this document.',\n 'Checkout-session metadata is split by trust: keys prefixed `wildo_` are framework-authoritative (they are what the signed completion webhook reads back to credit an account), and caller-supplied keys in that namespace are refused at the request DTO. A provider signature proves the provider sent the echoed metadata, never that the framework wrote it, so the completion handler re-derives the billing account from the provider CUSTOMER and only cross-checks the echoed value.',\n 'Polymorphic scope FKs (`organizationId` / `userId`) are injected on concrete variant schemas, not on `BillingAccountBaseSchema` itself.',\n 'The account outlives its scope: deleting the owning org or user does NOT cascade to this row, and its financial children (subscriptions, invoice refs, usage records, credit pools) are retained too. Consequently a hard DELETE is refused with 409 while any of those children remain — this row carries the only local `providerCustomerId`, so removing it would leave the retained financial records unreconcilable against the provider.',\n ],\n }),\n { resourcePrimaryScope: billingAccountResourcePrimaryScopeByResourceType[resourceType] },\n );\n}\n\nfunction buildBillingAccountResourceSpecification(\n resourceType: BillingAccountResourceType,\n memberName: BillingAccountResourceTypeMember,\n) {\n const base = buildBillingAccountBase(resourceType, memberName);\n const main = resolveBillingAccountUI(billingMainPresets as Partial<Record<string, unknown>>, resourceType, 'billingMainPresets');\n const admin = resolveBillingAccountUI(billingAdminPresets as Partial<Record<string, unknown>>, resourceType, 'billingAdminPresets');\n return resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(resourceFrontendConfiguration(main), resourceFrontendConfiguration(admin)),\n base,\n () => ({\n label: { purpose: 'Preset uses the Mongo id string as a compact label when the row is the anchor for self-serve and admin lists.' },\n layout: {\n purpose: 'Inline summary template (no named `layout.refs.sections` in billing presets) shows `isActive` and `_id`; `variantOverrides` wire subscription/invoice/usage/credit child tabs in org vs user parent views at different `orderIndex` values.',\n displayPurpose: 'Not a public directory — org-owner/org-admin or user self-serve billing surfaces; LIST/READ are org-owner/org-admin-gated API operations, while writes (auto-create + provider-event sync) stay internal service-pipeline ops, not HTTP-exposed. Provider events act with the handler-only `ORG_BILLING_PROVIDER_EVENTS` / `APP_BILLING_PROVIDER_EVENTS` role, which the LIST grant and the UPDATE that deactivates an account on `customer.deleted` name; READ does not.',\n },\n views: {\n [BillingAccount_Operations.OPEN_CHECKOUT]: { purpose: 'Custom flow entry that behaves like a purchase wizard linked to the account.', whenToUse: '“Upgrade” or “Buy credits” in product UI when checkout is the next step.' },\n [BillingAccount_Operations.OPEN_PORTAL]: { purpose: 'Custom flow entry for hosted portal; non-addressable `views` entry in merged presets (still documented as surfaced op).', whenToUse: '“Manage payment method / invoices” in settings.' },\n [BillingAccount_Operations.GET_STATE]: { purpose: 'Aggregate “billing snapshot” for dashboards; not a CRUD read replacement.', whenToUse: 'Billing home that needs a denormalized bundle in one call.' },\n [BillingAccount_Operations.REDEEM_REFERRAL]: { purpose: 'Action for entering a referral code on the account, non-addressable.', whenToUse: 'A new customer was given a code before their first purchase.' },\n },\n }),\n );\n}\n\nexport const organizationBillingAccountsResourceSpecification = buildBillingAccountResourceSpecification(\n CoreResourceType.ORGANIZATION_BILLING_ACCOUNTS,\n 'ORGANIZATION_BILLING_ACCOUNTS',\n);\n\nexport const userBillingAccountsResourceSpecification = buildBillingAccountResourceSpecification(\n CoreResourceType.USER_BILLING_ACCOUNTS,\n 'USER_BILLING_ACCOUNTS',\n);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-api-reference-examples.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"billing-api-reference-examples.d.ts","sourceRoot":"","sources":["../../../../../src/engine/billing/resources/billing-api-reference-examples.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,MAAM,MAAM,+BAA+B,GACvC,oBAAoB,CAAC,aAAa,GAClC,oBAAoB,CAAC,SAAS,CAAC;AAEnC,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACzD,QAAQ,CAAC,sBAAsB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IAClE,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,UAAU,EAAE,cAAc,GAAG,MAAM,CAAC;IAC7C,QAAQ,CAAC,SAAS,EAAE,+BAA+B,CAAC;CACrD;AAED;;;;;;;GAOG;AACH,wBAAgB,qCAAqC,CACnD,SAAS,EAAE,+BAA+B,GACzC,+BAA+B,CAuBjC;AAED,oEAAoE;AACpE,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,EAAE;;;;;;;;EAK5D;AAED,eAAO,MAAM,kCAAkC;;;;CAIrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-api-reference-examples.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"billing-api-reference-examples.js","sourceRoot":"","sources":["../../../../../src/engine/billing/resources/billing-api-reference-examples.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAc7D;;;;;;;GAOG;AACH,MAAM,UAAU,qCAAqC,CACnD,SAA0C;IAE1C,QAAQ,SAAS,EAAE,CAAC;QAClB,KAAK,oBAAoB,CAAC,aAAa;YACrC,OAAO;gBACL,aAAa,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;gBACrD,sBAAsB,EAAE,EAAE,4BAA4B,EAAE,2BAA2B,EAAE;gBACrF,gBAAgB,EAAE,2BAA2B;gBAC7C,UAAU,EAAE,cAAc;gBAC1B,SAAS;aACV,CAAC;QACJ,KAAK,oBAAoB,CAAC,SAAS;YACjC,OAAO;gBACL,aAAa,EAAE,EAAE,MAAM,EAAE,mBAAmB,EAAE;gBAC9C,sBAAsB,EAAE,EAAE,oBAAoB,EAAE,4BAA4B,EAAE;gBAC9E,gBAAgB,EAAE,4BAA4B;gBAC9C,UAAU,EAAE,MAAM;gBAClB,SAAS;aACV,CAAC;QACJ,OAAO,CAAC,CAAC,CAAC;YACR,MAAM,eAAe,GAAU,SAAS,CAAC;YACzC,MAAM,IAAI,KAAK,CAAC,oDAAoD,MAAM,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;QACjG,CAAC;IACH,CAAC;AACH,CAAC;AAED,oEAAoE;AACpE,MAAM,UAAU,uBAAuB,CAAI,IAAkB;IAC3D,OAAO;QACL,IAAI;QACJ,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE;KAC9F,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,gBAAgB;CACd,CAAC","sourcesContent":["import { ResourcePrimaryScope } from '@wildo-ai/saas-models';\n\nexport type BillingApiReferenceExampleScope =\n | ResourcePrimaryScope.ORGANIZATIONS\n | ResourcePrimaryScope.USER_SELF;\n\nexport interface BillingApiReferenceScopeExample {\n readonly scopeIdentity: Readonly<Record<string, string>>;\n readonly billingAccountIdentity: Readonly<Record<string, string>>;\n readonly billingAccountId: string;\n readonly scopeLabel: 'organization' | 'user';\n readonly scopeType: BillingApiReferenceExampleScope;\n}\n\n/**\n * Supplies the concrete polymorphic field names used by billing examples.\n *\n * Billing specifications are authored once but materialize as organization and\n * user resources. Keeping these names in one projector prevents an example for\n * `organizationSubscriptions` from leaking `organizationId` or\n * `organizationBillingAccountId` into the corresponding user contract.\n */\nexport function createBillingApiReferenceScopeExample(\n scopeType: BillingApiReferenceExampleScope,\n): BillingApiReferenceScopeExample {\n switch (scopeType) {\n case ResourcePrimaryScope.ORGANIZATIONS:\n return {\n scopeIdentity: { organizationId: 'org_01HX2EXAMPLE' },\n billingAccountIdentity: { organizationBillingAccountId: 'billacct_org_01HX2EXAMPLE' },\n billingAccountId: 'billacct_org_01HX2EXAMPLE',\n scopeLabel: 'organization',\n scopeType,\n };\n case ResourcePrimaryScope.USER_SELF:\n return {\n scopeIdentity: { userId: 'user_01HX2EXAMPLE' },\n billingAccountIdentity: { userBillingAccountId: 'billacct_user_01HX2EXAMPLE' },\n billingAccountId: 'billacct_user_01HX2EXAMPLE',\n scopeLabel: 'user',\n scopeType,\n };\n default: {\n const exhaustiveScope: never = scopeType;\n throw new Error(`Unsupported billing API-reference example scope: ${String(exhaustiveScope)}`);\n }\n }\n}\n\n/** One stable, schema-valid page envelope used by list examples. */\nexport function billingApiReferencePage<T>(data: readonly T[]) {\n return {\n data,\n pagination: { page: 1, limit: 20, total: data.length, totalPages: data.length === 0 ? 0 : 1 },\n };\n}\n\nexport const BILLING_API_REFERENCE_PAGE_REQUEST = {\n page: 1,\n limit: 20,\n sort: 'createdAt:desc',\n} as const;\n"]}
|
package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-effect-outbox.resource.specification.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"billing-effect-outbox.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/billing/resources/billing-effect-outbox.resource.specification.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAGjI;;;;;GAKG;AACH,eAAO,MAAM,wCAAwC,EAAE,8BA8JtD,CAAC"}
|
package/dist/esm/engine/billing/resources/billing-effect-outbox.resource.specification.js.map
CHANGED
|
@@ -1 +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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;aACF;SACF;QACD,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;YACX,OAAO,EAAE,oCAAoC;YAC7C,OAAO,EAAE,2FAA2F;YACpG,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,oDAAoD,EAAE,CAAC;YAC1H,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,2EAA2E,EAAE,CAAC;YAClJ,UAAU,EAAE,KAAK;YACjB,QAAQ,EAAE;gBACR,CAAC,6BAA6B,CAAC,QAAQ,CAAC,EAAE;oBACxC,OAAO,EAAE,qGAAqG;iBAC/G;aACF;SACF;KACF;IAED,mBAAmB,EAAE;QACnB,gFAAgF;QAChF,+LAA+L;QAC/L,gKAAgK;KACjK;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 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"]}
|
|
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,oB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AC,EAAE,IAAI,EAAE,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,oDAAoD,EAAE,CAAC;YAC1H,cAAc,EAAE,CAAC,EAAE,IAAI,EAAE,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,2EAA2E,EAAE,CAAC;YAClJ,UAAU,EAAE,KAAK;YACjB,QAAQ,EAAE;gBACR,CAAC,6BAA6B,CAAC,QAAQ,CAAC,EAAE;oBACxC,OAAO,EAAE,qGAAqG;iBAC/G;aACF;SACF;KACF;IAED,mBAAmB,EAAE;QACnB,gFAAgF;QAChF,+LAA+L;QAC/L,gKAAgK;KACjK;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 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"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-provider-event-settlements.resource.specification.d.ts","sourceRoot":"","sources":["
|
|
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"}
|
|
@@ -1 +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,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AoF,EAAE,CAAC;YAC3J,UAAU,EAAE,KAAK;YACjB,QAAQ,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 BUSINESS idempotency ledger shared by every backend replica: a retry delivered to another instance, after a restart, a replay, or long after the first delivery finds the settlement instead of repeating the grant. It sits behind the inbound delivery store, which stores each provider event once; this ledger makes the money effect happen once even when the same event is run again.',\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"]}
|
|
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,MAA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odeDeclarationKind, 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 BUSINESS idempotency ledger shared by every backend replica: a retry delivered to another instance, after a restart, a replay, or long after the first delivery finds the settlement instead of repeating the grant. It sits behind the inbound delivery store, which stores each provider event once; this ledger makes the money effect happen once even when the same event is run again.',\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"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-subscription-mutation-completions.resource.specification.d.ts","sourceRoot":"","sources":["
|
|
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"}
|