@wildo-ai/saas-specifications 1.1.3 → 1.1.4
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/schema-org/_catalog-spec.shared.schemas.d.ts.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-rating.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/article.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/blog-posting.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/breadcrumb-list.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/faq-page.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/offer.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/organization.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/review.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/website.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-behaviors.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/assertions/assertion-specification.schemas.d.ts.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-authored-metadata.schemas.d.ts.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-name.schemas.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/brand/brand-snapshot.schemas.d.ts.map +1 -1
- 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.family-aspects.d.ts.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.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-lite-snapshot-generation.schemas.d.ts.map +1 -1
- 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.map +1 -1
- 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.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.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/business-model-lite/pricing-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
- package/dist/esm/_core/chart-view-specification.schemas.d.ts.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-document-candidate-generation.schemas.d.ts +118 -0
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js +65 -3
- package/dist/esm/_core/compliance-documents/compliance-document-candidate-generation.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +498 -7
- 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 +472 -19
- 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/document-fact-specification-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +2 -0
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +2 -0
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/required-document-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/composite-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/cross-registry-assertions.d.ts.map +1 -1
- package/dist/esm/_core/data-seed-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/definition-specification-validators.d.ts.map +1 -1
- package/dist/esm/_core/definition-specification.schemas.d.ts.map +1 -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-validation.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/error-message-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/execution-view-specification.schemas.d.ts.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-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-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.schemas.d.ts.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.js.map +1 -1
- package/dist/esm/_core/feature-drafts/capability-map-output-set-generation.schemas.d.ts +9 -9
- 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-validation.d.ts.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/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.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/flows-actors-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/frontend-component-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/full-custom-view-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/guidance-flow-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/inherit-from.d.ts.map +1 -1
- package/dist/esm/_core/market/is-benefit-available.d.ts.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-category.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-channel.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-context-block.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-positioning.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-proof.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-scoring.d.ts.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +18 -18
- 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.map +1 -1
- package/dist/esm/_core/market/market-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-tone-of-voice.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/milestone-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/onboarding-view-specification.schemas.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts +22 -16
- package/dist/esm/_core/placement-plan/placement-plan-validation.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan-validation.js +17 -11
- 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.schemas.d.ts +12 -8
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +12 -8
- 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/provider-specification.schemas.d.ts +16 -0
- package/dist/esm/_core/provider-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/provider-specification.schemas.js +0 -20
- package/dist/esm/_core/provider-specification.schemas.js.map +1 -1
- package/dist/esm/_core/required-features-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/non-functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-generation.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot-validation.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/requirements.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification-registry-alignment.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-type-member-name.types.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-phase.schemas.d.ts.map +1 -1
- package/dist/esm/_core/roadmap/roadmap-references.schemas.d.ts.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.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/role-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/sidebar-section-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/system-email-template-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/translation-slot-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/utils/extract-field-specs.d.ts.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-marker-field-specs.d.ts.map +1 -1
- package/dist/esm/_core/utils/validate-field-shapes.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-authored-metadata.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-constraint.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-idea.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-mission.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-problem.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-references.schemas.d.ts.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.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision-success-criterion.schemas.d.ts.map +1 -1
- package/dist/esm/_core/vision/vision.family-aspects.d.ts.map +1 -1
- package/dist/esm/application-creation/application-coding-tasks.application-creation.schemas.d.ts.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-specification-family-identity.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-specification-family-identity.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/document-facts.family-aspects.d.ts.map +1 -1
- package/dist/esm/application-creation/document-release-policy.family-aspects.d.ts.map +1 -1
- package/dist/esm/application-creation/domain-plan-evaluation-identities.application-creation.definitions.d.ts.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/playbooks.application-creation.schemas.d.ts +8 -0
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +8 -0
- 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/structured-artifact-landing.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation-playbook-runtime.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.d.ts.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/assurance-authority-basis.definitions.d.ts +11 -0
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +37 -4
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +2 -2
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +30 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.js +40 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts +22 -9
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +2002 -29
- 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-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 +30 -0
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +40 -0
- 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.schemas.d.ts +30 -14
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +14 -6
- 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-sources.schemas.d.ts.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 +29 -0
- 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.exports.d.ts.map +1 -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/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/auth/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts +47 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +355 -0
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -0
- 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 +1 -0
- package/dist/esm/engine/auth/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/index.js +1 -0
- 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-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-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 +9 -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 +2 -0
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.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/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/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/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/resources/application-audit-logs.resource.specification.d.ts +69 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +316 -0
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts.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 +1 -0
- package/dist/esm/engine/compliance/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/index.js +1 -0
- package/dist/esm/engine/compliance/resources/index.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 +4 -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 +19 -0
- 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/features/_engine-feature-shared.d.ts.map +1 -1
- package/dist/esm/engine/features/advanced-analytics.feature.specification.d.ts.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/directory-provisioning.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/features/index.d.ts.map +1 -1
- package/dist/esm/engine/features/m2m-webhook-delivery.feature.specification.d.ts.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/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/single-sign-on.feature.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/index.d.ts.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 +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/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/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/frontend-components/actions/action-bar.frontend-component.specification.d.ts.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/button-group-separator.frontend-component.specification.d.ts.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.frontend-component.specification.d.ts.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/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.frontend-component.specification.d.ts.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-image.frontend-component.specification.d.ts.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/chat/ai-conversation.frontend-component.specification.d.ts.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-prompt-input.frontend-component.specification.d.ts.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-suggestion.frontend-component.specification.d.ts.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/decision/ai-approval-queue.frontend-component.specification.d.ts.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-decision-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.d.ts.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-queue.frontend-component.specification.d.ts.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-tool.frontend-component.specification.d.ts.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-connection.frontend-component.specification.d.ts.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-edge.frontend-component.specification.d.ts.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-panel.frontend-component.specification.d.ts.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/meta/ai-agent-capabilities.frontend-component.specification.d.ts.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-list.frontend-component.specification.d.ts.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-context.frontend-component.specification.d.ts.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-open-in-chat.frontend-component.specification.d.ts.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-shimmer.frontend-component.specification.d.ts.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-checkpoint.frontend-component.specification.d.ts.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-plan.frontend-component.specification.d.ts.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/app/app-layout-appearance-settings.frontend-component.specification.d.ts.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-error-boundary.frontend-component.specification.d.ts.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-invitations-settings.frontend-component.specification.d.ts.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-router-error-boundary.frontend-component.specification.d.ts.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-layouts-test-component.frontend-component.specification.d.ts.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-dashboard.frontend-component.specification.d.ts.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/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-main-container.frontend-component.specification.d.ts.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-terms.frontend-component.specification.d.ts.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/public-layout-auth-callback.frontend-component.specification.d.ts.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-magic-link-verify.frontend-component.specification.d.ts.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-oauth-consent.frontend-component.specification.d.ts.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-logout-confirm.frontend-component.specification.d.ts.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-user-auth.frontend-component.specification.d.ts.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-invitation.frontend-component.specification.d.ts.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-register.frontend-component.specification.d.ts.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-portal-link.frontend-component.specification.d.ts.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-subscription-status.frontend-component.specification.d.ts.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/data-display/avatar.frontend-component.specification.d.ts.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/description-details.frontend-component.specification.d.ts.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-term.frontend-component.specification.d.ts.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-bigdecimal.frontend-component.specification.d.ts.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-code.frontend-component.specification.d.ts.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-datetime.frontend-component.specification.d.ts.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-enum.frontend-component.specification.d.ts.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-document.frontend-component.specification.d.ts.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-image.frontend-component.specification.d.ts.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.frontend-component.specification.d.ts.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-money.extra-props.d.ts.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-number.frontend-component.specification.d.ts.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-range-bigdecimal.frontend-component.specification.d.ts.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-datetime.frontend-component.specification.d.ts.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-number.frontend-component.specification.d.ts.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-string.frontend-component.specification.d.ts.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/notification-indicator.frontend-component.specification.d.ts.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/danger-zone.frontend-component.specification.d.ts.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/error-display.frontend-component.specification.d.ts.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-lock-badge.frontend-component.specification.d.ts.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-prompt.frontend-component.specification.d.ts.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-spinner.frontend-component.specification.d.ts.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/progress.frontend-component.specification.d.ts.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/toast.frontend-component.specification.d.ts.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-agent-config.frontend-component.specification.d.ts.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 +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-decision.frontend-component.specification.d.ts.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-stream.frontend-component.specification.d.ts.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-node.frontend-component.specification.d.ts.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-task-detail.frontend-component.specification.d.ts.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/form/_framework-layout-form-field-spec.factory.d.ts.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/autosave-indicator.frontend-component.specification.d.ts.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-description.frontend-component.specification.d.ts.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-label.frontend-component.specification.d.ts.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-title.frontend-component.specification.d.ts.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/form-control.frontend-component.specification.d.ts.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-field.frontend-component.specification.d.ts.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-label.frontend-component.specification.d.ts.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-root.frontend-component.specification.d.ts.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.frontend-component.specification.d.ts.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/switch.frontend-component.specification.d.ts.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.frontend-component.specification.d.ts.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.frontend-component.specification.d.ts.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/datepicker.frontend-component.specification.d.ts.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-range-picker.frontend-component.specification.d.ts.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-range-picker.frontend-component.specification.d.ts.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-item.frontend-component.specification.d.ts.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.frontend-component.specification.d.ts.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/file/file-upload.frontend-component.specification.d.ts.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/input-group-addon.frontend-component.specification.d.ts.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-input.frontend-component.specification.d.ts.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-textarea.frontend-component.specification.d.ts.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.frontend-component.specification.d.ts.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/slider.frontend-component.specification.d.ts.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/input-otp.frontend-component.specification.d.ts.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/password-input.frontend-component.specification.d.ts.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/fields/form-field-bigdecimal.frontend-component.specification.d.ts.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-code.frontend-component.specification.d.ts.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-datetime.frontend-component.specification.d.ts.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-enum.frontend-component.specification.d.ts.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-money.frontend-component.specification.d.ts.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-phone.frontend-component.specification.d.ts.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-date.frontend-component.specification.d.ts.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-money.frontend-component.specification.d.ts.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-time.frontend-component.specification.d.ts.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-time.frontend-component.specification.d.ts.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/guidance/guidance-announcement.frontend-component.specification.d.ts.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-banner.frontend-component.specification.d.ts.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-checklist-item.frontend-component.specification.d.ts.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-modal.frontend-component.specification.d.ts.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-survey.frontend-component.specification.d.ts.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-tour.frontend-component.specification.d.ts.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-widget.frontend-component.specification.d.ts.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-composite.frontend-component.specification.d.ts.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-flows-actors.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.d.ts.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/index.d.ts.map +1 -1
- 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/layout/aspect-ratio.frontend-component.specification.d.ts.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/divider.frontend-component.specification.d.ts.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/scroll-area.frontend-component.specification.d.ts.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-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-group.frontend-component.specification.d.ts.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.frontend-component.specification.d.ts.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/navigation/app-level/activity-bar.frontend-component.specification.d.ts.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/control-panel.frontend-component.specification.d.ts.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/navigation-back.frontend-component.specification.d.ts.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/quick-action-button.frontend-component.specification.d.ts.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/sidebar.frontend-component.specification.d.ts.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/toolbar.frontend-component.specification.d.ts.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/utility-panel.frontend-component.specification.d.ts.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/command.frontend-component.specification.d.ts.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/navbar.frontend-component.specification.d.ts.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/overlays/containers/alert-dialog.frontend-component.specification.d.ts.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/dialog.frontend-component.specification.d.ts.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/sheet.frontend-component.specification.d.ts.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/dropdown-menu.frontend-component.specification.d.ts.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/popover.frontend-component.specification.d.ts.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/progression/progression-achievement-badge.frontend-component.specification.d.ts.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/resources/_framework-layout-resource-layout-spec.factory.d.ts.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-breadcrumb.frontend-component.specification.d.ts.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-nested.frontend-component.specification.d.ts.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-danger-zone.frontend-component.specification.d.ts.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-filters.frontend-component.specification.d.ts.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-list-table.frontend-component.preset-specification.d.ts.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-operation-bulk.frontend-component.specification.d.ts.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-pagination.frontend-component.specification.d.ts.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-summary-table-row.frontend-component.preset-specification.d.ts.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.frontend-component.specification.d.ts.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.frontend-component.specification.d.ts.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/resources-fields-resource-reference-display.frontend-component.specification.d.ts.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.frontend-component.specification.d.ts.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/card.frontend-component.specification.d.ts.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/pagination.frontend-component.specification.d.ts.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/stepper.frontend-component.specification.d.ts.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/tabs.frontend-component.specification.d.ts.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/heading.frontend-component.specification.d.ts.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/link.frontend-component.specification.d.ts.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/subheading.frontend-component.specification.d.ts.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.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/full-custom-views/index.d.ts.map +1 -1
- package/dist/esm/engine/guidance/index.d.ts.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/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/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/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/index.d.ts.map +1 -1
- 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.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/index.d.ts.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/index.d.ts.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/security.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/subscription.system-emails.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/index.d.ts.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/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/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 +10 -1
- package/dist/esm/engine/providers/anthropic.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.js +10 -1
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js +9 -1
- package/dist/esm/engine/providers/email-preview.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +10 -1
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js +10 -1
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/grok.provider.specification.js +10 -1
- package/dist/esm/engine/providers/grok.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/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 +10 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js +10 -1
- package/dist/esm/engine/providers/mistral.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/openai.provider.specification.js +10 -1
- package/dist/esm/engine/providers/openai.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js +9 -1
- package/dist/esm/engine/providers/opencode.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js +10 -1
- package/dist/esm/engine/providers/perplexity.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +10 -1
- package/dist/esm/engine/providers/resend.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js +10 -1
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js +10 -1
- package/dist/esm/engine/providers/twilio.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/_engine-role-shared.d.ts.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-marketing-editor.role.specification.d.ts.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-viewer.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-anonymous.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-public.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/app-user.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-admin.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-guest.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-manager.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-member.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/roles/org-owner.role.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/index.d.ts.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.map +1 -1
- package/dist/esm/engine/users/resources/index.d.ts.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/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.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 +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.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/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-assets.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-capture.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-common.schemas.d.ts.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-evidence.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-lifecycle.schemas.d.ts.map +1 -1
- package/dist/esm/technical-documentation/technical-documentation-publication.schemas.d.ts.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/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.d.ts.map +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-plan-change-preview.frontend-component.specification.js.map +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.d.ts.map +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js +0 -0
- package/dist/esm/engine/frontend-components/billing/billing-promotion-code-input.frontend-component.specification.js.map +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guidance-state.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/guidance/resources/guidance-state.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gDAAgD,IAAI,sBAAsB,EAC1E,mDAAmD,IAAI,yBAAyB,EAChF,2CAA2C,IAAI,0BAA0B,GAC1E,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,+BAA+B,EAC/B,oBAAoB,EACpB,uBAAuB,EACvB,oEAAoE,IAAI,gCAAgC,EACxG,4DAA4D,IAAI,wBAAwB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,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,mFAAmF,EAAE,SAAS,EAAE,yCAAyC,EAAE;QACnK,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,0GAA0G,EAAE,SAAS,EAAE,gDAAgD,EAAE;KAClM;CACF,CAAC,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,8CAA8C,GAAG,8CAA8C,CAC1G,mCAAmC,CAAC,6BAA6B,CAAC,qBAAqB,CAAC,EAAE,6BAA6B,CAAC,kBAAkB,CAAC,CAAC,EAC5I,wBAAwB,EACxB,GAAG,EAAE,CAAC,CAAC;IACL,KAAK,EAAE,EAAE,OAAO,EAAE,sHAAsH,EAAE;IAC1I,MAAM,EAAE;QACN,OAAO,EAAE,wIAAwI;QACjJ,cAAc,EAAE,gHAAgH;QAChI,QAAQ,EAAE;YACR,QAAQ,EAAE;gBACR,OAAO,EAAE,iDAAiD;gBAC1D,SAAS,EAAE,iEAAiE;gBAC5E,SAAS,EAAE;oBACT,KAAK,EAAE,EAAE,OAAO,EAAE,6CAA6C,EAAE;oBACjE,WAAW,EAAE,EAAE,OAAO,EAAE,qHAAqH,EAAE;iBAChJ;aACF;SACF;KACF;IACD,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,oGAAoG,EAAE,SAAS,EAAE,+DAA+D,EAAE;QACxM,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,yEAAyE,EAAE,SAAS,EAAE,mDAAmD,EAAE;QACnK,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,EAAE,wEAAwE,EAAE,SAAS,EAAE,mEAAmE,EAAE;KACnL;CACF,CAAC,CACH,CAAC","sourcesContent":["import {\n organizationGuidanceStateAdminResourceUIBehavior as orgGuidanceAdminSource,\n organizationGuidanceStatePlatformResourceUIBehavior as orgGuidancePlatformSource,\n userGuidanceStatePlatformResourceUIBehavior as userGuidancePlatformSource,\n} 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 CoreResourceOperation as Op,\n OrganizationGuidanceStateSchema,\n ResourcePrimaryScope,\n UserGuidanceStateSchema,\n organizationGuidanceStateResourceConfiguration_InitializationFactory as organizationGuidanceStateFactory,\n userGuidanceStateResourceConfiguration_InitializationFactory as userGuidanceStateFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype UCfg = ReturnType<typeof userGuidanceStateFactory>;\ntype UCore = UCfg['coreOperations'][number];\ntype UserMain = UCfg['mainSchema'];\nconst userGuidanceUI = userGuidancePlatformSource as ResourceUIBehaviorConfig<Record<string, never>, UCore, UserMain>;\n\ntype OCfg = ReturnType<typeof organizationGuidanceStateFactory>;\ntype OCore = OCfg['coreOperations'][number];\ntype OrgMain = OCfg['mainSchema'];\nconst orgGuidancePlatformUI = orgGuidancePlatformSource as ResourceUIBehaviorConfig<Record<string, never>, OCore, OrgMain>;\nconst orgGuidanceAdminUI = orgGuidanceAdminSource as ResourceUIBehaviorConfig<Record<string, never>, OCore, OrgMain>;\n\nconst userGuidanceBase = resourceSpecification<Record<string, never>, UCore, UserMain>(\n userGuidanceStateFactory,\n UserGuidanceStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Per-user guidance engine state: which onboarding/guidance flows are started, completed, or dismissed, plus per-element progress.',\n businessRole: 'The persisted progress map the companion and in-app coach use to avoid repeating finished tours and to resume partial flows.',\n lifecycleRole: 'App user upserts rows as the guidance engine or admin tooling advances flow state; not a public directory resource.',\n audience: LabelAudience.END_USER,\n subDomain: EngineResourceSubDomain.GUIDANCE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'UserGuidanceStateSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'userGuidanceStateResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'USER_GUIDANCE_STATE' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSources: [{ packageName: '@wildo-ai/presets-components', exportName: 'userGuidanceStatePlatformResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR }],\n },\n fields: {\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'Owning user for the guidance state document; immutable after create.',\n whyItMatters: 'Scopes READ/UPDATE through the user-self access strategy so a user can never read another user’s guidance progress.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n flows: schemaShape.flows.objectSpec({ meaning: 'Map of `flowRef` to flow-level status, element map, and trigger counts for the guidance engine.' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the current user guidance state for coach surfaces.',\n outcome: 'Flow and element status hydrate UI and the companion.',\n responseStatuses: [\n // Self-state read lazily materializes: when no row exists yet the runtime returns a default state rather than 404, so 404 is intentionally NOT documented.\n { code: HttpResponseStatusCode.OK_200, meaning: 'The caller’s guidance state is returned; if no record has been materialized yet a default empty-flows state is returned rather than a 404.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session, so the per-user guidance state cannot be resolved.' },\n ],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Initialize guidance state for a user (first run).',\n outcome: 'Empty or seeded `flows` map for subsequent updates.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A guidance state record was created for the caller with the seeded `flows` map.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The seeded `flows` payload fails `GuidanceStateSchema` validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session to own the new guidance state row.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Initialize a user guidance state',\n request: {\n flows: {\n onboarding_tour: { status: 'IN_PROGRESS', elements: {}, triggerCount: 1 },\n },\n },\n response: {\n flows: {\n onboarding_tour: { status: 'IN_PROGRESS', elements: {}, triggerCount: 1 },\n },\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Patch flow and element state as a user progresses; send only the parts that changed.',\n outcome: 'The application merges the supplied parts into the stored state; untouched parts are left alone.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The partial flow/element patch was merged into the caller’s guidance state and the result is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial `GuidanceStateSchema` patch fails validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session for the guidance state being patched.' },\n ],\n // Convergent: completing/dismissing a flow merges to the same end state, so re-applying the same patch is side-effect-free.\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Search stored guidance state.',\n outcome: 'Administrative and support tooling can find guidance state; an end-user surface rarely needs it.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of guidance state records; search metadata is intentionally minimal for this resource.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session for the guidance search context.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the user guidance state row when its owning user is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton state row is removed together with the user — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The user guidance state record was deleted as part of the owning user’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (super-admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Platform presets intentionally keep routes non-addressable; companion copy should not claim a public “guidance list” for end users unless product wiring changes.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.USER_SELF },\n);\n\nconst organizationGuidanceBase = resourceSpecification<Record<string, never>, OCore, OrgMain>(\n organizationGuidanceStateFactory,\n OrganizationGuidanceStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Per-organization guidance state: shared coach progress for org-wide onboarding and education flows (parallel shape to the user document).',\n businessRole: 'Holds which org-level flows are active, completed, or dismissed so admins and the engine can coordinate org rollout.',\n lifecycleRole: 'Created/updated by org admins, super-admins, or automation when org guidance policies change; member reads may be allowed in factory for transparency.',\n audience: LabelAudience.END_USER,\n subDomain: EngineResourceSubDomain.GUIDANCE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'OrganizationGuidanceStateSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'organizationGuidanceStateResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'ORGANIZATION_GUIDANCE_STATE' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSources: [\n { packageName: '@wildo-ai/presets-components', exportName: 'organizationGuidanceStatePlatformResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR },\n { packageName: '@wildo-ai/presets-components', exportName: 'organizationGuidanceStateAdminResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR },\n ],\n },\n fields: {\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'Owning organization for the guidance state document; immutable after create.',\n whyItMatters: 'Scopes READ/UPDATE through the org access strategy so a tenant can never read another tenant’s guidance progress.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n flows: schemaShape.flows.objectSpec({ meaning: 'Same flow/element state shape as the user variant, stored at org scope for shared journeys.' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Fetch org-level guidance state for security/billing org consoles.',\n outcome: 'Flow map for in-product coach tied to a tenant.',\n responseStatuses: [\n // Scoped-state read lazily materializes: an org with no row yet gets a default state rather than 404, so 404 is intentionally NOT documented.\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization’s guidance state is returned; if no record has been materialized yet a default empty-flows state is returned rather than a 404.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated org-member session for the tenant guidance state.' },\n ],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Initialize org guidance when first org-wide flows activate.',\n outcome: 'Baseline row the engine can update.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'An org-level guidance state record was created with the seeded `flows` map.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The seeded `flows` payload fails `GuidanceStateSchema` validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin or super-admin; org guidance state is initialized by admins only.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Initialize an organization guidance state',\n request: {\n flows: {\n org_rollout_tour: { status: 'IN_PROGRESS', elements: {}, triggerCount: 1 },\n },\n },\n response: {\n flows: {\n org_rollout_tour: { status: 'IN_PROGRESS', elements: {}, triggerCount: 1 },\n },\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Patch org state when admins advance or reset flows (admin/super-admin roles in factory).',\n outcome: 'Updated tour visibility and element completion for members when policies allow.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The org guidance state patch was merged and the result is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial `GuidanceStateSchema` patch fails validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin or super-admin; advancing/resetting org flows is admin-gated.' },\n ],\n // Convergent: advancing/dismissing org flows merges to the same end state, so re-applying the same patch is side-effect-free.\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Factory search hook; merged admin bundle removes the SEARCH view — still describe the op for backend truth.',\n outcome: 'Not surfaced as a navigable list in merged presets for this resource.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of org guidance state records; not surfaced as a navigable list in merged presets.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated org-member session for the guidance search context.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the organization guidance state row when its owning organization is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton state row is removed together with the organization — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization guidance state record was deleted as part of the owning organization’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (ORG_ADMIN) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Merged `guidance` admin preset removes SEARCH from the org guidance bundle; companion must not require a public org guidance directory route.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\nexport const userGuidanceStateResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(userGuidanceUI),\n userGuidanceBase,\n () => ({\n label: { purpose: 'Presets build a short label from flow count: “User guidance · N flows” when any flow exists, else “User guidance”.' },\n layout: {\n purpose: 'Single `overview` section rendering the `flows` map in platform presets — inline display/summary/edit share one card for engine-owned JSON.',\n displayPurpose: 'Not a CRUD form for arbitrary JSON; the edit template exists for administrative tooling, not self-serve in typical apps.',\n sections: {\n overview: {\n purpose: 'The entire guidance tree (flows, elements, status) in one place.',\n whenToUse: 'Any screen that must debug or show raw guidance progress in platform builds.',\n textSlots: {\n title: { purpose: 'Name the current guidance state record.' },\n description: { purpose: 'Clarify that flow keys map to `guidance-flow` definition refs in the product catalog, not ad-hoc strings.' },\n },\n },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Read-only host for the guidance JSON in platform presets; non-addressable in default `views` wiring.', whenToUse: 'When product routes expose read access for diagnostics.' },\n [Op.CREATE]: { purpose: 'First-write initialization path when no row yet exists; non-addressable in default `views` wiring.', whenToUse: 'Onboarding of the guidance state row during user bootstrap.' },\n [Op.UPDATE]: { purpose: 'Patch-level updates as flows progress; non-addressable in default `views` wiring.', whenToUse: 'Engine callbacks after each coach step.' },\n [Op.SEARCH]: { purpose: 'Factory exposes SEARCH for service compatibility; not addressable in platform preset list for this type.', whenToUse: 'Internal or future admin discovery tools only.' },\n },\n }),\n);\n\nexport const organizationGuidanceStateResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(resourceFrontendConfiguration(orgGuidancePlatformUI), resourceFrontendConfiguration(orgGuidanceAdminUI)),\n organizationGuidanceBase,\n () => ({\n label: { purpose: '“Organization guidance · N flows” from flow map size in merged presets, matching the `guidanceLabel` helper pattern.' },\n layout: {\n purpose: 'Same single-section `overview` as the user platform preset; merged admin only removes the SEARCH view entry — layout chrome is shared.',\n displayPurpose: 'Admin merge keeps display/edit templates from the platform block so org and platform consoles stay consistent.',\n sections: {\n overview: {\n purpose: 'Flow map for the organization’s guidance state.',\n whenToUse: 'Org admin and super-admin org drill-downs for rollout tracking.',\n textSlots: {\n title: { purpose: 'Label the org-level guidance state surface.' },\n description: { purpose: 'Distinguish from per-user `USER_GUIDANCE_STATE` which tracks individual progress instead of the org rollout bucket.' },\n },\n },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Read org guidance for merged platform+admin; non-addressable in default `views` wiring in presets.', whenToUse: 'When org admin routes surface the coach state for the tenant.' },\n [Op.CREATE]: { purpose: 'Create org state when missing; same non-addressable pattern in presets.', whenToUse: 'First activation of an org with guidance enabled.' },\n [Op.UPDATE]: { purpose: 'Admin and super-admin updates; non-addressable in default preset list.', whenToUse: 'When flows are advanced, dismissed, or reset in operator tooling.' },\n },\n }),\n);\n"]}
|
|
1
|
+
{"version":3,"file":"guidance-state.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/guidance/resources/guidance-state.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gDAAgD,IAAI,sBAAsB,EAC1E,mDAAmD,IAAI,yBAAyB,EAChF,2CAA2C,IAAI,0BAA0B,GAC1E,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,+BAA+B,E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ehavior as orgGuidanceAdminSource,\n organizationGuidanceStatePlatformResourceUIBehavior as orgGuidancePlatformSource,\n userGuidanceStatePlatformResourceUIBehavior as userGuidancePlatformSource,\n} 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 CoreResourceOperation as Op,\n OrganizationGuidanceStateSchema,\n ResourcePrimaryScope,\n UserGuidanceStateSchema,\n organizationGuidanceStateResourceConfiguration_InitializationFactory as organizationGuidanceStateFactory,\n userGuidanceStateResourceConfiguration_InitializationFactory as userGuidanceStateFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype UCfg = ReturnType<typeof userGuidanceStateFactory>;\ntype UCore = UCfg['coreOperations'][number];\ntype UserMain = UCfg['mainSchema'];\nconst userGuidanceUI = userGuidancePlatformSource as ResourceUIBehaviorConfig<Record<string, never>, UCore, UserMain>;\n\ntype OCfg = ReturnType<typeof organizationGuidanceStateFactory>;\ntype OCore = OCfg['coreOperations'][number];\ntype OrgMain = OCfg['mainSchema'];\nconst orgGuidancePlatformUI = orgGuidancePlatformSource as ResourceUIBehaviorConfig<Record<string, never>, OCore, OrgMain>;\nconst orgGuidanceAdminUI = orgGuidanceAdminSource as ResourceUIBehaviorConfig<Record<string, never>, OCore, OrgMain>;\n\nconst userGuidanceBase = resourceSpecification<Record<string, never>, UCore, UserMain>(\n userGuidanceStateFactory,\n UserGuidanceStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Per-user guidance engine state: which onboarding/guidance flows are started, completed, or dismissed, plus per-element progress.',\n businessRole: 'The persisted progress map the companion and in-app coach use to avoid repeating finished tours and to resume partial flows.',\n lifecycleRole: 'App user upserts rows as the guidance engine or admin tooling advances flow state; not a public directory resource.',\n audience: LabelAudience.END_USER,\n subDomain: EngineResourceSubDomain.GUIDANCE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'UserGuidanceStateSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'userGuidanceStateResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'USER_GUIDANCE_STATE' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSources: [{ packageName: '@wildo-ai/presets-components', exportName: 'userGuidanceStatePlatformResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR }],\n },\n fields: {\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'Owning user for the guidance state document; immutable after create.',\n whyItMatters: 'Scopes READ/UPDATE through the user-self access strategy so a user can never read another user’s guidance progress.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n flows: schemaShape.flows.objectSpec({ meaning: 'Map of `flowRef` to flow-level status, element map, and trigger counts for the guidance engine.' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the current user guidance state for coach surfaces.',\n outcome: 'Flow and element status hydrate UI and the companion.',\n responseStatuses: [\n // Self-state read lazily materializes: when no row exists yet the runtime returns a default state rather than 404, so 404 is intentionally NOT documented.\n { code: HttpResponseStatusCode.OK_200, meaning: 'The caller’s guidance state is returned; if no record has been materialized yet a default empty-flows state is returned rather than a 404.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session, so the per-user guidance state cannot be resolved.' },\n ],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Initialize guidance state for a user (first run).',\n outcome: 'Empty or seeded `flows` map for subsequent updates.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A guidance state record was created for the caller with the seeded `flows` map.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The seeded `flows` payload fails `GuidanceStateSchema` validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session to own the new guidance state row.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Initialize a user guidance state',\n request: {\n flows: {\n onboarding_tour: { status: 'IN_PROGRESS', elements: {}, triggerCount: 1 },\n },\n },\n response: {\n flows: {\n onboarding_tour: { status: 'IN_PROGRESS', elements: {}, triggerCount: 1 },\n },\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Patch flow and element state as a user progresses; send only the parts that changed.',\n outcome: 'The application merges the supplied parts into the stored state; untouched parts are left alone.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The partial flow/element patch was merged into the caller’s guidance state and the result is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial `GuidanceStateSchema` patch fails validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session for the guidance state being patched.' },\n ],\n // Convergent: completing/dismissing a flow merges to the same end state, so re-applying the same patch is side-effect-free.\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Search stored guidance state.',\n outcome: 'Administrative and support tooling can find guidance state; an end-user surface rarely needs it.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of guidance state records; search metadata is intentionally minimal for this resource.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session for the guidance search context.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the user guidance state row when its owning user is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton state row is removed together with the user — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The user guidance state record was deleted as part of the owning user’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (super-admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Platform presets intentionally keep routes non-addressable; companion copy should not claim a public “guidance list” for end users unless product wiring changes.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.USER_SELF },\n);\n\nconst organizationGuidanceBase = resourceSpecification<Record<string, never>, OCore, OrgMain>(\n organizationGuidanceStateFactory,\n OrganizationGuidanceStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Per-organization guidance state: shared coach progress for org-wide onboarding and education flows (parallel shape to the user document).',\n businessRole: 'Holds which org-level flows are active, completed, or dismissed so admins and the engine can coordinate org rollout.',\n lifecycleRole: 'Created/updated by org admins, super-admins, or automation when org guidance policies change; member reads may be allowed in factory for transparency.',\n audience: LabelAudience.END_USER,\n subDomain: EngineResourceSubDomain.GUIDANCE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'OrganizationGuidanceStateSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'organizationGuidanceStateResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'ORGANIZATION_GUIDANCE_STATE' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSources: [\n { packageName: '@wildo-ai/presets-components', exportName: 'organizationGuidanceStatePlatformResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR },\n { packageName: '@wildo-ai/presets-components', exportName: 'organizationGuidanceStateAdminResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR },\n ],\n },\n fields: {\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'Owning organization for the guidance state document; immutable after create.',\n whyItMatters: 'Scopes READ/UPDATE through the org access strategy so a tenant can never read another tenant’s guidance progress.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n flows: schemaShape.flows.objectSpec({ meaning: 'Same flow/element state shape as the user variant, stored at org scope for shared journeys.' }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Fetch org-level guidance state for security/billing org consoles.',\n outcome: 'Flow map for in-product coach tied to a tenant.',\n responseStatuses: [\n // Scoped-state read lazily materializes: an org with no row yet gets a default state rather than 404, so 404 is intentionally NOT documented.\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization’s guidance state is returned; if no record has been materialized yet a default empty-flows state is returned rather than a 404.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated org-member session for the tenant guidance state.' },\n ],\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Initialize org guidance when first org-wide flows activate.',\n outcome: 'Baseline row the engine can update.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'An org-level guidance state record was created with the seeded `flows` map.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The seeded `flows` payload fails `GuidanceStateSchema` validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin or super-admin; org guidance state is initialized by admins only.' },\n ],\n idempotent: false,\n examples: [\n {\n title: 'Initialize an organization guidance state',\n request: {\n flows: {\n org_rollout_tour: { status: 'IN_PROGRESS', elements: {}, triggerCount: 1 },\n },\n },\n response: {\n flows: {\n org_rollout_tour: { status: 'IN_PROGRESS', elements: {}, triggerCount: 1 },\n },\n },\n forStatus: HttpResponseStatusCode.CREATED_201,\n },\n ],\n },\n [Op.UPDATE]: {\n purpose: 'Patch org state when admins advance or reset flows (admin/super-admin roles in factory).',\n outcome: 'Updated tour visibility and element completion for members when policies allow.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The org guidance state patch was merged and the result is returned.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.BAD_REQUEST_400, when: 'The partial `GuidanceStateSchema` patch fails validation.', errorCode: 'VALIDATION_FAILED' },\n { code: HttpResponseStatusCode.FORBIDDEN_403, when: 'The caller is not an organization admin or super-admin; advancing/resetting org flows is admin-gated.' },\n ],\n // Convergent: advancing/dismissing org flows merges to the same end state, so re-applying the same patch is side-effect-free.\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Factory search hook; merged admin bundle removes the SEARCH view — still describe the op for backend truth.',\n outcome: 'Not surfaced as a navigable list in merged presets for this resource.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of org guidance state records; not surfaced as a navigable list in merged presets.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated org-member session for the guidance search context.' },\n ],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the organization guidance state row when its owning organization is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton state row is removed together with the organization — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization guidance state record was deleted as part of the owning organization’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (ORG_ADMIN) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Merged `guidance` admin preset removes SEARCH from the org guidance bundle; companion must not require a public org guidance directory route.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\nexport const userGuidanceStateResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(userGuidanceUI),\n userGuidanceBase,\n () => ({\n label: { purpose: 'Presets build a short label from flow count: “User guidance · N flows” when any flow exists, else “User guidance”.' },\n layout: {\n purpose: 'Single `overview` section rendering the `flows` map in platform presets — inline display/summary/edit share one card for engine-owned JSON.',\n displayPurpose: 'Not a CRUD form for arbitrary JSON; the edit template exists for administrative tooling, not self-serve in typical apps.',\n sections: {\n overview: {\n purpose: 'The entire guidance tree (flows, elements, status) in one place.',\n whenToUse: 'Any screen that must debug or show raw guidance progress in platform builds.',\n textSlots: {\n title: { purpose: 'Name the current guidance state record.' },\n description: { purpose: 'Clarify that flow keys map to `guidance-flow` definition refs in the product catalog, not ad-hoc strings.' },\n },\n },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Read-only host for the guidance JSON in platform presets; non-addressable in default `views` wiring.', whenToUse: 'When product routes expose read access for diagnostics.' },\n [Op.CREATE]: { purpose: 'First-write initialization path when no row yet exists; non-addressable in default `views` wiring.', whenToUse: 'Onboarding of the guidance state row during user bootstrap.' },\n [Op.UPDATE]: { purpose: 'Patch-level updates as flows progress; non-addressable in default `views` wiring.', whenToUse: 'Engine callbacks after each coach step.' },\n [Op.SEARCH]: { purpose: 'Factory exposes SEARCH for service compatibility; not addressable in platform preset list for this type.', whenToUse: 'Internal or future admin discovery tools only.' },\n },\n }),\n);\n\nexport const organizationGuidanceStateResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(resourceFrontendConfiguration(orgGuidancePlatformUI), resourceFrontendConfiguration(orgGuidanceAdminUI)),\n organizationGuidanceBase,\n () => ({\n label: { purpose: '“Organization guidance · N flows” from flow map size in merged presets, matching the `guidanceLabel` helper pattern.' },\n layout: {\n purpose: 'Same single-section `overview` as the user platform preset; merged admin only removes the SEARCH view entry — layout chrome is shared.',\n displayPurpose: 'Admin merge keeps display/edit templates from the platform block so org and platform consoles stay consistent.',\n sections: {\n overview: {\n purpose: 'Flow map for the organization’s guidance state.',\n whenToUse: 'Org admin and super-admin org drill-downs for rollout tracking.',\n textSlots: {\n title: { purpose: 'Label the org-level guidance state surface.' },\n description: { purpose: 'Distinguish from per-user `USER_GUIDANCE_STATE` which tracks individual progress instead of the org rollout bucket.' },\n },\n },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Read org guidance for merged platform+admin; non-addressable in default `views` wiring in presets.', whenToUse: 'When org admin routes surface the coach state for the tenant.' },\n [Op.CREATE]: { purpose: 'Create org state when missing; same non-addressable pattern in presets.', whenToUse: 'First activation of an org with guidance enabled.' },\n [Op.UPDATE]: { purpose: 'Admin and super-admin updates; non-addressable in default preset list.', whenToUse: 'When flows are advanced, dismissed, or reset in operator tooling.' },\n },\n }),\n);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/engine/guidance/resources/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0CAA0C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle-state.resource.specification.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"lifecycle-state.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/guidance/resources/lifecycle-state.resource.specification.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,cAAc,EAMf,MAAM,uBAAuB,CAAC;AAkY/B,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;iCAmBnD,CAAC;AAEF,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;;;iCAkB3D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle-state.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/guidance/resources/lifecycle-state.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iDAAiD,IAAI,gBAAgB,EACrE,gDAAgD,IAAI,eAAe,EACnE,4CAA4C,IAAI,oBAAoB,GACrE,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,cAAc,EACd,gCAAgC,EAChC,oBAAoB,EACpB,wBAAwB,EACxB,qEAAqE,IAAI,iCAAiC,EAC1G,6DAA6D,IAAI,yBAAyB,GAC3F,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAK3E,MAAM,QAAQ,GAAG,oBAAqF,CAAC;AAKvG,MAAM,WAAW,GAAG,eAAgF,CAAC;AACrG,MAAM,YAAY,GAAG,gBAAiF,CAAC;AAEvG,MAAM,4BAA4B,GAAG;IACnC,YAAY,EAAE,cAAc,CAAC,OAAO;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MAAM,+CAA+C,GAAG,8CAA8C,CAC3G,mCAAmC,CAAC,6BAA6B,CAAC,WAAW,CAAC,EAAE,6BAA6B,CAAC,YAAY,CAAC,CAAC,EAC5H,yBAAyB,EACzB,GAAG,EAAE,CAAC,CAAC;IACL,KAAK,EAAE,EAAE,OAAO,EAAE,iGAAiG,EAAE;IACrH,MAAM,EAAE;QACN,OAAO,EAAE,uJAAuJ;QAChK,cAAc,EAAE,6FAA6F;QAC7G,QAAQ,EAAE;YACR,QAAQ,EAAE,EAAE,OAAO,EAAE,uEAAuE,EAAE,SAAS,EAAE,uDAAuD,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,sBAAsB,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,0DAA0D,EAAE,EAAE,EAAE;YACnT,UAAU,EAAE,EAAE,OAAO,EAAE,gEAAgE,EAAE,SAAS,EAAE,oDAAoD,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,mBAAmB,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,8FAA8F,EAAE,EAAE,EAAE;YAC5U,OAAO,EAAE,EAAE,OAAO,EAAE,gCAAgC,EAAE,SAAS,EAAE,+DAA+D,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,2DAA2D,EAAE,EAAE,EAAE;SAC/Q;KACF;IACD,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,iGAAiG,EAAE,SAAS,EAAE,gEAAgE,EAAE;KACvM;CACF,CAAC,CACH,CAAC","sourcesContent":["import {\n organizationLifecycleStateAdminResourceUIBehavior as orgLcAdminSource,\n organizationLifecycleStateMainResourceUIBehavior as orgLcMainSource,\n userLifecycleStatePlatformResourceUIBehavior as userLcPlatformSource,\n} 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 CoreResourceOperation as Op,\n LifecycleStage,\n OrganizationLifecycleStateSchema,\n ResourcePrimaryScope,\n UserLifecycleStateSchema,\n organizationLifecycleStateResourceConfiguration_InitializationFactory as organizationLifecycleStateFactory,\n userLifecycleStateResourceConfiguration_InitializationFactory as userLifecycleStateFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype UCfg = ReturnType<typeof userLifecycleStateFactory>;\ntype UCore = UCfg['coreOperations'][number];\ntype UMain = UCfg['mainSchema'];\nconst userLcUI = userLcPlatformSource as ResourceUIBehaviorConfig<Record<string, never>, UCore, UMain>;\n\ntype OCfg = ReturnType<typeof organizationLifecycleStateFactory>;\ntype OCore = OCfg['coreOperations'][number];\ntype OMain = OCfg['mainSchema'];\nconst orgLcMainUI = orgLcMainSource as ResourceUIBehaviorConfig<Record<string, never>, OCore, OMain>;\nconst orgLcAdminUI = orgLcAdminSource as ResourceUIBehaviorConfig<Record<string, never>, OCore, OMain>;\n\nconst USER_LIFECYCLE_STATE_EXAMPLE = {\n currentStage: LifecycleStage.ENGAGED,\n stageEnteredAt: '2026-08-12T09:15:00.000Z',\n stageHistory: [\n {\n stage: LifecycleStage.ENGAGED,\n enteredAt: '2026-08-12T09:15:00.000Z',\n trigger: 'milestone:completed-first-workflow',\n },\n {\n stage: LifecycleStage.ACTIVATED,\n enteredAt: '2026-08-04T08:30:00.000Z',\n exitedAt: '2026-08-12T09:15:00.000Z',\n trigger: 'milestone:completed-first-action',\n },\n ],\n stagesVisited: [LifecycleStage.SIGNED_UP, LifecycleStage.ACTIVATED, LifecycleStage.ENGAGED],\n lastActiveAt: '2026-08-20T14:42:00.000Z',\n activationCriteriaMet: {\n completed_profile: true,\n completed_first_action: true,\n },\n engagement: {\n operationsSinceActivation: 37,\n activeDates: ['2026-08-12', '2026-08-18', '2026-08-20'],\n },\n userId: 'user_01JEXAMPLE',\n} as const;\n\nconst ORGANIZATION_LIFECYCLE_STATE_EXAMPLE = {\n currentStage: LifecycleStage.REACTIVATED,\n stageEnteredAt: '2026-08-19T10:05:00.000Z',\n stageHistory: [\n {\n stage: LifecycleStage.REACTIVATED,\n enteredAt: '2026-08-19T10:05:00.000Z',\n trigger: 'operation:todos:update',\n },\n {\n stage: LifecycleStage.DORMANT,\n enteredAt: '2026-07-28T00:00:00.000Z',\n exitedAt: '2026-08-19T10:05:00.000Z',\n trigger: 'cron:daily-lifecycle-evaluation',\n },\n ],\n stagesVisited: [\n LifecycleStage.SIGNED_UP,\n LifecycleStage.ACTIVATED,\n LifecycleStage.ENGAGED,\n LifecycleStage.DORMANT,\n LifecycleStage.REACTIVATED,\n ],\n lastActiveAt: '2026-08-20T16:20:00.000Z',\n activationCriteriaMet: {\n invited_first_member: true,\n completed_first_shared_action: true,\n },\n engagement: {\n operationsSinceActivation: 214,\n activeDates: ['2026-08-19', '2026-08-20'],\n },\n organizationId: 'org_01JEXAMPLE',\n} as const;\n\nconst lifecycleSearchExample = (row: typeof USER_LIFECYCLE_STATE_EXAMPLE | typeof ORGANIZATION_LIFECYCLE_STATE_EXAMPLE) => ({\n data: [row],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n});\n\nconst userLifecycleBase = resourceSpecification<Record<string, never>, UCore, UMain>(\n userLifecycleStateFactory,\n UserLifecycleStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Per-user customer lifecycle state machine: which lifecycle stage a user is in and history of stage transitions and engagement evidence.',\n businessRole: 'Drives “activation”, “dormant”, and churn messaging independent of billing state — a product-semantic lifecycle layer.',\n lifecycleRole: 'The state begins automatically at sign-up, evolves from application-defined activity, and remains readable as the user moves through activation, engagement, dormancy and reactivation.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.GUIDANCE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'UserLifecycleStateSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'userLifecycleStateResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'USER_LIFECYCLE_STATE' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSources: [{ packageName: '@wildo-ai/presets-components', exportName: 'userLifecycleStatePlatformResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR }],\n notes: ['Runtime has no userNotifications / m2mNotifications — do not add communications.* (DF-1).'],\n },\n fields: {\n // USER and ORGANIZATION extend one shared Zod field instance. Clone it\n // before attaching resource-specific prose so one scope cannot overwrite\n // the other scope's OpenAPI property description at module load time.\n currentStage: schemaShape.currentStage.clone().enumSpec({\n meaning: 'The canonical lifecycle stage for the user in product cohort analytics.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'LifecycleStage', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n values: {\n [LifecycleStage.SIGNED_UP]: { meaning: 'Account created but not yet product-active.' },\n [LifecycleStage.ACTIVATED]: { meaning: 'Meets the product’s activation definition when configured.' },\n [LifecycleStage.ENGAGED]: { meaning: 'Repeat or deep usage in line with the engagement model.' },\n [LifecycleStage.DORMANT]: { meaning: 'Low or no recent activity; candidate for reactivation campaigns.' },\n [LifecycleStage.REACTIVATED]: { meaning: 'Returned to meaningful activity after dormancy or churn risk.' },\n [LifecycleStage.CHURNED]: { meaning: 'Left or lapsed in a terminal sense for the product definition.' },\n [LifecycleStage.OFFBOARDED]: { meaning: 'Explicitly removed or deprovisioned in lifecycle terms.' },\n },\n }),\n stageHistory: schemaShape.stageHistory.arraySpec({\n meaning: 'Chronological log of stage transitions for this user (most recent first, capped at the last 20 entries).',\n elementMeaning: 'One `LifecycleStageTransition` record: the stage entered, when it was entered/exited, and the trigger (milestone ref, cron, operation).',\n }),\n stagesVisited: schemaShape.stagesVisited.arraySpec({\n meaning: 'Deduplicated set of every lifecycle stage the user has ever reached — survives the `stageHistory` cap and backs `hasReachedStage()` visitation checks.',\n elementMeaning: 'One `LifecycleStage` value the user has visited at least once.',\n elementType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'LifecycleStage', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n }),\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'The owning user this lifecycle state record tracks; immutable after create.',\n whyItMatters: 'Scopes READ/SEARCH through the user-self access strategy so a user can never read another user’s lifecycle state.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the signed-in user’s current product-lifecycle state.',\n outcome: 'The caller receives the current stage, transition history, activity time and activation/engagement evidence for their own user identity. Reading a dormant state schedules reactivation asynchronously, so this response can still report `dormant` while a later read reports `reactivated`.',\n whenToUse: 'Use this endpoint to synchronize lifecycle-aware client experiences or customer-success integrations. It is not a billing-subscription status endpoint.',\n responseStatuses: [\n // Self-state read lazily materializes: no row yet yields a default stage rather than 404, so 404 is intentionally NOT documented.\n { code: HttpResponseStatusCode.OK_200, meaning: 'The caller’s lifecycle state (current stage, timestamps, history) is returned; an un-materialized user yields a default stage rather than a 404.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session, so the per-user lifecycle state cannot be resolved.' },\n ],\n examples: [{\n title: 'Read the signed-in user lifecycle state',\n request: { userId: USER_LIFECYCLE_STATE_EXAMPLE.userId },\n response: USER_LIFECYCLE_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n purpose: 'Read the user lifecycle row using the context representation.',\n outcome: 'The caller receives the lifecycle row plus any relationship context configured for this application; when no context relationship is configured, the response shape is the lifecycle row itself.',\n examples: [{\n title: 'Read the signed-in user lifecycle context',\n request: { userId: USER_LIFECYCLE_STATE_EXAMPLE.userId },\n response: USER_LIFECYCLE_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n purpose: 'Read the compact user lifecycle representation.',\n outcome: 'The caller receives only the owning user id and current lifecycle stage.',\n examples: [{\n title: 'Read the signed-in user lifecycle summary',\n request: { userId: USER_LIFECYCLE_STATE_EXAMPLE.userId },\n response: {\n currentStage: USER_LIFECYCLE_STATE_EXAMPLE.currentStage,\n userId: USER_LIFECYCLE_STATE_EXAMPLE.userId,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Internal system creation of the first lifecycle row (INTERNAL_CALL, isDefault): eager-seeded via the USERS → USER_LIFECYCLE_STATE `onParentCreate` composition lifecycle (createAsSystem), and created on demand by lifecycle jobs via the repository tier. Not a member-facing route.',\n outcome: 'Initial stage row for subsequent transitions.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The first lifecycle state record was materialized for the user.' },\n ],\n // INTERNAL_CALL variant (isDefault) — the service tier createAsSystem resolves for the onParentCreate seed; also created by lifecycle jobs via the variant-agnostic repository tier. Not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Repository-only transitions when lifecycle jobs execute.',\n outcome: 'New stage, history append, and engagement metrics in implementation.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The lifecycle stage transition was persisted with a history append.' },\n ],\n // REPOSITORY_ONLY variant — transitions are engine-driven, not a public HTTP endpoint. Convergent stage-set, so re-applying the same target stage is side-effect-free.\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Return the lifecycle-state collection inside the addressed user scope.',\n outcome: 'The caller receives a paginated collection containing the user’s lifecycle row when it has been materialized.',\n whenToUse: 'Use only when a collection envelope is more convenient than the singleton READ representation. This operation has no free-text searchable fields.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of user lifecycle records for analytics/triage when a route wires search.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session for the lifecycle search context.' },\n ],\n examples: [{\n title: 'Return the user lifecycle state as a collection',\n request: { userId: USER_LIFECYCLE_STATE_EXAMPLE.userId, page: 1, limit: 20 },\n response: lifecycleSearchExample(USER_LIFECYCLE_STATE_EXAMPLE),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the user lifecycle state row when its owning user is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton state row is removed together with the user — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The user lifecycle state record was deleted as part of the owning user’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (super-admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'This is not subscription billing state — it models product lifecycle semantics and may disagree with `BillingSubscription` rows by design in edge cases; document both when explaining churn.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.USER_SELF },\n);\n\nconst organizationLifecycleBase = resourceSpecification<Record<string, never>, OCore, OMain>(\n organizationLifecycleStateFactory,\n OrganizationLifecycleStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Per-organization lifecycle state: the tenant’s stage in the product journey, plus org engagement evidence and visit history to `LifecycleStage` values.',\n businessRole: 'Org-wide cohorts for CSM, marketing automation, and success dashboards — not the same as `ORGANIZATION` subscription status in billing.',\n lifecycleRole: 'The state begins automatically when the organization is created, evolves from organization activity, and remains readable as the tenant moves through activation, engagement, dormancy and reactivation.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.GUIDANCE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'OrganizationLifecycleStateSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'organizationLifecycleStateResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'ORGANIZATION_LIFECYCLE_STATE' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSources: [\n { packageName: '@wildo-ai/presets-components', exportName: 'organizationLifecycleStateMainResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR },\n { packageName: '@wildo-ai/presets-components', exportName: 'organizationLifecycleStateAdminResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR },\n ],\n notes: ['Runtime has no userNotifications / m2mNotifications — do not add communications.* (DF-1).'],\n },\n fields: {\n currentStage: schemaShape.currentStage.clone().enumSpec({\n meaning: 'Current lifecycle stage for the organization in product cohort and customer-success workflows.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'LifecycleStage', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n values: {\n [LifecycleStage.SIGNED_UP]: { meaning: 'Tenant created but not product-activated in lifecycle terms.' },\n [LifecycleStage.ACTIVATED]: { meaning: 'Met activation heuristics for the org in product rules.' },\n [LifecycleStage.ENGAGED]: { meaning: 'Healthy ongoing usage in line with the model.' },\n [LifecycleStage.DORMANT]: { meaning: 'Low recent usage — candidate for reactivation or downgrade discussions.' },\n [LifecycleStage.REACTIVATED]: { meaning: 'Returned to engagement after a dormant period.' },\n [LifecycleStage.CHURNED]: { meaning: 'Churned or lapsed in lifecycle terms even if a billing record still exists in edge cases.' },\n [LifecycleStage.OFFBOARDED]: { meaning: 'Explicitly closed or deprovisioned in lifecycle terms.' },\n },\n }),\n stageHistory: schemaShape.stageHistory.arraySpec({\n meaning: 'Chronological log of stage transitions for this organization (most recent first, capped at the last 20 entries).',\n elementMeaning: 'One `LifecycleStageTransition` record: the stage entered, when it was entered/exited, and the trigger (milestone ref, cron, operation).',\n }),\n stagesVisited: schemaShape.stagesVisited.arraySpec({\n meaning: 'Deduplicated set of every lifecycle stage the organization has ever reached — survives the `stageHistory` cap and backs `hasReachedStage()` visitation checks.',\n elementMeaning: 'One `LifecycleStage` value the organization has visited at least once.',\n elementType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'LifecycleStage', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n }),\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'The owning organization this lifecycle state record tracks; immutable after create.',\n whyItMatters: 'Scopes READ/SEARCH through the org access strategy so a tenant can never read another tenant’s lifecycle state.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the addressed organization’s current product-lifecycle state.',\n outcome: 'An organization member receives the current stage, transition history, activity time and activation/engagement evidence for that organization. Reading a dormant state schedules reactivation asynchronously, so this response can still report `dormant` while a later read reports `reactivated`.',\n whenToUse: 'Use this endpoint to synchronize organization-level lifecycle experiences or customer-success integrations. It is independent from billing subscription state.',\n responseStatuses: [\n // Scoped-state read lazily materializes: an org with no row yet gets a default stage rather than 404, so 404 is intentionally NOT documented.\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization’s lifecycle state (stage, engagement, history) is returned; an un-materialized org yields a default stage rather than a 404.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated org-member session for the tenant lifecycle state.' },\n ],\n examples: [{\n title: 'Read the organization lifecycle state',\n request: { organizationId: ORGANIZATION_LIFECYCLE_STATE_EXAMPLE.organizationId },\n response: ORGANIZATION_LIFECYCLE_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n purpose: 'Read the organization lifecycle row using the context representation.',\n outcome: 'The caller receives the lifecycle row plus any relationship context configured for this application; when no context relationship is configured, the response shape is the lifecycle row itself.',\n examples: [{\n title: 'Read the organization lifecycle context',\n request: { organizationId: ORGANIZATION_LIFECYCLE_STATE_EXAMPLE.organizationId },\n response: ORGANIZATION_LIFECYCLE_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n purpose: 'Read the compact organization lifecycle representation.',\n outcome: 'The caller receives only the owning organization id and current lifecycle stage.',\n examples: [{\n title: 'Read the organization lifecycle summary',\n request: { organizationId: ORGANIZATION_LIFECYCLE_STATE_EXAMPLE.organizationId },\n response: {\n currentStage: ORGANIZATION_LIFECYCLE_STATE_EXAMPLE.currentStage,\n organizationId: ORGANIZATION_LIFECYCLE_STATE_EXAMPLE.organizationId,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Internal system creation of the first org lifecycle row (INTERNAL_CALL, isDefault): eager-seeded via the ORGANIZATIONS → ORGANIZATION_LIFECYCLE_STATE `onParentCreate` composition lifecycle (createAsSystem), and created on demand by lifecycle services via the repository tier. Not a member-facing route.',\n outcome: 'Initial stage in `SIGNED_UP` or configured default in implementation.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The first lifecycle state record was materialized for the org (default `SIGNED_UP` or configured initial stage).' },\n ],\n // INTERNAL_CALL variant (isDefault) — the service tier createAsSystem resolves for the onParentCreate seed; also created by lifecycle services via the variant-agnostic repository tier. Not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Repository-only and admin `ORG_ADMIN` on API variant in factory (verify roles in the resource file for the exact split).',\n outcome: 'New stage, updated engagement metrics, and history appends in services.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The org lifecycle stage transition was persisted with a history append.' },\n ],\n // REPOSITORY_ONLY variant — transitions are engine-driven, not a public HTTP endpoint. Convergent stage-set, so re-applying the same target stage is side-effect-free.\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Return the lifecycle-state collection inside the addressed organization scope.',\n outcome: 'The caller receives a paginated collection containing the organization’s lifecycle row when it has been materialized.',\n whenToUse: 'Use only when a collection envelope is more convenient than the singleton READ representation. This operation has no free-text searchable fields.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of org lifecycle records for admin discovery when a route wires search.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated org-member session for the lifecycle search context.' },\n ],\n examples: [{\n title: 'Return the organization lifecycle state as a collection',\n request: { organizationId: ORGANIZATION_LIFECYCLE_STATE_EXAMPLE.organizationId, page: 1, limit: 20 },\n response: lifecycleSearchExample(ORGANIZATION_LIFECYCLE_STATE_EXAMPLE),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the organization lifecycle state row when its owning organization is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton state row is removed together with the organization — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization lifecycle state record was deleted as part of the owning organization’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (ORG_ADMIN) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Org lifecycle UPDATE in factory is restricted to `ORG_ADMIN` — do not conflate with member `APP_USER` updates on the user document.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\nexport const userLifecycleStateResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(userLcUI),\n userLifecycleBase,\n () => ({\n label: { purpose: 'Preset `getFrontendResourceLabel` stringifies `currentStage` for compact row display.' },\n layout: {\n purpose: 'Sections `overview` (current stage, timestamps), `engagement` (visits, criteria, score), `history` (stage history array).',\n displayPurpose: 'Platform bundle targets internal dashboards and the companion; end users do not have addressable self-serve management views by default in `guidance` presets.',\n sections: {\n overview: { purpose: 'The lifecycle stage, when it was entered, and last activity for quick at-a-glance state.', whenToUse: 'User CRM sidebar and any lifecycle debug panel in platform UIs.', textSlots: { title: { purpose: 'User lifecycle title.' }, description: { purpose: 'Clarify that stages are product-defined, not raw Stripe subscription states.' } } },\n engagement: { purpose: 'How often stages were visited, whether activation checks passed, and any aggregate engagement number stored on the row.', whenToUse: 'Success and analytics screens.', textSlots: { title: { purpose: 'Engagement block.' }, description: { purpose: 'Field set follows `LifecycleStateSchema` — not duplicated here entry-by-entry if the object grows.' } } },\n history: { purpose: 'Chronological `stageHistory` for audits and CSM playbooks when present.', whenToUse: 'Explaining reactivation paths and back-and-forth stage moves.', textSlots: { title: { purpose: 'History block.' }, description: { purpose: 'May be long — UI should paginate in product implementation.' } } },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Read shell; non-addressable in platform preset `views` by default.', whenToUse: 'When lifecycle debug routes exist for the user in platform mode.' },\n [Op.SEARCH]: { purpose: 'SEARCH in factory + preset; non-addressable in default `views` list for this type.', whenToUse: 'Future admin search across users for lifecycle triage.' },\n },\n }),\n);\n\nexport const organizationLifecycleStateResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(resourceFrontendConfiguration(orgLcMainUI), resourceFrontendConfiguration(orgLcAdminUI)),\n organizationLifecycleBase,\n () => ({\n label: { purpose: 'Same stringified `currentStage` label pattern as the user lifecycle row in the org main preset.' },\n layout: {\n purpose: 'Trisect: `overview`, `engagement`, `history` — mirrors user lifecycle for cognitive parity; merged admin removes SEARCH if not in merged `views` map.',\n displayPurpose: 'Org admin home and CSM org detail views when lifecycle is part of the subscription journey.',\n sections: {\n overview: { purpose: 'Org `currentStage` with entry and last-activity instants for the org.', whenToUse: 'When deciding intervention campaigns at tenant level.', textSlots: { title: { purpose: 'Org lifecycle title.' }, description: { purpose: 'Not a financial KPI — a product lifecycle state machine.' } } },\n engagement: { purpose: 'Stage visitation and criteria evidence for the org as a whole.', whenToUse: 'Comparing engagement score vs. stage expectations.', textSlots: { title: { purpose: 'Engagement block.' }, description: { purpose: 'May surface sparse data early in a tenant’s life; avoid implying broken telemetry when null.' } } },\n history: { purpose: 'Org `stageHistory` for audits.', whenToUse: 'M&A, CS escalation, and compliance reviews of tenant journey.', textSlots: { title: { purpose: 'History block.' }, description: { purpose: 'Entries are product-defined, append-only in normal flows.' } } },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Read-only lifecycle host; non-addressable in default `views` wiring in merged `guidance` admin.', whenToUse: 'Org home lifecycle widgets in admin-allowed routes when wired.' },\n },\n }),\n);\n"]}
|
|
1
|
+
{"version":3,"file":"lifecycle-state.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/guidance/resources/lifecycle-state.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iDAAiD,IAAI,gBAAgB,EACrE,gDAAgD,IAAI,eAAe,EACnE,4CAA4C,IAAI,oBAAoB,GACrE,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,cAAc,EACd,gCAAgC,EAChC,oBAAoB,EACpB,wBAAwB,EACxB,qEAAqE,IAAI,iCAAiC,EAC1G,6DAA6D,IAAI,yBAAyB,GAC3F,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAK3E,MAAM,QAAQ,GAAG,oBAAqF,CAAC;AAKvG,MAAM,WAAW,GAAG,eAAgF,CAAC;AACrG,MAAM,YAAY,GAAG,gBAAiF,CAAC;AAEvG,MAAM,4BAA4B,GAAG;IACnC,YAAY,EAAE,cAAc,CAAC,OAAO;IACpC,cAAc,EAAE,0BAA0B;IAC1C,YAAY,EAAE;QACZ;YACE,KAAK,EAAE,cAAc,CAAC,OAAO;YAC7B,SAAS,EAAE,0BAA0B;YACrC,OAAO,EAAE,oCAAoC;SAC9C;QACD;YACE,KAAK,EAAE,cAAc,CAAC,SAAS;YAC/B,SAAS,EAAE,0BAA0B;YACrC,QAAQ,EAAE,0BAA0B;YACpC,OAAO,EAAE,kCAAkC;SAC5C;KACF;IACD,aAAa,EAAE,CAAC,cAAc,CAAC,SAAS,EAAE,cAAc,CAAC,SAAS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,EAAE,SAAS,EAAE,uDAAuD,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,sBAAsB,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,0DAA0D,EAAE,EAAE,EAAE;YACnT,UAAU,EAAE,EAAE,OAAO,EAAE,gEAAgE,EAAE,SAAS,EAAE,oDAAoD,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,mBAAmB,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,8FAA8F,EAAE,EAAE,EAAE;YAC5U,OAAO,EAAE,EAAE,OAAO,EAAE,gCAAgC,EAAE,SAAS,EAAE,+DAA+D,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,gBAAgB,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,2DAA2D,EAAE,EAAE,EAAE;SAC/Q;KACF;IACD,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,iGAAiG,EAAE,SAAS,EAAE,gEAAgE,EAAE;KACvM;CACF,CAAC,CACH,CAAC","sourcesContent":["import {\n organizationLifecycleStateAdminResourceUIBehavior as orgLcAdminSource,\n organizationLifecycleStateMainResourceUIBehavior as orgLcMainSource,\n userLifecycleStatePlatformResourceUIBehavior as userLcPlatformSource,\n} 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 CoreResourceOperation as Op,\n LifecycleStage,\n OrganizationLifecycleStateSchema,\n ResourcePrimaryScope,\n UserLifecycleStateSchema,\n organizationLifecycleStateResourceConfiguration_InitializationFactory as organizationLifecycleStateFactory,\n userLifecycleStateResourceConfiguration_InitializationFactory as userLifecycleStateFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype UCfg = ReturnType<typeof userLifecycleStateFactory>;\ntype UCore = UCfg['coreOperations'][number];\ntype UMain = UCfg['mainSchema'];\nconst userLcUI = userLcPlatformSource as ResourceUIBehaviorConfig<Record<string, never>, UCore, UMain>;\n\ntype OCfg = ReturnType<typeof organizationLifecycleStateFactory>;\ntype OCore = OCfg['coreOperations'][number];\ntype OMain = OCfg['mainSchema'];\nconst orgLcMainUI = orgLcMainSource as ResourceUIBehaviorConfig<Record<string, never>, OCore, OMain>;\nconst orgLcAdminUI = orgLcAdminSource as ResourceUIBehaviorConfig<Record<string, never>, OCore, OMain>;\n\nconst USER_LIFECYCLE_STATE_EXAMPLE = {\n currentStage: LifecycleStage.ENGAGED,\n stageEnteredAt: '2026-08-12T09:15:00.000Z',\n stageHistory: [\n {\n stage: LifecycleStage.ENGAGED,\n enteredAt: '2026-08-12T09:15:00.000Z',\n trigger: 'milestone:completed-first-workflow',\n },\n {\n stage: LifecycleStage.ACTIVATED,\n enteredAt: '2026-08-04T08:30:00.000Z',\n exitedAt: '2026-08-12T09:15:00.000Z',\n trigger: 'milestone:completed-first-action',\n },\n ],\n stagesVisited: [LifecycleStage.SIGNED_UP, LifecycleStage.ACTIVATED, LifecycleStage.ENGAGED],\n lastActiveAt: '2026-08-20T14:42:00.000Z',\n activationCriteriaMet: {\n completed_profile: true,\n completed_first_action: true,\n },\n engagement: {\n operationsSinceActivation: 37,\n activeDates: ['2026-08-12', '2026-08-18', '2026-08-20'],\n },\n userId: 'user_01JEXAMPLE',\n} as const;\n\nconst ORGANIZATION_LIFECYCLE_STATE_EXAMPLE = {\n currentStage: LifecycleStage.REACTIVATED,\n stageEnteredAt: '2026-08-19T10:05:00.000Z',\n stageHistory: [\n {\n stage: LifecycleStage.REACTIVATED,\n enteredAt: '2026-08-19T10:05:00.000Z',\n trigger: 'operation:todos:update',\n },\n {\n stage: LifecycleStage.DORMANT,\n enteredAt: '2026-07-28T00:00:00.000Z',\n exitedAt: '2026-08-19T10:05:00.000Z',\n trigger: 'cron:daily-lifecycle-evaluation',\n },\n ],\n stagesVisited: [\n LifecycleStage.SIGNED_UP,\n LifecycleStage.ACTIVATED,\n LifecycleStage.ENGAGED,\n LifecycleStage.DORMANT,\n LifecycleStage.REACTIVATED,\n ],\n lastActiveAt: '2026-08-20T16:20:00.000Z',\n activationCriteriaMet: {\n invited_first_member: true,\n completed_first_shared_action: true,\n },\n engagement: {\n operationsSinceActivation: 214,\n activeDates: ['2026-08-19', '2026-08-20'],\n },\n organizationId: 'org_01JEXAMPLE',\n} as const;\n\nconst lifecycleSearchExample = (row: typeof USER_LIFECYCLE_STATE_EXAMPLE | typeof ORGANIZATION_LIFECYCLE_STATE_EXAMPLE) => ({\n data: [row],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n});\n\nconst userLifecycleBase = resourceSpecification<Record<string, never>, UCore, UMain>(\n userLifecycleStateFactory,\n UserLifecycleStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Per-user customer lifecycle state machine: which lifecycle stage a user is in and history of stage transitions and engagement evidence.',\n businessRole: 'Drives “activation”, “dormant”, and churn messaging independent of billing state — a product-semantic lifecycle layer.',\n lifecycleRole: 'The state begins automatically at sign-up, evolves from application-defined activity, and remains readable as the user moves through activation, engagement, dormancy and reactivation.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.GUIDANCE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'UserLifecycleStateSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'userLifecycleStateResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'USER_LIFECYCLE_STATE' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSources: [{ packageName: '@wildo-ai/presets-components', exportName: 'userLifecycleStatePlatformResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR }],\n notes: ['Runtime has no userNotifications / m2mNotifications — do not add communications.* (DF-1).'],\n },\n fields: {\n // USER and ORGANIZATION extend one shared Zod field instance. Clone it\n // before attaching resource-specific prose so one scope cannot overwrite\n // the other scope's OpenAPI property description at module load time.\n currentStage: schemaShape.currentStage.clone().enumSpec({\n meaning: 'The canonical lifecycle stage for the user in product cohort analytics.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'LifecycleStage', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n values: {\n [LifecycleStage.SIGNED_UP]: { meaning: 'Account created but not yet product-active.' },\n [LifecycleStage.ACTIVATED]: { meaning: 'Meets the product’s activation definition when configured.' },\n [LifecycleStage.ENGAGED]: { meaning: 'Repeat or deep usage in line with the engagement model.' },\n [LifecycleStage.DORMANT]: { meaning: 'Low or no recent activity; candidate for reactivation campaigns.' },\n [LifecycleStage.REACTIVATED]: { meaning: 'Returned to meaningful activity after dormancy or churn risk.' },\n [LifecycleStage.CHURNED]: { meaning: 'Left or lapsed in a terminal sense for the product definition.' },\n [LifecycleStage.OFFBOARDED]: { meaning: 'Explicitly removed or deprovisioned in lifecycle terms.' },\n },\n }),\n stageHistory: schemaShape.stageHistory.arraySpec({\n meaning: 'Chronological log of stage transitions for this user (most recent first, capped at the last 20 entries).',\n elementMeaning: 'One `LifecycleStageTransition` record: the stage entered, when it was entered/exited, and the trigger (milestone ref, cron, operation).',\n }),\n stagesVisited: schemaShape.stagesVisited.arraySpec({\n meaning: 'Deduplicated set of every lifecycle stage the user has ever reached — survives the `stageHistory` cap and backs `hasReachedStage()` visitation checks.',\n elementMeaning: 'One `LifecycleStage` value the user has visited at least once.',\n elementType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'LifecycleStage', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n }),\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'The owning user this lifecycle state record tracks; immutable after create.',\n whyItMatters: 'Scopes READ/SEARCH through the user-self access strategy so a user can never read another user’s lifecycle state.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the signed-in user’s current product-lifecycle state.',\n outcome: 'The caller receives the current stage, transition history, activity time and activation/engagement evidence for their own user identity. Reading a dormant state schedules reactivation asynchronously, so this response can still report `dormant` while a later read reports `reactivated`.',\n whenToUse: 'Use this endpoint to synchronize lifecycle-aware client experiences or customer-success integrations. It is not a billing-subscription status endpoint.',\n responseStatuses: [\n // Self-state read lazily materializes: no row yet yields a default stage rather than 404, so 404 is intentionally NOT documented.\n { code: HttpResponseStatusCode.OK_200, meaning: 'The caller’s lifecycle state (current stage, timestamps, history) is returned; an un-materialized user yields a default stage rather than a 404.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session, so the per-user lifecycle state cannot be resolved.' },\n ],\n examples: [{\n title: 'Read the signed-in user lifecycle state',\n request: { userId: USER_LIFECYCLE_STATE_EXAMPLE.userId },\n response: USER_LIFECYCLE_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n purpose: 'Read the user lifecycle row using the context representation.',\n outcome: 'The caller receives the lifecycle row plus any relationship context configured for this application; when no context relationship is configured, the response shape is the lifecycle row itself.',\n examples: [{\n title: 'Read the signed-in user lifecycle context',\n request: { userId: USER_LIFECYCLE_STATE_EXAMPLE.userId },\n response: USER_LIFECYCLE_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n purpose: 'Read the compact user lifecycle representation.',\n outcome: 'The caller receives only the owning user id and current lifecycle stage.',\n examples: [{\n title: 'Read the signed-in user lifecycle summary',\n request: { userId: USER_LIFECYCLE_STATE_EXAMPLE.userId },\n response: {\n currentStage: USER_LIFECYCLE_STATE_EXAMPLE.currentStage,\n userId: USER_LIFECYCLE_STATE_EXAMPLE.userId,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Internal system creation of the first lifecycle row (INTERNAL_CALL, isDefault): eager-seeded via the USERS → USER_LIFECYCLE_STATE `onParentCreate` composition lifecycle (createAsSystem), and created on demand by lifecycle jobs via the repository tier. Not a member-facing route.',\n outcome: 'Initial stage row for subsequent transitions.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The first lifecycle state record was materialized for the user.' },\n ],\n // INTERNAL_CALL variant (isDefault) — the service tier createAsSystem resolves for the onParentCreate seed; also created by lifecycle jobs via the variant-agnostic repository tier. Not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Repository-only transitions when lifecycle jobs execute.',\n outcome: 'New stage, history append, and engagement metrics in implementation.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The lifecycle stage transition was persisted with a history append.' },\n ],\n // REPOSITORY_ONLY variant — transitions are engine-driven, not a public HTTP endpoint. Convergent stage-set, so re-applying the same target stage is side-effect-free.\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Return the lifecycle-state collection inside the addressed user scope.',\n outcome: 'The caller receives a paginated collection containing the user’s lifecycle row when it has been materialized.',\n whenToUse: 'Use only when a collection envelope is more convenient than the singleton READ representation. This operation has no free-text searchable fields.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of user lifecycle records for analytics/triage when a route wires search.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session for the lifecycle search context.' },\n ],\n examples: [{\n title: 'Return the user lifecycle state as a collection',\n request: { userId: USER_LIFECYCLE_STATE_EXAMPLE.userId, page: 1, limit: 20 },\n response: lifecycleSearchExample(USER_LIFECYCLE_STATE_EXAMPLE),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the user lifecycle state row when its owning user is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton state row is removed together with the user — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The user lifecycle state record was deleted as part of the owning user’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (super-admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'This is not subscription billing state — it models product lifecycle semantics and may disagree with `BillingSubscription` rows by design in edge cases; document both when explaining churn.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.USER_SELF },\n);\n\nconst organizationLifecycleBase = resourceSpecification<Record<string, never>, OCore, OMain>(\n organizationLifecycleStateFactory,\n OrganizationLifecycleStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Per-organization lifecycle state: the tenant’s stage in the product journey, plus org engagement evidence and visit history to `LifecycleStage` values.',\n businessRole: 'Org-wide cohorts for CSM, marketing automation, and success dashboards — not the same as `ORGANIZATION` subscription status in billing.',\n lifecycleRole: 'The state begins automatically when the organization is created, evolves from organization activity, and remains readable as the tenant moves through activation, engagement, dormancy and reactivation.',\n audience: LabelAudience.ADMIN,\n subDomain: EngineResourceSubDomain.GUIDANCE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'OrganizationLifecycleStateSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'organizationLifecycleStateResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'ORGANIZATION_LIFECYCLE_STATE' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSources: [\n { packageName: '@wildo-ai/presets-components', exportName: 'organizationLifecycleStateMainResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR },\n { packageName: '@wildo-ai/presets-components', exportName: 'organizationLifecycleStateAdminResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR },\n ],\n notes: ['Runtime has no userNotifications / m2mNotifications — do not add communications.* (DF-1).'],\n },\n fields: {\n currentStage: schemaShape.currentStage.clone().enumSpec({\n meaning: 'Current lifecycle stage for the organization in product cohort and customer-success workflows.',\n importance: FieldSemanticImportance.PRIMARY,\n enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'LifecycleStage', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n values: {\n [LifecycleStage.SIGNED_UP]: { meaning: 'Tenant created but not product-activated in lifecycle terms.' },\n [LifecycleStage.ACTIVATED]: { meaning: 'Met activation heuristics for the org in product rules.' },\n [LifecycleStage.ENGAGED]: { meaning: 'Healthy ongoing usage in line with the model.' },\n [LifecycleStage.DORMANT]: { meaning: 'Low recent usage — candidate for reactivation or downgrade discussions.' },\n [LifecycleStage.REACTIVATED]: { meaning: 'Returned to engagement after a dormant period.' },\n [LifecycleStage.CHURNED]: { meaning: 'Churned or lapsed in lifecycle terms even if a billing record still exists in edge cases.' },\n [LifecycleStage.OFFBOARDED]: { meaning: 'Explicitly closed or deprovisioned in lifecycle terms.' },\n },\n }),\n stageHistory: schemaShape.stageHistory.arraySpec({\n meaning: 'Chronological log of stage transitions for this organization (most recent first, capped at the last 20 entries).',\n elementMeaning: 'One `LifecycleStageTransition` record: the stage entered, when it was entered/exited, and the trigger (milestone ref, cron, operation).',\n }),\n stagesVisited: schemaShape.stagesVisited.arraySpec({\n meaning: 'Deduplicated set of every lifecycle stage the organization has ever reached — survives the `stageHistory` cap and backs `hasReachedStage()` visitation checks.',\n elementMeaning: 'One `LifecycleStage` value the organization has visited at least once.',\n elementType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'LifecycleStage', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n }),\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'The owning organization this lifecycle state record tracks; immutable after create.',\n whyItMatters: 'Scopes READ/SEARCH through the org access strategy so a tenant can never read another tenant’s lifecycle state.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the addressed organization’s current product-lifecycle state.',\n outcome: 'An organization member receives the current stage, transition history, activity time and activation/engagement evidence for that organization. Reading a dormant state schedules reactivation asynchronously, so this response can still report `dormant` while a later read reports `reactivated`.',\n whenToUse: 'Use this endpoint to synchronize organization-level lifecycle experiences or customer-success integrations. It is independent from billing subscription state.',\n responseStatuses: [\n // Scoped-state read lazily materializes: an org with no row yet gets a default stage rather than 404, so 404 is intentionally NOT documented.\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization’s lifecycle state (stage, engagement, history) is returned; an un-materialized org yields a default stage rather than a 404.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated org-member session for the tenant lifecycle state.' },\n ],\n examples: [{\n title: 'Read the organization lifecycle state',\n request: { organizationId: ORGANIZATION_LIFECYCLE_STATE_EXAMPLE.organizationId },\n response: ORGANIZATION_LIFECYCLE_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n purpose: 'Read the organization lifecycle row using the context representation.',\n outcome: 'The caller receives the lifecycle row plus any relationship context configured for this application; when no context relationship is configured, the response shape is the lifecycle row itself.',\n examples: [{\n title: 'Read the organization lifecycle context',\n request: { organizationId: ORGANIZATION_LIFECYCLE_STATE_EXAMPLE.organizationId },\n response: ORGANIZATION_LIFECYCLE_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n purpose: 'Read the compact organization lifecycle representation.',\n outcome: 'The caller receives only the owning organization id and current lifecycle stage.',\n examples: [{\n title: 'Read the organization lifecycle summary',\n request: { organizationId: ORGANIZATION_LIFECYCLE_STATE_EXAMPLE.organizationId },\n response: {\n currentStage: ORGANIZATION_LIFECYCLE_STATE_EXAMPLE.currentStage,\n organizationId: ORGANIZATION_LIFECYCLE_STATE_EXAMPLE.organizationId,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Internal system creation of the first org lifecycle row (INTERNAL_CALL, isDefault): eager-seeded via the ORGANIZATIONS → ORGANIZATION_LIFECYCLE_STATE `onParentCreate` composition lifecycle (createAsSystem), and created on demand by lifecycle services via the repository tier. Not a member-facing route.',\n outcome: 'Initial stage in `SIGNED_UP` or configured default in implementation.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'The first lifecycle state record was materialized for the org (default `SIGNED_UP` or configured initial stage).' },\n ],\n // INTERNAL_CALL variant (isDefault) — the service tier createAsSystem resolves for the onParentCreate seed; also created by lifecycle services via the variant-agnostic repository tier. Not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Repository-only and admin `ORG_ADMIN` on API variant in factory (verify roles in the resource file for the exact split).',\n outcome: 'New stage, updated engagement metrics, and history appends in services.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The org lifecycle stage transition was persisted with a history append.' },\n ],\n // REPOSITORY_ONLY variant — transitions are engine-driven, not a public HTTP endpoint. Convergent stage-set, so re-applying the same target stage is side-effect-free.\n idempotent: true,\n },\n [Op.SEARCH]: {\n purpose: 'Return the lifecycle-state collection inside the addressed organization scope.',\n outcome: 'The caller receives a paginated collection containing the organization’s lifecycle row when it has been materialized.',\n whenToUse: 'Use only when a collection envelope is more convenient than the singleton READ representation. This operation has no free-text searchable fields.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of org lifecycle records for admin discovery when a route wires search.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated org-member session for the lifecycle search context.' },\n ],\n examples: [{\n title: 'Return the organization lifecycle state as a collection',\n request: { organizationId: ORGANIZATION_LIFECYCLE_STATE_EXAMPLE.organizationId, page: 1, limit: 20 },\n response: lifecycleSearchExample(ORGANIZATION_LIFECYCLE_STATE_EXAMPLE),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the organization lifecycle state row when its owning organization is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton state row is removed together with the organization — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization lifecycle state record was deleted as part of the owning organization’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (ORG_ADMIN) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Org lifecycle UPDATE in factory is restricted to `ORG_ADMIN` — do not conflate with member `APP_USER` updates on the user document.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\nexport const userLifecycleStateResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(userLcUI),\n userLifecycleBase,\n () => ({\n label: { purpose: 'Preset `getFrontendResourceLabel` stringifies `currentStage` for compact row display.' },\n layout: {\n purpose: 'Sections `overview` (current stage, timestamps), `engagement` (visits, criteria, score), `history` (stage history array).',\n displayPurpose: 'Platform bundle targets internal dashboards and the companion; end users do not have addressable self-serve management views by default in `guidance` presets.',\n sections: {\n overview: { purpose: 'The lifecycle stage, when it was entered, and last activity for quick at-a-glance state.', whenToUse: 'User CRM sidebar and any lifecycle debug panel in platform UIs.', textSlots: { title: { purpose: 'User lifecycle title.' }, description: { purpose: 'Clarify that stages are product-defined, not raw Stripe subscription states.' } } },\n engagement: { purpose: 'How often stages were visited, whether activation checks passed, and any aggregate engagement number stored on the row.', whenToUse: 'Success and analytics screens.', textSlots: { title: { purpose: 'Engagement block.' }, description: { purpose: 'Field set follows `LifecycleStateSchema` — not duplicated here entry-by-entry if the object grows.' } } },\n history: { purpose: 'Chronological `stageHistory` for audits and CSM playbooks when present.', whenToUse: 'Explaining reactivation paths and back-and-forth stage moves.', textSlots: { title: { purpose: 'History block.' }, description: { purpose: 'May be long — UI should paginate in product implementation.' } } },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Read shell; non-addressable in platform preset `views` by default.', whenToUse: 'When lifecycle debug routes exist for the user in platform mode.' },\n [Op.SEARCH]: { purpose: 'SEARCH in factory + preset; non-addressable in default `views` list for this type.', whenToUse: 'Future admin search across users for lifecycle triage.' },\n },\n }),\n);\n\nexport const organizationLifecycleStateResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(resourceFrontendConfiguration(orgLcMainUI), resourceFrontendConfiguration(orgLcAdminUI)),\n organizationLifecycleBase,\n () => ({\n label: { purpose: 'Same stringified `currentStage` label pattern as the user lifecycle row in the org main preset.' },\n layout: {\n purpose: 'Trisect: `overview`, `engagement`, `history` — mirrors user lifecycle for cognitive parity; merged admin removes SEARCH if not in merged `views` map.',\n displayPurpose: 'Org admin home and CSM org detail views when lifecycle is part of the subscription journey.',\n sections: {\n overview: { purpose: 'Org `currentStage` with entry and last-activity instants for the org.', whenToUse: 'When deciding intervention campaigns at tenant level.', textSlots: { title: { purpose: 'Org lifecycle title.' }, description: { purpose: 'Not a financial KPI — a product lifecycle state machine.' } } },\n engagement: { purpose: 'Stage visitation and criteria evidence for the org as a whole.', whenToUse: 'Comparing engagement score vs. stage expectations.', textSlots: { title: { purpose: 'Engagement block.' }, description: { purpose: 'May surface sparse data early in a tenant’s life; avoid implying broken telemetry when null.' } } },\n history: { purpose: 'Org `stageHistory` for audits.', whenToUse: 'M&A, CS escalation, and compliance reviews of tenant journey.', textSlots: { title: { purpose: 'History block.' }, description: { purpose: 'Entries are product-defined, append-only in normal flows.' } } },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Read-only lifecycle host; non-addressable in default `views` wiring in merged `guidance` admin.', whenToUse: 'Org home lifecycle widgets in admin-allowed routes when wired.' },\n },\n }),\n);\n"]}
|
package/dist/esm/engine/guidance/resources/progression-state.resource.specification.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progression-state.resource.specification.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"progression-state.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/guidance/resources/progression-state.resource.specification.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,qBAAqB,IAAI,EAAE,EAM5B,MAAM,uBAAuB,CAAC;AAkU/B,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;iCA+BrD,CAAC;AAEF,eAAO,MAAM,iDAAiD;;;;;;;;;;;;;;;;iCAkB7D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progression-state.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/guidance/resources/progression-state.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mDAAmD,IAAI,kBAAkB,EACzE,kDAAkD,IAAI,iBAAiB,EACvE,0CAA0C,IAAI,kBAAkB,GACjE,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,kCAAkC,EAClC,oBAAoB,EACpB,0BAA0B,EAC1B,uEAAuE,IAAI,mCAAmC,EAC9G,+DAA+D,IAAI,2BAA2B,GAC/F,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAK3E,MAAM,UAAU,GAAG,kBAAmF,CAAC;AAKvG,MAAM,aAAa,GAAG,iBAAkF,CAAC;AACzG,MAAM,cAAc,GAAG,kBAAmF,CAAC;AAE3G,MAAM,8BAA8B,GAAG;IACrC,kBAAkB,EAAE;QAClB,kCAAkC,EAAE;YAClC,UAAU,EAAE,0BAA0B;YACtC,KAAK,EAAE,CAAC;SACT;QACD,iCAAiC,EAAE;YACjC,UAAU,EAAE,0BAA0B;YACtC,KAAK,EAAE,EAAE;SACV;KACF;IACD,eAAe,EAAE;QACf,cAAc,EAAE,EAAE;QAClB,cAAc,EAAE,EAAE;KACnB;IACD,WAAW,EAAE,GAAG;IAChB,kBAAkB,EA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AA4D,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,iBAAiB,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,qFAAqF,EAAE,EAAE,EAAE;YAC9U,UAAU,EAAE,EAAE,OAAO,EAAE,4DAA4D,EAAE,SAAS,EAAE,kEAAkE,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,mBAAmB,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,+DAA+D,EAAE,EAAE,EAAE;SACxT;KACF;IACD,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,mHAAmH,EAAE,SAAS,EAAE,2DAA2D,EAAE;KACpN;CACF,CAAC,CACH,CAAC","sourcesContent":["import {\n organizationProgressionStateAdminResourceUIBehavior as orgProgAdminSource,\n organizationProgressionStateMainResourceUIBehavior as orgProgMainSource,\n userProgressionStateMainResourceUIBehavior as userProgMainSource,\n} 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 CoreResourceOperation as Op,\n OrganizationProgressionStateSchema,\n ResourcePrimaryScope,\n UserProgressionStateSchema,\n organizationProgressionStateResourceConfiguration_InitializationFactory as organizationProgressionStateFactory,\n userProgressionStateResourceConfiguration_InitializationFactory as userProgressionStateFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype UCfg = ReturnType<typeof userProgressionStateFactory>;\ntype UCore = UCfg['coreOperations'][number];\ntype UMain = UCfg['mainSchema'];\nconst userProgUI = userProgMainSource as ResourceUIBehaviorConfig<Record<string, never>, UCore, UMain>;\n\ntype OCfg = ReturnType<typeof organizationProgressionStateFactory>;\ntype OCore = OCfg['coreOperations'][number];\ntype OMain = OCfg['mainSchema'];\nconst orgProgMainUI = orgProgMainSource as ResourceUIBehaviorConfig<Record<string, never>, OCore, OMain>;\nconst orgProgAdminUI = orgProgAdminSource as ResourceUIBehaviorConfig<Record<string, never>, OCore, OMain>;\n\nconst USER_PROGRESSION_STATE_EXAMPLE = {\n milestonesAchieved: {\n 'milestone:completed-first-action': {\n achievedAt: '2026-08-04T08:30:00.000Z',\n count: 1,\n },\n 'milestone:completed-ten-actions': {\n achievedAt: '2026-08-12T09:15:00.000Z',\n count: 10,\n },\n },\n operationCounts: {\n 'todos:create': 12,\n 'todos:update': 31,\n },\n totalPoints: 175,\n categoriesProgress: {\n onboarding: { completedCount: 2, totalPoints: 175 },\n },\n userId: 'user_01JEXAMPLE',\n} as const;\n\nconst ORGANIZATION_PROGRESSION_STATE_EXAMPLE = {\n milestonesAchieved: {\n 'milestone:invited-first-member': {\n achievedAt: '2026-08-02T11:20:00.000Z',\n count: 1,\n },\n 'milestone:completed-hundred-actions': {\n achievedAt: '2026-08-18T15:45:00.000Z',\n count: 100,\n },\n },\n operationCounts: {\n 'organizationMembers:create': 8,\n 'todos:update': 146,\n },\n totalPoints: 850,\n categoriesProgress: {\n collaboration: { completedCount: 2, totalPoints: 850 },\n },\n organizationId: 'org_01JEXAMPLE',\n} as const;\n\nconst progressionSearchExample = (row: typeof USER_PROGRESSION_STATE_EXAMPLE | typeof ORGANIZATION_PROGRESSION_STATE_EXAMPLE) => ({\n data: [row],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n});\n\nconst userProgressionBase = resourceSpecification<Record<string, never>, UCore, UMain>(\n userProgressionStateFactory,\n UserProgressionStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Per-user gamified progression: points, milestone achievements, per-category progress, and raw operation counts for guidance milestones.',\n businessRole: 'Drives “quests”, achievements, and feature unlock UX — separate from billing entitlements and from `USER_LIFECYCLE_STATE` stage.',\n lifecycleRole: 'The state starts at zero, accumulates qualifying operation counts, milestones and points, and remains readable through complete, contextual, compact and collection representations.',\n audience: LabelAudience.END_USER,\n subDomain: EngineResourceSubDomain.GUIDANCE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'UserProgressionStateSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'userProgressionStateResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'USER_PROGRESSION_STATE' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSources: [{ packageName: '@wildo-ai/presets-components', exportName: 'userProgressionStateMainResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR }],\n notes: ['Runtime has no userNotifications / m2mNotifications — do not add communications.* (DF-1).'],\n },\n fields: {\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'Owning user for the progression document; immutable after create.',\n whyItMatters: 'Scopes READ/SEARCH through the user-self access strategy so a user can never read another user’s points and milestones.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n // USER and ORGANIZATION extend one shared Zod field instance. Clone it\n // before attaching scope-specific prose so descriptions cannot bleed\n // between the two generated OpenAPI schemas.\n totalPoints: schemaShape.totalPoints.clone().numberSpec({ meaning: 'Sum of points earned by this user from achieved milestones.', importance: FieldSemanticImportance.PRIMARY }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the signed-in user’s milestone progression state.',\n outcome: 'The caller receives the user’s total points, achieved milestones, contributing operation counts and per-category totals.',\n whenToUse: 'Use this endpoint to render achievement progress or reconcile a client’s locally displayed points with the server-owned state.',\n responseStatuses: [\n // Self-state read lazily materializes: no row yet yields a default zero-points state rather than 404, so 404 is intentionally NOT documented.\n { code: HttpResponseStatusCode.OK_200, meaning: 'The caller’s progression state (points, categories, milestone map) is returned; an un-materialized user yields a default zero-points state rather than a 404.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session, so the per-user progression state cannot be resolved.' },\n ],\n examples: [{\n title: 'Read the signed-in user progression state',\n request: { userId: USER_PROGRESSION_STATE_EXAMPLE.userId },\n response: USER_PROGRESSION_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n purpose: 'Read the user progression row using the context representation.',\n outcome: 'The caller receives the progression row plus any relationship context configured for this application; when no context relationship is configured, the response shape is the progression row itself.',\n examples: [{\n title: 'Read the signed-in user progression context',\n request: { userId: USER_PROGRESSION_STATE_EXAMPLE.userId },\n response: USER_PROGRESSION_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n purpose: 'Read the compact user progression representation.',\n outcome: 'The caller receives only the owning user id and total points.',\n examples: [{\n title: 'Read the signed-in user progression summary',\n request: { userId: USER_PROGRESSION_STATE_EXAMPLE.userId },\n response: {\n totalPoints: USER_PROGRESSION_STATE_EXAMPLE.totalPoints,\n userId: USER_PROGRESSION_STATE_EXAMPLE.userId,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Internal system creation of the first progression row (INTERNAL_CALL, isDefault): eager-seeded via the USERS → USER_PROGRESSION_STATE `onParentCreate` composition lifecycle (createAsSystem), and created on demand by the milestone engine via the repository tier. Not a member-facing route.',\n outcome: 'New progression baseline when the user first touches guided milestones.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A progression state baseline record was materialized for the user.' },\n ],\n // INTERNAL_CALL variant (isDefault) — the service tier createAsSystem resolves for the onParentCreate seed; also created by the milestone engine via the variant-agnostic repository tier. Not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Engine increments on milestone events (REPOSITORY_ONLY).',\n outcome: 'Accurate counts and points after each qualifying operation in product.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The progression counters/points were updated after a qualifying milestone event.' },\n ],\n // REPOSITORY_ONLY variant — engine-driven, not a public HTTP endpoint. Increments are event-accumulating (not convergent), so a replayed update is NOT side-effect-free.\n idempotent: false,\n },\n [Op.SEARCH]: {\n purpose: 'Return the progression-state collection inside the addressed user scope.',\n outcome: 'The caller receives a paginated collection containing the user’s progression row when it has been materialized.',\n whenToUse: 'Use only when a collection envelope is more convenient than the singleton READ representation. This operation has no free-text searchable fields.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of user progression records for future admin discovery.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session for the progression search context.' },\n ],\n examples: [{\n title: 'Return the user progression state as a collection',\n request: { userId: USER_PROGRESSION_STATE_EXAMPLE.userId, page: 1, limit: 20 },\n response: progressionSearchExample(USER_PROGRESSION_STATE_EXAMPLE),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the user progression state row when its owning user is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton state row is removed together with the user — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The user progression state record was deleted as part of the owning user’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (super-admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Milestone ref keys in `milestonesAchieved` and `operationCounts` must align to configured milestone/operation keys from the product catalog — the spec does not enumerate them (data-driven at runtime).',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.USER_SELF },\n);\n\nconst organizationProgressionBase = resourceSpecification<Record<string, never>, OCore, OMain>(\n organizationProgressionStateFactory,\n OrganizationProgressionStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Per-organization progression state: the same point/milestone/operation-count model as the user document, at tenant scale for org achievements.',\n businessRole: 'Powers org-wide “team quests” and tiered success metrics; distinct from per-member rows on `USER_PROGRESSION_STATE`.',\n lifecycleRole: 'The state starts at zero for a new organization, accumulates qualifying team activity, milestones and points, and remains readable by organization members.',\n audience: LabelAudience.END_USER,\n subDomain: EngineResourceSubDomain.GUIDANCE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'OrganizationProgressionStateSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'organizationProgressionStateResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'ORGANIZATION_PROGRESSION_STATE' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSources: [\n { packageName: '@wildo-ai/presets-components', exportName: 'organizationProgressionStateMainResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR },\n { packageName: '@wildo-ai/presets-components', exportName: 'organizationProgressionStateAdminResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR },\n ],\n notes: ['Runtime has no userNotifications / m2mNotifications — do not add communications.* (DF-1).'],\n },\n fields: {\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'Owning organization for the shared progression document; immutable after create.',\n whyItMatters: 'Scopes READ/SEARCH through the org access strategy so a tenant can never read another tenant’s points and milestones.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n totalPoints: schemaShape.totalPoints.clone().numberSpec({ meaning: 'Total points earned by this organization from achieved milestones.', importance: FieldSemanticImportance.PRIMARY }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the addressed organization’s milestone progression state.',\n outcome: 'An organization member receives the organization’s total points, achieved milestones, contributing operation counts and per-category totals.',\n whenToUse: 'Use this endpoint to render organization-level achievements or reconcile a client’s displayed team progress with the server-owned state.',\n responseStatuses: [\n // Scoped-state read lazily materializes: an org with no row yet gets default zero-points state rather than 404, so 404 is intentionally NOT documented.\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization’s progression state (aggregated points and milestone map) is returned; an un-materialized org yields a default zero-points state rather than a 404.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated org-member session for the tenant progression state.' },\n ],\n examples: [{\n title: 'Read the organization progression state',\n request: { organizationId: ORGANIZATION_PROGRESSION_STATE_EXAMPLE.organizationId },\n response: ORGANIZATION_PROGRESSION_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n purpose: 'Read the organization progression row using the context representation.',\n outcome: 'The caller receives the progression row plus any relationship context configured for this application; when no context relationship is configured, the response shape is the progression row itself.',\n examples: [{\n title: 'Read the organization progression context',\n request: { organizationId: ORGANIZATION_PROGRESSION_STATE_EXAMPLE.organizationId },\n response: ORGANIZATION_PROGRESSION_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n purpose: 'Read the compact organization progression representation.',\n outcome: 'The caller receives only the owning organization id and total points.',\n examples: [{\n title: 'Read the organization progression summary',\n request: { organizationId: ORGANIZATION_PROGRESSION_STATE_EXAMPLE.organizationId },\n response: {\n totalPoints: ORGANIZATION_PROGRESSION_STATE_EXAMPLE.totalPoints,\n organizationId: ORGANIZATION_PROGRESSION_STATE_EXAMPLE.organizationId,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Internal system creation of the first org progression row (INTERNAL_CALL, isDefault): eager-seeded via the ORGANIZATIONS → ORGANIZATION_PROGRESSION_STATE `onParentCreate` composition lifecycle (createAsSystem), and created on demand by the milestone engine via the repository tier. Not a member-facing route.',\n outcome: 'Initial empty maps for the org.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A progression state baseline record with empty maps was materialized for the org.' },\n ],\n // INTERNAL_CALL variant (isDefault) — the service tier createAsSystem resolves for the onParentCreate seed; also created by the milestone engine via the variant-agnostic repository tier. Not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Repository-only increments when org milestone rules fire.',\n outcome: 'Updated points and milestone map without direct member CRUD in typical flows.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The org progression counters/points were updated after a qualifying milestone event.' },\n ],\n // REPOSITORY_ONLY variant — engine-driven, not a public HTTP endpoint. Increments are event-accumulating (not convergent), so a replayed update is NOT side-effect-free.\n idempotent: false,\n },\n [Op.SEARCH]: {\n purpose: 'Return the progression-state collection inside the addressed organization scope.',\n outcome: 'The caller receives a paginated collection containing the organization’s progression row when it has been materialized.',\n whenToUse: 'Use only when a collection envelope is more convenient than the singleton READ representation. This operation has no free-text searchable fields.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of org progression records; merged admin presets do not surface this as a navigable list.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated org-member session for the progression search context.' },\n ],\n examples: [{\n title: 'Return the organization progression state as a collection',\n request: { organizationId: ORGANIZATION_PROGRESSION_STATE_EXAMPLE.organizationId, page: 1, limit: 20 },\n response: progressionSearchExample(ORGANIZATION_PROGRESSION_STATE_EXAMPLE),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the organization progression state row when its owning organization is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton state row is removed together with the organization — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization progression state record was deleted as part of the owning organization’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (ORG_ADMIN) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Merged `guidance` admin preset for org progression strips SEARCH; align `frontend.views` to merged UI only.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\nexport const userProgressionStateResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(userProgUI),\n userProgressionBase,\n () => ({\n label: { purpose: 'Preset `getFrontendResourceLabel` shows total points, e.g. “42 pts” for profile surfaces.' },\n layout: {\n purpose: 'Three section refs: `overview` (total points), `activity` (category + operation stats), `milestones` (achievement list).',\n displayPurpose: 'Read/search preset wiring keeps routes non-addressable; layout still describes the intended information hierarchy.',\n sections: {\n overview: {\n purpose: 'Primary `totalPoints` and headline progression summary.',\n whenToUse: 'User profile “Achievements” tab.',\n textSlots: { title: { purpose: 'Label the points overview card.' }, description: { purpose: 'Explain that points are derived from the milestone catalog, not ad-hoc user entry.' } },\n },\n activity: {\n purpose: '`categoriesProgress` and `operationCounts` for drill-down and debugging.',\n whenToUse: 'Support and power-user inspection of which operations contributed counts.',\n textSlots: { title: { purpose: 'Label the activity/telemetry block.' }, description: { purpose: 'Map keys are `resourceType:operation` strings per schema comment, not free text.' } },\n },\n milestones: {\n purpose: '`milestonesAchieved` record map with timestamps and counts.',\n whenToUse: 'When showing which named milestones the user has cleared.',\n textSlots: { title: { purpose: 'Label the milestone history block.' }, description: { purpose: 'Milestone ref strings come from the guidance/milestone spec catalog for the app.' } },\n },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Read shell; non-addressable in default `views` configuration.', whenToUse: 'Embedded in profile and guidance surfaces when routed.' },\n [Op.SEARCH]: { purpose: 'Factory SEARCH + preset entry; still non-addressable in default `views` list.', whenToUse: 'Planned org-wide or admin user discovery, not a primary nav in current presets.' },\n },\n }),\n);\n\nexport const organizationProgressionStateResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(resourceFrontendConfiguration(orgProgMainUI), resourceFrontendConfiguration(orgProgAdminUI)),\n organizationProgressionBase,\n () => ({\n label: { purpose: 'Same “N pts” label as user progression, scoped to the org’s shared row.' },\n layout: {\n purpose: 'Same `overview` / `activity` / `milestones` trisect as the user main bundle; merged admin only removes the SEARCH op from the `views` map if not surfaced in merged config.',\n displayPurpose: 'Org-facing achievements that roll up to tenant dashboards.',\n sections: {\n overview: { purpose: 'Org point total and headline.', whenToUse: 'Org home gamification when enabled.', textSlots: { title: { purpose: 'Org progression overview.' }, description: { purpose: 'Distinguish org totals from the sum of user rows — this is a single org-level document.' } } },\n activity: { purpose: 'Aggregated per-category and per-operation counts for the org channel.', whenToUse: 'When operators need to see which org events scored points.', textSlots: { title: { purpose: 'Activity stats.' }, description: { purpose: 'Keys follow the same `resourceType:operation` convention as user-level progression.' } } },\n milestones: { purpose: 'Milestone ref → achievement for org-wide quest completion.', whenToUse: 'When marketing or CS explains which org milestones are complete.', textSlots: { title: { purpose: 'Milestones block.' }, description: { purpose: 'May include zero or many entries depending on catalog wiring.' } } },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Read-only progression host in merged `guidance` bundles; not addressable in the default `views` array in presets.', whenToUse: 'Org achievement surfaces in admin/tenant UIs when routed.' },\n },\n }),\n);\n"]}
|
|
1
|
+
{"version":3,"file":"progression-state.resource.specification.js","sourceRoot":"","sources":["../../../../../src/engine/guidance/resources/progression-state.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mDAAmD,IAAI,kBAAkB,EACzE,kDAAkD,IAAI,iBAAiB,EACvE,0CAA0C,IAAI,kBAAkB,GACjE,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAC;AACxG,OAAO,EACL,qBAAqB,IAAI,EAAE,EAC3B,kCAAkC,EAClC,oBAAoB,EACpB,0BAA0B,EAC1B,uEAAuE,IAAI,mCAAmC,EAC9G,+DAA+D,IAAI,2BAA2B,GAC/F,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,sBAAsB,EACtB,mCAAmC,EACnC,6BAA6B,EAC7B,qBAAqB,EACrB,8CAA8C,GAC/C,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAK3E,MAAM,UAAU,GAAG,kBAAmF,CAAC;AAKvG,MAAM,aAAa,GAAG,iBAAkF,CAAC;AACzG,MAAM,cAAc,GAAG,kBAAmF,CAAC;AAE3G,MAAM,8BAA8B,GAAG;IACrC,kBAAkB,EAAE;QAClB,kCAAkC,EAAE;YAClC,UAAU,EAAE,0BAA0B;YACtC,KAAK,EAAE,CAAC;SACT;QACD,iCAAiC,EAAE;YACjC,UAAU,EAAE,0BAA0B;YACtC,KAAK,EAAE,EAAE;SACV;KACF;IACD,eAAe,EAAE;QACf,cAAc,EAAE,EAAE;QAClB,cAAc,EAAE,EAAE;KACnB;IACD,WAAW,E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EAAuE,EAAE,SAAS,EAAE,4DAA4D,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,iBAAiB,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,qFAAqF,EAAE,EAAE,EAAE;YAC9U,UAAU,EAAE,EAAE,OAAO,EAAE,4DAA4D,EAAE,SAAS,EAAE,kEAAkE,EAAE,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,mBAAmB,EAAE,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,+DAA+D,EAAE,EAAE,EAAE;SACxT;KACF;IACD,KAAK,EAAE;QACL,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,mHAAmH,EAAE,SAAS,EAAE,2DAA2D,EAAE;KACpN;CACF,CAAC,CACH,CAAC","sourcesContent":["import {\n organizationProgressionStateAdminResourceUIBehavior as orgProgAdminSource,\n organizationProgressionStateMainResourceUIBehavior as orgProgMainSource,\n userProgressionStateMainResourceUIBehavior as userProgMainSource,\n} 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 CoreResourceOperation as Op,\n OrganizationProgressionStateSchema,\n ResourcePrimaryScope,\n UserProgressionStateSchema,\n organizationProgressionStateResourceConfiguration_InitializationFactory as organizationProgressionStateFactory,\n userProgressionStateResourceConfiguration_InitializationFactory as userProgressionStateFactory,\n} from '@wildo-ai/saas-models';\nimport {\n HttpResponseStatusCode,\n mergeResourceFrontendConfigurations,\n resourceFrontendConfiguration,\n resourceSpecification,\n resourceSpecificationFromFrontendConfiguration,\n} from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\ntype UCfg = ReturnType<typeof userProgressionStateFactory>;\ntype UCore = UCfg['coreOperations'][number];\ntype UMain = UCfg['mainSchema'];\nconst userProgUI = userProgMainSource as ResourceUIBehaviorConfig<Record<string, never>, UCore, UMain>;\n\ntype OCfg = ReturnType<typeof organizationProgressionStateFactory>;\ntype OCore = OCfg['coreOperations'][number];\ntype OMain = OCfg['mainSchema'];\nconst orgProgMainUI = orgProgMainSource as ResourceUIBehaviorConfig<Record<string, never>, OCore, OMain>;\nconst orgProgAdminUI = orgProgAdminSource as ResourceUIBehaviorConfig<Record<string, never>, OCore, OMain>;\n\nconst USER_PROGRESSION_STATE_EXAMPLE = {\n milestonesAchieved: {\n 'milestone:completed-first-action': {\n achievedAt: '2026-08-04T08:30:00.000Z',\n count: 1,\n },\n 'milestone:completed-ten-actions': {\n achievedAt: '2026-08-12T09:15:00.000Z',\n count: 10,\n },\n },\n operationCounts: {\n 'todos:create': 12,\n 'todos:update': 31,\n },\n totalPoints: 175,\n categoriesProgress: {\n onboarding: { completedCount: 2, totalPoints: 175 },\n },\n userId: 'user_01JEXAMPLE',\n} as const;\n\nconst ORGANIZATION_PROGRESSION_STATE_EXAMPLE = {\n milestonesAchieved: {\n 'milestone:invited-first-member': {\n achievedAt: '2026-08-02T11:20:00.000Z',\n count: 1,\n },\n 'milestone:completed-hundred-actions': {\n achievedAt: '2026-08-18T15:45:00.000Z',\n count: 100,\n },\n },\n operationCounts: {\n 'organizationMembers:create': 8,\n 'todos:update': 146,\n },\n totalPoints: 850,\n categoriesProgress: {\n collaboration: { completedCount: 2, totalPoints: 850 },\n },\n organizationId: 'org_01JEXAMPLE',\n} as const;\n\nconst progressionSearchExample = (row: typeof USER_PROGRESSION_STATE_EXAMPLE | typeof ORGANIZATION_PROGRESSION_STATE_EXAMPLE) => ({\n data: [row],\n pagination: { page: 1, limit: 20, total: 1, totalPages: 1 },\n});\n\nconst userProgressionBase = resourceSpecification<Record<string, never>, UCore, UMain>(\n userProgressionStateFactory,\n UserProgressionStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Per-user gamified progression: points, milestone achievements, per-category progress, and raw operation counts for guidance milestones.',\n businessRole: 'Drives “quests”, achievements, and feature unlock UX — separate from billing entitlements and from `USER_LIFECYCLE_STATE` stage.',\n lifecycleRole: 'The state starts at zero, accumulates qualifying operation counts, milestones and points, and remains readable through complete, contextual, compact and collection representations.',\n audience: LabelAudience.END_USER,\n subDomain: EngineResourceSubDomain.GUIDANCE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'UserProgressionStateSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'userProgressionStateResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'USER_PROGRESSION_STATE' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSources: [{ packageName: '@wildo-ai/presets-components', exportName: 'userProgressionStateMainResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR }],\n notes: ['Runtime has no userNotifications / m2mNotifications — do not add communications.* (DF-1).'],\n },\n fields: {\n userId: schemaShape.userId.foreignKeySpec({\n meaning: 'Owning user for the progression document; immutable after create.',\n whyItMatters: 'Scopes READ/SEARCH through the user-self access strategy so a user can never read another user’s points and milestones.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n // USER and ORGANIZATION extend one shared Zod field instance. Clone it\n // before attaching scope-specific prose so descriptions cannot bleed\n // between the two generated OpenAPI schemas.\n totalPoints: schemaShape.totalPoints.clone().numberSpec({ meaning: 'Sum of points earned by this user from achieved milestones.', importance: FieldSemanticImportance.PRIMARY }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the signed-in user’s milestone progression state.',\n outcome: 'The caller receives the user’s total points, achieved milestones, contributing operation counts and per-category totals.',\n whenToUse: 'Use this endpoint to render achievement progress or reconcile a client’s locally displayed points with the server-owned state.',\n responseStatuses: [\n // Self-state read lazily materializes: no row yet yields a default zero-points state rather than 404, so 404 is intentionally NOT documented.\n { code: HttpResponseStatusCode.OK_200, meaning: 'The caller’s progression state (points, categories, milestone map) is returned; an un-materialized user yields a default zero-points state rather than a 404.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session, so the per-user progression state cannot be resolved.' },\n ],\n examples: [{\n title: 'Read the signed-in user progression state',\n request: { userId: USER_PROGRESSION_STATE_EXAMPLE.userId },\n response: USER_PROGRESSION_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n purpose: 'Read the user progression row using the context representation.',\n outcome: 'The caller receives the progression row plus any relationship context configured for this application; when no context relationship is configured, the response shape is the progression row itself.',\n examples: [{\n title: 'Read the signed-in user progression context',\n request: { userId: USER_PROGRESSION_STATE_EXAMPLE.userId },\n response: USER_PROGRESSION_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n purpose: 'Read the compact user progression representation.',\n outcome: 'The caller receives only the owning user id and total points.',\n examples: [{\n title: 'Read the signed-in user progression summary',\n request: { userId: USER_PROGRESSION_STATE_EXAMPLE.userId },\n response: {\n totalPoints: USER_PROGRESSION_STATE_EXAMPLE.totalPoints,\n userId: USER_PROGRESSION_STATE_EXAMPLE.userId,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Internal system creation of the first progression row (INTERNAL_CALL, isDefault): eager-seeded via the USERS → USER_PROGRESSION_STATE `onParentCreate` composition lifecycle (createAsSystem), and created on demand by the milestone engine via the repository tier. Not a member-facing route.',\n outcome: 'New progression baseline when the user first touches guided milestones.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A progression state baseline record was materialized for the user.' },\n ],\n // INTERNAL_CALL variant (isDefault) — the service tier createAsSystem resolves for the onParentCreate seed; also created by the milestone engine via the variant-agnostic repository tier. Not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Engine increments on milestone events (REPOSITORY_ONLY).',\n outcome: 'Accurate counts and points after each qualifying operation in product.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The progression counters/points were updated after a qualifying milestone event.' },\n ],\n // REPOSITORY_ONLY variant — engine-driven, not a public HTTP endpoint. Increments are event-accumulating (not convergent), so a replayed update is NOT side-effect-free.\n idempotent: false,\n },\n [Op.SEARCH]: {\n purpose: 'Return the progression-state collection inside the addressed user scope.',\n outcome: 'The caller receives a paginated collection containing the user’s progression row when it has been materialized.',\n whenToUse: 'Use only when a collection envelope is more convenient than the singleton READ representation. This operation has no free-text searchable fields.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of user progression records for future admin discovery.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated user session for the progression search context.' },\n ],\n examples: [{\n title: 'Return the user progression state as a collection',\n request: { userId: USER_PROGRESSION_STATE_EXAMPLE.userId, page: 1, limit: 20 },\n response: progressionSearchExample(USER_PROGRESSION_STATE_EXAMPLE),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the user progression state row when its owning user is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton state row is removed together with the user — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The user progression state record was deleted as part of the owning user’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (super-admin) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Milestone ref keys in `milestonesAchieved` and `operationCounts` must align to configured milestone/operation keys from the product catalog — the spec does not enumerate them (data-driven at runtime).',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.USER_SELF },\n);\n\nconst organizationProgressionBase = resourceSpecification<Record<string, never>, OCore, OMain>(\n organizationProgressionStateFactory,\n OrganizationProgressionStateSchema,\n ({ schemaShape }) => ({\n purpose: 'Per-organization progression state: the same point/milestone/operation-count model as the user document, at tenant scale for org achievements.',\n businessRole: 'Powers org-wide “team quests” and tiered success metrics; distinct from per-member rows on `USER_PROGRESSION_STATE`.',\n lifecycleRole: 'The state starts at zero for a new organization, accumulates qualifying team activity, milestones and points, and remains readable by organization members.',\n audience: LabelAudience.END_USER,\n subDomain: EngineResourceSubDomain.GUIDANCE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-models', exportName: 'OrganizationProgressionStateSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-models', exportName: 'organizationProgressionStateResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceType', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'ORGANIZATION_PROGRESSION_STATE' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n frontendConfigurationSources: [\n { packageName: '@wildo-ai/presets-components', exportName: 'organizationProgressionStateMainResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR },\n { packageName: '@wildo-ai/presets-components', exportName: 'organizationProgressionStateAdminResourceUIBehavior', symbolKind: CodeSymbolKind.UI_BEHAVIOR },\n ],\n notes: ['Runtime has no userNotifications / m2mNotifications — do not add communications.* (DF-1).'],\n },\n fields: {\n organizationId: schemaShape.organizationId.foreignKeySpec({\n meaning: 'Owning organization for the shared progression document; immutable after create.',\n whyItMatters: 'Scopes READ/SEARCH through the org access strategy so a tenant can never read another tenant’s points and milestones.',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n totalPoints: schemaShape.totalPoints.clone().numberSpec({ meaning: 'Total points earned by this organization from achieved milestones.', importance: FieldSemanticImportance.PRIMARY }),\n },\n operations: {\n [Op.READ]: {\n purpose: 'Read the addressed organization’s milestone progression state.',\n outcome: 'An organization member receives the organization’s total points, achieved milestones, contributing operation counts and per-category totals.',\n whenToUse: 'Use this endpoint to render organization-level achievements or reconcile a client’s displayed team progress with the server-owned state.',\n responseStatuses: [\n // Scoped-state read lazily materializes: an org with no row yet gets default zero-points state rather than 404, so 404 is intentionally NOT documented.\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization’s progression state (aggregated points and milestone map) is returned; an un-materialized org yields a default zero-points state rather than a 404.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated org-member session for the tenant progression state.' },\n ],\n examples: [{\n title: 'Read the organization progression state',\n request: { organizationId: ORGANIZATION_PROGRESSION_STATE_EXAMPLE.organizationId },\n response: ORGANIZATION_PROGRESSION_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n variants: {\n context: {\n purpose: 'Read the organization progression row using the context representation.',\n outcome: 'The caller receives the progression row plus any relationship context configured for this application; when no context relationship is configured, the response shape is the progression row itself.',\n examples: [{\n title: 'Read the organization progression context',\n request: { organizationId: ORGANIZATION_PROGRESSION_STATE_EXAMPLE.organizationId },\n response: ORGANIZATION_PROGRESSION_STATE_EXAMPLE,\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n summary: {\n purpose: 'Read the compact organization progression representation.',\n outcome: 'The caller receives only the owning organization id and total points.',\n examples: [{\n title: 'Read the organization progression summary',\n request: { organizationId: ORGANIZATION_PROGRESSION_STATE_EXAMPLE.organizationId },\n response: {\n totalPoints: ORGANIZATION_PROGRESSION_STATE_EXAMPLE.totalPoints,\n organizationId: ORGANIZATION_PROGRESSION_STATE_EXAMPLE.organizationId,\n },\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n },\n },\n idempotent: true,\n },\n [Op.CREATE]: {\n purpose: 'Internal system creation of the first org progression row (INTERNAL_CALL, isDefault): eager-seeded via the ORGANIZATIONS → ORGANIZATION_PROGRESSION_STATE `onParentCreate` composition lifecycle (createAsSystem), and created on demand by the milestone engine via the repository tier. Not a member-facing route.',\n outcome: 'Initial empty maps for the org.',\n responseStatuses: [\n { code: HttpResponseStatusCode.CREATED_201, meaning: 'A progression state baseline record with empty maps was materialized for the org.' },\n ],\n // INTERNAL_CALL variant (isDefault) — the service tier createAsSystem resolves for the onParentCreate seed; also created by the milestone engine via the variant-agnostic repository tier. Not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: false,\n },\n [Op.UPDATE]: {\n purpose: 'Repository-only increments when org milestone rules fire.',\n outcome: 'Updated points and milestone map without direct member CRUD in typical flows.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The org progression counters/points were updated after a qualifying milestone event.' },\n ],\n // REPOSITORY_ONLY variant — engine-driven, not a public HTTP endpoint. Increments are event-accumulating (not convergent), so a replayed update is NOT side-effect-free.\n idempotent: false,\n },\n [Op.SEARCH]: {\n purpose: 'Return the progression-state collection inside the addressed organization scope.',\n outcome: 'The caller receives a paginated collection containing the organization’s progression row when it has been materialized.',\n whenToUse: 'Use only when a collection envelope is more convenient than the singleton READ representation. This operation has no free-text searchable fields.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'A (possibly empty) page of org progression records; merged admin presets do not surface this as a navigable list.' },\n ],\n errorScenarios: [\n { code: HttpResponseStatusCode.UNAUTHORIZED_401, when: 'The request carries no authenticated org-member session for the progression search context.' },\n ],\n examples: [{\n title: 'Return the organization progression state as a collection',\n request: { organizationId: ORGANIZATION_PROGRESSION_STATE_EXAMPLE.organizationId, page: 1, limit: 20 },\n response: progressionSearchExample(ORGANIZATION_PROGRESSION_STATE_EXAMPLE),\n forStatus: HttpResponseStatusCode.OK_200,\n }],\n idempotent: true,\n },\n [Op.DELETE]: {\n purpose: 'Repository-only teardown of the organization progression state row when its owning organization is deleted (composition `onParentDelete` cascade).',\n outcome: 'The singleton state row is removed together with the organization — the composition part does not outlive its whole.',\n responseStatuses: [\n { code: HttpResponseStatusCode.OK_200, meaning: 'The organization progression state record was deleted as part of the owning organization’s deletion cascade.' },\n ],\n // REPOSITORY_ONLY variant (ORG_ADMIN) — invoked by the onParentDelete cascade, not a public HTTP endpoint, so no client-facing 400/403/404 are documented.\n idempotent: true,\n },\n },\n businessConstraints: [\n 'Merged `guidance` admin preset for org progression strips SEARCH; align `frontend.views` to merged UI only.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.ORGANIZATIONS },\n);\n\nexport const userProgressionStateResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n resourceFrontendConfiguration(userProgUI),\n userProgressionBase,\n () => ({\n label: { purpose: 'Preset `getFrontendResourceLabel` shows total points, e.g. “42 pts” for profile surfaces.' },\n layout: {\n purpose: 'Three section refs: `overview` (total points), `activity` (category + operation stats), `milestones` (achievement list).',\n displayPurpose: 'Read/search preset wiring keeps routes non-addressable; layout still describes the intended information hierarchy.',\n sections: {\n overview: {\n purpose: 'Primary `totalPoints` and headline progression summary.',\n whenToUse: 'User profile “Achievements” tab.',\n textSlots: { title: { purpose: 'Label the points overview card.' }, description: { purpose: 'Explain that points are derived from the milestone catalog, not ad-hoc user entry.' } },\n },\n activity: {\n purpose: '`categoriesProgress` and `operationCounts` for drill-down and debugging.',\n whenToUse: 'Support and power-user inspection of which operations contributed counts.',\n textSlots: { title: { purpose: 'Label the activity/telemetry block.' }, description: { purpose: 'Map keys are `resourceType:operation` strings per schema comment, not free text.' } },\n },\n milestones: {\n purpose: '`milestonesAchieved` record map with timestamps and counts.',\n whenToUse: 'When showing which named milestones the user has cleared.',\n textSlots: { title: { purpose: 'Label the milestone history block.' }, description: { purpose: 'Milestone ref strings come from the guidance/milestone spec catalog for the app.' } },\n },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Read shell; non-addressable in default `views` configuration.', whenToUse: 'Embedded in profile and guidance surfaces when routed.' },\n [Op.SEARCH]: { purpose: 'Factory SEARCH + preset entry; still non-addressable in default `views` list.', whenToUse: 'Planned org-wide or admin user discovery, not a primary nav in current presets.' },\n },\n }),\n);\n\nexport const organizationProgressionStateResourceSpecification = resourceSpecificationFromFrontendConfiguration(\n mergeResourceFrontendConfigurations(resourceFrontendConfiguration(orgProgMainUI), resourceFrontendConfiguration(orgProgAdminUI)),\n organizationProgressionBase,\n () => ({\n label: { purpose: 'Same “N pts” label as user progression, scoped to the org’s shared row.' },\n layout: {\n purpose: 'Same `overview` / `activity` / `milestones` trisect as the user main bundle; merged admin only removes the SEARCH op from the `views` map if not surfaced in merged config.',\n displayPurpose: 'Org-facing achievements that roll up to tenant dashboards.',\n sections: {\n overview: { purpose: 'Org point total and headline.', whenToUse: 'Org home gamification when enabled.', textSlots: { title: { purpose: 'Org progression overview.' }, description: { purpose: 'Distinguish org totals from the sum of user rows — this is a single org-level document.' } } },\n activity: { purpose: 'Aggregated per-category and per-operation counts for the org channel.', whenToUse: 'When operators need to see which org events scored points.', textSlots: { title: { purpose: 'Activity stats.' }, description: { purpose: 'Keys follow the same `resourceType:operation` convention as user-level progression.' } } },\n milestones: { purpose: 'Milestone ref → achievement for org-wide quest completion.', whenToUse: 'When marketing or CS explains which org milestones are complete.', textSlots: { title: { purpose: 'Milestones block.' }, description: { purpose: 'May include zero or many entries depending on catalog wiring.' } } },\n },\n },\n views: {\n [Op.READ]: { purpose: 'Read-only progression host in merged `guidance` bundles; not addressable in the default `views` array in presets.', whenToUse: 'Org achievement surfaces in admin/tenant UIs when routed.' },\n },\n }),\n);\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/engine/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2CAA2C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/engine/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AAEtB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2CAA2C,CAAC","sourcesContent":["import './_bootstrap';\n\nexport * from './users';\nexport * from './organizations';\nexport * from './applications';\nexport * from './files';\nexport * from './infrastructure';\nexport * from './auth';\nexport * from './compliance';\nexport * from './billing';\nexport * from './errors';\nexport * from './guidance';\nexport * from './features';\nexport * from './providers';\nexport * from './frontend-components';\nexport * from './full-custom-views';\nexport * from './notifications';\nexport * from './roles';\nexport * from './engine-resource-sub-domain';\nexport * from './engine-resource-specifications.registry';\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/engine/infrastructure/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
|
package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-seed-runs.resource.specification.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"data-seed-runs.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../src/engine/infrastructure/resources/data-seed-runs.resource.specification.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAGjI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,eAAO,MAAM,iCAAiC,EAAE,8BA+X/C,CAAC"}
|