@wildo-ai/saas-specifications 1.1.5 → 1.1.6
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 +8 -8
- 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
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { LabelAudience } from '@wildo-ai/presets-components-models';
|
|
2
|
+
import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';
|
|
3
|
+
import { ExternalDataPendingReferenceSchema, ExternalDataPendingReferenceVariantKey, externalDataPendingReferenceResourceConfiguration_InitializationFactory as pendingReferenceFactory, } from '@wildo-ai/saas-backend-lib/external-data-models';
|
|
4
|
+
import { CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';
|
|
5
|
+
import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
|
|
6
|
+
import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
|
|
7
|
+
/**
|
|
8
|
+
* Framework-owned specification for the internal `externalDataPendingReferences` resource (#1684) — the references a
|
|
9
|
+
* pipeline could not resolve yet, retried at the end of every run so a row that never changes again still gets its
|
|
10
|
+
* foreign key once its target arrives.
|
|
11
|
+
*
|
|
12
|
+
* Registry-key and type-annotation notes: identical situation to `dataSeedRuns` — see that spec's header.
|
|
13
|
+
*/
|
|
14
|
+
export const externalDataPendingReferencesResourceSpecification = resourceSpecification(pendingReferenceFactory, ExternalDataPendingReferenceSchema, ({ schemaShape }) => ({
|
|
15
|
+
purpose: 'Remember which remote references a pipeline could not resolve yet, because their target record has no local row, so a later run writes the foreign key once it does.',
|
|
16
|
+
businessRole: 'Lets a pipeline copy related records as real local links — a contact to its company — even when the related record arrives later, sits outside the pipeline\'s filter for a while, or is loaded by another pipeline.',
|
|
17
|
+
lifecycleRole: 'Written by a pipeline run\'s resolution phase when a reference has no target row; read and rewritten by every later run of the same pipeline, full or incremental; deleted the moment the reference resolves, becomes empty, names an erased record, or its referencing row is no longer live.',
|
|
18
|
+
audience: LabelAudience.DEVELOPER,
|
|
19
|
+
subDomain: EngineResourceSubDomain.INFRASTRUCTURE,
|
|
20
|
+
codeHandling: {
|
|
21
|
+
mainSchema: {
|
|
22
|
+
packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',
|
|
23
|
+
exportName: 'ExternalDataPendingReferenceSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA,
|
|
24
|
+
},
|
|
25
|
+
resourceFactory: {
|
|
26
|
+
packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',
|
|
27
|
+
exportName: 'externalDataPendingReferenceResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION,
|
|
28
|
+
},
|
|
29
|
+
resourceType: {
|
|
30
|
+
enumDeclaration: { packageName: '@wildo-ai/saas-backend-lib', exportName: 'BackendResourceType',
|
|
31
|
+
symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },
|
|
32
|
+
memberName: 'EXTERNAL_DATA_PENDING_REFERENCES',
|
|
33
|
+
},
|
|
34
|
+
operationVocabulary: {
|
|
35
|
+
coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation',
|
|
36
|
+
symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
fields: {
|
|
40
|
+
_id: schemaShape._id.stringSpec({ meaning: 'Identity of the pending row, assigned by the store.' }),
|
|
41
|
+
referenceKey: schemaShape.referenceKey.stringSpec({
|
|
42
|
+
meaning: 'The reference\'s identity: the pipeline, the referencing row\'s remote key and the foreign-key field. Unique.',
|
|
43
|
+
whyItMatters: 'One reference has one pending row however many runs see it, so a run rewriting the set never duplicates an entry.',
|
|
44
|
+
semanticRole: 'identifier',
|
|
45
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
46
|
+
}),
|
|
47
|
+
pipelineResourceType: schemaShape.pipelineResourceType.stringSpec({ meaning: 'The destination resource whose pipeline owns the reference; each run reads only its own pipeline\'s set.' }),
|
|
48
|
+
referencingRemoteKey: schemaShape.referencingRemoteKey.stringSpec({ meaning: 'The remote key of the row that holds the reference — the value its destination already stores as its remote identity.' }),
|
|
49
|
+
localField: schemaShape.localField.stringSpec({ meaning: 'The local foreign-key field the resolution writes once the target has a local row.' }),
|
|
50
|
+
targetResourceType: schemaShape.targetResourceType.stringSpec({ meaning: 'The local resource the reference resolves to — a pipeline destination on the same system of record.' }),
|
|
51
|
+
targetRemoteKey: schemaShape.targetRemoteKey.stringSpec({
|
|
52
|
+
meaning: 'The target record\'s key, synthesized with the target binding\'s codec — what each run looks up on the target\'s remote-key field.',
|
|
53
|
+
whyItMatters: 'A reference to an erased record is never kept here: the key of an erased record is what the erasure-suppression list exists not to store in the clear.',
|
|
54
|
+
}),
|
|
55
|
+
pendingSince: schemaShape.pendingSince.dateSpec({ meaning: 'When the reference first went unresolved — how long its target has been missing.' }),
|
|
56
|
+
},
|
|
57
|
+
operations: {
|
|
58
|
+
[Op.CREATE]: {
|
|
59
|
+
purpose: 'Record a reference whose target has no local row yet.',
|
|
60
|
+
outcome: 'Every later run of the pipeline retries it, whether or not the referencing row changes again.',
|
|
61
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
62
|
+
responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The pending reference was recorded.' }],
|
|
63
|
+
idempotent: false,
|
|
64
|
+
variants: { [ExternalDataPendingReferenceVariantKey.INTERNAL]: { purpose: 'Let a pipeline run record what it could not resolve.' } },
|
|
65
|
+
},
|
|
66
|
+
[Op.READ]: {
|
|
67
|
+
purpose: 'Read one pending reference by its identity.',
|
|
68
|
+
outcome: 'The row is returned for internal inspection; runs read the set through the pipeline listing.',
|
|
69
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The pending reference is returned.' }],
|
|
70
|
+
idempotent: true,
|
|
71
|
+
variants: { [ExternalDataPendingReferenceVariantKey.INTERNAL]: { purpose: 'Internal inspection only.' } },
|
|
72
|
+
},
|
|
73
|
+
[Op.LIST]: {
|
|
74
|
+
purpose: 'Load one pipeline\'s pending references at the end of a run.',
|
|
75
|
+
outcome: 'Each is retried against the target\'s current rows.',
|
|
76
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The pipeline\'s pending references are returned.' }],
|
|
77
|
+
idempotent: true,
|
|
78
|
+
variants: { [ExternalDataPendingReferenceVariantKey.INTERNAL]: { purpose: 'Internal pipeline read only.' } },
|
|
79
|
+
},
|
|
80
|
+
[Op.DELETE_MANY]: {
|
|
81
|
+
purpose: 'Remove pending references that resolved, became empty, name an erased record, or whose referencing row is gone.',
|
|
82
|
+
outcome: 'The set shrinks to what is still genuinely waiting.',
|
|
83
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The settled pending references were removed.' }],
|
|
84
|
+
idempotent: true,
|
|
85
|
+
variants: { [ExternalDataPendingReferenceVariantKey.INTERNAL]: { purpose: 'Internal cleanup by the pipeline run.' } },
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
businessConstraints: [
|
|
89
|
+
'Rewritten only by a pipeline run holding the pipeline\'s lease, after the load and before the run\'s checkpoint is accepted, so a failed run never loses a reference behind an accepted watermark.',
|
|
90
|
+
'Holds remote keys and a field name only — no mapped value, no display name.',
|
|
91
|
+
'A reference whose target record is erased is dropped rather than kept pending.',
|
|
92
|
+
],
|
|
93
|
+
}), { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION });
|
|
94
|
+
//# sourceMappingURL=external-data-pending-references.resource.specification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-data-pending-references.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/infrastructure/resources/external-data-pending-references.resource.specification.ts"],"names":[],"mappings":"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","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';\nimport {\n ExternalDataPendingReferenceSchema,\n ExternalDataPendingReferenceVariantKey,\n externalDataPendingReferenceResourceConfiguration_InitializationFactory as pendingReferenceFactory,\n} from '@wildo-ai/saas-backend-lib/external-data-models';\nimport { CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';\nimport { type AnyResourceSpecificationConfig, HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Framework-owned specification for the internal `externalDataPendingReferences` resource (#1684) — the references a\n * pipeline could not resolve yet, retried at the end of every run so a row that never changes again still gets its\n * foreign key once its target arrives.\n *\n * Registry-key and type-annotation notes: identical situation to `dataSeedRuns` — see that spec's header.\n */\nexport const externalDataPendingReferencesResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n pendingReferenceFactory,\n ExternalDataPendingReferenceSchema,\n ({ schemaShape }) => ({\n purpose: 'Remember which remote references a pipeline could not resolve yet, because their target record has no local row, so a later run writes the foreign key once it does.',\n businessRole: 'Lets a pipeline copy related records as real local links — a contact to its company — even when the related record arrives later, sits outside the pipeline\\'s filter for a while, or is loaded by another pipeline.',\n lifecycleRole: 'Written by a pipeline run\\'s resolution phase when a reference has no target row; read and rewritten by every later run of the same pipeline, full or incremental; deleted the moment the reference resolves, becomes empty, names an erased record, or its referencing row is no longer live.',\n audience: LabelAudience.DEVELOPER,\n subDomain: EngineResourceSubDomain.INFRASTRUCTURE,\n codeHandling: {\n mainSchema: {\n packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',\n exportName: 'ExternalDataPendingReferenceSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA,\n },\n resourceFactory: {\n packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',\n exportName: 'externalDataPendingReferenceResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION,\n },\n resourceType: {\n enumDeclaration: { packageName: '@wildo-ai/saas-backend-lib', exportName: 'BackendResourceType',\n symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n memberName: 'EXTERNAL_DATA_PENDING_REFERENCES',\n },\n operationVocabulary: {\n coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },\n },\n },\n\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of the pending row, assigned by the store.' }),\n referenceKey: schemaShape.referenceKey.stringSpec({\n meaning: 'The reference\\'s identity: the pipeline, the referencing row\\'s remote key and the foreign-key field. Unique.',\n whyItMatters: 'One reference has one pending row however many runs see it, so a run rewriting the set never duplicates an entry.',\n semanticRole: 'identifier',\n importance: FieldSemanticImportance.PRIMARY,\n }),\n pipelineResourceType: schemaShape.pipelineResourceType.stringSpec({ meaning: 'The destination resource whose pipeline owns the reference; each run reads only its own pipeline\\'s set.' }),\n referencingRemoteKey: schemaShape.referencingRemoteKey.stringSpec({ meaning: 'The remote key of the row that holds the reference — the value its destination already stores as its remote identity.' }),\n localField: schemaShape.localField.stringSpec({ meaning: 'The local foreign-key field the resolution writes once the target has a local row.' }),\n targetResourceType: schemaShape.targetResourceType.stringSpec({ meaning: 'The local resource the reference resolves to — a pipeline destination on the same system of record.' }),\n targetRemoteKey: schemaShape.targetRemoteKey.stringSpec({\n meaning: 'The target record\\'s key, synthesized with the target binding\\'s codec — what each run looks up on the target\\'s remote-key field.',\n whyItMatters: 'A reference to an erased record is never kept here: the key of an erased record is what the erasure-suppression list exists not to store in the clear.',\n }),\n pendingSince: schemaShape.pendingSince.dateSpec({ meaning: 'When the reference first went unresolved — how long its target has been missing.' }),\n },\n\n operations: {\n [Op.CREATE]: {\n purpose: 'Record a reference whose target has no local row yet.',\n outcome: 'Every later run of the pipeline retries it, whether or not the referencing row changes again.',\n importance: FieldSemanticImportance.PRIMARY,\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The pending reference was recorded.' }],\n idempotent: false,\n variants: { [ExternalDataPendingReferenceVariantKey.INTERNAL]: { purpose: 'Let a pipeline run record what it could not resolve.' } },\n },\n [Op.READ]: {\n purpose: 'Read one pending reference by its identity.',\n outcome: 'The row is returned for internal inspection; runs read the set through the pipeline listing.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The pending reference is returned.' }],\n idempotent: true,\n variants: { [ExternalDataPendingReferenceVariantKey.INTERNAL]: { purpose: 'Internal inspection only.' } },\n },\n [Op.LIST]: {\n purpose: 'Load one pipeline\\'s pending references at the end of a run.',\n outcome: 'Each is retried against the target\\'s current rows.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The pipeline\\'s pending references are returned.' }],\n idempotent: true,\n variants: { [ExternalDataPendingReferenceVariantKey.INTERNAL]: { purpose: 'Internal pipeline read only.' } },\n },\n [Op.DELETE_MANY]: {\n purpose: 'Remove pending references that resolved, became empty, name an erased record, or whose referencing row is gone.',\n outcome: 'The set shrinks to what is still genuinely waiting.',\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The settled pending references were removed.' }],\n idempotent: true,\n variants: { [ExternalDataPendingReferenceVariantKey.INTERNAL]: { purpose: 'Internal cleanup by the pipeline run.' } },\n },\n },\n\n businessConstraints: [\n 'Rewritten only by a pipeline run holding the pipeline\\'s lease, after the load and before the run\\'s checkpoint is accepted, so a failed run never loses a reference behind an accepted watermark.',\n 'Holds remote keys and a field name only — no mapped value, no display name.',\n 'A reference whose target record is erased is dropped rather than kept pending.',\n ],\n }),\n { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type AnyResourceSpecificationConfig } from '../../../_core';
|
|
2
|
+
/**
|
|
3
|
+
* Framework-owned specification for the internal `externalDataPipelineMembershipKeys` resource (#1742) — one row per
|
|
4
|
+
* source key an external-data pass observed, so the orphan walk can test a page of destination rows against the pass
|
|
5
|
+
* without holding the population in memory.
|
|
6
|
+
*
|
|
7
|
+
* Registry-key and type-annotation notes: identical situation to `dataSeedRuns` — see that spec's header.
|
|
8
|
+
*/
|
|
9
|
+
export declare const externalDataPipelineMembershipKeysResourceSpecification: AnyResourceSpecificationConfig;
|
|
10
|
+
//# sourceMappingURL=external-data-pipeline-membership-keys.resource.specification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-data-pipeline-membership-keys.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAGjI;;;;;;GAMG;AACH,eAAO,MAAM,uDAAuD,EAAE,8BAmDrE,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { LabelAudience } from '@wildo-ai/presets-components-models';
|
|
2
|
+
import { CodeDeclarationKind, CodeSymbolKind } from '@wildo-ai/zod-decorators';
|
|
3
|
+
import { ExternalDataPipelineMembershipKeySchema, ExternalDataPipelineMembershipKeyVariantKey, externalDataPipelineMembershipKeyResourceConfiguration_InitializationFactory as membershipKeyFactory, } from '@wildo-ai/saas-backend-lib/external-data-models';
|
|
4
|
+
import { CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';
|
|
5
|
+
import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
|
|
6
|
+
import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
|
|
7
|
+
/**
|
|
8
|
+
* Framework-owned specification for the internal `externalDataPipelineMembershipKeys` resource (#1742) — one row per
|
|
9
|
+
* source key an external-data pass observed, so the orphan walk can test a page of destination rows against the pass
|
|
10
|
+
* without holding the population in memory.
|
|
11
|
+
*
|
|
12
|
+
* Registry-key and type-annotation notes: identical situation to `dataSeedRuns` — see that spec's header.
|
|
13
|
+
*/
|
|
14
|
+
export const externalDataPipelineMembershipKeysResourceSpecification = resourceSpecification(membershipKeyFactory, ExternalDataPipelineMembershipKeySchema, ({ schemaShape }) => ({
|
|
15
|
+
purpose: 'Remember each source identity an extraction pass observed, one row per key, so the run that completes the pass can tell a record that disappeared from one an earlier run read.',
|
|
16
|
+
businessRole: 'The population half of the pass membership journal, looked up a page of keys at a time instead of read whole.',
|
|
17
|
+
lifecycleRole: 'Written by a run after its segment and before its cursor is accepted; counts only while its segment is reachable from the accepted checkpoint; removed with the pass.',
|
|
18
|
+
audience: LabelAudience.DEVELOPER, subDomain: EngineResourceSubDomain.INFRASTRUCTURE,
|
|
19
|
+
codeHandling: {
|
|
20
|
+
mainSchema: { packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',
|
|
21
|
+
exportName: 'ExternalDataPipelineMembershipKeySchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },
|
|
22
|
+
resourceFactory: { packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',
|
|
23
|
+
exportName: 'externalDataPipelineMembershipKeyResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },
|
|
24
|
+
resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-backend-lib', exportName: 'BackendResourceType',
|
|
25
|
+
symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'EXTERNAL_DATA_PIPELINE_MEMBERSHIP_KEYS' },
|
|
26
|
+
operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation',
|
|
27
|
+
symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },
|
|
28
|
+
},
|
|
29
|
+
fields: {
|
|
30
|
+
_id: schemaShape._id.stringSpec({ meaning: 'Identity of the key row, assigned by the store.' }),
|
|
31
|
+
pipelineResourceType: schemaShape.pipelineResourceType.stringSpec({ meaning: 'The destination resource whose pipeline observed the key.' }),
|
|
32
|
+
passId: schemaShape.passId.stringSpec({ meaning: 'The extraction pass the key belongs to.' }),
|
|
33
|
+
segmentId: schemaShape.segmentId.stringSpec({
|
|
34
|
+
meaning: 'The segment — one run\'s contribution — that recorded the key.',
|
|
35
|
+
whyItMatters: 'A key counts only while its segment is reachable from the accepted checkpoint, so a failed run\'s keys are never read as present.',
|
|
36
|
+
}),
|
|
37
|
+
businessKeySerialization: schemaShape.businessKeySerialization.stringSpec({
|
|
38
|
+
meaning: 'The source record\'s business key, serialized exactly as the orphan walk serializes a destination row\'s.',
|
|
39
|
+
whyItMatters: 'It is what the orphan walk looks up, a page of destination rows at a time; bounded so its index can hold it.',
|
|
40
|
+
semanticRole: 'identifier',
|
|
41
|
+
}),
|
|
42
|
+
},
|
|
43
|
+
operations: {
|
|
44
|
+
[Op.CREATE]: { purpose: 'Record one observed key.', outcome: 'The key belongs to its segment.', idempotent: false,
|
|
45
|
+
responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The key row was stored.' }],
|
|
46
|
+
variants: { [ExternalDataPipelineMembershipKeyVariantKey.INTERNAL]: { purpose: 'Internal pipeline journal append only.' } } },
|
|
47
|
+
[Op.CREATE_MANY]: { purpose: 'Record a page of a run\'s observed keys in one statement.', outcome: 'The keys belong to their segment.', idempotent: false,
|
|
48
|
+
responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The key rows were stored.' }],
|
|
49
|
+
variants: { [ExternalDataPipelineMembershipKeyVariantKey.INTERNAL]: { purpose: 'Internal pipeline journal append only.' } } },
|
|
50
|
+
[Op.LIST]: { purpose: 'Declared for internal inspection. The pipeline itself reads key rows below the operation tier — a bounded raw scan to look up a page of keys or stream the chain\'s keys a page at a time, and a raw count of the keys one append wrote.', outcome: 'The matching key rows are returned.', idempotent: true,
|
|
51
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The matching key rows are returned.' }],
|
|
52
|
+
variants: { [ExternalDataPipelineMembershipKeyVariantKey.INTERNAL]: { purpose: 'Internal orphan walk and suppression release only.' } } },
|
|
53
|
+
[Op.DELETE_MANY]: { purpose: 'Remove a pass\'s key rows with the pass.', outcome: 'Completed observations are reclaimed without changing destination data.', idempotent: true,
|
|
54
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The pass\'s key rows were removed.' }],
|
|
55
|
+
variants: { [ExternalDataPipelineMembershipKeyVariantKey.INTERNAL]: { purpose: 'Internal completed-pass cleanup only.' } } },
|
|
56
|
+
},
|
|
57
|
+
businessConstraints: [
|
|
58
|
+
'Written only by a run holding the pipeline\'s lease, after its segment and before its cursor is accepted.',
|
|
59
|
+
'Holds a remote record\'s serialized key and nothing else of the record.',
|
|
60
|
+
'Never read whole: looked up a page of keys at a time, or streamed a page at a time, through the infrastructure-tier raw scan.',
|
|
61
|
+
'Counted once, by the append that wrote them, against that run\'s segment only; removed a bounded batch per write.',
|
|
62
|
+
],
|
|
63
|
+
}), { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION });
|
|
64
|
+
//# sourceMappingURL=external-data-pipeline-membership-keys.resource.specification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-data-pipeline-membership-keys.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/infrastructure/resources/external-data-pipeline-membership-keys.resource.specification.ts"],"names":[],"mappings":"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","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport { CodeDeclarationKind, CodeSymbolKind } from '@wildo-ai/zod-decorators';\nimport {\n ExternalDataPipelineMembershipKeySchema,\n ExternalDataPipelineMembershipKeyVariantKey,\n externalDataPipelineMembershipKeyResourceConfiguration_InitializationFactory as membershipKeyFactory,\n} from '@wildo-ai/saas-backend-lib/external-data-models';\nimport { CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';\nimport { type AnyResourceSpecificationConfig, HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Framework-owned specification for the internal `externalDataPipelineMembershipKeys` resource (#1742) — one row per\n * source key an external-data pass observed, so the orphan walk can test a page of destination rows against the pass\n * without holding the population in memory.\n *\n * Registry-key and type-annotation notes: identical situation to `dataSeedRuns` — see that spec's header.\n */\nexport const externalDataPipelineMembershipKeysResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n membershipKeyFactory, ExternalDataPipelineMembershipKeySchema, ({ schemaShape }) => ({\n purpose: 'Remember each source identity an extraction pass observed, one row per key, so the run that completes the pass can tell a record that disappeared from one an earlier run read.',\n businessRole: 'The population half of the pass membership journal, looked up a page of keys at a time instead of read whole.',\n lifecycleRole: 'Written by a run after its segment and before its cursor is accepted; counts only while its segment is reachable from the accepted checkpoint; removed with the pass.',\n audience: LabelAudience.DEVELOPER, subDomain: EngineResourceSubDomain.INFRASTRUCTURE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',\n exportName: 'ExternalDataPipelineMembershipKeySchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',\n exportName: 'externalDataPipelineMembershipKeyResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-backend-lib', exportName: 'BackendResourceType',\n symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'EXTERNAL_DATA_PIPELINE_MEMBERSHIP_KEYS' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of the key row, assigned by the store.' }),\n pipelineResourceType: schemaShape.pipelineResourceType.stringSpec({ meaning: 'The destination resource whose pipeline observed the key.' }),\n passId: schemaShape.passId.stringSpec({ meaning: 'The extraction pass the key belongs to.' }),\n segmentId: schemaShape.segmentId.stringSpec({\n meaning: 'The segment — one run\\'s contribution — that recorded the key.',\n whyItMatters: 'A key counts only while its segment is reachable from the accepted checkpoint, so a failed run\\'s keys are never read as present.',\n }),\n businessKeySerialization: schemaShape.businessKeySerialization.stringSpec({\n meaning: 'The source record\\'s business key, serialized exactly as the orphan walk serializes a destination row\\'s.',\n whyItMatters: 'It is what the orphan walk looks up, a page of destination rows at a time; bounded so its index can hold it.',\n semanticRole: 'identifier',\n }),\n },\n operations: {\n [Op.CREATE]: { purpose: 'Record one observed key.', outcome: 'The key belongs to its segment.', idempotent: false,\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The key row was stored.' }],\n variants: { [ExternalDataPipelineMembershipKeyVariantKey.INTERNAL]: { purpose: 'Internal pipeline journal append only.' } } },\n [Op.CREATE_MANY]: { purpose: 'Record a page of a run\\'s observed keys in one statement.', outcome: 'The keys belong to their segment.', idempotent: false,\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The key rows were stored.' }],\n variants: { [ExternalDataPipelineMembershipKeyVariantKey.INTERNAL]: { purpose: 'Internal pipeline journal append only.' } } },\n [Op.LIST]: { purpose: 'Declared for internal inspection. The pipeline itself reads key rows below the operation tier — a bounded raw scan to look up a page of keys or stream the chain\\'s keys a page at a time, and a raw count of the keys one append wrote.', outcome: 'The matching key rows are returned.', idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The matching key rows are returned.' }],\n variants: { [ExternalDataPipelineMembershipKeyVariantKey.INTERNAL]: { purpose: 'Internal orphan walk and suppression release only.' } } },\n [Op.DELETE_MANY]: { purpose: 'Remove a pass\\'s key rows with the pass.', outcome: 'Completed observations are reclaimed without changing destination data.', idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The pass\\'s key rows were removed.' }],\n variants: { [ExternalDataPipelineMembershipKeyVariantKey.INTERNAL]: { purpose: 'Internal completed-pass cleanup only.' } } },\n },\n businessConstraints: [\n 'Written only by a run holding the pipeline\\'s lease, after its segment and before its cursor is accepted.',\n 'Holds a remote record\\'s serialized key and nothing else of the record.',\n 'Never read whole: looked up a page of keys at a time, or streamed a page at a time, through the infrastructure-tier raw scan.',\n 'Counted once, by the append that wrote them, against that run\\'s segment only; removed a bounded batch per write.',\n ],\n }), { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { type AnyResourceSpecificationConfig } from '../../../_core';
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Internal accepted-chain source membership — the SEGMENTS (#1742): one per run, naming how many keys it recorded; the
|
|
4
|
+
* keys themselves are `externalDataPipelineMembershipKeys` rows. No frontend surface or external operation.
|
|
5
|
+
*/
|
|
3
6
|
export declare const externalDataPipelineMembershipResourceSpecification: AnyResourceSpecificationConfig;
|
|
4
7
|
//# sourceMappingURL=external-data-pipeline-membership.resource.specification.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-data-pipeline-membership.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAGjI
|
|
1
|
+
{"version":3,"file":"external-data-pipeline-membership.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAGjI;;;GAGG;AACH,eAAO,MAAM,mDAAmD,EAAE,8BA0CjE,CAAC"}
|
|
@@ -4,11 +4,14 @@ import { ExternalDataPipelineMembershipSchema, ExternalDataPipelineMembershipVar
|
|
|
4
4
|
import { CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';
|
|
5
5
|
import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
|
|
6
6
|
import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Internal accepted-chain source membership — the SEGMENTS (#1742): one per run, naming how many keys it recorded; the
|
|
9
|
+
* keys themselves are `externalDataPipelineMembershipKeys` rows. No frontend surface or external operation.
|
|
10
|
+
*/
|
|
8
11
|
export const externalDataPipelineMembershipResourceSpecification = resourceSpecification(membershipFactory, ExternalDataPipelineMembershipSchema, ({ schemaShape }) => ({
|
|
9
|
-
purpose: '
|
|
10
|
-
businessRole: 'Immutable source-observation journal, separate from destination load outcomes.',
|
|
11
|
-
lifecycleRole: 'Written before cursor
|
|
12
|
+
purpose: 'Chain the runs of one extraction pass, so the run that completes it knows which runs\' observed keys belong to the pass and valid records are not mistaken for orphans.',
|
|
13
|
+
businessRole: 'Immutable source-observation journal, separate from destination load outcomes. Each segment is one run\'s contribution; its keys are stored one row each.',
|
|
14
|
+
lifecycleRole: 'Written by a run before its cursor is accepted, before that run\'s key rows; authoritative only when reachable from the accepted checkpoint; removed with its key rows after the pass completes.',
|
|
12
15
|
audience: LabelAudience.DEVELOPER, subDomain: EngineResourceSubDomain.INFRASTRUCTURE,
|
|
13
16
|
codeHandling: {
|
|
14
17
|
mainSchema: { packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',
|
|
@@ -21,28 +24,29 @@ export const externalDataPipelineMembershipResourceSpecification = resourceSpeci
|
|
|
21
24
|
symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },
|
|
22
25
|
},
|
|
23
26
|
fields: {
|
|
24
|
-
_id: schemaShape._id.stringSpec({ meaning: 'Identity of this immutable
|
|
25
|
-
pipelineResourceType: schemaShape.pipelineResourceType.stringSpec({ meaning: 'Pipeline whose source observations this
|
|
27
|
+
_id: schemaShape._id.stringSpec({ meaning: 'Identity of this immutable segment; its key rows carry it.' }),
|
|
28
|
+
pipelineResourceType: schemaShape.pipelineResourceType.stringSpec({ meaning: 'Pipeline whose source observations this segment records.' }),
|
|
26
29
|
passId: schemaShape.passId.stringSpec({ meaning: 'Unique extraction pass to which these observations belong.' }),
|
|
27
|
-
previousChunkId: schemaShape.previousChunkId.stringSpec({ meaning: '
|
|
28
|
-
|
|
29
|
-
meaning: '
|
|
30
|
-
|
|
30
|
+
previousChunkId: schemaShape.previousChunkId.stringSpec({ meaning: 'The previous segment of the pass; empty for the first.' }),
|
|
31
|
+
keyCount: schemaShape.keyCount.numberSpec({
|
|
32
|
+
meaning: 'How many source identities this segment recorded, each as its own key row, including identifiable rejected rows.',
|
|
33
|
+
whyItMatters: 'The run that writes a segment counts its key rows against it before the checkpoint may name it, so an accepted segment is never short of keys.',
|
|
31
34
|
}),
|
|
32
35
|
hasUnidentifiedRows: schemaShape.hasUnidentifiedRows.booleanSpec({ meaning: 'True if an observed source row could not be identified; prevents all orphan inference for this pass.' }),
|
|
33
36
|
},
|
|
34
37
|
operations: {
|
|
35
|
-
[Op.CREATE]: { purpose: '
|
|
36
|
-
responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The
|
|
38
|
+
[Op.CREATE]: { purpose: 'Record one run\'s contribution to the pass.', outcome: 'A segment exists; it is not authoritative until checkpoint acceptance.', idempotent: false,
|
|
39
|
+
responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The segment was stored.' }],
|
|
37
40
|
variants: { [ExternalDataPipelineMembershipVariantKey.INTERNAL]: { purpose: 'Internal pipeline journal append only.' } } },
|
|
38
|
-
[Op.READ]: { purpose: 'Follow an accepted checkpoint chain.', outcome: 'One
|
|
39
|
-
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The
|
|
41
|
+
[Op.READ]: { purpose: 'Follow an accepted checkpoint chain.', outcome: 'One segment is returned for pass and pipeline validation — never its keys.', idempotent: true,
|
|
42
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The segment was found.' }],
|
|
40
43
|
variants: { [ExternalDataPipelineMembershipVariantKey.INTERNAL]: { purpose: 'Internal journal traversal only.' } } },
|
|
41
44
|
[Op.DELETE_MANY]: { purpose: 'Remove journal records after a completed pass.', outcome: 'Completed observations are reclaimed without changing destination data.', idempotent: true,
|
|
42
|
-
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The matching completed-pass
|
|
45
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The matching completed-pass segments were removed.' }],
|
|
43
46
|
variants: { [ExternalDataPipelineMembershipVariantKey.INTERNAL]: { purpose: 'Internal completed-pass cleanup only.' } } },
|
|
44
47
|
},
|
|
45
|
-
businessConstraints: ['Only the accepted checkpoint chain establishes source membership; speculative
|
|
48
|
+
businessConstraints: ['Only the accepted checkpoint chain establishes source membership; speculative segments never establish absence.',
|
|
49
|
+
'A segment written before its keys were stored one row each is refused, and the reset door\'s restart-pass clears it.',
|
|
46
50
|
'An unknown source identity prevents REPORT, DELETE and DEPRECATE inference for the entire pass.'],
|
|
47
51
|
}), { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION });
|
|
48
52
|
//# sourceMappingURL=external-data-pipeline-membership.resource.specification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-data-pipeline-membership.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EACL,mBAAmB,EACnB,cAAc,GACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,oCAAoC,EACpC,wCAAwC,EACxC,yEAAyE,IAAI,iBAAiB,GAC/F,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,qBAAqB,IAAI,EAAE,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC1F,OAAO,EAAuC,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACjI,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E
|
|
1
|
+
{"version":3,"file":"external-data-pipeline-membership.resource.specification.js","sourceRoot":"","sources":["../../../../../../src/engine/infrastructure/resources/external-data-pipeline-membership.resource.specification.ts"],"names":[],"mappings":"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","sourcesContent":["import { LabelAudience } from '@wildo-ai/presets-components-models';\nimport {\n CodeDeclarationKind,\n CodeSymbolKind,\n} from '@wildo-ai/zod-decorators';\nimport {\n ExternalDataPipelineMembershipSchema,\n ExternalDataPipelineMembershipVariantKey,\n externalDataPipelineMembershipResourceConfiguration_InitializationFactory as membershipFactory,\n} from '@wildo-ai/saas-backend-lib/external-data-models';\nimport { CoreResourceOperation as Op, ResourcePrimaryScope } from '@wildo-ai/saas-models';\nimport { type AnyResourceSpecificationConfig, HttpResponseStatusCode, resourceSpecification } from '~wildo-specifications/_core';\nimport { EngineResourceSubDomain } from '../../engine-resource-sub-domain';\n\n/**\n * Internal accepted-chain source membership — the SEGMENTS (#1742): one per run, naming how many keys it recorded; the\n * keys themselves are `externalDataPipelineMembershipKeys` rows. No frontend surface or external operation.\n */\nexport const externalDataPipelineMembershipResourceSpecification: AnyResourceSpecificationConfig = resourceSpecification(\n membershipFactory, ExternalDataPipelineMembershipSchema, ({ schemaShape }) => ({\n purpose: 'Chain the runs of one extraction pass, so the run that completes it knows which runs\\' observed keys belong to the pass and valid records are not mistaken for orphans.',\n businessRole: 'Immutable source-observation journal, separate from destination load outcomes. Each segment is one run\\'s contribution; its keys are stored one row each.',\n lifecycleRole: 'Written by a run before its cursor is accepted, before that run\\'s key rows; authoritative only when reachable from the accepted checkpoint; removed with its key rows after the pass completes.',\n audience: LabelAudience.DEVELOPER, subDomain: EngineResourceSubDomain.INFRASTRUCTURE,\n codeHandling: {\n mainSchema: { packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',\n exportName: 'ExternalDataPipelineMembershipSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA },\n resourceFactory: { packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',\n exportName: 'externalDataPipelineMembershipResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION },\n resourceType: { enumDeclaration: { packageName: '@wildo-ai/saas-backend-lib', exportName: 'BackendResourceType',\n symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM }, memberName: 'EXTERNAL_DATA_PIPELINE_MEMBERSHIP' },\n operationVocabulary: { coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation',\n symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM } },\n },\n fields: {\n _id: schemaShape._id.stringSpec({ meaning: 'Identity of this immutable segment; its key rows carry it.' }),\n pipelineResourceType: schemaShape.pipelineResourceType.stringSpec({ meaning: 'Pipeline whose source observations this segment records.' }),\n passId: schemaShape.passId.stringSpec({ meaning: 'Unique extraction pass to which these observations belong.' }),\n previousChunkId: schemaShape.previousChunkId.stringSpec({ meaning: 'The previous segment of the pass; empty for the first.' }),\n keyCount: schemaShape.keyCount.numberSpec({\n meaning: 'How many source identities this segment recorded, each as its own key row, including identifiable rejected rows.',\n whyItMatters: 'The run that writes a segment counts its key rows against it before the checkpoint may name it, so an accepted segment is never short of keys.',\n }),\n hasUnidentifiedRows: schemaShape.hasUnidentifiedRows.booleanSpec({ meaning: 'True if an observed source row could not be identified; prevents all orphan inference for this pass.' }),\n },\n operations: {\n [Op.CREATE]: { purpose: 'Record one run\\'s contribution to the pass.', outcome: 'A segment exists; it is not authoritative until checkpoint acceptance.', idempotent: false,\n responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The segment was stored.' }],\n variants: { [ExternalDataPipelineMembershipVariantKey.INTERNAL]: { purpose: 'Internal pipeline journal append only.' } } },\n [Op.READ]: { purpose: 'Follow an accepted checkpoint chain.', outcome: 'One segment is returned for pass and pipeline validation — never its keys.', idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The segment was found.' }],\n variants: { [ExternalDataPipelineMembershipVariantKey.INTERNAL]: { purpose: 'Internal journal traversal only.' } } },\n [Op.DELETE_MANY]: { purpose: 'Remove journal records after a completed pass.', outcome: 'Completed observations are reclaimed without changing destination data.', idempotent: true,\n responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The matching completed-pass segments were removed.' }],\n variants: { [ExternalDataPipelineMembershipVariantKey.INTERNAL]: { purpose: 'Internal completed-pass cleanup only.' } } },\n },\n businessConstraints: ['Only the accepted checkpoint chain establishes source membership; speculative segments never establish absence.',\n 'A segment written before its keys were stored one row each is refused, and the reset door\\'s restart-pass clears it.',\n 'An unknown source identity prevents REPORT, DELETE and DEPRECATE inference for the entire pass.'],\n }), { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION },\n);\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type AnyResourceSpecificationConfig } from '../../../_core';
|
|
2
|
+
/**
|
|
3
|
+
* Framework-owned specification for the internal `externalDataPipelineRunRecords` resource (#1740) — one row per
|
|
4
|
+
* external-data pipeline run, the history the single overwritten run summary on the pipeline's state row could not be.
|
|
5
|
+
*
|
|
6
|
+
* Registry-key and type-annotation notes: identical situation to `dataSeedRuns` — see that spec's header.
|
|
7
|
+
*/
|
|
8
|
+
export declare const externalDataPipelineRunRecordsResourceSpecification: AnyResourceSpecificationConfig;
|
|
9
|
+
//# sourceMappingURL=external-data-pipeline-run-records.resource.specification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-data-pipeline-run-records.resource.specification.d.ts","sourceRoot":"","sources":["../../../../../../src/engine/infrastructure/resources/external-data-pipeline-run-records.resource.specification.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,KAAK,8BAA8B,EAAiD,MAAM,6BAA6B,CAAC;AAOjI;;;;;GAKG;AACH,eAAO,MAAM,mDAAmD,EAAE,8BA8LjE,CAAC"}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { LabelAudience } from '@wildo-ai/presets-components-models';
|
|
2
|
+
import { CodeDeclarationKind, CodeSymbolKind, FieldSemanticImportance } from '@wildo-ai/zod-decorators';
|
|
3
|
+
import { ExternalDataPipelineRunFailureKind, ExternalDataPipelineRunRecordOutcome, ExternalDataSourceUnreachableCause, } from '@wildo-ai/saas-backend-lib';
|
|
4
|
+
import { ExternalDataPipelineRunRecordSchema, ExternalDataPipelineRunRecordVariantKey, externalDataPipelineRunRecordResourceConfiguration_InitializationFactory as runRecordFactory, } from '@wildo-ai/saas-backend-lib/external-data-models';
|
|
5
|
+
import { CoreResourceOperation as Op, ExternalDataPipelinePassMode, ResourcePrimaryScope } from '@wildo-ai/saas-models';
|
|
6
|
+
import { HttpResponseStatusCode, resourceSpecification } from '../../../_core/index.js';
|
|
7
|
+
import { EngineResourceSubDomain } from '../../engine-resource-sub-domain.js';
|
|
8
|
+
const backendEnum = (exportName) => ({
|
|
9
|
+
packageName: '@wildo-ai/saas-backend-lib', exportName, symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
10
|
+
});
|
|
11
|
+
/**
|
|
12
|
+
* Framework-owned specification for the internal `externalDataPipelineRunRecords` resource (#1740) — one row per
|
|
13
|
+
* external-data pipeline run, the history the single overwritten run summary on the pipeline's state row could not be.
|
|
14
|
+
*
|
|
15
|
+
* Registry-key and type-annotation notes: identical situation to `dataSeedRuns` — see that spec's header.
|
|
16
|
+
*/
|
|
17
|
+
export const externalDataPipelineRunRecordsResourceSpecification = resourceSpecification(runRecordFactory, ExternalDataPipelineRunRecordSchema, ({ schemaShape }) => ({
|
|
18
|
+
purpose: 'Keep one row per run of an external-data pipeline — when it started, what started it, how long it took, what it read, rejected and loaded, and how it ended — so an operator can see a pipeline\'s history rather than only its last run.',
|
|
19
|
+
businessRole: 'Answers the questions a synced copy of someone else\'s data raises first: is it current, since when has it been failing, and which source records did it refuse and why.',
|
|
20
|
+
lifecycleRole: 'Written once by every pipeline run that produced a report or failed — including one refused before it could start, for want of an owner organization; never updated; read by the external-data admin listing and the history route; deleted by the retention-class sweep once the application\'s operational-logs period has passed.',
|
|
21
|
+
audience: LabelAudience.DEVELOPER,
|
|
22
|
+
subDomain: EngineResourceSubDomain.INFRASTRUCTURE,
|
|
23
|
+
codeHandling: {
|
|
24
|
+
mainSchema: {
|
|
25
|
+
packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',
|
|
26
|
+
exportName: 'ExternalDataPipelineRunRecordSchema', symbolKind: CodeSymbolKind.SCHEMA, declarationKind: CodeDeclarationKind.ZOD_SCHEMA,
|
|
27
|
+
},
|
|
28
|
+
resourceFactory: {
|
|
29
|
+
packageName: '@wildo-ai/saas-backend-lib', importPath: '@wildo-ai/saas-backend-lib/external-data-models',
|
|
30
|
+
exportName: 'externalDataPipelineRunRecordResourceConfiguration_InitializationFactory', symbolKind: CodeSymbolKind.FACTORY, declarationKind: CodeDeclarationKind.FUNCTION,
|
|
31
|
+
},
|
|
32
|
+
resourceType: {
|
|
33
|
+
enumDeclaration: { packageName: '@wildo-ai/saas-backend-lib', exportName: 'BackendResourceType',
|
|
34
|
+
symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },
|
|
35
|
+
memberName: 'EXTERNAL_DATA_PIPELINE_RUN_RECORDS',
|
|
36
|
+
},
|
|
37
|
+
operationVocabulary: {
|
|
38
|
+
coreEnum: { packageName: '@wildo-ai/saas-models', exportName: 'CoreResourceOperation',
|
|
39
|
+
symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
fields: {
|
|
43
|
+
_id: schemaShape._id.stringSpec({ meaning: 'Identity of the run row, assigned by the store.' }),
|
|
44
|
+
pipelineResourceType: schemaShape.pipelineResourceType.stringSpec({
|
|
45
|
+
meaning: 'The destination resource whose pipeline ran.',
|
|
46
|
+
whyItMatters: 'Every history read filters by it; it is how one pipeline\'s runs are told apart from another\'s.',
|
|
47
|
+
semanticRole: 'identifier',
|
|
48
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
49
|
+
}),
|
|
50
|
+
systemOfRecord: schemaShape.systemOfRecord.stringSpec({ meaning: 'The system-of-record instance the pipeline reads from — or, for an OUTBOUND pipeline, sends to.' }),
|
|
51
|
+
triggerOrigin: schemaShape.triggerOrigin.enumSpec({
|
|
52
|
+
meaning: 'What started the run: the pipeline\'s own schedule, or an administrator asking for a run.',
|
|
53
|
+
enumDeclaration: backendEnum('DataSeedTriggerOrigin'),
|
|
54
|
+
}),
|
|
55
|
+
passMode: schemaShape.passMode.enumSpec({
|
|
56
|
+
meaning: 'Which track the run advanced: a full read of the source, a read of what changed since the last run, or — for an OUTBOUND pipeline — a send of the local changes owed to the system of record.',
|
|
57
|
+
whyItMatters: 'Only a full pass can notice that a source record disappeared, so the last completed full pass is how fresh deletion detection is.',
|
|
58
|
+
enumDeclaration: { packageName: '@wildo-ai/saas-models', exportName: 'ExternalDataPipelinePassMode', symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM },
|
|
59
|
+
values: {
|
|
60
|
+
[ExternalDataPipelinePassMode.FULL]: { meaning: 'The run advanced a full pass over the source.' },
|
|
61
|
+
[ExternalDataPipelinePassMode.INCREMENTAL]: { meaning: 'The run read only what changed since the incremental track\'s watermark.' },
|
|
62
|
+
[ExternalDataPipelinePassMode.SEND]: { meaning: 'An OUTBOUND pipeline\'s run: it sent the destination\'s changed rows to the system of record and read nothing from it.' },
|
|
63
|
+
},
|
|
64
|
+
}),
|
|
65
|
+
outcome: schemaShape.outcome.enumSpec({
|
|
66
|
+
meaning: 'How the run ended.',
|
|
67
|
+
whyItMatters: 'It is the first thing an operator filters on, and a run of failures in a row is what says a pipeline is stuck.',
|
|
68
|
+
enumDeclaration: backendEnum('ExternalDataPipelineRunRecordOutcome'),
|
|
69
|
+
values: {
|
|
70
|
+
[ExternalDataPipelineRunRecordOutcome.COMPLETED_PASS]: { meaning: 'The run completed its pass and its load completed.' },
|
|
71
|
+
[ExternalDataPipelineRunRecordOutcome.PARTIAL_PASS]: { meaning: 'The run stopped part-way through its pass, or its load did not complete; the next run continues where it stopped.' },
|
|
72
|
+
[ExternalDataPipelineRunRecordOutcome.FAILED]: { meaning: 'The run stopped with an error and produced no report; the failure kind says why.' },
|
|
73
|
+
},
|
|
74
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
75
|
+
}),
|
|
76
|
+
passId: schemaShape.passId.stringSpec({ meaning: 'The full pass this run advanced. Empty for an incremental run and for a run that failed before reaching its pass.' }),
|
|
77
|
+
reconciliationStatus: schemaShape.reconciliationStatus.enumSpec({
|
|
78
|
+
meaning: 'Whether the run reconciled which source records had disappeared. Empty for a failed run.',
|
|
79
|
+
enumDeclaration: backendEnum('ExternalDataPipelineReconciliationStatus'),
|
|
80
|
+
}),
|
|
81
|
+
loadStatus: schemaShape.loadStatus.enumSpec({
|
|
82
|
+
meaning: 'How the run\'s load into the local copy ended. Empty for a failed run and for a run that loaded nothing.',
|
|
83
|
+
enumDeclaration: backendEnum('DataSeedRunStatus'),
|
|
84
|
+
}),
|
|
85
|
+
seedRunId: schemaShape.seedRunId.stringSpec({ meaning: 'The seeding ledger row of the run\'s load, which carries its per-row outcomes. Empty when the load did not run.', semanticRole: 'identifier' }),
|
|
86
|
+
startedAt: schemaShape.startedAt.dateSpec({ meaning: 'When the run started.', importance: FieldSemanticImportance.PRIMARY }),
|
|
87
|
+
durationMs: schemaShape.durationMs.numberSpec({ meaning: 'How long the run took, in milliseconds.', whyItMatters: 'A pass that grows slower run after run is the early sign of a source outgrowing its pacing.' }),
|
|
88
|
+
extractedRows: schemaShape.extractedRows.numberSpec({ meaning: 'How many source rows the run read.' }),
|
|
89
|
+
rejectedRows: schemaShape.rejectedRows.numberSpec({
|
|
90
|
+
meaning: 'How many source rows the run refused to load. Exact, even when the stored list of rejections is cut short.',
|
|
91
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
92
|
+
}),
|
|
93
|
+
submittedEntries: schemaShape.submittedEntries.numberSpec({ meaning: 'How many rows the run handed to its load.' }),
|
|
94
|
+
suppressedRows: schemaShape.suppressedRows.numberSpec({ meaning: 'How many source rows the run skipped because they belong to an erased data subject.' }),
|
|
95
|
+
pendingReferences: schemaShape.pendingReferences.numberSpec({ meaning: 'How many references to other records were still waiting for their target when the run ended.' }),
|
|
96
|
+
fullPassRestart: schemaShape.fullPassRestart.enumSpec({
|
|
97
|
+
meaning: 'Why the run abandoned a full pass in flight and started a new one. Empty when it did not.',
|
|
98
|
+
enumDeclaration: backendEnum('ExternalDataFullPassRestartReason'),
|
|
99
|
+
}),
|
|
100
|
+
incrementalTrackReset: schemaShape.incrementalTrackReset.enumSpec({
|
|
101
|
+
meaning: 'Why the run started the incremental track over from no watermark. Empty when it did not. On a full-pass run it is set only when that run '
|
|
102
|
+
+ 'stood in for an incremental one whose position the source no longer honoured.',
|
|
103
|
+
enumDeclaration: backendEnum('ExternalDataIncrementalTrackResetReason'),
|
|
104
|
+
}),
|
|
105
|
+
incrementalMode: schemaShape.incrementalMode.enumSpec({
|
|
106
|
+
meaning: 'How an incremental run read what changed: by the source\'s modification stamp, or by its own change feed. Empty on a full-pass run.',
|
|
107
|
+
whyItMatters: 'Only the change feed reports deletions, so it is what says whether an incremental run could remove anything.',
|
|
108
|
+
enumDeclaration: {
|
|
109
|
+
packageName: '@wildo-ai/saas-models', importPath: '@wildo-ai/saas-models/external-data', exportName: 'ExternalDataIncrementalExtractionMode',
|
|
110
|
+
symbolKind: CodeSymbolKind.ENUM, declarationKind: CodeDeclarationKind.TYPESCRIPT_ENUM,
|
|
111
|
+
},
|
|
112
|
+
}),
|
|
113
|
+
removedRows: schemaShape.removedRows.numberSpec({
|
|
114
|
+
meaning: 'How many deletions the source reported that the run passed to the pipeline\'s orphan policy. A count of what the source said, not of '
|
|
115
|
+
+ 'the rows the policy changed; zero on every run that does not read a change feed.',
|
|
116
|
+
}),
|
|
117
|
+
failureKind: schemaShape.failureKind.enumSpec({
|
|
118
|
+
meaning: 'Why the run failed. Empty when it produced a report.',
|
|
119
|
+
whyItMatters: 'Each kind is acted on differently: an unreachable source is waited out, a missing owner organization is created, a lost lease resolves itself.',
|
|
120
|
+
enumDeclaration: backendEnum('ExternalDataPipelineRunFailureKind'),
|
|
121
|
+
values: {
|
|
122
|
+
[ExternalDataPipelineRunFailureKind.SOURCE_UNREACHABLE]: { meaning: 'The system of record could not be reached. Later runs back off until it answers again.' },
|
|
123
|
+
[ExternalDataPipelineRunFailureKind.OWNER_ORGANIZATION_ABSENT]: { meaning: 'The application has no owner organization yet, so nothing was loaded: every row would have been unreadable.' },
|
|
124
|
+
[ExternalDataPipelineRunFailureKind.OWNERSHIP_LOST]: { meaning: 'The run lost its hold on the pipeline part-way through; another run may continue.' },
|
|
125
|
+
[ExternalDataPipelineRunFailureKind.OTHER]: { meaning: 'Any other failure — a stored state the run refused, a source that broke its contract, a store error. The failure message carries the detail.' },
|
|
126
|
+
},
|
|
127
|
+
}),
|
|
128
|
+
unreachableCause: schemaShape.unreachableCause.enumSpec({
|
|
129
|
+
meaning: 'For an unreachable source: which kind of transport failure. Empty otherwise.',
|
|
130
|
+
enumDeclaration: backendEnum('ExternalDataSourceUnreachableCause'),
|
|
131
|
+
values: {
|
|
132
|
+
[ExternalDataSourceUnreachableCause.TIMEOUT]: { meaning: 'The source did not answer in time.' },
|
|
133
|
+
[ExternalDataSourceUnreachableCause.NETWORK]: { meaning: 'The connection to the source could not be made or was cut.' },
|
|
134
|
+
[ExternalDataSourceUnreachableCause.UNAVAILABLE_STATUS]: { meaning: 'The source answered that it is temporarily unavailable.' },
|
|
135
|
+
[ExternalDataSourceUnreachableCause.TOKEN_ENDPOINT_UNREACHABLE]: { meaning: 'The source\'s token endpoint could not be reached, so no request could be authorized.' },
|
|
136
|
+
},
|
|
137
|
+
}),
|
|
138
|
+
failureMessage: schemaShape.failureMessage.stringSpec({ meaning: 'The failure\'s message, with URL query strings removed and cut to a bounded length — the same line the log carries. Empty when the run produced a report.' }),
|
|
139
|
+
rejections: schemaShape.rejections.arraySpec({
|
|
140
|
+
meaning: 'The source rows the run refused, each with its remote key, its position among the rows the run extracted and what was wrong with it — up to a bounded number per run.',
|
|
141
|
+
elementMeaning: 'One refused source row: its remote key (empty when the row could not be identified), its position among the rows the run extracted, and the field and problem that made it unloadable — never a value the row carried.',
|
|
142
|
+
whyItMatters: 'It is what an operator needs to fix the data at the source.',
|
|
143
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
144
|
+
}),
|
|
145
|
+
outbound: schemaShape.outbound.objectSpec({
|
|
146
|
+
meaning: 'What an OUTBOUND run did with each change it read: created, updated, settled from an earlier send, kept for a later pass (and why), '
|
|
147
|
+
+ 'refused, of unknown outcome, waiting for an operator, or dropped. Every change read lands in exactly one count. Empty on an inbound run, '
|
|
148
|
+
+ 'and on an outbound run that failed before its pass produced a report.',
|
|
149
|
+
whyItMatters: 'A rising count of creates waiting for an operator is what says someone must look in the system of record: those rows are not '
|
|
150
|
+
+ 'sent again on their own, because a second create could duplicate the record.',
|
|
151
|
+
}),
|
|
152
|
+
conflicts: schemaShape.conflicts.objectSpec({
|
|
153
|
+
meaning: 'What a BIDIRECTIONAL run did with rows changed on both sides since they last agreed: how many it resolved for the system of '
|
|
154
|
+
+ 'record, how many for the application, and the rows it refused, by remote key and local row, with the fields that differ. Empty on '
|
|
155
|
+
+ 'every other pipeline, and on a run that failed before it produced a report.',
|
|
156
|
+
whyItMatters: 'A refused row waits for an operator to choose a side: neither side\'s shared fields move, and its local change is not sent, '
|
|
157
|
+
+ 'until someone does. It is listed again on every run that reads it.',
|
|
158
|
+
}),
|
|
159
|
+
rejectionsTruncated: schemaShape.rejectionsTruncated.booleanSpec({ meaning: 'True when the run refused more rows than are kept, so the stored list is shorter than the count.' }),
|
|
160
|
+
createdAt: schemaShape.createdAt.dateSpec({ meaning: 'When the row was written; the retention clock starts here.' }),
|
|
161
|
+
},
|
|
162
|
+
operations: {
|
|
163
|
+
[Op.CREATE]: {
|
|
164
|
+
purpose: 'Record how one pipeline run ended.',
|
|
165
|
+
outcome: 'The run joins the pipeline\'s history.',
|
|
166
|
+
importance: FieldSemanticImportance.PRIMARY,
|
|
167
|
+
responseStatuses: [{ code: HttpResponseStatusCode.CREATED_201, meaning: 'The run was recorded.' }],
|
|
168
|
+
idempotent: false,
|
|
169
|
+
variants: { [ExternalDataPipelineRunRecordVariantKey.INTERNAL]: { purpose: 'Let a pipeline run record itself.' } },
|
|
170
|
+
},
|
|
171
|
+
[Op.READ]: {
|
|
172
|
+
purpose: 'Read one run by its identity.',
|
|
173
|
+
outcome: 'The run is returned for internal inspection; operators read history through the external-data admin routes.',
|
|
174
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The run is returned.' }],
|
|
175
|
+
idempotent: true,
|
|
176
|
+
variants: { [ExternalDataPipelineRunRecordVariantKey.INTERNAL]: { purpose: 'Internal inspection only.' } },
|
|
177
|
+
},
|
|
178
|
+
[Op.LIST]: {
|
|
179
|
+
purpose: 'Read a pipeline\'s recent runs, newest first.',
|
|
180
|
+
outcome: 'The history route and the pipeline listing\'s health summary are built from them.',
|
|
181
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The runs are returned.' }],
|
|
182
|
+
idempotent: true,
|
|
183
|
+
variants: { [ExternalDataPipelineRunRecordVariantKey.INTERNAL]: { purpose: 'Internal history read only.' } },
|
|
184
|
+
},
|
|
185
|
+
[Op.DELETE_MANY]: {
|
|
186
|
+
purpose: 'SWEEP ONLY — dispose of run rows once the application\'s operational-logs period has passed. No client door.',
|
|
187
|
+
outcome: 'Expired runs are deleted by the retention-class sweep. INTERNAL_CALL, so it has no HTTP route.',
|
|
188
|
+
whenToUse: 'Never directly.',
|
|
189
|
+
responseStatuses: [{ code: HttpResponseStatusCode.OK_200, meaning: 'The expired runs were removed by the sweep. Not observable over HTTP.' }],
|
|
190
|
+
idempotent: true,
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
businessConstraints: [
|
|
194
|
+
'Written once per run and never updated: a row states how that run ended.',
|
|
195
|
+
'A run refused because the pipeline was already running leaves no row — it was not a run.',
|
|
196
|
+
'A rejection reason names the field and the problem — never a value the row carried — and quotes at most the row\'s own malformed key, which is its identity. The failure message is the failure\'s log line, with URL query strings removed; a vendor\'s error text in it is not controlled.',
|
|
197
|
+
'Kept for the application\'s declared operational-logs period and swept by the retention-class sweep.',
|
|
198
|
+
],
|
|
199
|
+
}), { resourcePrimaryScope: ResourcePrimaryScope.APPLICATION });
|
|
200
|
+
//# sourceMappingURL=external-data-pipeline-run-records.resource.specification.js.map
|