@wildo-ai/saas-specifications 1.1.5 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts +10 -8
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js +14 -13
- package/dist/esm/_catalogs/schema-org/_catalog-spec.shared.schemas.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts +3 -2
- package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js +4 -3
- package/dist/esm/_catalogs/schema-org/aggregate-offer.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.d.ts +31 -15
- package/dist/esm/_catalogs/schema-org/index.d.ts.map +1 -1
- package/dist/esm/_catalogs/schema-org/index.js +34 -13
- package/dist/esm/_catalogs/schema-org/index.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/product.catalog-spec.d.ts +2 -2
- package/dist/esm/_catalogs/schema-org/product.catalog-spec.js +4 -4
- package/dist/esm/_catalogs/schema-org/product.catalog-spec.js.map +1 -1
- package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts +45 -0
- package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.d.ts.map +1 -0
- package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js +58 -0
- package/dist/esm/_catalogs/schema-org/software-application.catalog-spec.js.map +1 -0
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts +3 -2
- package/dist/esm/_core/application-specification-family-identity.schemas.d.ts.map +1 -1
- package/dist/esm/_core/application-specification-family-identity.schemas.js +3 -2
- package/dist/esm/_core/application-specification-family-identity.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts +18 -0
- package/dist/esm/_core/build-plan/build-plan-task-graph-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph-validation.d.ts +39 -13
- 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 +43 -13
- 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 +90 -2
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js +70 -6
- package/dist/esm/_core/build-plan/build-plan-task-graph.schemas.js.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js +26 -4
- package/dist/esm/_core/build-plan/build-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts +14 -0
- package/dist/esm/_core/business-semantics.specifications.schemas.d.ts.map +1 -1
- package/dist/esm/_core/business-semantics.specifications.schemas.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition-validation.js +1 -0
- package/dist/esm/_core/capability-composition/capability-composition-validation.js.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts +21 -2
- package/dist/esm/_core/capability-composition/capability-composition.schemas.d.ts.map +1 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js +20 -1
- package/dist/esm/_core/capability-composition/capability-composition.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.d.ts +11 -32
- 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 +70 -3
- package/dist/esm/_core/compliance-documents/compliance-document-candidate.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts +142 -17
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js +285 -30
- package/dist/esm/_core/compliance-documents/computed-document-facts.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts +183 -18
- package/dist/esm/_core/compliance-documents/processor-register.schemas.d.ts.map +1 -1
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js +165 -18
- package/dist/esm/_core/compliance-documents/processor-register.schemas.js.map +1 -1
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts +139 -0
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js +172 -0
- package/dist/esm/_core/compliance-documents/recipient-disclosures.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts +306 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js +502 -0
- package/dist/esm/_core/compliance-documents/recipient-population.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts +107 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js +118 -0
- package/dist/esm/_core/compliance-documents/retention-enforcement-facts.schemas.js.map +1 -0
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts +56 -0
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.d.ts.map +1 -0
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js +100 -0
- package/dist/esm/_core/compliance-documents/subject-data-recipients.schemas.js.map +1 -0
- package/dist/esm/_core/composite-view-specification.schemas.js +8 -1
- package/dist/esm/_core/composite-view-specification.schemas.js.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts +3 -2
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js +3 -2
- package/dist/esm/_core/domain-plan/domain-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts +16 -3
- package/dist/esm/_core/experience-plan/experience-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js +70 -5
- package/dist/esm/_core/experience-plan/experience-plan.schemas.js.map +1 -1
- package/dist/esm/_core/family-aspects.schemas.d.ts +10 -0
- 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 +2 -2
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts +1 -0
- package/dist/esm/_core/feature-drafts/capability-map-output-set.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts +16 -0
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.d.ts.map +1 -1
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js +8 -0
- package/dist/esm/_core/feature-drafts/feature-specification-drafts.schemas.js.map +1 -1
- package/dist/esm/_core/index.d.ts +3 -0
- package/dist/esm/_core/index.d.ts.map +1 -1
- package/dist/esm/_core/index.js +3 -0
- package/dist/esm/_core/index.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts +5 -0
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js +3 -1
- package/dist/esm/_core/integration-plan/integration-plan-generation.schemas.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js +12 -2
- package/dist/esm/_core/integration-plan/integration-plan.family-aspects.js.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts +30 -2
- package/dist/esm/_core/integration-plan/integration-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js +32 -2
- package/dist/esm/_core/integration-plan/integration-plan.schemas.js.map +1 -1
- package/dist/esm/_core/market/feature-benefit.schemas.js +2 -2
- package/dist/esm/_core/market/feature-benefit.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-alternative.schemas.js +2 -2
- package/dist/esm/_core/market/market-alternative.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-buying-journey.schemas.js +2 -2
- package/dist/esm/_core/market/market-buying-journey.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-category.schemas.js +2 -2
- package/dist/esm/_core/market/market-category.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-channel.schemas.js +2 -2
- package/dist/esm/_core/market/market-channel.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-gain.schemas.js +2 -2
- package/dist/esm/_core/market/market-gain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-icp.schemas.js +2 -2
- package/dist/esm/_core/market/market-icp.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-job.schemas.js +2 -2
- package/dist/esm/_core/market/market-job.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-message-template.schemas.js +2 -2
- package/dist/esm/_core/market/market-message-template.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-objection.schemas.js +2 -2
- package/dist/esm/_core/market/market-objection.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-pain.schemas.js +2 -2
- package/dist/esm/_core/market/market-pain.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-persona.schemas.js +2 -2
- package/dist/esm/_core/market/market-persona.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-positioning.schemas.js +2 -2
- package/dist/esm/_core/market/market-positioning.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-proof.schemas.js +2 -2
- package/dist/esm/_core/market/market-proof.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.d.ts +6 -0
- package/dist/esm/_core/market/market-references.schemas.d.ts.map +1 -1
- package/dist/esm/_core/market/market-references.schemas.js +6 -0
- package/dist/esm/_core/market/market-references.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-snapshot-generation.schemas.d.ts +4 -4
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js +2 -2
- package/dist/esm/_core/market/market-tone-of-voice.schemas.js.map +1 -1
- package/dist/esm/_core/market/market-trigger.schemas.js +2 -2
- package/dist/esm/_core/market/market-trigger.schemas.js.map +1 -1
- package/dist/esm/_core/market/market.family-aspects.js +1 -1
- package/dist/esm/_core/market/market.family-aspects.js.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js +6 -1
- package/dist/esm/_core/placement-plan/placement-plan.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts +1 -0
- package/dist/esm/_core/requirements/functional-requirement.schemas.d.ts.map +1 -1
- package/dist/esm/_core/requirements/functional-requirement.schemas.js +8 -0
- package/dist/esm/_core/requirements/functional-requirement.schemas.js.map +1 -1
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts +1 -0
- package/dist/esm/_core/requirements/requirements-snapshot.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.d.ts +86 -28
- package/dist/esm/_core/resource-specification.schemas.d.ts.map +1 -1
- package/dist/esm/_core/resource-specification.schemas.js +110 -24
- package/dist/esm/_core/resource-specification.schemas.js.map +1 -1
- package/dist/esm/_core/utils/retention-clock-field-specs.d.ts +13 -0
- package/dist/esm/_core/utils/retention-clock-field-specs.d.ts.map +1 -0
- package/dist/esm/_core/utils/retention-clock-field-specs.js +26 -0
- package/dist/esm/_core/utils/retention-clock-field-specs.js.map +1 -0
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts +31 -6
- package/dist/esm/_core/website-plan/website-plan.schemas.d.ts.map +1 -1
- package/dist/esm/_core/website-plan/website-plan.schemas.js +35 -6
- package/dist/esm/_core/website-plan/website-plan.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts +142 -3
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js +148 -14
- package/dist/esm/application-creation/application-creator-inputs.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.d.ts +70 -10
- 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 +98 -11
- package/dist/esm/application-creation/application-document-fact-specification.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts +215 -0
- package/dist/esm/application-creation/application-line.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-line.application-creation.schemas.js +253 -0
- package/dist/esm/application-creation/application-line.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts +39 -0
- package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js +37 -0
- package/dist/esm/application-creation/application-specification-family-decisions.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts +5 -49
- package/dist/esm/application-creation/journey.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/journey.application-creation.schemas.js +25 -60
- package/dist/esm/application-creation/journey.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts +28 -0
- package/dist/esm/application-creation/playbook-instance.application-creation.schemas.d.ts.map +1 -0
- package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js +32 -0
- package/dist/esm/application-creation/playbook-instance.application-creation.schemas.js.map +1 -0
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts +26 -6
- package/dist/esm/application-creation/playbooks.application-creation.schemas.d.ts.map +1 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js +28 -1
- package/dist/esm/application-creation/playbooks.application-creation.schemas.js.map +1 -1
- package/dist/esm/application-creation.exports.d.ts +7 -0
- package/dist/esm/application-creation.exports.d.ts.map +1 -1
- package/dist/esm/application-creation.exports.js +7 -0
- package/dist/esm/application-creation.exports.js.map +1 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.d.ts +1 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js +1 -1
- package/dist/esm/assurance/__tests__/authority-evaluation-instant.fixture.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts +24 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.definitions.js +75 -5
- package/dist/esm/assurance/assurance-authority-basis.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts +6 -0
- package/dist/esm/assurance/assurance-authority-basis.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts +11 -0
- package/dist/esm/assurance/assurance-document-blueprint-selection.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-blueprint-selection.js +22 -3
- package/dist/esm/assurance/assurance-document-blueprint-selection.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.definitions.js +39 -6
- package/dist/esm/assurance/assurance-document-system.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts +11 -0
- package/dist/esm/assurance/assurance-document-system.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-document-system.schemas.js +19 -0
- package/dist/esm/assurance/assurance-document-system.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js +295 -31
- package/dist/esm/assurance/assurance-evidence-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts +7 -0
- package/dist/esm/assurance/assurance-foundation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-foundation.schemas.js +7 -0
- package/dist/esm/assurance/assurance-foundation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js +17 -0
- package/dist/esm/assurance/assurance-objective-catalog.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts +5 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program-generation.schemas.js +6 -3
- package/dist/esm/assurance/assurance-program-generation.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.js +1 -1
- package/dist/esm/assurance/assurance-program.family-aspects.js.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.d.ts +232 -3
- package/dist/esm/assurance/assurance-program.schemas.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-program.schemas.js +107 -14
- package/dist/esm/assurance/assurance-program.schemas.js.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js +77 -1
- package/dist/esm/assurance/assurance-source-registry.definitions.js.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.d.ts.map +1 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js +23 -1
- package/dist/esm/assurance/assurance-verification-requirement-bodies.definitions.js.map +1 -1
- package/dist/esm/assurance/governed-document-release.d.ts +7 -0
- package/dist/esm/assurance/governed-document-release.d.ts.map +1 -1
- package/dist/esm/assurance/governed-document-release.js +11 -2
- package/dist/esm/assurance/governed-document-release.js.map +1 -1
- package/dist/esm/companion-exports.d.ts +6 -5
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-api-keys.resource.specification.d.ts +1 -0
- 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 +35 -33
- 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 +6 -2
- 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 +13 -12
- package/dist/esm/engine/applications/resources/application-oauth-clients.resource.specification.js.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/applications/resources/application-versions.resource.specification.js +26 -2
- 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 +4 -4
- package/dist/esm/engine/applications/resources/applications.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js +11 -9
- package/dist/esm/engine/auth/resources/application-access-grants.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/oauth-consent-grants.resource.specification.js +2 -2
- 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 +1 -0
- 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 +45 -32
- 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 +1 -23
- 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 +185 -31
- 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 +2 -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 +29 -7
- 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 +7 -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 +9 -6
- 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 +1 -0
- 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 +11 -7
- 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 +18 -16
- 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 +9 -11
- 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 +238 -219
- 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 +0 -24
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js +76 -16
- package/dist/esm/engine/auth/resources/sso-connections.resource.specification.js.map +1 -1
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.d.ts +2 -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 +28 -6
- package/dist/esm/engine/auth/resources/user-provider-credentials.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js +29 -11
- package/dist/esm/engine/billing/resources/billing-accounts.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js +1 -1
- package/dist/esm/engine/billing/resources/billing-provider-event-settlements.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.d.ts +2 -0
- 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 +13 -12
- package/dist/esm/engine/billing/resources/credit-pools.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/invoice-refs.resource.specification.js +5 -5
- 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 +12 -9
- package/dist/esm/engine/billing/resources/prices.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts +7 -4
- package/dist/esm/engine/billing/resources/products.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/products.resource.specification.js +36 -16
- 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 +13 -10
- package/dist/esm/engine/billing/resources/promotions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts +13 -8
- package/dist/esm/engine/billing/resources/referrals.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js +54 -20
- package/dist/esm/engine/billing/resources/referrals.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts +30 -4
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js +85 -25
- package/dist/esm/engine/billing/resources/subscriptions.resource.specification.js.map +1 -1
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js +2 -2
- package/dist/esm/engine/billing/resources/usage-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts +15 -2
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js +45 -10
- package/dist/esm/engine/compliance/resources/application-audit-logs.resource.specification.js.map +1 -1
- package/dist/esm/engine/compliance/resources/audit-logs.resource.specification.d.ts +15 -2
- 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 +52 -12
- 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/compliance/resources/legal-holds.resource.specification.d.ts +39 -0
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js +325 -0
- package/dist/esm/engine/compliance/resources/legal-holds.resource.specification.js.map +1 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts +23 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js +197 -0
- package/dist/esm/engine/compliance/resources/retention-enforcement-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/engine-resource-specifications.registry.d.ts.map +1 -1
- package/dist/esm/engine/engine-resource-specifications.registry.js +59 -0
- package/dist/esm/engine/engine-resource-specifications.registry.js.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.d.ts.map +1 -1
- package/dist/esm/engine/errors/error-messages.specification.js +69 -0
- package/dist/esm/engine/errors/error-messages.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/application-features.resource.specification.d.ts +5 -5
- 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 +9 -10
- package/dist/esm/engine/features/resources/application-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/features/resources/organization-features.resource.specification.d.ts +5 -5
- package/dist/esm/engine/features/resources/organization-features.resource.specification.js +11 -11
- 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 +5 -5
- package/dist/esm/engine/features/resources/user-features.resource.specification.js +3 -3
- package/dist/esm/engine/features/resources/user-features.resource.specification.js.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/files/resources/files.resource.specification.js +7 -8
- package/dist/esm/engine/files/resources/files.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js +16 -4
- package/dist/esm/engine/flows-actors/resources/a2a-push-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js +1 -1
- package/dist/esm/engine/flows-actors/resources/a2a-token-budget-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts +11 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js +382 -0
- package/dist/esm/engine/flows-actors/resources/agent-work-decisions.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.d.ts +139 -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 +150 -4
- package/dist/esm/engine/flows-actors/resources/flow-actor-executions.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js +9 -1
- package/dist/esm/engine/flows-actors/resources/flow-actor-tasks.resource.specification.js.map +1 -1
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js +162 -0
- package/dist/esm/engine/flows-actors/resources/model-call-attributions.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts +3 -0
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js +158 -0
- package/dist/esm/engine/flows-actors/resources/model-cost-period-aggregates.resource.specification.js.map +1 -0
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts +2 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js +16 -9
- package/dist/esm/engine/flows-actors/resources/provider-call-records.resource.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-queue.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/ai-elements/decision/ai-approval-request.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts +5 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.d.ts.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js +79 -0
- package/dist/esm/engine/frontend-components/app/app-layout-agent-work-override-rate-settings.frontend-component.specification.js.map +1 -0
- package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-appearance-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js +3 -1
- package/dist/esm/engine/frontend-components/app/app-layout-billing-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-connected-accounts-settings.frontend-component.specification.js +5 -4
- 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-invitations-settings.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/app/app-layout-invitations-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/auth/admin-config/app-page-security-settings.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/billing/billing-pricing-table.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-number.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/data-display/formatters/display-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-approval.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/flows-actors/low-level-ai-decision.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-address.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js +2 -2
- package/dist/esm/engine/frontend-components/form/fields/form-field-string.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/index.d.ts +1 -0
- package/dist/esm/engine/frontend-components/index.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/index.js +3 -0
- package/dist/esm/engine/frontend-components/index.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resource-layout-empty-state.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-display.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js +1 -1
- package/dist/esm/engine/frontend-components/resources/resources-fields-resource-reference-edit.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.d.ts.map +1 -1
- package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js +9 -4
- package/dist/esm/engine/frontend-components/sections/stepper.frontend-component.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js +4 -4
- package/dist/esm/engine/guidance/resources/guidance-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/guidance/resources/lifecycle-state.resource.specification.js +34 -0
- 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 +26 -0
- package/dist/esm/engine/guidance/resources/progression-state.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js +2 -2
- package/dist/esm/engine/infrastructure/resources/data-seed-runs.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js +122 -0
- package/dist/esm/engine/infrastructure/resources/external-data-erasure-suppressions.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js +152 -0
- package/dist/esm/engine/infrastructure/resources/external-data-outbound-changes.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js +94 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pending-references.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts +10 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js +64 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts +4 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js +20 -16
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js +200 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js +19 -6
- package/dist/esm/engine/infrastructure/resources/external-data-pipeline-states.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js +97 -0
- package/dist/esm/engine/infrastructure/resources/external-data-remote-versions.resource.specification.js.map +1 -0
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts +8 -0
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/infrastructure/resources/job-executions.resource.specification.js +2 -2
- 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 +2 -2
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js +1 -1
- package/dist/esm/engine/infrastructure/resources/job-payload-storage.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js +4 -4
- package/dist/esm/engine/infrastructure/resources/system-of-record-partition-assignments.resource.specification.js.map +1 -1
- package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts +9 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js +153 -0
- package/dist/esm/engine/infrastructure/resources/system-of-record-write-admissions.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts +81 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js +437 -0
- package/dist/esm/engine/notifications/resources/conversation-threads.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts +112 -0
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js +287 -0
- package/dist/esm/engine/notifications/resources/inbound-deliveries.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts +131 -0
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js +594 -0
- package/dist/esm/engine/notifications/resources/inbound-email.resource.specification.js.map +1 -0
- package/dist/esm/engine/notifications/resources/index.d.ts +1 -0
- package/dist/esm/engine/notifications/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/index.js +1 -0
- package/dist/esm/engine/notifications/resources/index.js.map +1 -1
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.d.ts +6 -3
- 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 +20 -5
- package/dist/esm/engine/notifications/resources/m2m-webhook-delivery-log.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/notifications/resources/notification-badges.resource.specification.js +12 -2
- 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 +6 -6
- 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 +8 -11
- package/dist/esm/engine/notifications/resources/webhook-config.resource.specification.js.map +1 -1
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts +4 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.d.ts.map +1 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js +62 -0
- package/dist/esm/engine/notifications/system-emails/human-decision.system-emails.specification.js.map +1 -0
- package/dist/esm/engine/notifications/system-emails/index.d.ts +2 -1
- package/dist/esm/engine/notifications/system-emails/index.d.ts.map +1 -1
- package/dist/esm/engine/notifications/system-emails/index.js +4 -2
- package/dist/esm/engine/notifications/system-emails/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/index.d.ts +2 -0
- package/dist/esm/engine/organizations/resources/index.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/index.js +2 -0
- package/dist/esm/engine/organizations/resources/index.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.d.ts +3 -0
- 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 +40 -12
- package/dist/esm/engine/organizations/resources/organization-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js +2 -2
- package/dist/esm/engine/organizations/resources/organization-notifications.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-preferences.resource.specification.js +2 -2
- 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 +0 -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 +4 -6
- 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 +7 -3
- package/dist/esm/engine/organizations/resources/organization-unit-members.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js +15 -8
- package/dist/esm/engine/organizations/resources/organization-units.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.d.ts +3 -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 +36 -21
- package/dist/esm/engine/organizations/resources/organizations.resource.specification.js.map +1 -1
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts +38 -0
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js +152 -0
- package/dist/esm/engine/organizations/resources/service-provider-activity-feed.resource.specification.js.map +1 -0
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts +106 -0
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.d.ts.map +1 -0
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js +417 -0
- package/dist/esm/engine/organizations/resources/service-provider-relationships.resource.specification.js.map +1 -0
- package/dist/esm/engine/providers/apple.provider.specification.js +1 -1
- package/dist/esm/engine/providers/apple.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js +1 -1
- package/dist/esm/engine/providers/github.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/google-places.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/google-places.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/google-places.provider.specification.js +44 -0
- package/dist/esm/engine/providers/google-places.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/google.provider.specification.js +1 -1
- package/dist/esm/engine/providers/google.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/index.d.ts +2 -0
- package/dist/esm/engine/providers/index.d.ts.map +1 -1
- package/dist/esm/engine/providers/index.js +5 -1
- package/dist/esm/engine/providers/index.js.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/microsoft.provider.specification.js +10 -6
- package/dist/esm/engine/providers/microsoft.provider.specification.js.map +1 -1
- package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts +6 -0
- package/dist/esm/engine/providers/recaptcha.provider.specification.d.ts.map +1 -0
- package/dist/esm/engine/providers/recaptcha.provider.specification.js +38 -0
- package/dist/esm/engine/providers/recaptcha.provider.specification.js.map +1 -0
- package/dist/esm/engine/providers/resend.provider.specification.d.ts.map +1 -1
- package/dist/esm/engine/providers/resend.provider.specification.js +3 -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 +3 -2
- package/dist/esm/engine/providers/stripe.provider.specification.js.map +1 -1
- package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-billing-provider-events.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-billing-provider-events.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js +21 -0
- package/dist/esm/engine/roles/app-email-inbound-intake.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/index.d.ts +13 -5
- package/dist/esm/engine/roles/index.d.ts.map +1 -1
- package/dist/esm/engine/roles/index.js +19 -6
- package/dist/esm/engine/roles/index.js.map +1 -1
- package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-billing-provider-events.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js +21 -0
- package/dist/esm/engine/roles/org-billing-provider-events.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts +7 -0
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js +72 -0
- package/dist/esm/engine/roles/org-delegated-capabilities.role.specification.js.map +1 -0
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts +2 -0
- package/dist/esm/engine/roles/org-service-provider.role.specification.d.ts.map +1 -0
- package/dist/esm/engine/roles/org-service-provider.role.specification.js +22 -0
- package/dist/esm/engine/roles/org-service-provider.role.specification.js.map +1 -0
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js +2 -2
- package/dist/esm/engine/users/resources/anonymous-users.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js +3 -3
- package/dist/esm/engine/users/resources/inbound-contacts.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts +1 -1
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js +3 -6
- package/dist/esm/engine/users/resources/self-service-user-notifications.shared.js.map +1 -1
- package/dist/esm/engine/users/resources/user-credentials.resource.specification.js +2 -2
- 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.js +2 -2
- 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 +0 -4
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js +0 -3
- package/dist/esm/engine/users/resources/user-preferences-api-reference.examples.js.map +1 -1
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.d.ts +0 -3
- 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 +7 -7
- package/dist/esm/engine/users/resources/user-preferences.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/user-profiles.resource.specification.js +5 -5
- 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 +0 -3
- 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 +11 -18
- 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.js +6 -6
- 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 +5 -1
- package/dist/esm/engine/users/resources/user-self.resource.specification.js.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts +8 -5
- package/dist/esm/engine/users/resources/users.resource.specification.d.ts.map +1 -1
- package/dist/esm/engine/users/resources/users.resource.specification.js +49 -16
- package/dist/esm/engine/users/resources/users.resource.specification.js.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.d.ts.map +1 -1
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js +29 -10
- package/dist/esm/technical-documentation/engine-documentation-specification-catalog.companion.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -8
- package/dist/assurance/external-framework-mapping.json +0 -1228
package/dist/esm/_core/index.js
CHANGED
|
@@ -25,9 +25,11 @@ export * from './compliance-documents/compliance-document-candidate-set.schemas.
|
|
|
25
25
|
export * from './compliance-documents/compliance-document-candidate-generation.schemas.js';
|
|
26
26
|
export * from './compliance-documents/required-document-set.schemas.js';
|
|
27
27
|
export * from './compliance-documents/processor-register.schemas.js';
|
|
28
|
+
export * from './compliance-documents/recipient-population.schemas.js';
|
|
28
29
|
export * from './compliance-documents/compliance-completeness-statement.schemas.js';
|
|
29
30
|
export * from './compliance-documents/document-fact-specification-generation.schemas.js';
|
|
30
31
|
export * from './compliance-documents/computed-document-facts.schemas.js';
|
|
32
|
+
export * from './compliance-documents/retention-enforcement-facts.schemas.js';
|
|
31
33
|
export * from './business-semantics.specifications.schemas.js';
|
|
32
34
|
export * from './chart-view-specification.schemas.js';
|
|
33
35
|
export * from './composite-view-specification.schemas.js';
|
|
@@ -127,6 +129,7 @@ export * from './system-email-template-specification.schemas.js';
|
|
|
127
129
|
export * from './translation-slot-specification.schemas.js';
|
|
128
130
|
export * from './utils/extract-field-specs.js';
|
|
129
131
|
export * from './utils/retention-marker-field-specs.js';
|
|
132
|
+
export * from './utils/retention-clock-field-specs.js';
|
|
130
133
|
export * from './vision/vision-authored-metadata.schemas.js';
|
|
131
134
|
export * from './vision/vision-constraint.schemas.js';
|
|
132
135
|
export * from './vision/vision-idea.schemas.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/_core/index.ts"],"names":[],"mappings":"AAAA,cAAc,kDAAkD,CAAC;AACjE,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D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AAC;AACvD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,sDAAsD,CAAC;AACrE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,wDAAwD,CAAC;AACvE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,qDAAqD,CAAC;AACpE,cAAc,wDAAwD,CAAC;AACvE,cAAc,yCAAyC,CAAC;AACxD,cAAc,oDAAoD,CAAC;AACnE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mDAAmD,CAAC;AAClE,cAAc,uDAAuD,CAAC;AACtE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yDAAyD,CAAC;AACxE,cAAc,iDAAiD,CAAC;AAChE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kCAAkC,CAAC;AACjD,cAAc,mCAAmC,CAAC;AAClD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0CAA0C,CAAC;AACzD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC","sourcesContent":["export * from './assertions/assertion-authored-metadata.schemas';\nexport * from './assertions/assertion-behaviors.schemas';\nexport * from './assertions/assertion-references.schemas';\nexport * from './assertions/assertion-snapshot-validation';\nexport * from './assertions/assertion-specification.schemas';\nexport * from './application-specification-family-identity.schemas';\nexport * from './family-aspects.schemas';\nexport * from './family-aspects.registry';\nexport * from './brand/brand-asset.schemas';\nexport * from './brand/brand-authored-metadata.schemas';\nexport * from './brand/brand-generation.schemas';\nexport * from './brand/brand-logo-direction.schemas';\nexport * from './brand/brand-name.schemas';\nexport * from './brand/brand-snapshot-validation';\nexport * from './brand/brand-snapshot.schemas';\nexport * from './brand/brand-visual-tone.schemas';\nexport * from './business-model-lite/business-model-authored-metadata.schemas';\nexport * from './business-model-lite/business-model-lite-snapshot-validation';\nexport * from './business-model-lite/business-model-lite-snapshot.schemas';\nexport * from './business-model-lite/business-model-lite-snapshot-generation.schemas';\nexport * from './business-model-lite/business-model-references.schemas';\nexport * from './business-model-lite/pricing-plan.schemas';\nexport * from './compliance-documents/compliance-document-candidate.schemas';\nexport * from './compliance-documents/compliance-document-candidate-set.schemas';\nexport * from './compliance-documents/compliance-document-candidate-generation.schemas';\nexport * from './compliance-documents/required-document-set.schemas';\nexport * from './compliance-documents/processor-register.schemas';\nexport * from './compliance-documents/compliance-completeness-statement.schemas';\nexport * from './compliance-documents/document-fact-specification-generation.schemas';\nexport * from './compliance-documents/computed-document-facts.schemas';\nexport * from './business-semantics.specifications.schemas';\nexport * from './chart-view-specification.schemas';\nexport * from './composite-view-specification.schemas';\nexport * from './cross-registry-assertions';\nexport * from './data-seed-specification.schemas';\nexport * from './domain-plan/domain-plan-output-set-generation.schemas';\nexport * from './domain-plan/domain-plan-output-set-validation';\nexport * from './domain-plan/domain-plan-output-set.schemas';\nexport * from './definition-specification-validators';\nexport * from './definition-specification.schemas';\nexport * from './error-message-specification.schemas';\nexport * from './execution-view-specification.schemas';\nexport * from './expert-personas/expert-persona-authored-metadata.schemas';\nexport * from './expert-personas/expert-persona-charter.schemas';\nexport * from './expert-personas/expert-persona-validation';\nexport * from './expert-personas/expert-role-template.schemas';\nexport * from './feature-drafts/capability-map-output-set-generation.schemas';\nexport * from './feature-drafts/capability-map-output-set-validation';\nexport * from './feature-drafts/capability-map-output-set.schemas';\nexport * from './feature-drafts/feature-specification-drafts-generation.schemas';\nexport * from './feature-drafts/feature-specification-drafts-validation';\nexport * from './feature-drafts/feature-specification-drafts.schemas';\nexport * from './feature-specification.schemas';\nexport * from './provider-specification.schemas';\nexport * from './frontend-component-specification.schemas';\nexport * from './flows-actors-view-specification.schemas';\nexport * from './full-custom-view-specification.schemas';\nexport * from './guidance-flow-specification.schemas';\nexport * from './milestone-specification.schemas';\nexport * from './market/feature-benefit.schemas';\nexport * from './market/inherit-from';\nexport * from './market/is-benefit-available';\nexport * from './market/market-alternative.schemas';\nexport * from './market/market-authored-metadata.schemas';\nexport * from './market/market-buying-journey.schemas';\nexport * from './market/market-category.schemas';\nexport * from './market/market-channel.schemas';\nexport * from './market/market-context-block.schemas';\nexport * from './market/market-gain.schemas';\nexport * from './market/market-icp.schemas';\nexport * from './market/market-job.schemas';\nexport * from './market/market-message-template.schemas';\nexport * from './market/market-generation.schemas';\nexport * from './market/market-objection.schemas';\nexport * from './market/market-pain.schemas';\nexport * from './market/market-persona.schemas';\nexport * from './market/market-positioning.schemas';\nexport * from './market/market-proof.schemas';\nexport * from './market/market-references.schemas';\nexport * from './market/market-scoring';\nexport * from './market/market-snapshot-generation.schemas';\nexport * from './market/market-snapshot-validation';\nexport * from './market/market-snapshot.schemas';\nexport * from './market/market-tone-of-voice.schemas';\nexport * from './market/market-trigger.schemas';\nexport * from './onboarding-view-specification.schemas';\nexport * from './product-specification.schemas';\nexport * from './required-features-specification.schemas';\nexport * from './build-plan/build-plan-task-graph.schemas';\nexport * from './build-plan/build-plan-task-graph-generation.schemas';\nexport * from './build-plan/build-plan-task-graph-validation';\nexport * from './capability-composition/capability-composition.schemas';\nexport * from './capability-composition/capability-composition-validation';\nexport * from './website-plan/website-plan.schemas';\nexport * from './website-plan/website-plan-generation.schemas';\nexport * from './website-plan/website-plan-validation';\nexport * from './experience-plan/experience-plan.schemas';\nexport * from './experience-plan/experience-plan-generation.schemas';\nexport * from './experience-plan/experience-plan-validation';\nexport * from './integration-plan/integration-plan.schemas';\nexport * from './integration-plan/integration-plan-generation.schemas';\nexport * from './integration-plan/integration-plan-validation';\nexport * from './application-maturity/application-maturity.schemas';\nexport * from './application-maturity/application-maturity-validation';\nexport * from './placement-plan/placement-plan.schemas';\nexport * from './placement-plan/placement-plan-generation.schemas';\nexport * from './placement-plan/placement-plan-validation';\nexport * from './requirements/functional-requirement.schemas';\nexport * from './requirements/non-functional-requirement.schemas';\nexport * from './requirements/requirements-authored-metadata.schemas';\nexport * from './requirements/requirements-references.schemas';\nexport * from './requirements/requirements-snapshot-generation.schemas';\nexport * from './requirements/requirements-snapshot-validation';\nexport * from './requirements/requirements-snapshot.schemas';\nexport * from './resource-specification-registry-alignment';\nexport * from './resource-specification.schemas';\nexport * from './resource-type-member-name.types';\nexport * from './roadmap/roadmap-authored-metadata.schemas';\nexport * from './roadmap/roadmap-phase.schemas';\nexport * from './roadmap/roadmap-references.schemas';\nexport * from './roadmap/roadmap-snapshot-generation.schemas';\nexport * from './roadmap/roadmap-snapshot-validation';\nexport * from './roadmap/roadmap-snapshot.schemas';\nexport * from './role-specification.schemas';\nexport * from './sidebar-section-specification.schemas';\nexport * from './system-email-template-specification.schemas';\nexport * from './translation-slot-specification.schemas';\nexport * from './utils/extract-field-specs';\nexport * from './utils/retention-marker-field-specs';\nexport * from './vision/vision-authored-metadata.schemas';\nexport * from './vision/vision-constraint.schemas';\nexport * from './vision/vision-idea.schemas';\nexport * from './vision/vision-mission.schemas';\nexport * from './vision/vision-problem.schemas';\nexport * from './vision/vision-references.schemas';\nexport * from './vision/vision-snapshot-generation.schemas';\nexport * from './vision/vision-snapshot-validation';\nexport * from './vision/vision-snapshot.schemas';\nexport * from './vision/vision-success-criterion.schemas';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources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AChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2CAA2C,CAAC","sourcesContent":["export * from './assertions/assertion-authored-metadata.schemas';\nexport * from './assertions/assertion-behaviors.schemas';\nexport * from './assertions/assertion-references.schemas';\nexport * from './assertions/assertion-snapshot-validation';\nexport * from './assertions/assertion-specification.schemas';\nexport * from './application-specification-family-identity.schemas';\nexport * from './family-aspects.schemas';\nexport * from './family-aspects.registry';\nexport * from './brand/brand-asset.schemas';\nexport * from './brand/brand-authored-metadata.schemas';\nexport * from './brand/brand-generation.schemas';\nexport * from './brand/brand-logo-direction.schemas';\nexport * from './brand/brand-name.schemas';\nexport * from './brand/brand-snapshot-validation';\nexport * from './brand/brand-snapshot.schemas';\nexport * from './brand/brand-visual-tone.schemas';\nexport * from './business-model-lite/business-model-authored-metadata.schemas';\nexport * from './business-model-lite/business-model-lite-snapshot-validation';\nexport * from './business-model-lite/business-model-lite-snapshot.schemas';\nexport * from './business-model-lite/business-model-lite-snapshot-generation.schemas';\nexport * from './business-model-lite/business-model-references.schemas';\nexport * from './business-model-lite/pricing-plan.schemas';\nexport * from './compliance-documents/compliance-document-candidate.schemas';\nexport * from './compliance-documents/compliance-document-candidate-set.schemas';\nexport * from './compliance-documents/compliance-document-candidate-generation.schemas';\nexport * from './compliance-documents/required-document-set.schemas';\nexport * from './compliance-documents/processor-register.schemas';\nexport * from './compliance-documents/recipient-population.schemas';\nexport * from './compliance-documents/compliance-completeness-statement.schemas';\nexport * from './compliance-documents/document-fact-specification-generation.schemas';\nexport * from './compliance-documents/computed-document-facts.schemas';\nexport * from './compliance-documents/retention-enforcement-facts.schemas';\nexport * from './business-semantics.specifications.schemas';\nexport * from './chart-view-specification.schemas';\nexport * from './composite-view-specification.schemas';\nexport * from './cross-registry-assertions';\nexport * from './data-seed-specification.schemas';\nexport * from './domain-plan/domain-plan-output-set-generation.schemas';\nexport * from './domain-plan/domain-plan-output-set-validation';\nexport * from './domain-plan/domain-plan-output-set.schemas';\nexport * from './definition-specification-validators';\nexport * from './definition-specification.schemas';\nexport * from './error-message-specification.schemas';\nexport * from './execution-view-specification.schemas';\nexport * from './expert-personas/expert-persona-authored-metadata.schemas';\nexport * from './expert-personas/expert-persona-charter.schemas';\nexport * from './expert-personas/expert-persona-validation';\nexport * from './expert-personas/expert-role-template.schemas';\nexport * from './feature-drafts/capability-map-output-set-generation.schemas';\nexport * from './feature-drafts/capability-map-output-set-validation';\nexport * from './feature-drafts/capability-map-output-set.schemas';\nexport * from './feature-drafts/feature-specification-drafts-generation.schemas';\nexport * from './feature-drafts/feature-specification-drafts-validation';\nexport * from './feature-drafts/feature-specification-drafts.schemas';\nexport * from './feature-specification.schemas';\nexport * from './provider-specification.schemas';\nexport * from './frontend-component-specification.schemas';\nexport * from './flows-actors-view-specification.schemas';\nexport * from './full-custom-view-specification.schemas';\nexport * from './guidance-flow-specification.schemas';\nexport * from './milestone-specification.schemas';\nexport * from './market/feature-benefit.schemas';\nexport * from './market/inherit-from';\nexport * from './market/is-benefit-available';\nexport * from './market/market-alternative.schemas';\nexport * from './market/market-authored-metadata.schemas';\nexport * from './market/market-buying-journey.schemas';\nexport * from './market/market-category.schemas';\nexport * from './market/market-channel.schemas';\nexport * from './market/market-context-block.schemas';\nexport * from './market/market-gain.schemas';\nexport * from './market/market-icp.schemas';\nexport * from './market/market-job.schemas';\nexport * from './market/market-message-template.schemas';\nexport * from './market/market-generation.schemas';\nexport * from './market/market-objection.schemas';\nexport * from './market/market-pain.schemas';\nexport * from './market/market-persona.schemas';\nexport * from './market/market-positioning.schemas';\nexport * from './market/market-proof.schemas';\nexport * from './market/market-references.schemas';\nexport * from './market/market-scoring';\nexport * from './market/market-snapshot-generation.schemas';\nexport * from './market/market-snapshot-validation';\nexport * from './market/market-snapshot.schemas';\nexport * from './market/market-tone-of-voice.schemas';\nexport * from './market/market-trigger.schemas';\nexport * from './onboarding-view-specification.schemas';\nexport * from './product-specification.schemas';\nexport * from './required-features-specification.schemas';\nexport * from './build-plan/build-plan-task-graph.schemas';\nexport * from './build-plan/build-plan-task-graph-generation.schemas';\nexport * from './build-plan/build-plan-task-graph-validation';\nexport * from './capability-composition/capability-composition.schemas';\nexport * from './capability-composition/capability-composition-validation';\nexport * from './website-plan/website-plan.schemas';\nexport * from './website-plan/website-plan-generation.schemas';\nexport * from './website-plan/website-plan-validation';\nexport * from './experience-plan/experience-plan.schemas';\nexport * from './experience-plan/experience-plan-generation.schemas';\nexport * from './experience-plan/experience-plan-validation';\nexport * from './integration-plan/integration-plan.schemas';\nexport * from './integration-plan/integration-plan-generation.schemas';\nexport * from './integration-plan/integration-plan-validation';\nexport * from './application-maturity/application-maturity.schemas';\nexport * from './application-maturity/application-maturity-validation';\nexport * from './placement-plan/placement-plan.schemas';\nexport * from './placement-plan/placement-plan-generation.schemas';\nexport * from './placement-plan/placement-plan-validation';\nexport * from './requirements/functional-requirement.schemas';\nexport * from './requirements/non-functional-requirement.schemas';\nexport * from './requirements/requirements-authored-metadata.schemas';\nexport * from './requirements/requirements-references.schemas';\nexport * from './requirements/requirements-snapshot-generation.schemas';\nexport * from './requirements/requirements-snapshot-validation';\nexport * from './requirements/requirements-snapshot.schemas';\nexport * from './resource-specification-registry-alignment';\nexport * from './resource-specification.schemas';\nexport * from './resource-type-member-name.types';\nexport * from './roadmap/roadmap-authored-metadata.schemas';\nexport * from './roadmap/roadmap-phase.schemas';\nexport * from './roadmap/roadmap-references.schemas';\nexport * from './roadmap/roadmap-snapshot-generation.schemas';\nexport * from './roadmap/roadmap-snapshot-validation';\nexport * from './roadmap/roadmap-snapshot.schemas';\nexport * from './role-specification.schemas';\nexport * from './sidebar-section-specification.schemas';\nexport * from './system-email-template-specification.schemas';\nexport * from './translation-slot-specification.schemas';\nexport * from './utils/extract-field-specs';\nexport * from './utils/retention-marker-field-specs';\nexport * from './utils/retention-clock-field-specs';\nexport * from './vision/vision-authored-metadata.schemas';\nexport * from './vision/vision-constraint.schemas';\nexport * from './vision/vision-idea.schemas';\nexport * from './vision/vision-mission.schemas';\nexport * from './vision/vision-problem.schemas';\nexport * from './vision/vision-references.schemas';\nexport * from './vision/vision-snapshot-generation.schemas';\nexport * from './vision/vision-snapshot-validation';\nexport * from './vision/vision-snapshot.schemas';\nexport * from './vision/vision-success-criterion.schemas';\n"]}
|
|
@@ -45,6 +45,11 @@ export declare const IntegrationPlanGenerationSchema: z.ZodObject<{
|
|
|
45
45
|
scope: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodEnum<typeof import("..").ProviderBindingScope>>;
|
|
46
46
|
rationale: z.ZodString;
|
|
47
47
|
}, z.core.$strict>>>;
|
|
48
|
+
inboundChannels: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
49
|
+
channel: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<import("@wildo-ai/saas-models").InboundChannelKind.EMAIL>>;
|
|
50
|
+
purpose: z.ZodString;
|
|
51
|
+
servesRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
52
|
+
}, z.core.$strict>>>;
|
|
48
53
|
}, z.core.$strict>;
|
|
49
54
|
export type IntegrationPlanGeneration = z.infer<typeof IntegrationPlanGenerationSchema>;
|
|
50
55
|
/** Normalize strict provider output into the persisted family (stamping refs and version). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-plan-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/integration-plan/integration-plan-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,
|
|
1
|
+
{"version":3,"file":"integration-plan-generation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/integration-plan/integration-plan-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EASL,KAAK,eAAe,EACrB,MAAM,4BAA4B,CAAC;AAKpC;;;;;;GAMG;AACH,eAAO,MAAM,iCAAiC;;;;;;kBAAqF,CAAC;AACpI,eAAO,MAAM,iCAAiC;;;;;;;kBAAqF,CAAC;AAEpI,sEAAsE;AACtE,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAqB1C,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,8FAA8F;AAC9F,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,OAAO,GAAG,eAAe,CAU9E"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { applyFamilyRefPrefix } from '../utils/family-ref-stamping.js';
|
|
3
|
-
import { INTEGRATION_MINION_REF_PREFIX, INTEGRATION_WORKER_REF_PREFIX, IntegrationMinionPlanSchema, IntegrationPlanSchema, IntegrationPlanVersion, IntegrationProviderBindingPlanSchema, IntegrationWorkerPlanSchema, } from './integration-plan.schemas.js';
|
|
3
|
+
import { INTEGRATION_MINION_REF_PREFIX, INTEGRATION_WORKER_REF_PREFIX, IntegrationInboundChannelPlanSchema, IntegrationMinionPlanSchema, IntegrationPlanSchema, IntegrationPlanVersion, IntegrationProviderBindingPlanSchema, IntegrationWorkerPlanSchema, } from './integration-plan.schemas.js';
|
|
4
4
|
const SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);
|
|
5
5
|
const NonEmptyStringSchema = z.string().trim().min(1);
|
|
6
6
|
/**
|
|
@@ -18,6 +18,7 @@ export const IntegrationPlanGenerationSchema = z.strictObject({
|
|
|
18
18
|
workers: z.array(IntegrationWorkerGenerationSchema).default([]),
|
|
19
19
|
minions: z.array(IntegrationMinionGenerationSchema).default([]),
|
|
20
20
|
providerBindings: z.array(IntegrationProviderBindingPlanSchema).default([]),
|
|
21
|
+
inboundChannels: z.array(IntegrationInboundChannelPlanSchema).default([]),
|
|
21
22
|
}).superRefine((generated, context) => {
|
|
22
23
|
// Keyed on the STAMPED form in both collections: `imports` and `worker-imports` are two slugs that
|
|
23
24
|
// normalize to one ref, and two surfaces sharing a ref make their build tasks ambiguous.
|
|
@@ -45,6 +46,7 @@ export function parseIntegrationPlanGeneration(input) {
|
|
|
45
46
|
workers: generated.workers.map(({ slug, ...worker }) => ({ workerRef: applyFamilyRefPrefix(slug, INTEGRATION_WORKER_REF_PREFIX), ...worker })),
|
|
46
47
|
minions: generated.minions.map(({ slug, ...minion }) => ({ minionRef: applyFamilyRefPrefix(slug, INTEGRATION_MINION_REF_PREFIX), ...minion })),
|
|
47
48
|
providerBindings: generated.providerBindings,
|
|
49
|
+
inboundChannels: generated.inboundChannels,
|
|
48
50
|
});
|
|
49
51
|
}
|
|
50
52
|
//# sourceMappingURL=integration-plan-generation.schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-plan-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/integration-plan/integration-plan-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EACL,6BAA6B,EAC7B,6BAA6B,EAC7B,2BAA2B,EAC3B,qBAAqB,EACrB,sBAAsB,EACtB,oCAAoC,EACpC,2BAA2B,GAE5B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;AAClE,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,2BAA2B,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;AACpI,MAAM,CAAC,MAAM,iCAAiC,GAAG,2BAA2B,CAAC,IAAI,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;AAEpI,sEAAsE;AACtE,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5D,SAAS,EAAE,oBAAoB;IAC/B,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAC/D,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAC/D,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"integration-plan-generation.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/integration-plan/integration-plan-generation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EACL,6BAA6B,EAC7B,6BAA6B,EAC7B,mCAAmC,EACnC,2BAA2B,EAC3B,qBAAqB,EACrB,sBAAsB,EACtB,oCAAoC,EACpC,2BAA2B,GAE5B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,4BAA4B,CAAC,CAAC;AAClE,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAEtD;;;;;;GAMG;AACH,MAAM,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AC,EAAE,IAAI,EAAE,GAAG,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,oBAAoB,CAAC,IAAI,EAAE,6BAA6B,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;QAC9I,gBAAgB,EAAE,SAAS,CAAC,gBAAgB;QAC5C,eAAe,EAAE,SAAS,CAAC,eAAe;KAC3C,CAAC,CAAC;AACL,CAAC","sourcesContent":["import { z } from 'zod';\n\nimport { applyFamilyRefPrefix } from '../utils/family-ref-stamping';\nimport {\n INTEGRATION_MINION_REF_PREFIX,\n INTEGRATION_WORKER_REF_PREFIX,\n IntegrationInboundChannelPlanSchema,\n IntegrationMinionPlanSchema,\n IntegrationPlanSchema,\n IntegrationPlanVersion,\n IntegrationProviderBindingPlanSchema,\n IntegrationWorkerPlanSchema,\n type IntegrationPlan,\n} from './integration-plan.schemas';\n\nconst SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/**\n * Strict provider-facing shapes. The provider supplies stable semantic slugs; the trusted runtime\n * stamps the canonical ref prefixes and the payload version.\n *\n * No path, port, package name or schedule expression is representable: the plan decides WHAT runs\n * and what it may touch, and the composition scenario plus the coding agent own the rest.\n */\nexport const IntegrationWorkerGenerationSchema = IntegrationWorkerPlanSchema.omit({ workerRef: true }).extend({ slug: SlugSchema });\nexport const IntegrationMinionGenerationSchema = IntegrationMinionPlanSchema.omit({ minionRef: true }).extend({ slug: SlugSchema });\n\n/** One complete provider response for the integration-plan family. */\nexport const IntegrationPlanGenerationSchema = z.strictObject({\n rationale: NonEmptyStringSchema,\n workers: z.array(IntegrationWorkerGenerationSchema).default([]),\n minions: z.array(IntegrationMinionGenerationSchema).default([]),\n providerBindings: z.array(IntegrationProviderBindingPlanSchema).default([]),\n inboundChannels: z.array(IntegrationInboundChannelPlanSchema).default([]),\n}).superRefine((generated, context) => {\n // Keyed on the STAMPED form in both collections: `imports` and `worker-imports` are two slugs that\n // normalize to one ref, and two surfaces sharing a ref make their build tasks ambiguous.\n const workerRefs = new Set<string>();\n generated.workers.forEach((worker, index) => {\n const workerRef = applyFamilyRefPrefix(worker.slug, INTEGRATION_WORKER_REF_PREFIX);\n if (workerRefs.has(workerRef)) context.addIssue({ code: 'custom', message: `duplicate worker slug ${worker.slug} (normalizes to ${workerRef})`, path: ['workers', index, 'slug'] });\n workerRefs.add(workerRef);\n });\n const minionRefs = new Set<string>();\n generated.minions.forEach((minion, index) => {\n const minionRef = applyFamilyRefPrefix(minion.slug, INTEGRATION_MINION_REF_PREFIX);\n if (minionRefs.has(minionRef)) context.addIssue({ code: 'custom', message: `duplicate minion slug ${minion.slug} (normalizes to ${minionRef})`, path: ['minions', index, 'slug'] });\n minionRefs.add(minionRef);\n });\n});\nexport type IntegrationPlanGeneration = z.infer<typeof IntegrationPlanGenerationSchema>;\n\n/** Normalize strict provider output into the persisted family (stamping refs and version). */\nexport function parseIntegrationPlanGeneration(input: unknown): IntegrationPlan {\n const generated = IntegrationPlanGenerationSchema.parse(input);\n return IntegrationPlanSchema.parse({\n version: IntegrationPlanVersion.V1,\n rationale: generated.rationale,\n workers: generated.workers.map(({ slug, ...worker }) => ({ workerRef: applyFamilyRefPrefix(slug, INTEGRATION_WORKER_REF_PREFIX), ...worker })),\n minions: generated.minions.map(({ slug, ...minion }) => ({ minionRef: applyFamilyRefPrefix(slug, INTEGRATION_MINION_REF_PREFIX), ...minion })),\n providerBindings: generated.providerBindings,\n inboundChannels: generated.inboundChannels,\n });\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/integration-plan/integration-plan.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"integration-plan.family-aspects.d.ts","sourceRoot":"","sources":["../../../../../src/_core/integration-plan/integration-plan.family-aspects.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAY1E,eAAO,MAAM,+BAA+B,EAAE,wBAuD7C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApplicationSpecificationFamilySemanticSchemaRef } from '../application-specification-family-identity.schemas.js';
|
|
2
2
|
import { FamilyAspectKind } from '../family-aspects.schemas.js';
|
|
3
|
-
import { IntegrationMinionPlanSchema, IntegrationProviderBindingPlanSchema, IntegrationWorkerPlanSchema, } from './integration-plan.schemas.js';
|
|
3
|
+
import { IntegrationInboundChannelPlanSchema, IntegrationMinionPlanSchema, IntegrationProviderBindingPlanSchema, IntegrationWorkerPlanSchema, } from './integration-plan.schemas.js';
|
|
4
4
|
/** The five targets a background surface's `servesRefs` addresses — the build task's own set. */
|
|
5
5
|
const SERVES_TARGETS = ['requirements.functional', 'requirements.non-functional', 'roadmap.phase', 'feature-drafts.draft', 'vision.success-criterion'];
|
|
6
6
|
export const INTEGRATION_PLAN_FAMILY_ASPECTS = {
|
|
@@ -41,12 +41,22 @@ export const INTEGRATION_PLAN_FAMILY_ASPECTS = {
|
|
|
41
41
|
kind: FamilyAspectKind.COLLECTION,
|
|
42
42
|
itemSchema: IntegrationProviderBindingPlanSchema,
|
|
43
43
|
businessKey: 'providerRef',
|
|
44
|
-
headlineField: '
|
|
44
|
+
headlineField: 'providerRef',
|
|
45
45
|
edges: [],
|
|
46
46
|
nonEdgeRefFields: {
|
|
47
47
|
providerRef: "an engine provider ref — the engine's own catalogue, not a decided element",
|
|
48
48
|
},
|
|
49
49
|
},
|
|
50
|
+
{
|
|
51
|
+
key: 'integration-plan.inbound-channel',
|
|
52
|
+
snapshotPath: 'inboundChannels',
|
|
53
|
+
kind: FamilyAspectKind.COLLECTION,
|
|
54
|
+
itemSchema: IntegrationInboundChannelPlanSchema,
|
|
55
|
+
businessKey: 'channel',
|
|
56
|
+
headlineField: 'purpose',
|
|
57
|
+
edges: [{ field: 'servesRefs', targetAspects: SERVES_TARGETS }],
|
|
58
|
+
nonEdgeRefFields: {},
|
|
59
|
+
},
|
|
50
60
|
],
|
|
51
61
|
};
|
|
52
62
|
//# sourceMappingURL=integration-plan.family-aspects.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-plan.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/integration-plan/integration-plan.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EACL,2BAA2B,EAC3B,oCAAoC,EACpC,2BAA2B,GAC5B,MAAM,4BAA4B,CAAC;AAEpC,iGAAiG;AACjG,MAAM,cAAc,GAAG,CAAC,yBAAyB,EAAE,6BAA6B,EAAE,eAAe,EAAE,sBAAsB,EAAE,0BAA0B,CAAU,CAAC;AAEhK,MAAM,CAAC,MAAM,+BAA+B,GAA6B;IACvE,SAAS,EAAE,+CAA+C,CAAC,gBAAgB;IAC3E,OAAO,EAAE;QACP;YACE,GAAG,EAAE,yBAAyB;YAC9B,YAAY,EAAE,SAAS;YACvB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,2BAA2B;YACvC,WAAW,EAAE,WAAW;YACxB,aAAa,EAAE,SAAS;YACxB,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,CAAC;YAC/D,gBAAgB,EAAE;gBAChB,OAAO,EAAE,4FAA4F;aACtG;SACF;QACD;YACE,GAAG,EAAE,yBAAyB;YAC9B,YAAY,EAAE,SAAS;YACvB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,2BAA2B;YACvC,WAAW,EAAE,WAAW;YACxB,aAAa,EAAE,SAAS;YACxB,KAAK,EAAE;gBACL,uFAAuF;gBACvF,EAAE,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;gBACvE,EAAE,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;gBACxE,EAAE,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE;aACvD;YACD,gBAAgB,EAAE;gBAChB,YAAY,EAAE,+EAA+E;aAC9F;SACF;QACD;YACE,GAAG,EAAE,mCAAmC;YACxC,YAAY,EAAE,kBAAkB;YAChC,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,oCAAoC;YAChD,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"integration-plan.family-aspects.js","sourceRoot":"","sources":["../../../../../src/_core/integration-plan/integration-plan.family-aspects.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AAEvH,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EACL,mCAAmC,EACnC,2BAA2B,EAC3B,oCAAoC,EACpC,2BAA2B,GAC5B,MAAM,4BAA4B,CAAC;AAEpC,iGAAiG;AACjG,MAAM,cAAc,GAAG,CAAC,yBAAyB,EAAE,6BAA6B,EAAE,eAAe,EAAE,sBAAsB,EAAE,0BAA0B,CAAU,CAAC;AAEhK,MAAM,CAAC,MAAM,+BAA+B,GAA6B;IACvE,SAAS,EAAE,+CAA+C,CAAC,gBAAgB;IAC3E,OAAO,EAAE;QACP;YACE,GAAG,EAAE,yBAAyB;YAC9B,YAAY,EAAE,SAAS;YACvB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,2BAA2B;YACvC,WAAW,EAAE,WAAW;YACxB,aAAa,EAAE,SAAS;YACxB,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,CAAC;YAC/D,gBAAgB,EAAE;gBAChB,OAAO,EAAE,4FAA4F;aACtG;SACF;QACD;YACE,GAAG,EAAE,yBAAyB;YAC9B,YAAY,EAAE,SAAS;YACvB,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,2BAA2B;YACvC,WAAW,EAAE,WAAW;YACxB,aAAa,EAAE,SAAS;YACxB,KAAK,EAAE;gBACL,uFAAuF;gBACvF,EAAE,KAAK,EAAE,mBAAmB,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;gBACvE,EAAE,KAAK,EAAE,oBAAoB,EAAE,aAAa,EAAE,CAAC,sBAAsB,CAAC,EAAE;gBACxE,EAAE,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE;aACvD;YACD,gBAAgB,EAAE;gBAChB,YAAY,EAAE,+EAA+E;aAC9F;SACF;QACD;YACE,GAAG,EAAE,mCAAmC;YACxC,YAAY,EAAE,kBAAkB;YAChC,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,oCAAoC;YAChD,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,aAAa;YAC5B,KAAK,EAAE,EAAE;YACT,gBAAgB,EAAE;gBAChB,WAAW,EAAE,4EAA4E;aAC1F;SACF;QACD;YACE,GAAG,EAAE,kCAAkC;YACvC,YAAY,EAAE,iBAAiB;YAC/B,IAAI,EAAE,gBAAgB,CAAC,UAAU;YACjC,UAAU,EAAE,mCAAmC;YAC/C,WAAW,EAAE,SAAS;YACtB,aAAa,EAAE,SAAS;YACxB,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,CAAC;YAC/D,gBAAgB,EAAE,EAAE;SACrB;KACF;CACF,CAAC","sourcesContent":["import { ApplicationSpecificationFamilySemanticSchemaRef } from '../application-specification-family-identity.schemas';\nimport type { FamilyAspectsDeclaration } from '../family-aspects.schemas';\nimport { FamilyAspectKind } from '../family-aspects.schemas';\nimport {\n IntegrationInboundChannelPlanSchema,\n IntegrationMinionPlanSchema,\n IntegrationProviderBindingPlanSchema,\n IntegrationWorkerPlanSchema,\n} from './integration-plan.schemas';\n\n/** The five targets a background surface's `servesRefs` addresses — the build task's own set. */\nconst SERVES_TARGETS = ['requirements.functional', 'requirements.non-functional', 'roadmap.phase', 'feature-drafts.draft', 'vision.success-criterion'] as const;\n\nexport const INTEGRATION_PLAN_FAMILY_ASPECTS: FamilyAspectsDeclaration = {\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.INTEGRATION_PLAN,\n aspects: [\n {\n key: 'integration-plan.worker',\n snapshotPath: 'workers',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: IntegrationWorkerPlanSchema,\n businessKey: 'workerRef',\n headlineField: 'purpose',\n edges: [{ field: 'servesRefs', targetAspects: SERVES_TARGETS }],\n nonEdgeRefFields: {\n jobRefs: 'the routes the worker registers — units of work of the BUILT package, not decided elements',\n },\n },\n {\n key: 'integration-plan.minion',\n snapshotPath: 'minions',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: IntegrationMinionPlanSchema,\n businessKey: 'minionRef',\n headlineField: 'purpose',\n edges: [\n /* The containment decision, as a link: which decided resources this tick may touch. */\n { field: 'readsResourceRefs', targetAspects: ['domain-plan.resource'] },\n { field: 'writesResourceRefs', targetAspects: ['domain-plan.resource'] },\n { field: 'servesRefs', targetAspects: SERVES_TARGETS },\n ],\n nonEdgeRefFields: {\n behaviorRefs: \"the tick's named behaviours — work of the BUILT package, not decided elements\",\n },\n },\n {\n key: 'integration-plan.provider-binding',\n snapshotPath: 'providerBindings',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: IntegrationProviderBindingPlanSchema,\n businessKey: 'providerRef',\n headlineField: 'providerRef',\n edges: [],\n nonEdgeRefFields: {\n providerRef: \"an engine provider ref — the engine's own catalogue, not a decided element\",\n },\n },\n {\n key: 'integration-plan.inbound-channel',\n snapshotPath: 'inboundChannels',\n kind: FamilyAspectKind.COLLECTION,\n itemSchema: IntegrationInboundChannelPlanSchema,\n businessKey: 'channel',\n headlineField: 'purpose',\n edges: [{ field: 'servesRefs', targetAspects: SERVES_TARGETS }],\n nonEdgeRefFields: {},\n },\n ],\n};\n"]}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import '@wildo-ai/zod-decorators';
|
|
3
|
+
import { InboundChannelKind } from '@wildo-ai/saas-models';
|
|
3
4
|
import { BuildPlanWorkerRuntime, ProviderBindingScope } from '../build-plan/build-plan-task-graph.schemas';
|
|
4
5
|
/**
|
|
5
6
|
* @wildo_source:part:start integration-plan.config facet:layer:specification facet:family:integration-plan
|
|
6
7
|
*
|
|
7
8
|
* WHAT RUNS BESIDE THE BACKEND, and what the application reaches out to (#1495) — its workers, its
|
|
8
|
-
* minions,
|
|
9
|
+
* minions, the providers it binds, and the channels work arrives on (#1630).
|
|
9
10
|
*
|
|
10
11
|
* ## Why this family exists
|
|
11
12
|
*
|
|
@@ -60,6 +61,11 @@ export declare const INTEGRATION_MINION_SKILL_REF = "minion-authoring";
|
|
|
60
61
|
* exists, pointing at the skill that carries the mechanism beats pointing at nothing.
|
|
61
62
|
*/
|
|
62
63
|
export declare const INTEGRATION_PROVIDER_BINDING_SKILL_REF: Readonly<Record<ProviderBindingScope, string>>;
|
|
64
|
+
/**
|
|
65
|
+
* The skill that authors an inbound CHANNEL handler — what a message arriving on the channel causes,
|
|
66
|
+
* the sender assurance it requires, and whether it answers (#1630).
|
|
67
|
+
*/
|
|
68
|
+
export declare const INTEGRATION_INBOUND_CHANNEL_SKILL_REF = "inbound-channels";
|
|
63
69
|
/** Stable prefixes the trusted runtime stamps; a provider supplies only the slug. */
|
|
64
70
|
export declare const INTEGRATION_WORKER_REF_PREFIX = "worker-";
|
|
65
71
|
export declare const INTEGRATION_MINION_REF_PREFIX = "minion-";
|
|
@@ -108,11 +114,27 @@ export declare const IntegrationProviderBindingPlanSchema: z.ZodObject<{
|
|
|
108
114
|
rationale: z.ZodString;
|
|
109
115
|
}, z.core.$strict>;
|
|
110
116
|
export type IntegrationProviderBindingPlan = z.infer<typeof IntegrationProviderBindingPlanSchema>;
|
|
117
|
+
/**
|
|
118
|
+
* One channel work ARRIVES on (#1630): the application declares that messages on this channel are
|
|
119
|
+
* work it acts on, which is what makes the foundation enable the channel's engine capability
|
|
120
|
+
* (`EMAIL_INBOUND` for email) rather than ask anyone.
|
|
121
|
+
*
|
|
122
|
+
* Only `EMAIL` is declarable. `WEBHOOK` is the channel every signed delivery from another system
|
|
123
|
+
* arrives on, derived for those deliveries and never declared; SMS and chat join when a provider can
|
|
124
|
+
* receive on them.
|
|
125
|
+
*/
|
|
126
|
+
export declare const IntegrationInboundChannelPlanSchema: z.ZodObject<{
|
|
127
|
+
channel: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<InboundChannelKind.EMAIL>>;
|
|
128
|
+
/** What arrives on it, and what the application does with it — "clients send case documents to their matter". */
|
|
129
|
+
purpose: z.ZodString;
|
|
130
|
+
servesRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
131
|
+
}, z.core.$strict>;
|
|
132
|
+
export type IntegrationInboundChannelPlan = z.infer<typeof IntegrationInboundChannelPlanSchema>;
|
|
111
133
|
/**
|
|
112
134
|
* THE integration-plan payload.
|
|
113
135
|
*
|
|
114
136
|
* **Artifact-family id: `integration-plan`.** Produced by `bottom_up.integration-plan`, consumed by
|
|
115
|
-
* `bottom_up.build-decompose`, which emits one task per worker, minion and
|
|
137
|
+
* `bottom_up.build-decompose`, which emits one task per worker, minion, provider binding and inbound channel.
|
|
116
138
|
*
|
|
117
139
|
* Every collection may be EMPTY and the whole plan is still meaningful: most applications need no
|
|
118
140
|
* worker and no minion, and saying so is an answer. There is no `min(1)` anywhere here, and that is
|
|
@@ -162,6 +184,12 @@ export declare const IntegrationPlanSchema: z.ZodObject<{
|
|
|
162
184
|
/** Why this application reaches this provider from this scope. */
|
|
163
185
|
rationale: z.ZodString;
|
|
164
186
|
}, z.core.$strict>>>;
|
|
187
|
+
inboundChannels: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
188
|
+
channel: import("@wildo-ai/zod-decorators").DecoratedPrimitiveZodType<z.ZodLiteral<InboundChannelKind.EMAIL>>;
|
|
189
|
+
/** What arrives on it, and what the application does with it — "clients send case documents to their matter". */
|
|
190
|
+
purpose: z.ZodString;
|
|
191
|
+
servesRefs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
192
|
+
}, z.core.$strict>>>;
|
|
165
193
|
}, z.core.$strip>;
|
|
166
194
|
export type IntegrationPlan = z.infer<typeof IntegrationPlanSchema>;
|
|
167
195
|
/** @wildo_source:part:end integration-plan.config */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-plan.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/integration-plan/integration-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAE3G;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,oBAAY,sBAAsB;IAChC,EAAE,OAAO;CACV;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAGzF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,qBAAqB,CAAC;AAE/D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,sCAAsC,EAAE,QAAQ,CAAC,MAAM,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAKjG,CAAC;AAEF,qFAAqF;AACrF,eAAO,MAAM,6BAA6B,YAAY,CAAC;AACvD,eAAO,MAAM,6BAA6B,YAAY,CAAC;AAKvD,oEAAoE;AACpE,eAAO,MAAM,2BAA2B;;;IAGtC,qFAAqF;;IAErF;;;OAGG;;IAEH,kHAAkH;;kBAElH,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,iDAAiD;AACjD,eAAO,MAAM,2BAA2B;;IAEtC,qEAAqE;;IAErE,mHAAmH;;IAEnH;;;;;;;;OAQG;;;;kBAIH,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,yDAAyD;AACzD,eAAO,MAAM,oCAAoC;IAC/C,oEAAoE;;;IAGpE,kEAAkE;;kBAElE,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAElG;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,qBAAqB;;;;;;
|
|
1
|
+
{"version":3,"file":"integration-plan.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/_core/integration-plan/integration-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAE3G;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,oBAAY,sBAAsB;IAChC,EAAE,OAAO;CACV;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,4BAA4B,EAAE,QAAQ,CAAC,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAGzF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,qBAAqB,CAAC;AAE/D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,sCAAsC,EAAE,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AqB,CAAC,CAAC;AACpE,qDAAqD"}
|
|
@@ -2,12 +2,13 @@ import { z } from 'zod';
|
|
|
2
2
|
// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —
|
|
3
3
|
// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.
|
|
4
4
|
import '@wildo-ai/zod-decorators';
|
|
5
|
+
import { InboundChannelKind } from '@wildo-ai/saas-models';
|
|
5
6
|
import { BuildPlanWorkerRuntime, ProviderBindingScope } from '../build-plan/build-plan-task-graph.schemas.js';
|
|
6
7
|
/**
|
|
7
8
|
* @wildo_source:part:start integration-plan.config facet:layer:specification facet:family:integration-plan
|
|
8
9
|
*
|
|
9
10
|
* WHAT RUNS BESIDE THE BACKEND, and what the application reaches out to (#1495) — its workers, its
|
|
10
|
-
* minions,
|
|
11
|
+
* minions, the providers it binds, and the channels work arrives on (#1630).
|
|
11
12
|
*
|
|
12
13
|
* ## Why this family exists
|
|
13
14
|
*
|
|
@@ -71,6 +72,11 @@ export const INTEGRATION_PROVIDER_BINDING_SKILL_REF = {
|
|
|
71
72
|
[ProviderBindingScope.FRONTEND_APP]: 'provider-frontend-file-picker',
|
|
72
73
|
[ProviderBindingScope.WEBSITE]: 'provider-frontend-file-picker',
|
|
73
74
|
};
|
|
75
|
+
/**
|
|
76
|
+
* The skill that authors an inbound CHANNEL handler — what a message arriving on the channel causes,
|
|
77
|
+
* the sender assurance it requires, and whether it answers (#1630).
|
|
78
|
+
*/
|
|
79
|
+
export const INTEGRATION_INBOUND_CHANNEL_SKILL_REF = 'inbound-channels';
|
|
74
80
|
/** Stable prefixes the trusted runtime stamps; a provider supplies only the slug. */
|
|
75
81
|
export const INTEGRATION_WORKER_REF_PREFIX = 'worker-';
|
|
76
82
|
export const INTEGRATION_MINION_REF_PREFIX = 'minion-';
|
|
@@ -118,11 +124,26 @@ export const IntegrationProviderBindingPlanSchema = z.strictObject({
|
|
|
118
124
|
/** Why this application reaches this provider from this scope. */
|
|
119
125
|
rationale: NonEmptyStringSchema,
|
|
120
126
|
});
|
|
127
|
+
/**
|
|
128
|
+
* One channel work ARRIVES on (#1630): the application declares that messages on this channel are
|
|
129
|
+
* work it acts on, which is what makes the foundation enable the channel's engine capability
|
|
130
|
+
* (`EMAIL_INBOUND` for email) rather than ask anyone.
|
|
131
|
+
*
|
|
132
|
+
* Only `EMAIL` is declarable. `WEBHOOK` is the channel every signed delivery from another system
|
|
133
|
+
* arrives on, derived for those deliveries and never declared; SMS and chat join when a provider can
|
|
134
|
+
* receive on them.
|
|
135
|
+
*/
|
|
136
|
+
export const IntegrationInboundChannelPlanSchema = z.strictObject({
|
|
137
|
+
channel: z.literal(InboundChannelKind.EMAIL).systemEnum('InboundChannelKind'),
|
|
138
|
+
/** What arrives on it, and what the application does with it — "clients send case documents to their matter". */
|
|
139
|
+
purpose: NonEmptyStringSchema,
|
|
140
|
+
servesRefs: z.array(NonEmptyStringSchema).default([]),
|
|
141
|
+
});
|
|
121
142
|
/**
|
|
122
143
|
* THE integration-plan payload.
|
|
123
144
|
*
|
|
124
145
|
* **Artifact-family id: `integration-plan`.** Produced by `bottom_up.integration-plan`, consumed by
|
|
125
|
-
* `bottom_up.build-decompose`, which emits one task per worker, minion and
|
|
146
|
+
* `bottom_up.build-decompose`, which emits one task per worker, minion, provider binding and inbound channel.
|
|
126
147
|
*
|
|
127
148
|
* Every collection may be EMPTY and the whole plan is still meaningful: most applications need no
|
|
128
149
|
* worker and no minion, and saying so is an answer. There is no `min(1)` anywhere here, and that is
|
|
@@ -137,6 +158,8 @@ export const IntegrationPlanSchema = z.object({
|
|
|
137
158
|
workers: z.array(IntegrationWorkerPlanSchema).default([]),
|
|
138
159
|
minions: z.array(IntegrationMinionPlanSchema).default([]),
|
|
139
160
|
providerBindings: z.array(IntegrationProviderBindingPlanSchema).default([]),
|
|
161
|
+
/** Channels work arrives on. Empty for an application no message ever reaches, which is most of them. */
|
|
162
|
+
inboundChannels: z.array(IntegrationInboundChannelPlanSchema).default([]),
|
|
140
163
|
}).superRefine((plan, context) => {
|
|
141
164
|
const workerRefs = new Set();
|
|
142
165
|
plan.workers.forEach((worker, index) => {
|
|
@@ -165,6 +188,13 @@ export const IntegrationPlanSchema = z.object({
|
|
|
165
188
|
}
|
|
166
189
|
bindings.add(identity);
|
|
167
190
|
});
|
|
191
|
+
const channels = new Set();
|
|
192
|
+
plan.inboundChannels.forEach((declared, index) => {
|
|
193
|
+
if (channels.has(declared.channel)) {
|
|
194
|
+
context.addIssue({ code: 'custom', message: `the ${declared.channel} channel is declared twice; one declaration says what arrives on it`, path: ['inboundChannels', index, 'channel'] });
|
|
195
|
+
}
|
|
196
|
+
channels.add(declared.channel);
|
|
197
|
+
});
|
|
168
198
|
});
|
|
169
199
|
/** @wildo_source:part:end integration-plan.config */
|
|
170
200
|
//# sourceMappingURL=integration-plan.schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration-plan.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/integration-plan/integration-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAE3G;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAN,IAAY,sBAEX;AAFD,WAAY,sBAAsB;IAChC,mCAAS,CAAA;AACX,CAAC,EAFW,sBAAsB,KAAtB,sBAAsB,QAEjC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAqD;IAC5F,CAAC,sBAAsB,CAAC,IAAI,CAAC,EAAE,kBAAkB;IACjD,CAAC,sBAAsB,CAAC,IAAI,CAAC,EAAE,kBAAkB;CAClD,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,kBAAkB,CAAC;A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,MAAM,QAAQ,GAAG,GAAG,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC;QAC3D,IAAI,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC3B,OAAO,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,OAAO,CAAC,WAAW,0BAA0B,OAAO,CAAC,KAAK,QAAQ,EAAE,IAAI,EAAE,CAAC,kBAAkB,EAAE,KAAK,EAAE,aAAa,CAAC,EAAE,CAAC,CAAC;QAClL,CAAC;QACD,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACzB,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,qDAAqD","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\nimport { BuildPlanWorkerRuntime, ProviderBindingScope } from '../build-plan/build-plan-task-graph.schemas';\n\n/**\n * @wildo_source:part:start integration-plan.config facet:layer:specification facet:family:integration-plan\n *\n * WHAT RUNS BESIDE THE BACKEND, and what the application reaches out to (#1495) — its workers, its\n * minions, and the providers it binds.\n *\n * ## Why this family exists\n *\n * `add-minion`, `add-worker-node`, `add-worker-rust`, `add-provider` and `add-file-picker-provider`\n * all shipped as scenarios, and the decomposer was told to plan \"workers / minions and other\n * auxiliary execution surfaces\" and \"providers, external connectors, billing wiring\" — with no\n * product kind for any of them and, measured 2026-09-22, **zero worker or minion skills in the\n * catalog**. Nothing in the journey could give an application a background worker, a minion or a\n * provider binding. The skills now exist (`worker-authoring`, `minion-authoring`); this family is\n * the decision that reaches them.\n *\n * ## The one distinction that decides everything here\n *\n * A WORKER answers a call: the backend reaches it over its declared HTTP surface, so it exists\n * because something asks. A MINION wakes on its own schedule and answers to nobody, which is why it\n * carries a containment whitelist rather than a caller's authority. Planning one as the other\n * produces a package that never runs, or one that runs with nothing to contain it.\n */\nexport enum IntegrationPlanVersion {\n V1 = 'v1',\n}\n\n/**\n * The skill that authors a WORKER, total over {@link BuildPlanWorkerRuntime}.\n *\n * Both runtimes share one skill deliberately: `worker-authoring` covers the Node and the Rust\n * package, because the decision a builder makes — the routes it registers, the `wildo-jwt` surface\n * the backend calls, the provider runtime it may load — is the same in both, and only the scenario\n * that composes the package differs. Inventing a second skill for the same knowledge would be the\n * drift these maps exist to prevent.\n *\n * Total rather than hand-kept for the sibling reason: a runtime added tomorrow must name the skill\n * that builds it or fail to compile. Held to the authored catalog by a test in the\n * framework-knowledge package — this layer cannot import the skills, and a ref naming no folder is\n * a task the router cannot answer.\n */\nexport const INTEGRATION_WORKER_SKILL_REF: Readonly<Record<BuildPlanWorkerRuntime, string>> = {\n [BuildPlanWorkerRuntime.NODE]: 'worker-authoring',\n [BuildPlanWorkerRuntime.RUST]: 'worker-authoring',\n};\n\n/**\n * The skill that authors a MINION — a constant rather than a map, because a minion has no\n * vocabulary to branch on: there is one cron unit shape, and `add-minion` composes it.\n */\nexport const INTEGRATION_MINION_SKILL_REF = 'minion-authoring';\n\n/**\n * The skill that declares a PROVIDER BINDING, total over {@link ProviderBindingScope}.\n *\n * The scope decides the SIDE, and the side decides the act. A backend-side binding installs a\n * package in a runtime owner and scopes it — `provider-backend-package` names the companion in its\n * own description, so both members share it honestly. A frontend-side binding authors a provider\n * MODULE, exports it through the providers barrel, appends the companion contribution and declares\n * the scope entry; `provider-frontend-file-picker` is where that mechanism is written down, with\n * the file picker as its worked instance because it is the only frontend provider module this\n * framework ships today. A general frontend-provider skill would take those two rows; until one\n * exists, pointing at the skill that carries the mechanism beats pointing at nothing.\n */\nexport const INTEGRATION_PROVIDER_BINDING_SKILL_REF: Readonly<Record<ProviderBindingScope, string>> = {\n [ProviderBindingScope.BACKEND]: 'provider-backend-package',\n [ProviderBindingScope.COMPANION]: 'provider-backend-package',\n [ProviderBindingScope.FRONTEND_APP]: 'provider-frontend-file-picker',\n [ProviderBindingScope.WEBSITE]: 'provider-frontend-file-picker',\n};\n\n/** Stable prefixes the trusted runtime stamps; a provider supplies only the slug. */\nexport const INTEGRATION_WORKER_REF_PREFIX = 'worker-';\nexport const INTEGRATION_MINION_REF_PREFIX = 'minion-';\n\nconst SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/** One worker: an HTTP-only subprocess the backend delegates to. */\nexport const IntegrationWorkerPlanSchema = z.strictObject({\n workerRef: z.string().regex(new RegExp(`^${INTEGRATION_WORKER_REF_PREFIX}[a-z0-9]+(?:-[a-z0-9]+)*$`)),\n runtime: z.enum(BuildPlanWorkerRuntime).systemEnum('BuildPlanWorkerRuntime'),\n /** What the backend delegates to it, and why that cannot happen inside a request. */\n purpose: NonEmptyStringSchema,\n /**\n * The units of work it exposes — the ROUTES its entry registers, which is what the backend calls.\n * At least one: a worker exposing nothing is a process nothing can reach.\n */\n jobRefs: z.array(SlugSchema).min(1),\n /** What this worker is accountable to — requirement, feature-draft or roadmap refs. Traceability, never scope. */\n servesRefs: z.array(NonEmptyStringSchema).default([]),\n});\nexport type IntegrationWorkerPlan = z.infer<typeof IntegrationWorkerPlanSchema>;\n\n/** One minion: a cron unit that wakes itself. */\nexport const IntegrationMinionPlanSchema = z.strictObject({\n minionRef: z.string().regex(new RegExp(`^${INTEGRATION_MINION_REF_PREFIX}[a-z0-9]+(?:-[a-z0-9]+)*$`)),\n /** What happens because time passed, and why it is not a request. */\n purpose: NonEmptyStringSchema,\n /** The named behaviours its tick performs. At least one: a minion that does nothing is a schedule with no work. */\n behaviorRefs: z.array(SlugSchema).min(1),\n /**\n * The resources its tick reads and writes, by their domain-plan refs.\n *\n * Planned rather than left to the coding agent because they are the CONTAINMENT decision: a\n * minion's `resourceAccess` whitelist is DENY-ALL until somebody widens it, and each named\n * resource must separately opt in with `systemAccessPolicy`. A minion planned without saying what\n * it touches is one whose whitelist an agent has to guess — and the failure is silent, because an\n * empty whitelist logs a soft warning and keeps running.\n */\n readsResourceRefs: z.array(SlugSchema).default([]),\n writesResourceRefs: z.array(SlugSchema).default([]),\n servesRefs: z.array(NonEmptyStringSchema).default([]),\n});\nexport type IntegrationMinionPlan = z.infer<typeof IntegrationMinionPlanSchema>;\n\n/** One provider bound into one runtime owner's scope. */\nexport const IntegrationProviderBindingPlanSchema = z.strictObject({\n /** The engine provider's own ref, as the catalogue publishes it. */\n providerRef: SlugSchema,\n scope: z.enum(ProviderBindingScope).systemEnum('ProviderBindingScope'),\n /** Why this application reaches this provider from this scope. */\n rationale: NonEmptyStringSchema,\n});\nexport type IntegrationProviderBindingPlan = z.infer<typeof IntegrationProviderBindingPlanSchema>;\n\n/**\n * THE integration-plan payload.\n *\n * **Artifact-family id: `integration-plan`.** Produced by `bottom_up.integration-plan`, consumed by\n * `bottom_up.build-decompose`, which emits one task per worker, minion and provider binding.\n *\n * Every collection may be EMPTY and the whole plan is still meaningful: most applications need no\n * worker and no minion, and saying so is an answer. There is no `min(1)` anywhere here, and that is\n * the difference between this family and the website or documentation plans — those carry a\n * disposition because a website either exists or does not, while \"no worker, one minion, no extra\n * provider\" is an ordinary shape rather than a declined capability.\n */\nexport const IntegrationPlanSchema = z.object({\n version: z.enum(IntegrationPlanVersion).default(IntegrationPlanVersion.V1),\n /** Why this application runs what it runs beside the backend — including \"nothing\", said once. */\n rationale: NonEmptyStringSchema,\n workers: z.array(IntegrationWorkerPlanSchema).default([]),\n minions: z.array(IntegrationMinionPlanSchema).default([]),\n providerBindings: z.array(IntegrationProviderBindingPlanSchema).default([]),\n}).superRefine((plan, context) => {\n const workerRefs = new Set<string>();\n plan.workers.forEach((worker, index) => {\n if (workerRefs.has(worker.workerRef)) {\n context.addIssue({ code: 'custom', message: `duplicate worker ref ${worker.workerRef}`, path: ['workers', index, 'workerRef'] });\n }\n workerRefs.add(worker.workerRef);\n });\n const minionRefs = new Set<string>();\n plan.minions.forEach((minion, index) => {\n if (minionRefs.has(minion.minionRef)) {\n context.addIssue({ code: 'custom', message: `duplicate minion ref ${minion.minionRef}`, path: ['minions', index, 'minionRef'] });\n }\n minionRefs.add(minion.minionRef);\n });\n /*\n * One provider bound TWICE on one scope is one declaration written twice — the config carries a\n * single entry per ref per scope, so the second is either a duplicate or a disagreement, and\n * neither can be applied. The same provider on two DIFFERENT scopes is legitimate and common.\n */\n const bindings = new Set<string>();\n plan.providerBindings.forEach((binding, index) => {\n const identity = `${binding.scope}:${binding.providerRef}`;\n if (bindings.has(identity)) {\n context.addIssue({ code: 'custom', message: `provider ${binding.providerRef} is bound twice on the ${binding.scope} scope`, path: ['providerBindings', index, 'providerRef'] });\n }\n bindings.add(identity);\n });\n});\nexport type IntegrationPlan = z.infer<typeof IntegrationPlanSchema>;\n/** @wildo_source:part:end integration-plan.config */\n"]}
|
|
1
|
+
{"version":3,"file":"integration-plan.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/integration-plan/integration-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAC;AAE3G;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAN,IAAY,sBAEX;AAFD,WAAY,sBAAsB;IAChC,mCAAS,CAAA;AACX,CAAC,EAFW,sBAAsB,KAAtB,sBAAsB,QAEjC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAqD;IAC5F,CAAC,sBAAsB,CAAC,IAAI,CAAC,EAAE,kBAAkB;IACjD,CAAC,sBAAsB,CAAC,IAAI,CAAC,EAAE,kBAAkB;CAClD,CAAC;AAEF;;;GAGG;A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EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,QAAQ,CAAC,OAAO,qEAAqE,EAAE,IAAI,EAAE,CAAC,iBAAiB,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;QAC3L,CAAC;QACD,QAAQ,CAAC,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,qDAAqD","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\nimport { InboundChannelKind } from '@wildo-ai/saas-models';\n\nimport { BuildPlanWorkerRuntime, ProviderBindingScope } from '../build-plan/build-plan-task-graph.schemas';\n\n/**\n * @wildo_source:part:start integration-plan.config facet:layer:specification facet:family:integration-plan\n *\n * WHAT RUNS BESIDE THE BACKEND, and what the application reaches out to (#1495) — its workers, its\n * minions, the providers it binds, and the channels work arrives on (#1630).\n *\n * ## Why this family exists\n *\n * `add-minion`, `add-worker-node`, `add-worker-rust`, `add-provider` and `add-file-picker-provider`\n * all shipped as scenarios, and the decomposer was told to plan \"workers / minions and other\n * auxiliary execution surfaces\" and \"providers, external connectors, billing wiring\" — with no\n * product kind for any of them and, measured 2026-09-22, **zero worker or minion skills in the\n * catalog**. Nothing in the journey could give an application a background worker, a minion or a\n * provider binding. The skills now exist (`worker-authoring`, `minion-authoring`); this family is\n * the decision that reaches them.\n *\n * ## The one distinction that decides everything here\n *\n * A WORKER answers a call: the backend reaches it over its declared HTTP surface, so it exists\n * because something asks. A MINION wakes on its own schedule and answers to nobody, which is why it\n * carries a containment whitelist rather than a caller's authority. Planning one as the other\n * produces a package that never runs, or one that runs with nothing to contain it.\n */\nexport enum IntegrationPlanVersion {\n V1 = 'v1',\n}\n\n/**\n * The skill that authors a WORKER, total over {@link BuildPlanWorkerRuntime}.\n *\n * Both runtimes share one skill deliberately: `worker-authoring` covers the Node and the Rust\n * package, because the decision a builder makes — the routes it registers, the `wildo-jwt` surface\n * the backend calls, the provider runtime it may load — is the same in both, and only the scenario\n * that composes the package differs. Inventing a second skill for the same knowledge would be the\n * drift these maps exist to prevent.\n *\n * Total rather than hand-kept for the sibling reason: a runtime added tomorrow must name the skill\n * that builds it or fail to compile. Held to the authored catalog by a test in the\n * framework-knowledge package — this layer cannot import the skills, and a ref naming no folder is\n * a task the router cannot answer.\n */\nexport const INTEGRATION_WORKER_SKILL_REF: Readonly<Record<BuildPlanWorkerRuntime, string>> = {\n [BuildPlanWorkerRuntime.NODE]: 'worker-authoring',\n [BuildPlanWorkerRuntime.RUST]: 'worker-authoring',\n};\n\n/**\n * The skill that authors a MINION — a constant rather than a map, because a minion has no\n * vocabulary to branch on: there is one cron unit shape, and `add-minion` composes it.\n */\nexport const INTEGRATION_MINION_SKILL_REF = 'minion-authoring';\n\n/**\n * The skill that declares a PROVIDER BINDING, total over {@link ProviderBindingScope}.\n *\n * The scope decides the SIDE, and the side decides the act. A backend-side binding installs a\n * package in a runtime owner and scopes it — `provider-backend-package` names the companion in its\n * own description, so both members share it honestly. A frontend-side binding authors a provider\n * MODULE, exports it through the providers barrel, appends the companion contribution and declares\n * the scope entry; `provider-frontend-file-picker` is where that mechanism is written down, with\n * the file picker as its worked instance because it is the only frontend provider module this\n * framework ships today. A general frontend-provider skill would take those two rows; until one\n * exists, pointing at the skill that carries the mechanism beats pointing at nothing.\n */\nexport const INTEGRATION_PROVIDER_BINDING_SKILL_REF: Readonly<Record<ProviderBindingScope, string>> = {\n [ProviderBindingScope.BACKEND]: 'provider-backend-package',\n [ProviderBindingScope.COMPANION]: 'provider-backend-package',\n [ProviderBindingScope.FRONTEND_APP]: 'provider-frontend-file-picker',\n [ProviderBindingScope.WEBSITE]: 'provider-frontend-file-picker',\n};\n\n/**\n * The skill that authors an inbound CHANNEL handler — what a message arriving on the channel causes,\n * the sender assurance it requires, and whether it answers (#1630).\n */\nexport const INTEGRATION_INBOUND_CHANNEL_SKILL_REF = 'inbound-channels';\n\n/** Stable prefixes the trusted runtime stamps; a provider supplies only the slug. */\nexport const INTEGRATION_WORKER_REF_PREFIX = 'worker-';\nexport const INTEGRATION_MINION_REF_PREFIX = 'minion-';\n\nconst SlugSchema = z.string().regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/);\nconst NonEmptyStringSchema = z.string().trim().min(1);\n\n/** One worker: an HTTP-only subprocess the backend delegates to. */\nexport const IntegrationWorkerPlanSchema = z.strictObject({\n workerRef: z.string().regex(new RegExp(`^${INTEGRATION_WORKER_REF_PREFIX}[a-z0-9]+(?:-[a-z0-9]+)*$`)),\n runtime: z.enum(BuildPlanWorkerRuntime).systemEnum('BuildPlanWorkerRuntime'),\n /** What the backend delegates to it, and why that cannot happen inside a request. */\n purpose: NonEmptyStringSchema,\n /**\n * The units of work it exposes — the ROUTES its entry registers, which is what the backend calls.\n * At least one: a worker exposing nothing is a process nothing can reach.\n */\n jobRefs: z.array(SlugSchema).min(1),\n /** What this worker is accountable to — requirement, feature-draft or roadmap refs. Traceability, never scope. */\n servesRefs: z.array(NonEmptyStringSchema).default([]),\n});\nexport type IntegrationWorkerPlan = z.infer<typeof IntegrationWorkerPlanSchema>;\n\n/** One minion: a cron unit that wakes itself. */\nexport const IntegrationMinionPlanSchema = z.strictObject({\n minionRef: z.string().regex(new RegExp(`^${INTEGRATION_MINION_REF_PREFIX}[a-z0-9]+(?:-[a-z0-9]+)*$`)),\n /** What happens because time passed, and why it is not a request. */\n purpose: NonEmptyStringSchema,\n /** The named behaviours its tick performs. At least one: a minion that does nothing is a schedule with no work. */\n behaviorRefs: z.array(SlugSchema).min(1),\n /**\n * The resources its tick reads and writes, by their domain-plan refs.\n *\n * Planned rather than left to the coding agent because they are the CONTAINMENT decision: a\n * minion's `resourceAccess` whitelist is DENY-ALL until somebody widens it, and each named\n * resource must separately opt in with `systemAccessPolicy`. A minion planned without saying what\n * it touches is one whose whitelist an agent has to guess — and the failure is silent, because an\n * empty whitelist logs a soft warning and keeps running.\n */\n readsResourceRefs: z.array(SlugSchema).default([]),\n writesResourceRefs: z.array(SlugSchema).default([]),\n servesRefs: z.array(NonEmptyStringSchema).default([]),\n});\nexport type IntegrationMinionPlan = z.infer<typeof IntegrationMinionPlanSchema>;\n\n/** One provider bound into one runtime owner's scope. */\nexport const IntegrationProviderBindingPlanSchema = z.strictObject({\n /** The engine provider's own ref, as the catalogue publishes it. */\n providerRef: SlugSchema,\n scope: z.enum(ProviderBindingScope).systemEnum('ProviderBindingScope'),\n /** Why this application reaches this provider from this scope. */\n rationale: NonEmptyStringSchema,\n});\nexport type IntegrationProviderBindingPlan = z.infer<typeof IntegrationProviderBindingPlanSchema>;\n\n/**\n * One channel work ARRIVES on (#1630): the application declares that messages on this channel are\n * work it acts on, which is what makes the foundation enable the channel's engine capability\n * (`EMAIL_INBOUND` for email) rather than ask anyone.\n *\n * Only `EMAIL` is declarable. `WEBHOOK` is the channel every signed delivery from another system\n * arrives on, derived for those deliveries and never declared; SMS and chat join when a provider can\n * receive on them.\n */\nexport const IntegrationInboundChannelPlanSchema = z.strictObject({\n channel: z.literal(InboundChannelKind.EMAIL).systemEnum('InboundChannelKind'),\n /** What arrives on it, and what the application does with it — \"clients send case documents to their matter\". */\n purpose: NonEmptyStringSchema,\n servesRefs: z.array(NonEmptyStringSchema).default([]),\n});\nexport type IntegrationInboundChannelPlan = z.infer<typeof IntegrationInboundChannelPlanSchema>;\n\n/**\n * THE integration-plan payload.\n *\n * **Artifact-family id: `integration-plan`.** Produced by `bottom_up.integration-plan`, consumed by\n * `bottom_up.build-decompose`, which emits one task per worker, minion, provider binding and inbound channel.\n *\n * Every collection may be EMPTY and the whole plan is still meaningful: most applications need no\n * worker and no minion, and saying so is an answer. There is no `min(1)` anywhere here, and that is\n * the difference between this family and the website or documentation plans — those carry a\n * disposition because a website either exists or does not, while \"no worker, one minion, no extra\n * provider\" is an ordinary shape rather than a declined capability.\n */\nexport const IntegrationPlanSchema = z.object({\n version: z.enum(IntegrationPlanVersion).default(IntegrationPlanVersion.V1),\n /** Why this application runs what it runs beside the backend — including \"nothing\", said once. */\n rationale: NonEmptyStringSchema,\n workers: z.array(IntegrationWorkerPlanSchema).default([]),\n minions: z.array(IntegrationMinionPlanSchema).default([]),\n providerBindings: z.array(IntegrationProviderBindingPlanSchema).default([]),\n /** Channels work arrives on. Empty for an application no message ever reaches, which is most of them. */\n inboundChannels: z.array(IntegrationInboundChannelPlanSchema).default([]),\n}).superRefine((plan, context) => {\n const workerRefs = new Set<string>();\n plan.workers.forEach((worker, index) => {\n if (workerRefs.has(worker.workerRef)) {\n context.addIssue({ code: 'custom', message: `duplicate worker ref ${worker.workerRef}`, path: ['workers', index, 'workerRef'] });\n }\n workerRefs.add(worker.workerRef);\n });\n const minionRefs = new Set<string>();\n plan.minions.forEach((minion, index) => {\n if (minionRefs.has(minion.minionRef)) {\n context.addIssue({ code: 'custom', message: `duplicate minion ref ${minion.minionRef}`, path: ['minions', index, 'minionRef'] });\n }\n minionRefs.add(minion.minionRef);\n });\n /*\n * One provider bound TWICE on one scope is one declaration written twice — the config carries a\n * single entry per ref per scope, so the second is either a duplicate or a disagreement, and\n * neither can be applied. The same provider on two DIFFERENT scopes is legitimate and common.\n */\n const bindings = new Set<string>();\n plan.providerBindings.forEach((binding, index) => {\n const identity = `${binding.scope}:${binding.providerRef}`;\n if (bindings.has(identity)) {\n context.addIssue({ code: 'custom', message: `provider ${binding.providerRef} is bound twice on the ${binding.scope} scope`, path: ['providerBindings', index, 'providerRef'] });\n }\n bindings.add(identity);\n });\n const channels = new Set<InboundChannelKind>();\n plan.inboundChannels.forEach((declared, index) => {\n if (channels.has(declared.channel)) {\n context.addIssue({ code: 'custom', message: `the ${declared.channel} channel is declared twice; one declaration says what arrives on it`, path: ['inboundChannels', index, 'channel'] });\n }\n channels.add(declared.channel);\n });\n});\nexport type IntegrationPlan = z.infer<typeof IntegrationPlanSchema>;\n/** @wildo_source:part:end integration-plan.config */\n"]}
|
|
@@ -3,7 +3,7 @@ import { z } from 'zod';
|
|
|
3
3
|
// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.
|
|
4
4
|
import '@wildo-ai/zod-decorators';
|
|
5
5
|
import { MarketAuthoredMetadataSchema } from './market-authored-metadata.schemas.js';
|
|
6
|
-
import { NonEmptyStringSchema } from './market-references.schemas.js';
|
|
6
|
+
import { NonEmptyStringSchema, MarketEntryRefSchema } from './market-references.schemas.js';
|
|
7
7
|
/**
|
|
8
8
|
* Strategyzer column the benefit slots into. Drives prompt framing
|
|
9
9
|
* (lift a pain vs deliver a gain vs both).
|
|
@@ -116,7 +116,7 @@ export const BenefitImportanceForICPSchema = z.object({
|
|
|
116
116
|
*/
|
|
117
117
|
export const FeatureBenefitConfigSchema = z.object({
|
|
118
118
|
/** Stable kebab-case ref (e.g. `'benefit-ai-suggests-priority'`). */
|
|
119
|
-
ref:
|
|
119
|
+
ref: MarketEntryRefSchema,
|
|
120
120
|
/** One-sentence marketing claim in the brand voice. */
|
|
121
121
|
claim: NonEmptyStringSchema,
|
|
122
122
|
/** Optional supporting evidence (metrics, customer quotes, demo URL). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-benefit.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/market/feature-benefit.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE;;;GAGG;AACH,MAAM,CAAN,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,8CAA+B,CAAA;IAC/B,4CAA6B,CAAA;IAC7B,4BAAa,CAAA;AACf,CAAC,EAJW,WAAW,KAAX,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AK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACjE,QAAQ,EAAE,4BAA4B,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAEH,2DAA2D","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\nimport { MarketAuthoredMetadataSchema } from './market-authored-metadata.schemas';\nimport { NonEmptyStringSchema } from './market-references.schemas';\n\n/**\n * Strategyzer column the benefit slots into. Drives prompt framing\n * (lift a pain vs deliver a gain vs both).\n */\nexport enum BenefitRole {\n PAIN_RELIEVER = 'PAIN_RELIEVER',\n GAIN_CREATOR = 'GAIN_CREATOR',\n BOTH = 'BOTH',\n}\n\n/**\n * @wildo_source:part:start market.feature-benefit.kano facet:layer:specification facet:family:market\n *\n * Kano-style classification of benefit importance per ICP.\n *\n * - **`THRESHOLD`** — without this benefit, the offer is rejected\n * for this ICP (table-stakes / no-go). Combined with\n * `isBenefitAvailable` (H5) at runtime, this is what answers\n * \"should we even show the offer?\".\n * - **`PERFORMANCE`** — more is better; satisfaction scales with the\n * delivered degree.\n * - **`DELIGHTER`** — unexpected; absent is fine, present is a\n * surprise win.\n * - **`INDIFFERENT`** — explicitly noted as not moving the needle\n * for this ICP (still useful: tells AI prompts NOT to lead with it\n * for that segment).\n * - **`REVERSE`** — actively unwanted by this ICP (typically used on\n * `ANTI_TARGET` ICPs to mark features that would attract them and\n * thereby waste cycles).\n *\n * The \"at most one THRESHOLD per (icp, job)\" invariant lives in\n * `validateMarketSnapshot` as `MULTIPLE_THRESHOLDS_PER_ICP_JOB`\n * (ERROR).\n */\nexport enum BenefitKanoCategory {\n THRESHOLD = 'THRESHOLD',\n PERFORMANCE = 'PERFORMANCE',\n DELIGHTER = 'DELIGHTER',\n INDIFFERENT = 'INDIFFERENT',\n REVERSE = 'REVERSE',\n}\n/** @wildo_source:part:end market.feature-benefit.kano */\n\nconst DegreeSchema = z.number().int().min(1).max(10);\nconst WeightSchema = z.number().int().min(1).max(10);\n\n/** Weighted edge from a benefit to the pain it relieves. */\nexport const BenefitRelievesPainSchema = z.object({\n painRef: NonEmptyStringSchema,\n /** 1..10. How strongly this benefit relieves the pain. */\n degree: DegreeSchema,\n});\nexport type BenefitRelievesPain = z.infer<typeof BenefitRelievesPainSchema>;\n\n/** Weighted edge from a benefit to the gain it creates. */\nexport const BenefitCreatesGainSchema = z.object({\n gainRef: NonEmptyStringSchema,\n /** 1..10. How strongly this benefit delivers the gain. */\n degree: DegreeSchema,\n});\nexport type BenefitCreatesGain = z.infer<typeof BenefitCreatesGainSchema>;\n\n/** Weighted edge from a benefit to the job it advances. */\nexport const BenefitAdvancesJobSchema = z.object({\n jobRef: NonEmptyStringSchema,\n /** 1..10. How strongly this benefit advances the job. */\n degree: DegreeSchema,\n});\nexport type BenefitAdvancesJob = z.infer<typeof BenefitAdvancesJobSchema>;\n\n/**\n * Per-ICP importance + Kano classification for a benefit.\n *\n * One entry per (benefit, icp) pair. The validator catches duplicates\n * as `DUPLICATE_EDGE_PER_ENTITY` (WARN). At most one entry per\n * (icp, job) cluster may carry `kanoCategory: THRESHOLD` — enforced\n * by the validator as `MULTIPLE_THRESHOLDS_PER_ICP_JOB` (ERROR).\n */\nexport const BenefitImportanceForICPSchema = z.object({\n icpRef: NonEmptyStringSchema,\n /** 1..10. How important this benefit is for the ICP overall. */\n weight: WeightSchema,\n kanoCategory: z\n .enum(BenefitKanoCategory).systemEnum('BenefitKanoCategory')\n // The members already reach the JSON Schema as an `enum`, but restating them in the description\n // measurably helps: one entry in a long generated array still came back outside the set.\n .describe('One of THRESHOLD, PERFORMANCE, DELIGHTER, INDIFFERENT, REVERSE.'),\n});\nexport type BenefitImportanceForICP = z.infer<typeof BenefitImportanceForICPSchema>;\n\n/**\n * @wildo_source:part:start market.feature-benefit.config facet:layer:specification facet:family:market\n *\n * The marketing-truth claim a feature delivers, expressed in customer\n * outcome language (Strategyzer \"Pain Reliever\" / \"Gain Creator\"\n * column).\n *\n * Authoring contract:\n * - `deliveredByFeatureRefs: FeatureRef[]` is required and non-empty —\n * a benefit MUST be deliverable. Orphan refs are flagged by\n * `validateMarketSnapshot` as `ORPHAN_REF` (ERROR) when the caller\n * passes `availableFeatureRefs`. Empty arrays slip past Zod\n * `.min(1)` only via `parseAsync` defaults; the validator catches\n * the residual case as `EMPTY_BENEFIT_DELIVERED_BY` (ERROR).\n * - `role` picks the Strategyzer column. Drives prompt framing.\n * - `relieves` / `creates` / `advances` are weighted edges (`degree`\n * 1..10) into the corresponding Pain / Gain / Job. The FIT scorer\n * (`market-scoring.ts`) multiplies `degree × ICP edge weight`.\n * - `importanceByICP` carries per-ICP weight + Kano category. At\n * most ONE THRESHOLD per (icp, job) is allowed\n * (`MULTIPLE_THRESHOLDS_PER_ICP_JOB`, ERROR). Each (benefit, icp)\n * pair is unique (`DUPLICATE_EDGE_PER_ENTITY`, WARN).\n * - The runtime \"is this benefit currently deliverable?\" check lives\n * in `is-benefit-available.ts` (kept out of the snapshot to keep it\n * runtime-pure).\n *\n * Authoring rule: prefer outcome language (\"ship the week without\n * status meetings\") over feature language (\"Auto-Standup module\").\n */\nexport const FeatureBenefitConfigSchema = z.object({\n /** Stable kebab-case ref (e.g. `'benefit-ai-suggests-priority'`). */\n ref: NonEmptyStringSchema,\n /** One-sentence marketing claim in the brand voice. */\n claim: NonEmptyStringSchema,\n /** Optional supporting evidence (metrics, customer quotes, demo URL). */\n evidence: NonEmptyStringSchema.optional(),\n role: z.enum(BenefitRole).systemEnum('BenefitRole'),\n /**\n * `FeatureRef[]` — cross-family refs into the application's\n * `FeatureSpecification` registry. Required + non-empty: a benefit\n * must be deliverable. Orphan refs are flagged as `ORPHAN_REF`\n * (ERROR) against the caller-supplied `availableFeatureRefs`.\n */\n deliveredByFeatureRefs: z\n .array(NonEmptyStringSchema)\n .min(1)\n // Factual only — see the note on `AxisSchema` in market-tone-of-voice.schemas.ts for why this must not\n // be phrased as an instruction.\n // Names no sibling collection ON PURPOSE. An earlier wording said the refs come from \"this snapshot's\n // features\", and this payload has no `features` key -- the model duly invented one and the whole\n // snapshot failed `unrecognized_keys` against the strict root. Describe the VALUE, never the shape of\n // the document around it.\n .describe('Non-empty array of feature ref strings.'),\n /** Optional one-sentence \"why we win on this vs alternatives\". */\n differentiation: NonEmptyStringSchema.optional(),\n relieves: z.array(BenefitRelievesPainSchema).default([]),\n creates: z.array(BenefitCreatesGainSchema).default([]),\n advances: z.array(BenefitAdvancesJobSchema).default([]),\n importanceByICP: z.array(BenefitImportanceForICPSchema).default([]),\n /**\n * `MarketProofRef[]` — proofs that back this benefit. Resolved\n * against `snapshot.proofs[]`; orphans flagged as `ORPHAN_REF`\n * (ERROR) by `validateMarketSnapshot`.\n */\n proofRefs: z.array(NonEmptyStringSchema).default([]),\n /**\n * `MarketObjectionRef[]` — objections this benefit specifically\n * answers. Resolved against `snapshot.objections[]`; orphans\n * flagged as `ORPHAN_REF` (ERROR) by `validateMarketSnapshot`.\n */\n addressesObjectionRefs: z.array(NonEmptyStringSchema).default([]),\n authored: MarketAuthoredMetadataSchema.optional(),\n});\nexport type FeatureBenefitConfig = z.infer<typeof FeatureBenefitConfigSchema>;\n/** @wildo_source:part:end market.feature-benefit.config */\n"]}
|
|
1
|
+
{"version":3,"file":"feature-benefit.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/market/feature-benefit.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEzF;;;GAGG;AACH,MAAM,CAAN,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,8CAA+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CAAC,OAAO,CAAC,EAAE,CAAC;IACpD;;;;OAIG;IACH,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACjE,QAAQ,EAAE,4BAA4B,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAEH,2DAA2D","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\nimport { MarketAuthoredMetadataSchema } from './market-authored-metadata.schemas';\nimport { NonEmptyStringSchema, MarketEntryRefSchema } from './market-references.schemas';\n\n/**\n * Strategyzer column the benefit slots into. Drives prompt framing\n * (lift a pain vs deliver a gain vs both).\n */\nexport enum BenefitRole {\n PAIN_RELIEVER = 'PAIN_RELIEVER',\n GAIN_CREATOR = 'GAIN_CREATOR',\n BOTH = 'BOTH',\n}\n\n/**\n * @wildo_source:part:start market.feature-benefit.kano facet:layer:specification facet:family:market\n *\n * Kano-style classification of benefit importance per ICP.\n *\n * - **`THRESHOLD`** — without this benefit, the offer is rejected\n * for this ICP (table-stakes / no-go). Combined with\n * `isBenefitAvailable` (H5) at runtime, this is what answers\n * \"should we even show the offer?\".\n * - **`PERFORMANCE`** — more is better; satisfaction scales with the\n * delivered degree.\n * - **`DELIGHTER`** — unexpected; absent is fine, present is a\n * surprise win.\n * - **`INDIFFERENT`** — explicitly noted as not moving the needle\n * for this ICP (still useful: tells AI prompts NOT to lead with it\n * for that segment).\n * - **`REVERSE`** — actively unwanted by this ICP (typically used on\n * `ANTI_TARGET` ICPs to mark features that would attract them and\n * thereby waste cycles).\n *\n * The \"at most one THRESHOLD per (icp, job)\" invariant lives in\n * `validateMarketSnapshot` as `MULTIPLE_THRESHOLDS_PER_ICP_JOB`\n * (ERROR).\n */\nexport enum BenefitKanoCategory {\n THRESHOLD = 'THRESHOLD',\n PERFORMANCE = 'PERFORMANCE',\n DELIGHTER = 'DELIGHTER',\n INDIFFERENT = 'INDIFFERENT',\n REVERSE = 'REVERSE',\n}\n/** @wildo_source:part:end market.feature-benefit.kano */\n\nconst DegreeSchema = z.number().int().min(1).max(10);\nconst WeightSchema = z.number().int().min(1).max(10);\n\n/** Weighted edge from a benefit to the pain it relieves. */\nexport const BenefitRelievesPainSchema = z.object({\n painRef: NonEmptyStringSchema,\n /** 1..10. How strongly this benefit relieves the pain. */\n degree: DegreeSchema,\n});\nexport type BenefitRelievesPain = z.infer<typeof BenefitRelievesPainSchema>;\n\n/** Weighted edge from a benefit to the gain it creates. */\nexport const BenefitCreatesGainSchema = z.object({\n gainRef: NonEmptyStringSchema,\n /** 1..10. How strongly this benefit delivers the gain. */\n degree: DegreeSchema,\n});\nexport type BenefitCreatesGain = z.infer<typeof BenefitCreatesGainSchema>;\n\n/** Weighted edge from a benefit to the job it advances. */\nexport const BenefitAdvancesJobSchema = z.object({\n jobRef: NonEmptyStringSchema,\n /** 1..10. How strongly this benefit advances the job. */\n degree: DegreeSchema,\n});\nexport type BenefitAdvancesJob = z.infer<typeof BenefitAdvancesJobSchema>;\n\n/**\n * Per-ICP importance + Kano classification for a benefit.\n *\n * One entry per (benefit, icp) pair. The validator catches duplicates\n * as `DUPLICATE_EDGE_PER_ENTITY` (WARN). At most one entry per\n * (icp, job) cluster may carry `kanoCategory: THRESHOLD` — enforced\n * by the validator as `MULTIPLE_THRESHOLDS_PER_ICP_JOB` (ERROR).\n */\nexport const BenefitImportanceForICPSchema = z.object({\n icpRef: NonEmptyStringSchema,\n /** 1..10. How important this benefit is for the ICP overall. */\n weight: WeightSchema,\n kanoCategory: z\n .enum(BenefitKanoCategory).systemEnum('BenefitKanoCategory')\n // The members already reach the JSON Schema as an `enum`, but restating them in the description\n // measurably helps: one entry in a long generated array still came back outside the set.\n .describe('One of THRESHOLD, PERFORMANCE, DELIGHTER, INDIFFERENT, REVERSE.'),\n});\nexport type BenefitImportanceForICP = z.infer<typeof BenefitImportanceForICPSchema>;\n\n/**\n * @wildo_source:part:start market.feature-benefit.config facet:layer:specification facet:family:market\n *\n * The marketing-truth claim a feature delivers, expressed in customer\n * outcome language (Strategyzer \"Pain Reliever\" / \"Gain Creator\"\n * column).\n *\n * Authoring contract:\n * - `deliveredByFeatureRefs: FeatureRef[]` is required and non-empty —\n * a benefit MUST be deliverable. Orphan refs are flagged by\n * `validateMarketSnapshot` as `ORPHAN_REF` (ERROR) when the caller\n * passes `availableFeatureRefs`. Empty arrays slip past Zod\n * `.min(1)` only via `parseAsync` defaults; the validator catches\n * the residual case as `EMPTY_BENEFIT_DELIVERED_BY` (ERROR).\n * - `role` picks the Strategyzer column. Drives prompt framing.\n * - `relieves` / `creates` / `advances` are weighted edges (`degree`\n * 1..10) into the corresponding Pain / Gain / Job. The FIT scorer\n * (`market-scoring.ts`) multiplies `degree × ICP edge weight`.\n * - `importanceByICP` carries per-ICP weight + Kano category. At\n * most ONE THRESHOLD per (icp, job) is allowed\n * (`MULTIPLE_THRESHOLDS_PER_ICP_JOB`, ERROR). Each (benefit, icp)\n * pair is unique (`DUPLICATE_EDGE_PER_ENTITY`, WARN).\n * - The runtime \"is this benefit currently deliverable?\" check lives\n * in `is-benefit-available.ts` (kept out of the snapshot to keep it\n * runtime-pure).\n *\n * Authoring rule: prefer outcome language (\"ship the week without\n * status meetings\") over feature language (\"Auto-Standup module\").\n */\nexport const FeatureBenefitConfigSchema = z.object({\n /** Stable kebab-case ref (e.g. `'benefit-ai-suggests-priority'`). */\n ref: MarketEntryRefSchema,\n /** One-sentence marketing claim in the brand voice. */\n claim: NonEmptyStringSchema,\n /** Optional supporting evidence (metrics, customer quotes, demo URL). */\n evidence: NonEmptyStringSchema.optional(),\n role: z.enum(BenefitRole).systemEnum('BenefitRole'),\n /**\n * `FeatureRef[]` — cross-family refs into the application's\n * `FeatureSpecification` registry. Required + non-empty: a benefit\n * must be deliverable. Orphan refs are flagged as `ORPHAN_REF`\n * (ERROR) against the caller-supplied `availableFeatureRefs`.\n */\n deliveredByFeatureRefs: z\n .array(NonEmptyStringSchema)\n .min(1)\n // Factual only — see the note on `AxisSchema` in market-tone-of-voice.schemas.ts for why this must not\n // be phrased as an instruction.\n // Names no sibling collection ON PURPOSE. An earlier wording said the refs come from \"this snapshot's\n // features\", and this payload has no `features` key -- the model duly invented one and the whole\n // snapshot failed `unrecognized_keys` against the strict root. Describe the VALUE, never the shape of\n // the document around it.\n .describe('Non-empty array of feature ref strings.'),\n /** Optional one-sentence \"why we win on this vs alternatives\". */\n differentiation: NonEmptyStringSchema.optional(),\n relieves: z.array(BenefitRelievesPainSchema).default([]),\n creates: z.array(BenefitCreatesGainSchema).default([]),\n advances: z.array(BenefitAdvancesJobSchema).default([]),\n importanceByICP: z.array(BenefitImportanceForICPSchema).default([]),\n /**\n * `MarketProofRef[]` — proofs that back this benefit. Resolved\n * against `snapshot.proofs[]`; orphans flagged as `ORPHAN_REF`\n * (ERROR) by `validateMarketSnapshot`.\n */\n proofRefs: z.array(NonEmptyStringSchema).default([]),\n /**\n * `MarketObjectionRef[]` — objections this benefit specifically\n * answers. Resolved against `snapshot.objections[]`; orphans\n * flagged as `ORPHAN_REF` (ERROR) by `validateMarketSnapshot`.\n */\n addressesObjectionRefs: z.array(NonEmptyStringSchema).default([]),\n authored: MarketAuthoredMetadataSchema.optional(),\n});\nexport type FeatureBenefitConfig = z.infer<typeof FeatureBenefitConfigSchema>;\n/** @wildo_source:part:end market.feature-benefit.config */\n"]}
|
|
@@ -3,7 +3,7 @@ import { z } from 'zod';
|
|
|
3
3
|
// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.
|
|
4
4
|
import '@wildo-ai/zod-decorators';
|
|
5
5
|
import { MarketAuthoredMetadataSchema } from './market-authored-metadata.schemas.js';
|
|
6
|
-
import { NonEmptyStringSchema } from './market-references.schemas.js';
|
|
6
|
+
import { NonEmptyStringSchema, MarketEntryRefSchema } from './market-references.schemas.js';
|
|
7
7
|
/**
|
|
8
8
|
* @wildo_source:part:start market.alternative.kind facet:layer:specification facet:family:market
|
|
9
9
|
*
|
|
@@ -51,7 +51,7 @@ export var AlternativeKind;
|
|
|
51
51
|
*/
|
|
52
52
|
export const MarketAlternativeConfigSchema = z.object({
|
|
53
53
|
/** Stable kebab-case ref (e.g. `'alternative-spreadsheet-status-quo'`). */
|
|
54
|
-
ref:
|
|
54
|
+
ref: MarketEntryRefSchema,
|
|
55
55
|
/** Display name (`'Asana'`, `'Notion task DB'`, `'Status quo (spreadsheets)'`). */
|
|
56
56
|
name: NonEmptyStringSchema,
|
|
57
57
|
/** One-sentence explanation of what this alternative is. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"market-alternative.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/market/market-alternative.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"market-alternative.schemas.js","sourceRoot":"","sources":["../../../../../src/_core/market/market-alternative.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,6GAA6G;AAC7G,+GAA+G;AAC/G,OAAO,0BAA0B,CAAC;AAElC,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEzF;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAN,IAAY,eAMX;AAND,WAAY,eAAe;IACzB,0DAAuC,CAAA;IACvC,oDAAiC,CAAA;IACjC,oDAAiC,CAAA;IACjC,4CAAyB,CAAA;IACzB,oDAAiC,CAAA;AACnC,CAAC,EANW,eAAe,KAAf,eAAe,QAM1B;AACD,qDAAqD;AAErD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,2EAA2E;IAC3E,GAAG,EAAE,oBAAoB;IACzB,mFAAmF;IACnF,IAAI,EAAE,oBAAoB;IAC1B,4DAA4D;IAC5D,WAAW,EAAE,oBAAoB;IACjC,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,UAAU,CAAC,iBAAiB,CAAC;IACtE,qEAAqE;IACrE,GAAG,EAAE,CAAC;SACH,GAAG,EAAE;SACL,QAAQ,EAAE;QACX,uGAAuG;QACvG,6FAA6F;QAC7F,mCAAmC;SAClC,QAAQ,CAAC,iEAAiE,CAAC;IAC9E,8EAA8E;IAC9E,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/C;;;;;;;;;OASG;IACH,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IACrD,4EAA4E;IAC5E,UAAU,EAAE,oBAAoB;IAChC,6EAA6E;IAC7E,UAAU,EAAE,oBAAoB;IAChC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;IAChD,QAAQ,EAAE,4BAA4B,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAC;AAEH,uDAAuD","sourcesContent":["import { z } from 'zod';\n// Side-effect import: this module calls `.systemEnum()` at load, so the decorators must be installed first —\n// never by the importer's luck (#966). A named import used only as a type would be elided and install nothing.\nimport '@wildo-ai/zod-decorators';\n\nimport { MarketAuthoredMetadataSchema } from './market-authored-metadata.schemas';\nimport { NonEmptyStringSchema, MarketEntryRefSchema } from './market-references.schemas';\n\n/**\n * @wildo_source:part:start market.alternative.kind facet:layer:specification facet:family:market\n *\n * The five archetypes of \"what a prospect picks INSTEAD of us\".\n *\n * `STATUS_QUO` (\"do nothing\") and `ADJACENT_PROXY` (\"a spreadsheet, an\n * email thread, a Slack channel\") are first-class because they are the\n * winning alternative in most early-stage SaaS markets — pretending\n * they don't exist is the most common positioning mistake.\n *\n * Direct competitors get their own kind from in-house builds because\n * the framing of the comparison differs structurally (`whenChosen` /\n * `whenWeBeat` for a competitor reads very differently from those for\n * an in-house build).\n */\nexport enum AlternativeKind {\n DIRECT_COMPETITOR = 'DIRECT_COMPETITOR',\n IN_HOUSE_BUILD = 'IN_HOUSE_BUILD',\n INCUMBENT_TOOL = 'INCUMBENT_TOOL',\n STATUS_QUO = 'STATUS_QUO',\n ADJACENT_PROXY = 'ADJACENT_PROXY',\n}\n/** @wildo_source:part:end market.alternative.kind */\n\n/**\n * @wildo_source:part:start market.alternative.config facet:layer:specification facet:family:market\n *\n * A competing solution the prospect could pick instead of us.\n *\n * Authored honestly. The point of this entity is **not** to write\n * marketing dunks on competitors — it is to give the prompt-enrichment\n * pipeline + market generation CLI the ground truth to handle\n * comparison pages, objection responses, and \"why X over Y\" content\n * without re-improvising the framing.\n *\n * `whenChosen` and `whenWeBeat` are the hardest parts to author and\n * the most valuable downstream:\n * - `whenChosen` (\"when prospects pick this over us\") feeds the\n * self-disqualification copy on landing pages.\n * - `whenWeBeat` (\"when we win against this\") feeds comparison pages\n * and sales enablement.\n *\n * The validator surfaces orphan refs to alternatives via\n * `MarketPositioning.alternativesContrasted[].alternativeRef`.\n */\nexport const MarketAlternativeConfigSchema = z.object({\n /** Stable kebab-case ref (e.g. `'alternative-spreadsheet-status-quo'`). */\n ref: MarketEntryRefSchema,\n /** Display name (`'Asana'`, `'Notion task DB'`, `'Status quo (spreadsheets)'`). */\n name: NonEmptyStringSchema,\n /** One-sentence explanation of what this alternative is. */\n description: NonEmptyStringSchema,\n alternativeKind: z.enum(AlternativeKind).systemEnum('AlternativeKind'),\n /** Optional canonical URL (omit for STATUS_QUO / ADJACENT_PROXY). */\n url: z\n .url()\n .optional()\n // Factual format only. An earlier attempt added a prohibition here (\"never guess\", \"omit it entirely\")\n // and the model responded by emitting a near-empty snapshot; see the note on `AxisSchema` in\n // market-tone-of-voice.schemas.ts.\n .describe('Absolute URL including scheme, for example https://example.com.'),\n /** What this alternative does well (be honest — informs comparison pages). */\n strengths: z.array(NonEmptyStringSchema).min(1),\n /**\n * What this alternative does poorly (where we earn the swap).\n *\n * Optional on purpose: for `STATUS_QUO` and some `ADJACENT_PROXY`\n * alternatives the honest answer is \"we don't know yet\" or \"n/a\"\n * (no product to critique). Forcing `min(1)` here used to push\n * authors into filler weaknesses, which then leaked into\n * comparison pages as low-quality FUD. Authors who do know the\n * weaknesses are still strongly encouraged to populate them.\n */\n weaknesses: z.array(NonEmptyStringSchema).default([]),\n /** \"When prospects pick this over us.\" Feeds self-disqualification copy. */\n whenChosen: NonEmptyStringSchema,\n /** \"When we win against this.\" Feeds comparison pages + sales enablement. */\n whenWeBeat: NonEmptyStringSchema,\n notes: z.array(NonEmptyStringSchema).default([]),\n authored: MarketAuthoredMetadataSchema.optional(),\n});\nexport type MarketAlternativeConfig = z.infer<typeof MarketAlternativeConfigSchema>;\n/** @wildo_source:part:end market.alternative.config */\n"]}
|