@wildo-ai/saas-models 1.1.6 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/__tests__/setup.d.ts.map +1 -1
- package/dist/esm/__tests__/setup.js.map +1 -1
- package/dist/esm/_inspect.d.ts.map +1 -1
- package/dist/esm/_inspect.js.map +1 -1
- package/dist/esm/applications/application-metadata.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/applications/application-metadata.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/application-subject.shared.schemas.d.ts.map +1 -1
- package/dist/esm/applications/application-subject.shared.schemas.js.map +1 -1
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/applications/application-versions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/applications-context.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications-context.schemas.js.map +1 -1
- package/dist/esm/applications/applications.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/applications/applications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/applications/applications.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-account.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/billing-account.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-account.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-configuration.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-configuration.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-types.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-types.shared.schemas.js.map +1 -1
- package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/credit-pool.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/credit-pool.shared.schemas.js.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.schemas.js.map +1 -1
- package/dist/esm/billing/price.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/price.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/price.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/price.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product-behavior-policy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product-definition.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.schemas.js.map +1 -1
- package/dist/esm/billing/promotions.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/promotions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/promotions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/promotions.shared.schemas.js.map +1 -1
- package/dist/esm/billing/public-pricing-catalog.shared.atoms.d.ts.map +1 -1
- package/dist/esm/billing/public-pricing-catalog.shared.atoms.js.map +1 -1
- package/dist/esm/billing/public-pricing-catalog.shared.d.ts.map +1 -1
- package/dist/esm/billing/public-pricing-catalog.shared.js.map +1 -1
- package/dist/esm/billing/referral-reward.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral-reward.shared.schemas.js.map +1 -1
- package/dist/esm/billing/referral.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/referral.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/referral.shared.schemas.js.map +1 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
- package/dist/esm/billing/usage-flush-evidence.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/usage-flush-evidence.shared.schemas.js.map +1 -1
- package/dist/esm/billing/usage-record.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/usage-record.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
- package/dist/esm/charts/aggregation-query.shared.schemas.d.ts.map +1 -1
- package/dist/esm/charts/aggregation-query.shared.schemas.js.map +1 -1
- package/dist/esm/charts/aggregation.shared.definitions.d.ts.map +1 -1
- package/dist/esm/charts/aggregation.shared.definitions.js.map +1 -1
- package/dist/esm/charts/chart-definition-builder.shared.d.ts.map +1 -1
- package/dist/esm/charts/chart-definition-builder.shared.js.map +1 -1
- package/dist/esm/companion/artifact-placement.shared.definitions.d.ts.map +1 -1
- package/dist/esm/companion/artifact-placement.shared.definitions.js.map +1 -1
- package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -1
- package/dist/esm/companion/provider-discovery.shared.schemas.js.map +1 -1
- package/dist/esm/companion/shared-library-companion.shared.definitions.d.ts.map +1 -1
- package/dist/esm/companion/shared-library-companion.shared.definitions.js.map +1 -1
- package/dist/esm/companion-exports.d.ts.map +1 -1
- package/dist/esm/companion-exports.js.map +1 -1
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-actor.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-export-projection.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-log-sink.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-logs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/audit-trail-config.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/auditable-events.shared.schema.js.map +1 -1
- package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.d.ts.map +1 -1
- package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
- package/dist/esm/compliance/data-classification/data-classification.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/data-classification/data-classification.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/documents/governed-document-interactions.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/documents/governed-documents.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/documents/user-governed-document-acceptances.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/ai-use-posture.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/capability-consent-purposes.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/client-storage.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/consent-gate-vocabulary.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/consent-purposes.shared.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/consent-purposes.shared.js.map +1 -1
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/data-subject-rights.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/legal-hold-subject-attribution.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/legal-holds.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/legal-holds.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/legal-holds.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/personal-data-category.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/personal-data-declaration.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/provider-capability-disclosure.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/purpose-ref.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/redaction.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/retention-binding.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/retention-binding.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/retention-enforcement-records.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/retention-enforcement-records.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/retention-schedule.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/retention-scope-deleted.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/sharing.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/sharing.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-data-recipients.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure-lane-evidence.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-erasure.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/subject-export-render.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-export-render.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/review-cadence.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/review-cadence.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/risk-posture.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/risk-posture.shared.schemas.js.map +1 -1
- package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/analytics-value-moments.shared.schemas.js.map +1 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
- package/dist/esm/config/app-frontend-type.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/app-frontend-type.shared.schemas.js.map +1 -1
- package/dist/esm/config/auth-config-resolution.shared.utils.d.ts.map +1 -1
- package/dist/esm/config/auth-config-resolution.shared.utils.js.map +1 -1
- package/dist/esm/config/brand-assets.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/brand-assets.shared.schemas.js.map +1 -1
- package/dist/esm/config/configuration-validation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/configuration-validation.shared.schemas.js.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +22 -22
- package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/chart-definition.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/chart-registration-alignment.shared.d.ts.map +1 -1
- package/dist/esm/config/frontend/chart-registration-alignment.shared.js.map +1 -1
- package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/navigation.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/onboarding.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/onboarding.shared.schemas.js.map +1 -1
- package/dist/esm/config/postgresql.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/postgresql.shared.schemas.js.map +1 -1
- package/dist/esm/config/registration-acquisition-policy.shared.utils.d.ts.map +1 -1
- package/dist/esm/config/registration-acquisition-policy.shared.utils.js.map +1 -1
- package/dist/esm/config-authoring.entry.d.ts.map +1 -1
- package/dist/esm/config-authoring.entry.js.map +1 -1
- package/dist/esm/crdt/crdt-merge.shared.utils.d.ts.map +1 -1
- package/dist/esm/crdt/crdt-merge.shared.utils.js.map +1 -1
- package/dist/esm/data-seeding/data-seeding-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/data-seeding/data-seeding-config.shared.schemas.js.map +1 -1
- package/dist/esm/errors/caught-error-description.shared.utils.d.ts.map +1 -1
- package/dist/esm/errors/caught-error-description.shared.utils.js.map +1 -1
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts.map +1 -1
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
- package/dist/esm/errors/errors.shared.definitions.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.definitions.js.map +1 -1
- package/dist/esm/errors/errors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.schemas.js.map +1 -1
- package/dist/esm/errors/errors.shared.utils.d.ts.map +1 -1
- package/dist/esm/errors/errors.shared.utils.js.map +1 -1
- package/dist/esm/errors/resource-access-forbidden.shared.error.d.ts.map +1 -1
- package/dist/esm/errors/resource-access-forbidden.shared.error.js.map +1 -1
- package/dist/esm/errors/thrown-value-description.shared.utils.d.ts.map +1 -1
- package/dist/esm/errors/thrown-value-description.shared.utils.js.map +1 -1
- package/dist/esm/errors/zod-issue-formatting.shared.utils.d.ts.map +1 -1
- package/dist/esm/errors/zod-issue-formatting.shared.utils.js.map +1 -1
- package/dist/esm/exports/tabular-csv.shared.utils.d.ts.map +1 -1
- package/dist/esm/exports/tabular-csv.shared.utils.js.map +1 -1
- package/dist/esm/external-data/external-data-pipeline-description.shared.d.ts.map +1 -1
- package/dist/esm/external-data/external-data-pipeline-description.shared.js.map +1 -1
- package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.d.ts.map +1 -1
- package/dist/esm/external-data/external-data-pipeline-pass-mode.shared.js.map +1 -1
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.js.map +1 -1
- package/dist/esm/external-data/external-data-provenance.shared.d.ts.map +1 -1
- package/dist/esm/external-data/external-data-provenance.shared.js.map +1 -1
- package/dist/esm/external-data.exports.d.ts.map +1 -1
- package/dist/esm/external-data.exports.js.map +1 -1
- package/dist/esm/external-providers/compose-provider-registry.shared.d.ts.map +1 -1
- package/dist/esm/external-providers/compose-provider-registry.shared.js.map +1 -1
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.d.ts.map +1 -1
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -1
- package/dist/esm/external-providers/engine-capability-surface.shared.d.ts.map +1 -1
- package/dist/esm/external-providers/engine-capability-surface.shared.js.map +1 -1
- package/dist/esm/external-providers/external-providers.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/external-providers.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js.map +1 -1
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/frontend-provider-public-config.shared.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-provider-public-config.shared.js.map +1 -1
- package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/model-cost-accounting-config.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-address-lookup-contract.shared.types.js.map +1 -1
- package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-augmentation-opt-ins.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-authentication-assurance.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-browser-operations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-browser-operations.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-capability.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-frontend-component-contract.shared.types.js.map +1 -1
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-package-allow-list.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-protocol.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-scope-reauthorization.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-shared-connections.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-shared-connections.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-tier-rule.shared.utils.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-tier-rule.shared.utils.js.map +1 -1
- package/dist/esm/external-providers/provider-usage-cost.shared.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-usage-cost.shared.js.map +1 -1
- package/dist/esm/external-providers/provider-usage-pricing.example.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-usage-pricing.example.js.map +1 -1
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-usage-pricing.shared.schemas.js.map +1 -1
- package/dist/esm/features/application-features.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/features/application-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/features/connected-feature.example.d.ts.map +1 -1
- package/dist/esm/features/connected-feature.example.js.map +1 -1
- package/dist/esm/features/core-feature-definitions.shared.d.ts.map +1 -1
- package/dist/esm/features/core-feature-definitions.shared.js.map +1 -1
- package/dist/esm/features/feature-builders.shared.d.ts.map +1 -1
- package/dist/esm/features/feature-builders.shared.js.map +1 -1
- package/dist/esm/features/feature-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/feature-definition.shared.schemas.js.map +1 -1
- package/dist/esm/features/feature-registry.shared.d.ts.map +1 -1
- package/dist/esm/features/feature-registry.shared.js.map +1 -1
- package/dist/esm/features/feature-resolution.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/feature-resolution.shared.schemas.js.map +1 -1
- package/dist/esm/features/scope-features.shared.schemas.d.ts.map +1 -1
- package/dist/esm/features/scope-features.shared.schemas.js.map +1 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/files/file-remote-reference-link.shared.schemas.d.ts.map +1 -1
- package/dist/esm/files/file-remote-reference-link.shared.schemas.js.map +1 -1
- package/dist/esm/files/file-upload-grant.shared.schemas.d.ts.map +1 -1
- package/dist/esm/files/file-upload-grant.shared.schemas.js.map +1 -1
- package/dist/esm/files/files.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/files/files.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/files/files.shared.schemas.d.ts.map +1 -1
- package/dist/esm/files/files.shared.schemas.js.map +1 -1
- package/dist/esm/files/files.shared.utils.d.ts.map +1 -1
- package/dist/esm/files/files.shared.utils.js.map +1 -1
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/actors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agent-traceability.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agent-work-decisions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agent-work-decisions.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/agents.shared.schemas.d.ts +2 -2
- package/dist/esm/flows-actors/agents.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/agents.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/autonomous-agents.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/autonomous-agents.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.d.ts.map +1 -1
- package/dist/esm/flows-actors/execution-plan-readiness.shared.utils.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors-execution.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors-task.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors-task.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors-task.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.configuration.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.frontend.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.io.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.io.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.system.shared.definitions.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.system.shared.definitions.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows-actors.system.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/flows.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/human-decision.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/human-decision.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/model-call-attributions.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/model-call-attributions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/model-call-attributions.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/model-cost-period-aggregates.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/model-cost-period-aggregates.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/model-cost-summary.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/model-cost-summary.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/prompt-ir.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/prompt-ir.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/provider-call-records.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/flows-actors/provider-call-records.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/provider-call-records.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/review-deadlines.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/review-deadlines.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/tasks.actors.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/work-attribution.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/work-attribution.shared.schemas.js.map +1 -1
- package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.d.ts.map +1 -1
- package/dist/esm/frontend-definitions/frontend-notification-custom-message-ref.definitions.js.map +1 -1
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.d.ts.map +1 -1
- package/dist/esm/frontend-definitions/settings-destination-ref.definitions.js.map +1 -1
- package/dist/esm/guidance/guidance-flow.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-flow.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.utils.d.ts.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.utils.js.map +1 -1
- package/dist/esm/guidance/lifecycle-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/lifecycle-config.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/milestone-builders.shared.d.ts.map +1 -1
- package/dist/esm/guidance/milestone-builders.shared.js.map +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/milestone-definition.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/progression-presentation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-presentation.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.d.ts.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding-id.shared.utils.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-erasure-stance.shared.d.ts.map +1 -1
- package/dist/esm/http-api-binding/http-api-erasure-stance.shared.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/http-api-binding/http-api-rest-write-operations.shared.schemas.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-transport-dialect.shared.d.ts.map +1 -1
- package/dist/esm/http-api-binding/http-api-transport-dialect.shared.js.map +1 -1
- package/dist/esm/http-api-binding/read-through-engine-anchors.shared.d.ts.map +1 -1
- package/dist/esm/http-api-binding/read-through-engine-anchors.shared.js.map +1 -1
- package/dist/esm/i18n/application-config-vocabulary.shared.d.ts.map +1 -1
- package/dist/esm/i18n/application-config-vocabulary.shared.js.map +1 -1
- package/dist/esm/i18n/engine-open-vocabulary-values.shared.d.ts.map +1 -1
- package/dist/esm/i18n/engine-open-vocabulary-values.shared.js.map +1 -1
- package/dist/esm/i18n/engine-open-vocabulary.shared.d.ts.map +1 -1
- package/dist/esm/i18n/engine-open-vocabulary.shared.js.map +1 -1
- package/dist/esm/i18n/interpolate-label-params.shared.utils.d.ts.map +1 -1
- package/dist/esm/i18n/interpolate-label-params.shared.utils.js.map +1 -1
- package/dist/esm/i18n/labelling.dto.shared.schemas.d.ts.map +1 -1
- package/dist/esm/i18n/labelling.dto.shared.schemas.js.map +1 -1
- package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/inbound/conversation-threads.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/inbound/conversation-threads.shared.schemas.d.ts.map +1 -1
- package/dist/esm/inbound/conversation-threads.shared.schemas.js.map +1 -1
- package/dist/esm/inbound/inbound-channels.shared.schemas.d.ts.map +1 -1
- package/dist/esm/inbound/inbound-channels.shared.schemas.js.map +1 -1
- package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/inbound/inbound-delivery.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/inbound/inbound-delivery.shared.schemas.d.ts.map +1 -1
- package/dist/esm/inbound/inbound-delivery.shared.schemas.js.map +1 -1
- package/dist/esm/inbound/inbound-endpoint-env.shared.d.ts.map +1 -1
- package/dist/esm/inbound/inbound-endpoint-env.shared.js.map +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/actions.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/catalog.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/coding-tasks.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/orchestration.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/meta-workflows/portable-primitives.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/meta-workflows.exports.d.ts.map +1 -1
- package/dist/esm/meta-workflows.exports.js.map +1 -1
- package/dist/esm/monitoring/monitoring.shared.schemas.d.ts.map +1 -1
- package/dist/esm/monitoring/monitoring.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/email/email-context.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/email/email-context.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/email/email-submission.shared.enums.d.ts.map +1 -1
- package/dist/esm/notifications/email/email-submission.shared.enums.js.map +1 -1
- package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/email/email-template-registry.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/email/email-template.shared.enums.d.ts.map +1 -1
- package/dist/esm/notifications/email/email-template.shared.enums.js.map +1 -1
- package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/inbound-email/inbound-email.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/inbound-email/inbound-email.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.js.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/notification-badges.core.definitions.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.core.definitions.js.map +1 -1
- package/dist/esm/notifications/notification-badges.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.schemas.js.map +1 -1
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/application-owner-organization.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/application-owner-organization.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-features.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-features.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-members.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-members.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-members.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-notifications.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-notifications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-notifications.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-unit-inheritance.shared.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-inheritance.shared.js.map +1 -1
- package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-members.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-unit-members.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-members.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing-decision.shared.js.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.example.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.example.js.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.shared.js.map +1 -1
- package/dist/esm/organizations/organization-units.shared.path.d.ts.map +1 -1
- package/dist/esm/organizations/organization-units.shared.path.js.map +1 -1
- package/dist/esm/organizations/organization-units.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-units.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-units.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-units.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/organizations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organizations.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/service-provider-activity-feed.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/service-provider-activity-feed.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/service-provider-capability-grants.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/service-provider-capability-grants.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/service-provider-client-controls.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/service-provider-client-controls.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/service-provider-relationships.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/organizations/service-provider-relationships.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/service-provider-relationships.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/tenant-teardown-config.shared.schemas.js.map +1 -1
- package/dist/esm/provider-registration-runtime.exports.d.ts.map +1 -1
- package/dist/esm/provider-registration-runtime.exports.js.map +1 -1
- package/dist/esm/public-runtime/index.d.ts.map +1 -1
- package/dist/esm/public-runtime/index.js.map +1 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.d.ts +8 -8
- package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
- package/dist/esm/queue/jobs.shared.utils.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.utils.js.map +1 -1
- package/dist/esm/queue/queues.shared.schemas.d.ts.map +1 -1
- package/dist/esm/queue/queues.shared.schemas.js.map +1 -1
- package/dist/esm/queue/queues.shared.utils.d.ts.map +1 -1
- package/dist/esm/queue/queues.shared.utils.js.map +1 -1
- package/dist/esm/queue/rabbitmq-queue-args.shared.d.ts.map +1 -1
- package/dist/esm/queue/rabbitmq-queue-args.shared.js.map +1 -1
- package/dist/esm/rag/rag-retrieval-health.shared.d.ts.map +1 -1
- package/dist/esm/rag/rag-retrieval-health.shared.js.map +1 -1
- package/dist/esm/requests/header-keys.shared.d.ts.map +1 -1
- package/dist/esm/requests/header-keys.shared.js.map +1 -1
- package/dist/esm/requests/http-requests.shared.d.ts.map +1 -1
- package/dist/esm/requests/http-requests.shared.js.map +1 -1
- package/dist/esm/requests/idempotency-key.shared.d.ts.map +1 -1
- package/dist/esm/requests/idempotency-key.shared.js.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
- package/dist/esm/requests/rate-limits.shared.schemas.d.ts.map +1 -1
- package/dist/esm/requests/rate-limits.shared.schemas.js.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
- package/dist/esm/resources/child-operations.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/child-operations.shared.schemas.js.map +1 -1
- package/dist/esm/resources/collection-query-parameters.shared.d.ts.map +1 -1
- package/dist/esm/resources/collection-query-parameters.shared.js.map +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/context-policy.shared.schemas.js.map +1 -1
- package/dist/esm/resources/embedded-resource-mark.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/embedded-resource-mark.shared.utils.js.map +1 -1
- package/dist/esm/resources/relationship-display.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/relationship-display.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources-registry.shared.core.definitions.d.ts.map +1 -1
- package/dist/esm/resources/resources-registry.shared.core.definitions.js +18 -2
- package/dist/esm/resources/resources-registry.shared.core.definitions.js.map +1 -1
- package/dist/esm/resources/resources-relationships.shared.factory.d.ts.map +1 -1
- package/dist/esm/resources/resources-relationships.shared.factory.js.map +1 -1
- package/dist/esm/resources/resources-serialization.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources-serialization.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
- package/dist/esm/resources/resources.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/collection-export.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/collection-export.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/composition-cascade-deletability.validation.js.map +1 -1
- package/dist/esm/resources/utils/composition-seedability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/composition-seedability.validation.js.map +1 -1
- package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/context-addressed-composition-singleton.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/dependent-lifecycle-classification.validation.js.map +1 -1
- package/dist/esm/resources/utils/duplicate-relationship-registration.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/duplicate-relationship-registration.validation.js.map +1 -1
- package/dist/esm/resources/utils/field-value-disclosure.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/field-value-disclosure.utils.js.map +1 -1
- package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/http-api-write-declaration.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/initiator-stamped-field-satisfiability.validation.js.map +1 -1
- package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/no-subject-data-stance-coherence.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/persistence-adapter-discrimination.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/populated-file-fields.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/populated-file-fields.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/repository-dto-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/repository-dto-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/request-schema-field-carriage.shared.utils.js.map +1 -1
- package/dist/esm/resources/utils/required-fk-fillability.validation.d.ts.map +1 -1
- package/dist/esm/resources/utils/required-fk-fillability.validation.js.map +1 -1
- package/dist/esm/resources/utils/resource-operation-type-guards.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-operation-type-guards.utils.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.factory.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.factory.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.relationships.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.relationships.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.schemas.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.schemas.js.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-polymorphism.utils.js.map +1 -1
- package/dist/esm/resources/utils/resource-subtree.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resource-subtree.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-context-needs.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-context-needs.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-naming.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-naming.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.path.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.path.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.urls-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-config-operations.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-serialization.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-serialization.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-summary.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-summary.utils.js.map +1 -1
- package/dist/esm/resources/utils/schema-family-builder.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/schema-family-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/schema-type-inference.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/schema-type-inference.utils.js.map +1 -1
- package/dist/esm/resources/utils/schema-type-utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/schema-type-utils.js.map +1 -1
- package/dist/esm/resources/utils/schema-variant-resolver.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/schema-variant-resolver.utils.js.map +1 -1
- package/dist/esm/resources/utils/shared-persistence-collection.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -1
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/templatable-file-fields.shared.utils.js.map +1 -1
- package/dist/esm/resources/work-unit.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/work-unit.shared.schemas.js.map +1 -1
- package/dist/esm/runtime/domain-module.shared.definitions.d.ts.map +1 -1
- package/dist/esm/runtime/domain-module.shared.definitions.js.map +1 -1
- package/dist/esm/runtime/execution-context.shared.schemas.d.ts.map +1 -1
- package/dist/esm/runtime/execution-context.shared.schemas.js.map +1 -1
- package/dist/esm/runtime/runtime.shared.schemas.d.ts.map +1 -1
- package/dist/esm/runtime/runtime.shared.schemas.js.map +1 -1
- package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/api-keys/api-keys-application.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/api-keys/api-keys.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/api-keys/api-keys.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.d.ts.map +1 -1
- package/dist/esm/security/authentications/anonymous-session/anonymous-session.shared.contract.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.utils.js.map +1 -1
- package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/consumable-token.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/cross-frontend-handoff.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/mfa-backup-code-contract.shared.d.ts.map +1 -1
- package/dist/esm/security/authentications/mfa-backup-code-contract.shared.js.map +1 -1
- package/dist/esm/security/authentications/password-blocklist.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/authentications/password-blocklist.shared.utils.js.map +1 -1
- package/dist/esm/security/authentications/password-reset.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/password-reset.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/registration.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/same-origin-redirect-path.shared.d.ts.map +1 -1
- package/dist/esm/security/authentications/same-origin-redirect-path.shared.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-organization-unit-mapping.shared.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/scim/scim-tokens.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/service-provider-client-authentication.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-dlq.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-outbox.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-export-config.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/siem/siem-export-config.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/sso/sso-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/sso/sso-connection.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/administrative-continuity.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/application-access-grants.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/application-access-grants.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.defaults.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.defaults.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.utils.js.map +1 -1
- package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/connected-accounts/provider-connection-listing.shared.schemas.js.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -1
- package/dist/esm/security/credential-rotation-grace.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/credential-rotation-grace.shared.utils.js.map +1 -1
- package/dist/esm/security/crypto-keys/crypto-keys.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/crypto-keys/crypto-keys.shared.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-clients.shared.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/oauth-clients/oauth-resource-server.shared.schemas.js.map +1 -1
- package/dist/esm/security/outbound-target-control.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/outbound-target-control.shared.schemas.js.map +1 -1
- package/dist/esm/security/submission-challenge/submission-challenge.shared.d.ts.map +1 -1
- package/dist/esm/security/submission-challenge/submission-challenge.shared.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-actions.shared.schemas.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-credential-kind.shared.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-declaration.shared.schemas.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-env.shared.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-env.shared.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-error-codes.shared.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-error-codes.shared.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-facet.shared.schemas.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.d.ts.map +1 -1
- package/dist/esm/systems-of-record/system-of-record-partition-assignments.shared.schemas.js.map +1 -1
- package/dist/esm/testing/resource-config-builders.d.ts.map +1 -1
- package/dist/esm/testing/resource-config-builders.js.map +1 -1
- package/dist/esm/testing.d.ts.map +1 -1
- package/dist/esm/testing.js.map +1 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/anonymous-user-marketing-metadata.shared.schemas.js.map +1 -1
- package/dist/esm/users/anonymous-users.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/anonymous-users.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/anonymous-users.shared.schema.d.ts.map +1 -1
- package/dist/esm/users/anonymous-users.shared.schema.js.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.schemas.js.map +1 -1
- package/dist/esm/users/user-consent-decision.shared.utils.d.ts.map +1 -1
- package/dist/esm/users/user-consent-decision.shared.utils.js.map +1 -1
- package/dist/esm/users/user-credentials.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-credentials.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-credentials.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-credentials.shared.schemas.js.map +1 -1
- package/dist/esm/users/user-identity-links.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-identity-links.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-identity-links.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-identity-links.shared.schemas.js.map +1 -1
- package/dist/esm/users/user-preferences-reset.shared.utils.d.ts.map +1 -1
- package/dist/esm/users/user-preferences-reset.shared.utils.js.map +1 -1
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-profiles.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-profiles.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-self-preferences.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-self-profiles.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-self-profiles.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/user-self.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/user-self.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/users.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/users.shared.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +4 -4
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts +0 -0
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.d.ts.map +0 -0
- package/dist/esm/compliance/privacy/data-retention.shared.schemas.js.map +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.shared.schemas.js","sourceRoot":"","sources":["../../../../src/errors/errors.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,8BAA8B,EAAiC,mCAAmC,EAAE,MAAM,6CAA6C,CAAC;AACjK,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAC7F,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AAEzF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,CAAN,IAAY,SAqCX;AArCD,WAAY,SAAS;IACrB,4FAA4F;IAE1F,gCAAmB,CAAA;IAEnB,8CAAiC,CAAA;IACjC,4CAA+B,CAAA;IAE/B,sCAAyB,CAAA;IAEzB;;mGAE+F;IAC/F,oDAAuC,CAAA;IAEvC,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IAErB,sCAAyB,CAAA;IAEzB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,kD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;QACzD,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;KACpD,CAAC,CAAC,QAAQ,EAAE;CACd,CAAC,CAAC","sourcesContent":["import { z } from \"zod\";\nimport { ExecutionContext_ExecutionType, ExecutionContext_InitiatorIds, ExecutionContext_InitiatorIdsSchema } from \"../runtime/execution-context.shared.schemas\";\nimport { ErrorCustomMessageReference } from \"./errors.custom-message-ref.shared.definitions\";\nimport { isWildoBackendErrorShape } from './caught-error-description.shared.utils';\nimport { NotificationNextStepType } from \"../notifications/notifications.shared.schemas\";\n\n/**\n * The coarse error category of every backend error. Import from\n * `@wildo-ai/saas-models`.\n *\n * The `ErrorType` you pass to `errorBuilder.buildError(type, …)` is the single\n * driver of the HTTP status code, the severity/logging level, and whether the\n * error's `context` is exposed to the client. Pick the type that matches the\n * real condition — never default everything to `INTERNAL`:\n *\n * | ErrorType | HTTP | Use for |\n * |----------------------|------|-----------------------------------------------------|\n * | `VALIDATION` | 400 | Bad/malformed input, failed cross-field rules |\n * | `AUTHENTICATION` | 401 | Missing/invalid session or credentials |\n * | `AUTHORIZATION` | 403 | Authenticated but not permitted |\n * | `NOT_FOUND` | 404 | Requested resource does not exist / not visible |\n * | `CONFLICT` | 409 | Uniqueness / version / state conflict |\n * | `RATE_LIMIT` | 429 | Too many requests |\n * | `BUSINESS_RULE` | 422 | Domain rule violated (well-formed but not allowed) |\n * | `FEATURE_NOT_AVAILABLE` / `FEATURE_LIMIT_EXCEEDED` / `INSUFFICIENT_CREDITS` | 403/402 | Plan/feature gating |\n * | `EXTERNAL_SERVICE` | 502 | A downstream provider/API failed |\n * | `CONFIGURATION` | 500 | Server misconfiguration |\n * | `INTERNAL` / `DATABASE` / `INFRASTRUCTURE` | 500 | Server-side faults (context is stripped from the client) |\n *\n * Only VALIDATION / CONFLICT / RATE_LIMIT expose `context` to the client; every\n * other type strips it (so `context` is log-only). The user-facing wording never\n * comes from `context` — it comes from the `customMessageReference` (see\n * `ErrorCustomMessageReference`), resolved to localized text by `tErrorMessage`.\n */\nexport enum ErrorType {\n/** @wildo_source:part:start saas.models.error-type facet:layer:shared facet:family:error */\n\n NETWORK = 'NETWORK',\n\n AUTHENTICATION = 'AUTHENTICATION',\n AUTHORIZATION = 'AUTHORIZATION',\n\n VALIDATION = 'VALIDATION',\n\n /** HTTP 413 — the request body exceeded a size limit (e.g. the OAuth mount's 32 KB cap or a global body\n * parser limit). A CLIENT input problem, classified separately from VALIDATION so the response carries the\n * precise 413 status framework-wide rather than a generic 400 (and never an INTERNAL 500). */\n PAYLOAD_TOO_LARGE = 'PAYLOAD_TOO_LARGE',\n\n NOT_FOUND = 'NOT_FOUND',\n CONFLICT = 'CONFLICT',\n\n RATE_LIMIT = 'RATE_LIMIT',\n\n INTERNAL = 'INTERNAL',\n DATABASE = 'DATABASE',\n EXTERNAL_SERVICE = 'EXTERNAL_SERVICE',\n\n UNKNOWN = 'UNKNOWN',\n UNCAUGHT_EXCEPTION = 'UNCAUGHT_EXCEPTION',\n UNHANDLED_REJECTION = 'UNHANDLED_REJECTION',\n\n BUSINESS_RULE = 'BUSINESS_RULE',\n INFRASTRUCTURE = 'INFRASTRUCTURE',\n CONFIGURATION = 'CONFIGURATION',\n\n // Feature gating errors\n FEATURE_NOT_AVAILABLE = 'FEATURE_NOT_AVAILABLE',\n FEATURE_LIMIT_EXCEEDED = 'FEATURE_LIMIT_EXCEEDED',\n INSUFFICIENT_CREDITS = 'INSUFFICIENT_CREDITS',\n/** @wildo_source:part:end saas.models.error-type */\n}\n\n/**\n * Error severity levels\n */\n\nexport enum ErrorSeverity {\n LOW = 'low',\n MEDIUM = 'medium',\n HIGH = 'high',\n CRITICAL = 'critical',\n ALERT = 'alert',\n EMERGENCY = 'emergency',\n}\n\n/**\n * Frontend-specific error actions\n */\nexport enum ErrorActionFrontend {\n NOTIFY = 'NOTIFY',\n REDIRECT = 'REDIRECT',\n RETRY = 'RETRY',\n REFRESH_TOKEN = 'REFRESH_TOKEN',\n DISCONNECT = 'DISCONNECT',\n SHOW_MODAL = 'SHOW_MODAL',\n SHOW_TOAST = 'SHOW_TOAST'\n}\n\n/**\n * Backend-specific error actions\n */\nexport enum ErrorActionBackend {\n LOG = 'LOG',\n ALERT = 'ALERT',\n RECORD_METRICS = 'RECORD_METRICS',\n TRACE = 'TRACE',\n CIRCUIT_BREAK = 'CIRCUIT_BREAK',\n GRACEFUL_DEGRADATION = 'GRACEFUL_DEGRADATION'\n}\n\nexport enum Error_Frontend_RedirectPolicy {\n LOGIN = 'login',\n HOME = 'home',\n HISTORY_BACK = 'history_back',\n // NOT_FOUND = 'not_found',\n // UNAUTHORIZED = 'unauthorized',\n // ERROR_PAGE = 'error_page',\n\n}\n\nexport enum ErrorHandling_Strategy {\n STOP = \"stop\",\n SKIP = \"skip\",\n RETRY = \"retry\",\n FALLBACK = \"fallback\",\n}\n\nexport enum RetryPolicy_BackoffType {\n FIXED = \"fixed\",\n EXPONENTIAL = \"exponential\",\n LINEAR = \"linear\",\n}\n\n\nexport type WildoError_Definition = {\n type: ErrorType;\n severity: ErrorSeverity;\n description: string;\n defaultCustomMessageReference: ErrorCustomMessageReference;\n\n errorHandlingStrategy?: ErrorHandling_Strategy;\n retryPolicy?: RetryPolicy_BackoffType;\n maxRetries?: number;\n initialDelay?: number;\n baseDelay?: number;\n\n // Frontend-specific config\n frontendActions: ErrorActionFrontend[];\n redirectPolicy?: Error_Frontend_RedirectPolicy;\n showToUser?: boolean;\n\n // Backend-specific config\n statusCode: number;\n backendActions: ErrorActionBackend[];\n\n}\n\nexport type WildoError_Frontend_Definition = Omit<\n WildoError_Definition,\n 'statusCode' | 'backendActions'\n>;\n\nexport type WildoError_Backend_Definition = Omit<\n WildoError_Definition,\n 'frontendActions' | 'redirectPolicy' | 'showToUser'\n >;\n\n\n\nexport const WildoErrorSchema = z.object({\n type: z.enum(ErrorType),\n severity: z.enum(ErrorSeverity),\n operationPathKey: z.string().optional(),\n timestamp: z.date(),\n\n /**\n * Free-form context bag attached to the error.\n *\n * The `message` slot is modelled explicitly (L1-6, post-Phase-7\n * close-out) because consumers across the codebase reach for it\n * via `error.context.message` as a strongly-typed human-readable\n * detail string (notably the data-seeding `manual-seed-engine`\n * extracts it via `isWildoBackendError → context.message` to\n * surface scope-mismatch and other CONFIGURATION errors back into\n * the `DataSeedRun.failureReport`). Modeling it here makes the\n * contract typed at the producer side instead of relying on\n * `z.record(string, any)` to let any shape through.\n *\n * Other fields remain free-form (`catchall(z.any())`) so existing\n * callers that attach domain-specific keys (e.g. `envKey`,\n * `headerKey`, `seedKey`) continue to work without a schema bump.\n */\n context: z.object({\n message: z.string().optional(),\n }).catchall(z.any()).optional(),\n ipAddress: z.string().optional(),\n\n // Resilience and retry policy\n errorHandlingStrategy: z.enum(ErrorHandling_Strategy).optional(),\n retryPolicy: z.enum(RetryPolicy_BackoffType).optional(),\n maxRetries: z.number().optional(),\n initialDelay: z.number().optional(),\n baseDelay: z.number().optional(),\n retryCount: z.number().optional(),\n lastRetryTime: z.date().optional(),\n});\n\nexport type WildoError = z.infer<typeof WildoErrorSchema>;\n\n// =====================================================\n// Error User Guidance — contextual error resolution hints (Phase 1b)\n// =====================================================\n\n/**\n * Structured guidance attached to backend errors.\n * Tells the frontend what went wrong, how to fix it, and what to do next.\n *\n * Populated by `ErrorBuilderBackendService.buildErrorWithGuidance()` for\n * error types like CONFIGURATION, FEATURE_NOT_AVAILABLE, RATE_LIMIT, etc.\n *\n * NOTE: Defined before WildoError_BackendSchema because it's referenced there.\n */\nexport const ErrorUserGuidanceSchema = z.object({\n /**\n * i18n lookup key for this guidance block.\n * Resolves labels under `errors_guidance.{guidanceKey}.{field}`.\n * If not set, falls back to the error's `customMessageReference`.\n */\n guidanceKey: z.string().optional(),\n /** Human-readable explanation of what went wrong */\n explanation: z.string().optional(),\n /** How to resolve the issue */\n resolution: z.string().optional(),\n /**\n * Values the localized guidance label interpolates (`{name}` placeholders, the one label syntax).\n *\n * A localized label outranks the raw `explanation` / `resolution` strings, so without params a label\n * could only ever say something STATIC — and a refusal whose useful part is dynamic (the companion's\n * secrets section relaying the CLI's own sentence, #1637) had to choose between a translated label\n * that hides the reason and an untranslated raw string. Params let the label carry the sentence and the\n * dynamic part both. Values are shown to the user: never put a secret or an internal identifier here.\n */\n params: z.record(z.string(), z.union([z.string(), z.number()])).optional(),\n /** Steps already completed before the error occurred */\n completedSteps: z.array(z.string()).optional(),\n /** Suggested next action (operation or URL) */\n nextAction: z.object({\n label: z.string(),\n /** Operation path or URL */\n ref: z.string(),\n type: z.enum(NotificationNextStepType).default(NotificationNextStepType.OPERATION),\n }).optional(),\n /** For rate limits: seconds until retry is available */\n retryAfterSeconds: z.number().optional(),\n /** For configuration errors: what configuration elements are missing */\n missingConfiguration: z.array(z.string()).optional(),\n});\n\nexport type ErrorUserGuidance = z.infer<typeof ErrorUserGuidanceSchema>;\n\n// =====================================================\n// WildoError — Backend (extends base with backend-specific fields)\n// =====================================================\n\nexport const WildoError_BackendSchema = WildoErrorSchema.extend({\n backendActions: z.array(z.enum(ErrorActionBackend)),\n customMessageReference: z.enum(ErrorCustomMessageReference),\n statusCode: z.number(),\n stack: z.string().optional(),\n /** The request-correlation id (see `ExecutionContext.correlationId`). Populated from the EC when one was threaded, else from the ambient request-context ALS frame — that fallback is what attributes the many `buildError` call sites that pass no EC. */\n correlationId: z.string().optional(),\n initiatorIds: ExecutionContext_InitiatorIdsSchema.optional().nullable(),\n executionType: z.enum(ExecutionContext_ExecutionType).optional(),\n /** Contextual user guidance for error resolution (Phase 1b) */\n userGuidance: ErrorUserGuidanceSchema.optional(),\n});\n\nexport type WildoError_Backend = z.infer<typeof WildoError_BackendSchema>;\n\n/**\n * Type guard for WildoError_Backend — safely identifies engine-thrown errors in catch blocks.\n *\n * Replaces the unsafe `(error as any).type` pattern. Checks for the 4 structural\n * properties that distinguish WildoError_Backend from arbitrary Error objects — the check itself\n * lives in {@link isWildoBackendErrorShape}, an import-free atom the bundle-safe describers share.\n */\nexport function isWildoBackendError(error: unknown): error is WildoError_Backend {\n return isWildoBackendErrorShape(error);\n}\n\n// =====================================================\n// WildoError — Frontend\n// =====================================================\n\nexport const WildoError_FrontendSchema = WildoErrorSchema.extend({\n userId: z.string().optional(),\n organizationId: z.string().optional(),\n customMessageReference: z.enum(ErrorCustomMessageReference),\n frontendActions: z.array(z.enum(ErrorActionFrontend)),\n redirectPolicy: z.enum(Error_Frontend_RedirectPolicy).optional(),\n\n showToUser: z.boolean().optional(),\n\n /**\n * When true, the GLOBAL error handler must NOT surface a user-facing toast or\n * modal for this error — the originating caller already owns the failure UX\n * (e.g. a resource form shows `NOTIFY_RESOURCE_ERROR` + inline field errors).\n * Derived from the per-request `silent` flag. Side-effects (auth-logout,\n * redirect, dedup, analytics) still run.\n *\n * MUST be a declared schema field: the frontend event bus Zod-parses\n * `ERROR_OCCURED` payloads and strips unknown keys, so an untyped\n * `(error as any).suppressUserDisplay` would be dropped before the handler\n * ever reads it.\n */\n suppressUserDisplay: z.boolean().optional(),\n\n /**\n * When true, the error must drive a logout through the AuthSession fast-path.\n * `GlobalErrorHandler` detects `triggerLogout` (independently of the error's\n * `type`) and calls `logout()` — guarded by `isAuthenticated()` so it never\n * logs out when no session is active — then strips the `DISCONNECT`\n * frontendAction from the delegated actions so the ErrorContext fallback does\n * not double-trigger a logout. Derived from the HTTP error-behavior matrix\n * (`HttpErrorBehavior.triggerLogout`, e.g. a 401 invalid session).\n *\n * Intentionally NOT additionally gated on `type === AUTHENTICATION`: the\n * error's `type` comes from the backend payload (`backendErrorType ||\n * behavior.errorType` in `buildWildoError`), so a 401 the backend typed as\n * something else would still carry `triggerLogout` from the status matrix —\n * an extra type gate would silently swallow that logout. Mirrors\n * `handleHttpError`'s `shouldLogout`, which is triggerLogout-only.\n *\n * MUST be a declared schema field — same reason as `suppressUserDisplay`\n * above: the frontend event bus Zod-parses `ERROR_OCCURED` payloads and\n * strips unknown keys, so an untyped `(error as any).triggerLogout` set by\n * `buildWildoError` would be dropped before `GlobalErrorHandler` ever reads\n * it, leaving the AuthSession logout fast-path permanently dead.\n */\n triggerLogout: z.boolean().optional(),\n\n /** Contextual error guidance from backend (Phase 1b) */\n userGuidance: ErrorUserGuidanceSchema.optional(),\n});\n\nexport type WildoError_Frontend = z.infer<typeof WildoError_FrontendSchema>;\n\n\n// =============================================================================\n// VALIDATION ERROR ENTRY — STRUCTURED i18n-READY ERROR FORMAT\n// =============================================================================\n\n/**\n * Field-validation issues the BACKEND raises, beyond the Zod issue codes a schema produces on its own.\n *\n * Each member is a key of the frontend's `errors_validation` catalog (`errors_validation.<code>.msg`), so the\n * words a person reads are the application's, in their language. The server sends the code and never the\n * sentence: RFC 9457 §3.1.4 says a consumer \"SHOULD NOT parse the 'detail' member for information;\n * extensions are more suitable\", and §3.2 puts machine-readable facts in extension members.\n * spec-cite: RFC 9457 (Problem Details for HTTP APIs) §3.1.4, §3.2.\n */\nexport enum FieldValidationIssueCode {\n /** A value already exists on a field declared `.isUnique()`. Raised at write time and by validate-field. */\n NOT_UNIQUE = 'not_unique',\n}\n\n/**\n * A field error the backend raises as a CODE.\n *\n * Validation errors reach a form as either:\n * - a plain string — a message a schema produced, shown as-is;\n * - a `ValidationErrorEntry` — a code the client renders from its own catalog.\n *\n * It carries no message on purpose: prose written here is English in every locale, which is what\n * `.claude/rules/display-text-comes-from-i18n.md` forbids and what #1180 removed.\n */\nexport const ValidationErrorEntry_Schema = z.object({\n /** The issue's code; the frontend resolves `errors_validation.<code>.msg`. */\n code: z.enum(FieldValidationIssueCode).describe(\"A stable code for the field's problem, to branch on or to look up in your own message catalog. `not_unique`: another record already has this value in a field that must be unique.\"),\n /** Interpolation parameters for that catalog message. `NOT_UNIQUE` needs none. */\n params: z.record(z.string(), z.string()).optional().describe(\"Values to fill into the message for that code. Absent when the code needs none.\"),\n});\n\nexport type ValidationErrorEntry = z.infer<typeof ValidationErrorEntry_Schema>;\n\nexport const VersionConflictDetailsSchema = z.object({\n currentVersion: z.number(),\n expectedVersion: z.number(),\n conflictingFields: z.array(z.string()),\n currentValues: z.record(z.string(), z.unknown()),\n submittedValues: z.record(z.string(), z.unknown()),\n});\n\nexport type VersionConflictDetails = z.infer<typeof VersionConflictDetailsSchema>;\n\n/**\n * SaaS Error Type Definition\n * Replaces the previous WildoError class\n */\n\n/**\n * Error Response Schema\n * Updated to include operationPath and validationErrors (FIX-P6-H1)\n */\nexport const ErrorResponseSchema = z.object({\n error: z.object({\n type: z.enum(ErrorType),\n severity: z.enum(ErrorSeverity),\n message: z.string(),\n customMessage: z.string(),\n customMessageReference: z.string().optional(),\n code: z.string().optional(),\n operationPath: z.string().optional(),\n /**\n * Request-correlation id (see `ExecutionContext.correlationId`) — a safe, non-PII support/trace id\n * the client can quote and that joins this response to the backend log lines + audit rows for the\n * same request. Present for any request-scoped error (the error's captured id, or the ambient\n * request-context frame at send time).\n */\n correlationId: z.string().optional(),\n details: z.object({\n versionConflict: VersionConflictDetailsSchema.optional(),\n }).catchall(z.any()).optional(),\n timestamp: z.string(),\n initiatorIds: ExecutionContext_InitiatorIdsSchema.optional().nullable(),\n /** Field-level validation errors. Values are either plain strings or structured i18n entries. */\n validationErrors: z.record(z.string(), z.union([z.string(), ValidationErrorEntry_Schema])).optional(),\n /** Contextual user guidance for error resolution (Phase 1b) */\n userGuidance: ErrorUserGuidanceSchema.optional(),\n })\n});\n\nexport type ErrorResponse = z.infer<typeof ErrorResponseSchema>;\n\n/**\n * A single validation error value: either a plain string or a structured entry.\n * Backend can return either format; frontend handles both transparently.\n */\nexport type ValidationErrorValue = string | ValidationErrorEntry;\n\n/**\n * Field-level validation errors map.\n * Keys are dot-notation field paths (e.g., \"email\", \"address.city\").\n * Values are either plain strings or structured i18n entries.\n */\nexport type ValidationErrors = Record<string, ValidationErrorValue>;\n\n// =============================================================================\n// VALIDATION ERROR RESPONSE SCHEMA\n// =============================================================================\n\n/**\n * Standardized validation error response format.\n * Used by both backend (400/409 responses) and frontend (error parsing).\n *\n * The `validationErrors` field maps field names to error values:\n * - Plain string: displayed as-is (legacy format)\n * - ValidationErrorEntry: resolved via i18n on frontend\n */\nexport const ValidationErrorResponse_Schema = z.object({\n /** HTTP status code (400 for validation, 409 for unique constraint) */\n code: z.number(),\n /** General error message */\n message: z.string(),\n /**\n * Field-level validation errors.\n * Field names can be dot-notation paths for nested fields.\n * Values are either plain strings or structured i18n entries.\n */\n validationErrors: z.record(z.string(), z.union([z.string(), ValidationErrorEntry_Schema])).optional(),\n});\n\nexport type ValidationErrorResponse = z.infer<typeof ValidationErrorResponse_Schema>;\n\n// =============================================================================\n// PARSED HTTP ERROR — TYPED FRONTEND ERROR REPRESENTATION\n// =============================================================================\n\n/**\n * Parsed HTTP error — the typed result of processing an HTTP error response.\n *\n * This is the frontend counterpart of WildoError_Backend. It provides typed\n * access to all error properties that the HTTP client interceptor extracts\n * from the backend's ErrorResponse format.\n *\n * Replaces the previous untyped `error as Record<string, unknown>` pattern.\n */\nexport interface ParsedHttpError {\n /** HTTP status code (e.g., 400, 401, 409, 500) */\n httpStatus: number;\n /** Error type from the backend error classification */\n errorType: ErrorType;\n /** Human-readable error message */\n message: string;\n /** Field-level validation errors (present for 400/409/422 responses) */\n validationErrors?: ValidationErrors;\n /** Additional error context/details from the backend */\n details?: Record<string, any>;\n /** Operation path that triggered the error */\n operationPath?: string;\n /** Structured user-facing guidance for error resolution */\n userGuidance?: ErrorUserGuidance;\n}\n\n// =============================================================================\n// VALIDATION ERROR EXTRACTION UTILITIES\n// =============================================================================\n\n/**\n * Check whether a validation error value is a coded entry rather than a plain message.\n *\n * There is deliberately NO shared \"resolve this to a display string\" helper: a coded entry carries no words,\n * and only the frontend — which holds the catalog and the person's language — can turn it into text. A helper\n * here could only have invented English (#1180).\n *\n * @param value - A validation error value\n * @returns True when the value is a coded `ValidationErrorEntry`\n */\nexport function isValidationErrorEntry(value: ValidationErrorValue): value is ValidationErrorEntry {\n return typeof value === 'object' && value !== null && 'code' in value;\n}\n\n/**\n * Extract validation errors from a raw error response payload.\n *\n * Handles multiple formats:\n * 1. Standard backend ErrorResponse: `{ error: { validationErrors: { ... } } }`\n * 2. Flat format (legacy): `{ validationErrors: { ... } }`\n * 3. Pre-parsed interceptor format: `error.validationErrors` on the error object\n *\n * @param payload - Raw error response payload (from axios response.data or error object)\n * @returns Extracted validation errors, or undefined if not found\n */\nexport function extractValidationErrors(payload: unknown): ValidationErrors | undefined {\n if (!payload || typeof payload !== 'object') return undefined;\n\n const obj = payload as Record<string, unknown>;\n\n // Path 1: Standard nested format { error: { validationErrors } }\n if (obj.error && typeof obj.error === 'object') {\n const nested = obj.error as Record<string, unknown>;\n if (nested.validationErrors && typeof nested.validationErrors === 'object' && !Array.isArray(nested.validationErrors)) {\n const ve = nested.validationErrors as Record<string, unknown>;\n if (Object.keys(ve).length > 0) {\n return ve as ValidationErrors;\n }\n }\n }\n\n // Path 2: Flat format { validationErrors }\n if (obj.validationErrors && typeof obj.validationErrors === 'object' && !Array.isArray(obj.validationErrors)) {\n const ve = obj.validationErrors as Record<string, unknown>;\n if (Object.keys(ve).length > 0) {\n return ve as ValidationErrors;\n }\n }\n\n return undefined;\n}\n\n// =============================================================================\n// FIELD VALIDATION — REQUEST/RESPONSE SCHEMAS\n// =============================================================================\n\n/**\n * Request schema for the validate-field endpoint.\n *\n * Used to pre-validate a single field value (e.g., uniqueness check on blur)\n * before form submission.\n */\nexport const ValidateFieldRequest_Schema = z.object({\n /** Field name to validate (must match a field in the resource schema) */\n fieldName: z.string(),\n /** The value to validate */\n value: z.unknown(),\n /** For UPDATE operations: exclude this resource ID from uniqueness check (self-exclusion) */\n excludeId: z.string().optional(),\n});\n\nexport type ValidateFieldRequest = z.infer<typeof ValidateFieldRequest_Schema>;\n\n/**\n * Response schema for the validate-field endpoint.\n */\nexport const ValidateFieldResponse_Schema = z.object({\n /** Whether the field value is valid */\n valid: z.boolean(),\n /**\n * The issue when `valid` is false. It carries a CODE, never a sentence: the words are the client's, from\n * `errors_validation.<code>.msg` (#1180).\n */\n error: z.object({\n /** Field name that failed validation */\n fieldName: z.string(),\n /** The issue's code, rendered by the client from its own validation catalog. */\n code: z.enum(FieldValidationIssueCode),\n /** Interpolation parameters for that catalog message. */\n params: z.record(z.string(), z.string()).optional(),\n }).optional(),\n});\n\nexport type ValidateFieldResponse = z.infer<typeof ValidateFieldResponse_Schema>;\n"]}
|
|
1
|
+
{"version":3,"file":"errors.shared.schemas.js","sourceRoot":"","sources":["../../../src/errors/errors.shared.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,8BAA8B,EAAiC,mCAAmC,EAAE,MAAM,6CAA6C,CAAC;AACjK,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAC7F,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AAEzF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,CAAN,IAAY,SAqCX;AArCD,WAAY,SAAS;IACrB,4FAA4F;IAE1F,gCAAmB,CAAA;IAEnB,8CAAiC,CAAA;IACjC,4CAA+B,CAAA;IAE/B,sCAAyB,CAAA;IAEzB;;mGAE+F;IAC/F,oDAAuC,CAAA;IAEvC,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IAErB,sCAAyB,CAAA;IAEzB,kCAAqB,CAAA;IACrB,kCAAqB,CAAA;IACrB,kDAAqC,CAAA;IAErC,gCAAmB,CAAA;IACnB,sDAAyC,CAAA;IACzC,wDAA2C,CAAA;IAE3C,4CAA+B,CAAA;IAC/B,8CAAiC,CAAA;IACjC,4CAA+B,CAAA;IAE/B,wBAAwB;IACxB,4DAA+C,CAAA;IAC/C,8DAAiD,CAAA;IACjD,0DAA6C,CAAA;IAC/C,oDAAoD;AACpD,CAAC,EArCW,SAAS,K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Schema } from \"../runtime/execution-context.shared.schemas\";\nimport { ErrorCustomMessageReference } from \"./errors.custom-message-ref.shared.definitions\";\nimport { isWildoBackendErrorShape } from './caught-error-description.shared.utils';\nimport { NotificationNextStepType } from \"../notifications/notifications.shared.schemas\";\n\n/**\n * The coarse error category of every backend error. Import from\n * `@wildo-ai/saas-models`.\n *\n * The `ErrorType` you pass to `errorBuilder.buildError(type, …)` is the single\n * driver of the HTTP status code, the severity/logging level, and whether the\n * error's `context` is exposed to the client. Pick the type that matches the\n * real condition — never default everything to `INTERNAL`:\n *\n * | ErrorType | HTTP | Use for |\n * |----------------------|------|-----------------------------------------------------|\n * | `VALIDATION` | 400 | Bad/malformed input, failed cross-field rules |\n * | `AUTHENTICATION` | 401 | Missing/invalid session or credentials |\n * | `AUTHORIZATION` | 403 | Authenticated but not permitted |\n * | `NOT_FOUND` | 404 | Requested resource does not exist / not visible |\n * | `CONFLICT` | 409 | Uniqueness / version / state conflict |\n * | `RATE_LIMIT` | 429 | Too many requests |\n * | `BUSINESS_RULE` | 422 | Domain rule violated (well-formed but not allowed) |\n * | `FEATURE_NOT_AVAILABLE` / `FEATURE_LIMIT_EXCEEDED` / `INSUFFICIENT_CREDITS` | 403/402 | Plan/feature gating |\n * | `EXTERNAL_SERVICE` | 502 | A downstream provider/API failed |\n * | `CONFIGURATION` | 500 | Server misconfiguration |\n * | `INTERNAL` / `DATABASE` / `INFRASTRUCTURE` | 500 | Server-side faults (context is stripped from the client) |\n *\n * Only VALIDATION / CONFLICT / RATE_LIMIT expose `context` to the client; every\n * other type strips it (so `context` is log-only). The user-facing wording never\n * comes from `context` — it comes from the `customMessageReference` (see\n * `ErrorCustomMessageReference`), resolved to localized text by `tErrorMessage`.\n */\nexport enum ErrorType {\n/** @wildo_source:part:start saas.models.error-type facet:layer:shared facet:family:error */\n\n NETWORK = 'NETWORK',\n\n AUTHENTICATION = 'AUTHENTICATION',\n AUTHORIZATION = 'AUTHORIZATION',\n\n VALIDATION = 'VALIDATION',\n\n /** HTTP 413 — the request body exceeded a size limit (e.g. the OAuth mount's 32 KB cap or a global body\n * parser limit). A CLIENT input problem, classified separately from VALIDATION so the response carries the\n * precise 413 status framework-wide rather than a generic 400 (and never an INTERNAL 500). */\n PAYLOAD_TOO_LARGE = 'PAYLOAD_TOO_LARGE',\n\n NOT_FOUND = 'NOT_FOUND',\n CONFLICT = 'CONFLICT',\n\n RATE_LIMIT = 'RATE_LIMIT',\n\n INTERNAL = 'INTERNAL',\n DATABASE = 'DATABASE',\n EXTERNAL_SERVICE = 'EXTERNAL_SERVICE',\n\n UNKNOWN = 'UNKNOWN',\n UNCAUGHT_EXCEPTION = 'UNCAUGHT_EXCEPTION',\n UNHANDLED_REJECTION = 'UNHANDLED_REJECTION',\n\n BUSINESS_RULE = 'BUSINESS_RULE',\n INFRASTRUCTURE = 'INFRASTRUCTURE',\n CONFIGURATION = 'CONFIGURATION',\n\n // Feature gating errors\n FEATURE_NOT_AVAILABLE = 'FEATURE_NOT_AVAILABLE',\n FEATURE_LIMIT_EXCEEDED = 'FEATURE_LIMIT_EXCEEDED',\n INSUFFICIENT_CREDITS = 'INSUFFICIENT_CREDITS',\n/** @wildo_source:part:end saas.models.error-type */\n}\n\n/**\n * Error severity levels\n */\n\nexport enum ErrorSeverity {\n LOW = 'low',\n MEDIUM = 'medium',\n HIGH = 'high',\n CRITICAL = 'critical',\n ALERT = 'alert',\n EMERGENCY = 'emergency',\n}\n\n/**\n * Frontend-specific error actions\n */\nexport enum ErrorActionFrontend {\n NOTIFY = 'NOTIFY',\n REDIRECT = 'REDIRECT',\n RETRY = 'RETRY',\n REFRESH_TOKEN = 'REFRESH_TOKEN',\n DISCONNECT = 'DISCONNECT',\n SHOW_MODAL = 'SHOW_MODAL',\n SHOW_TOAST = 'SHOW_TOAST'\n}\n\n/**\n * Backend-specific error actions\n */\nexport enum ErrorActionBackend {\n LOG = 'LOG',\n ALERT = 'ALERT',\n RECORD_METRICS = 'RECORD_METRICS',\n TRACE = 'TRACE',\n CIRCUIT_BREAK = 'CIRCUIT_BREAK',\n GRACEFUL_DEGRADATION = 'GRACEFUL_DEGRADATION'\n}\n\nexport enum Error_Frontend_RedirectPolicy {\n LOGIN = 'login',\n HOME = 'home',\n HISTORY_BACK = 'history_back',\n // NOT_FOUND = 'not_found',\n // UNAUTHORIZED = 'unauthorized',\n // ERROR_PAGE = 'error_page',\n\n}\n\nexport enum ErrorHandling_Strategy {\n STOP = \"stop\",\n SKIP = \"skip\",\n RETRY = \"retry\",\n FALLBACK = \"fallback\",\n}\n\nexport enum RetryPolicy_BackoffType {\n FIXED = \"fixed\",\n EXPONENTIAL = \"exponential\",\n LINEAR = \"linear\",\n}\n\n\nexport type WildoError_Definition = {\n type: ErrorType;\n severity: ErrorSeverity;\n description: string;\n defaultCustomMessageReference: ErrorCustomMessageReference;\n\n errorHandlingStrategy?: ErrorHandling_Strategy;\n retryPolicy?: RetryPolicy_BackoffType;\n maxRetries?: number;\n initialDelay?: number;\n baseDelay?: number;\n\n // Frontend-specific config\n frontendActions: ErrorActionFrontend[];\n redirectPolicy?: Error_Frontend_RedirectPolicy;\n showToUser?: boolean;\n\n // Backend-specific config\n statusCode: number;\n backendActions: ErrorActionBackend[];\n\n}\n\nexport type WildoError_Frontend_Definition = Omit<\n WildoError_Definition,\n 'statusCode' | 'backendActions'\n>;\n\nexport type WildoError_Backend_Definition = Omit<\n WildoError_Definition,\n 'frontendActions' | 'redirectPolicy' | 'showToUser'\n >;\n\n\n\nexport const WildoErrorSchema = z.object({\n type: z.enum(ErrorType),\n severity: z.enum(ErrorSeverity),\n operationPathKey: z.string().optional(),\n timestamp: z.date(),\n\n /**\n * Free-form context bag attached to the error.\n *\n * The `message` slot is modelled explicitly (L1-6, post-Phase-7\n * close-out) because consumers across the codebase reach for it\n * via `error.context.message` as a strongly-typed human-readable\n * detail string (notably the data-seeding `manual-seed-engine`\n * extracts it via `isWildoBackendError → context.message` to\n * surface scope-mismatch and other CONFIGURATION errors back into\n * the `DataSeedRun.failureReport`). Modeling it here makes the\n * contract typed at the producer side instead of relying on\n * `z.record(string, any)` to let any shape through.\n *\n * Other fields remain free-form (`catchall(z.any())`) so existing\n * callers that attach domain-specific keys (e.g. `envKey`,\n * `headerKey`, `seedKey`) continue to work without a schema bump.\n */\n context: z.object({\n message: z.string().optional(),\n }).catchall(z.any()).optional(),\n ipAddress: z.string().optional(),\n\n // Resilience and retry policy\n errorHandlingStrategy: z.enum(ErrorHandling_Strategy).optional(),\n retryPolicy: z.enum(RetryPolicy_BackoffType).optional(),\n maxRetries: z.number().optional(),\n initialDelay: z.number().optional(),\n baseDelay: z.number().optional(),\n retryCount: z.number().optional(),\n lastRetryTime: z.date().optional(),\n});\n\nexport type WildoError = z.infer<typeof WildoErrorSchema>;\n\n// =====================================================\n// Error User Guidance — contextual error resolution hints (Phase 1b)\n// =====================================================\n\n/**\n * Structured guidance attached to backend errors.\n * Tells the frontend what went wrong, how to fix it, and what to do next.\n *\n * Populated by `ErrorBuilderBackendService.buildErrorWithGuidance()` for\n * error types like CONFIGURATION, FEATURE_NOT_AVAILABLE, RATE_LIMIT, etc.\n *\n * NOTE: Defined before WildoError_BackendSchema because it's referenced there.\n */\nexport const ErrorUserGuidanceSchema = z.object({\n /**\n * i18n lookup key for this guidance block.\n * Resolves labels under `errors_guidance.{guidanceKey}.{field}`.\n * If not set, falls back to the error's `customMessageReference`.\n */\n guidanceKey: z.string().optional(),\n /** Human-readable explanation of what went wrong */\n explanation: z.string().optional(),\n /** How to resolve the issue */\n resolution: z.string().optional(),\n /**\n * Values the localized guidance label interpolates (`{name}` placeholders, the one label syntax).\n *\n * A localized label outranks the raw `explanation` / `resolution` strings, so without params a label\n * could only ever say something STATIC — and a refusal whose useful part is dynamic (the companion's\n * secrets section relaying the CLI's own sentence, #1637) had to choose between a translated label\n * that hides the reason and an untranslated raw string. Params let the label carry the sentence and the\n * dynamic part both. Values are shown to the user: never put a secret or an internal identifier here.\n */\n params: z.record(z.string(), z.union([z.string(), z.number()])).optional(),\n /** Steps already completed before the error occurred */\n completedSteps: z.array(z.string()).optional(),\n /** Suggested next action (operation or URL) */\n nextAction: z.object({\n label: z.string(),\n /** Operation path or URL */\n ref: z.string(),\n type: z.enum(NotificationNextStepType).default(NotificationNextStepType.OPERATION),\n }).optional(),\n /** For rate limits: seconds until retry is available */\n retryAfterSeconds: z.number().optional(),\n /** For configuration errors: what configuration elements are missing */\n missingConfiguration: z.array(z.string()).optional(),\n});\n\nexport type ErrorUserGuidance = z.infer<typeof ErrorUserGuidanceSchema>;\n\n// =====================================================\n// WildoError — Backend (extends base with backend-specific fields)\n// =====================================================\n\nexport const WildoError_BackendSchema = WildoErrorSchema.extend({\n backendActions: z.array(z.enum(ErrorActionBackend)),\n customMessageReference: z.enum(ErrorCustomMessageReference),\n statusCode: z.number(),\n stack: z.string().optional(),\n /** The request-correlation id (see `ExecutionContext.correlationId`). Populated from the EC when one was threaded, else from the ambient request-context ALS frame — that fallback is what attributes the many `buildError` call sites that pass no EC. */\n correlationId: z.string().optional(),\n initiatorIds: ExecutionContext_InitiatorIdsSchema.optional().nullable(),\n executionType: z.enum(ExecutionContext_ExecutionType).optional(),\n /** Contextual user guidance for error resolution (Phase 1b) */\n userGuidance: ErrorUserGuidanceSchema.optional(),\n});\n\nexport type WildoError_Backend = z.infer<typeof WildoError_BackendSchema>;\n\n/**\n * Type guard for WildoError_Backend — safely identifies engine-thrown errors in catch blocks.\n *\n * Replaces the unsafe `(error as any).type` pattern. Checks for the 4 structural\n * properties that distinguish WildoError_Backend from arbitrary Error objects — the check itself\n * lives in {@link isWildoBackendErrorShape}, an import-free atom the bundle-safe describers share.\n */\nexport function isWildoBackendError(error: unknown): error is WildoError_Backend {\n return isWildoBackendErrorShape(error);\n}\n\n// =====================================================\n// WildoError — Frontend\n// =====================================================\n\nexport const WildoError_FrontendSchema = WildoErrorSchema.extend({\n userId: z.string().optional(),\n organizationId: z.string().optional(),\n customMessageReference: z.enum(ErrorCustomMessageReference),\n frontendActions: z.array(z.enum(ErrorActionFrontend)),\n redirectPolicy: z.enum(Error_Frontend_RedirectPolicy).optional(),\n\n showToUser: z.boolean().optional(),\n\n /**\n * When true, the GLOBAL error handler must NOT surface a user-facing toast or\n * modal for this error — the originating caller already owns the failure UX\n * (e.g. a resource form shows `NOTIFY_RESOURCE_ERROR` + inline field errors).\n * Derived from the per-request `silent` flag. Side-effects (auth-logout,\n * redirect, dedup, analytics) still run.\n *\n * MUST be a declared schema field: the frontend event bus Zod-parses\n * `ERROR_OCCURED` payloads and strips unknown keys, so an untyped\n * `(error as any).suppressUserDisplay` would be dropped before the handler\n * ever reads it.\n */\n suppressUserDisplay: z.boolean().optional(),\n\n /**\n * When true, the error must drive a logout through the AuthSession fast-path.\n * `GlobalErrorHandler` detects `triggerLogout` (independently of the error's\n * `type`) and calls `logout()` — guarded by `isAuthenticated()` so it never\n * logs out when no session is active — then strips the `DISCONNECT`\n * frontendAction from the delegated actions so the ErrorContext fallback does\n * not double-trigger a logout. Derived from the HTTP error-behavior matrix\n * (`HttpErrorBehavior.triggerLogout`, e.g. a 401 invalid session).\n *\n * Intentionally NOT additionally gated on `type === AUTHENTICATION`: the\n * error's `type` comes from the backend payload (`backendErrorType ||\n * behavior.errorType` in `buildWildoError`), so a 401 the backend typed as\n * something else would still carry `triggerLogout` from the status matrix —\n * an extra type gate would silently swallow that logout. Mirrors\n * `handleHttpError`'s `shouldLogout`, which is triggerLogout-only.\n *\n * MUST be a declared schema field — same reason as `suppressUserDisplay`\n * above: the frontend event bus Zod-parses `ERROR_OCCURED` payloads and\n * strips unknown keys, so an untyped `(error as any).triggerLogout` set by\n * `buildWildoError` would be dropped before `GlobalErrorHandler` ever reads\n * it, leaving the AuthSession logout fast-path permanently dead.\n */\n triggerLogout: z.boolean().optional(),\n\n /** Contextual error guidance from backend (Phase 1b) */\n userGuidance: ErrorUserGuidanceSchema.optional(),\n});\n\nexport type WildoError_Frontend = z.infer<typeof WildoError_FrontendSchema>;\n\n\n// =============================================================================\n// VALIDATION ERROR ENTRY — STRUCTURED i18n-READY ERROR FORMAT\n// =============================================================================\n\n/**\n * Field-validation issues the BACKEND raises, beyond the Zod issue codes a schema produces on its own.\n *\n * Each member is a key of the frontend's `errors_validation` catalog (`errors_validation.<code>.msg`), so the\n * words a person reads are the application's, in their language. The server sends the code and never the\n * sentence: RFC 9457 §3.1.4 says a consumer \"SHOULD NOT parse the 'detail' member for information;\n * extensions are more suitable\", and §3.2 puts machine-readable facts in extension members.\n * spec-cite: RFC 9457 (Problem Details for HTTP APIs) §3.1.4, §3.2.\n */\nexport enum FieldValidationIssueCode {\n /** A value already exists on a field declared `.isUnique()`. Raised at write time and by validate-field. */\n NOT_UNIQUE = 'not_unique',\n}\n\n/**\n * A field error the backend raises as a CODE.\n *\n * Validation errors reach a form as either:\n * - a plain string — a message a schema produced, shown as-is;\n * - a `ValidationErrorEntry` — a code the client renders from its own catalog.\n *\n * It carries no message on purpose: prose written here is English in every locale, which is what\n * `.claude/rules/display-text-comes-from-i18n.md` forbids and what #1180 removed.\n */\nexport const ValidationErrorEntry_Schema = z.object({\n /** The issue's code; the frontend resolves `errors_validation.<code>.msg`. */\n code: z.enum(FieldValidationIssueCode).describe(\"A stable code for the field's problem, to branch on or to look up in your own message catalog. `not_unique`: another record already has this value in a field that must be unique.\"),\n /** Interpolation parameters for that catalog message. `NOT_UNIQUE` needs none. */\n params: z.record(z.string(), z.string()).optional().describe(\"Values to fill into the message for that code. Absent when the code needs none.\"),\n});\n\nexport type ValidationErrorEntry = z.infer<typeof ValidationErrorEntry_Schema>;\n\nexport const VersionConflictDetailsSchema = z.object({\n currentVersion: z.number(),\n expectedVersion: z.number(),\n conflictingFields: z.array(z.string()),\n currentValues: z.record(z.string(), z.unknown()),\n submittedValues: z.record(z.string(), z.unknown()),\n});\n\nexport type VersionConflictDetails = z.infer<typeof VersionConflictDetailsSchema>;\n\n/**\n * SaaS Error Type Definition\n * Replaces the previous WildoError class\n */\n\n/**\n * Error Response Schema\n * Updated to include operationPath and validationErrors (FIX-P6-H1)\n */\nexport const ErrorResponseSchema = z.object({\n error: z.object({\n type: z.enum(ErrorType),\n severity: z.enum(ErrorSeverity),\n message: z.string(),\n customMessage: z.string(),\n customMessageReference: z.string().optional(),\n code: z.string().optional(),\n operationPath: z.string().optional(),\n /**\n * Request-correlation id (see `ExecutionContext.correlationId`) — a safe, non-PII support/trace id\n * the client can quote and that joins this response to the backend log lines + audit rows for the\n * same request. Present for any request-scoped error (the error's captured id, or the ambient\n * request-context frame at send time).\n */\n correlationId: z.string().optional(),\n details: z.object({\n versionConflict: VersionConflictDetailsSchema.optional(),\n }).catchall(z.any()).optional(),\n timestamp: z.string(),\n initiatorIds: ExecutionContext_InitiatorIdsSchema.optional().nullable(),\n /** Field-level validation errors. Values are either plain strings or structured i18n entries. */\n validationErrors: z.record(z.string(), z.union([z.string(), ValidationErrorEntry_Schema])).optional(),\n /** Contextual user guidance for error resolution (Phase 1b) */\n userGuidance: ErrorUserGuidanceSchema.optional(),\n })\n});\n\nexport type ErrorResponse = z.infer<typeof ErrorResponseSchema>;\n\n/**\n * A single validation error value: either a plain string or a structured entry.\n * Backend can return either format; frontend handles both transparently.\n */\nexport type ValidationErrorValue = string | ValidationErrorEntry;\n\n/**\n * Field-level validation errors map.\n * Keys are dot-notation field paths (e.g., \"email\", \"address.city\").\n * Values are either plain strings or structured i18n entries.\n */\nexport type ValidationErrors = Record<string, ValidationErrorValue>;\n\n// =============================================================================\n// VALIDATION ERROR RESPONSE SCHEMA\n// =============================================================================\n\n/**\n * Standardized validation error response format.\n * Used by both backend (400/409 responses) and frontend (error parsing).\n *\n * The `validationErrors` field maps field names to error values:\n * - Plain string: displayed as-is (legacy format)\n * - ValidationErrorEntry: resolved via i18n on frontend\n */\nexport const ValidationErrorResponse_Schema = z.object({\n /** HTTP status code (400 for validation, 409 for unique constraint) */\n code: z.number(),\n /** General error message */\n message: z.string(),\n /**\n * Field-level validation errors.\n * Field names can be dot-notation paths for nested fields.\n * Values are either plain strings or structured i18n entries.\n */\n validationErrors: z.record(z.string(), z.union([z.string(), ValidationErrorEntry_Schema])).optional(),\n});\n\nexport type ValidationErrorResponse = z.infer<typeof ValidationErrorResponse_Schema>;\n\n// =============================================================================\n// PARSED HTTP ERROR — TYPED FRONTEND ERROR REPRESENTATION\n// =============================================================================\n\n/**\n * Parsed HTTP error — the typed result of processing an HTTP error response.\n *\n * This is the frontend counterpart of WildoError_Backend. It provides typed\n * access to all error properties that the HTTP client interceptor extracts\n * from the backend's ErrorResponse format.\n *\n * Replaces the previous untyped `error as Record<string, unknown>` pattern.\n */\nexport interface ParsedHttpError {\n /** HTTP status code (e.g., 400, 401, 409, 500) */\n httpStatus: number;\n /** Error type from the backend error classification */\n errorType: ErrorType;\n /** Human-readable error message */\n message: string;\n /** Field-level validation errors (present for 400/409/422 responses) */\n validationErrors?: ValidationErrors;\n /** Additional error context/details from the backend */\n details?: Record<string, any>;\n /** Operation path that triggered the error */\n operationPath?: string;\n /** Structured user-facing guidance for error resolution */\n userGuidance?: ErrorUserGuidance;\n}\n\n// =============================================================================\n// VALIDATION ERROR EXTRACTION UTILITIES\n// =============================================================================\n\n/**\n * Check whether a validation error value is a coded entry rather than a plain message.\n *\n * There is deliberately NO shared \"resolve this to a display string\" helper: a coded entry carries no words,\n * and only the frontend — which holds the catalog and the person's language — can turn it into text. A helper\n * here could only have invented English (#1180).\n *\n * @param value - A validation error value\n * @returns True when the value is a coded `ValidationErrorEntry`\n */\nexport function isValidationErrorEntry(value: ValidationErrorValue): value is ValidationErrorEntry {\n return typeof value === 'object' && value !== null && 'code' in value;\n}\n\n/**\n * Extract validation errors from a raw error response payload.\n *\n * Handles multiple formats:\n * 1. Standard backend ErrorResponse: `{ error: { validationErrors: { ... } } }`\n * 2. Flat format (legacy): `{ validationErrors: { ... } }`\n * 3. Pre-parsed interceptor format: `error.validationErrors` on the error object\n *\n * @param payload - Raw error response payload (from axios response.data or error object)\n * @returns Extracted validation errors, or undefined if not found\n */\nexport function extractValidationErrors(payload: unknown): ValidationErrors | undefined {\n if (!payload || typeof payload !== 'object') return undefined;\n\n const obj = payload as Record<string, unknown>;\n\n // Path 1: Standard nested format { error: { validationErrors } }\n if (obj.error && typeof obj.error === 'object') {\n const nested = obj.error as Record<string, unknown>;\n if (nested.validationErrors && typeof nested.validationErrors === 'object' && !Array.isArray(nested.validationErrors)) {\n const ve = nested.validationErrors as Record<string, unknown>;\n if (Object.keys(ve).length > 0) {\n return ve as ValidationErrors;\n }\n }\n }\n\n // Path 2: Flat format { validationErrors }\n if (obj.validationErrors && typeof obj.validationErrors === 'object' && !Array.isArray(obj.validationErrors)) {\n const ve = obj.validationErrors as Record<string, unknown>;\n if (Object.keys(ve).length > 0) {\n return ve as ValidationErrors;\n }\n }\n\n return undefined;\n}\n\n// =============================================================================\n// FIELD VALIDATION — REQUEST/RESPONSE SCHEMAS\n// =============================================================================\n\n/**\n * Request schema for the validate-field endpoint.\n *\n * Used to pre-validate a single field value (e.g., uniqueness check on blur)\n * before form submission.\n */\nexport const ValidateFieldRequest_Schema = z.object({\n /** Field name to validate (must match a field in the resource schema) */\n fieldName: z.string(),\n /** The value to validate */\n value: z.unknown(),\n /** For UPDATE operations: exclude this resource ID from uniqueness check (self-exclusion) */\n excludeId: z.string().optional(),\n});\n\nexport type ValidateFieldRequest = z.infer<typeof ValidateFieldRequest_Schema>;\n\n/**\n * Response schema for the validate-field endpoint.\n */\nexport const ValidateFieldResponse_Schema = z.object({\n /** Whether the field value is valid */\n valid: z.boolean(),\n /**\n * The issue when `valid` is false. It carries a CODE, never a sentence: the words are the client's, from\n * `errors_validation.<code>.msg` (#1180).\n */\n error: z.object({\n /** Field name that failed validation */\n fieldName: z.string(),\n /** The issue's code, rendered by the client from its own validation catalog. */\n code: z.enum(FieldValidationIssueCode),\n /** Interpolation parameters for that catalog message. */\n params: z.record(z.string(), z.string()).optional(),\n }).optional(),\n});\n\nexport type ValidateFieldResponse = z.infer<typeof ValidateFieldResponse_Schema>;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.shared.utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"errors.shared.utils.d.ts","sourceRoot":"","sources":["../../../src/errors/errors.shared.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAInE;;;GAGG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAG7E;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAE/D;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,SAAS,GAAG,aAAa,CAEpE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.shared.utils.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"errors.shared.utils.js","sourceRoot":"","sources":["../../../src/errors/errors.shared.utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAE7F;;;GAGG;AACH,MAAM,UAAU,qCAAqC,CAAC,KAAc;IAClE,MAAM,GAAG,GAAG,KAA+D,CAAC;IAC5E,OAAO,GAAG,EAAE,sBAAsB,KAAK,2BAA2B,CAAC,iCAAiC,CAAC;AACvG,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,SAAoB;IACrD,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC,UAAU,CAAC;AACjD,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAAC,SAAoB;IACnD,OAAO,iBAAiB,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC;AAC/C,CAAC","sourcesContent":["import { ErrorType, ErrorSeverity } from './errors.shared.schemas';\nimport { ERROR_DEFINITIONS } from './errors.shared.definitions';\nimport { ErrorCustomMessageReference } from './errors.custom-message-ref.shared.definitions';\n\n/**\n * Check if an error is the \"app configuration not initialized\" error.\n * Use this instead of string-matching on error messages.\n */\nexport function isAppConfigurationNotInitializedError(error: unknown): boolean {\n const err = error as { customMessageReference?: string } | null | undefined;\n return err?.customMessageReference === ErrorCustomMessageReference.APP_CONFIGURATION_NOT_INITIALIZED;\n}\n\n/**\n * Get HTTP status code for error type\n */\nexport function getErrorStatusCode(errorType: ErrorType): number {\n return ERROR_DEFINITIONS[errorType].statusCode;\n}\n\n/**\n * Get error severity for error type\n */\nexport function getErrorSeverity(errorType: ErrorType): ErrorSeverity {\n return ERROR_DEFINITIONS[errorType].severity;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-access-forbidden.shared.error.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"resource-access-forbidden.shared.error.d.ts","sourceRoot":"","sources":["../../../src/errors/resource-access-forbidden.shared.error.ts"],"names":[],"mappings":"AAAA,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,KAAK,UAAU;CAChB;AAED,MAAM,WAAW,mCAAmC;IAClD,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,kBAAkB,CAAC;CAChC;AAED,qBAAa,4BAA6B,SAAQ,KAAK;IACrD,SAAgB,UAAU,EAAE,MAAM,CAAC;IACnC,SAAgB,YAAY,EAAE,MAAM,CAAC;IACrC,SAAgB,UAAU,EAAE,kBAAkB,CAAC;gBAEnC,OAAO,EAAE,mCAAmC;CASzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-access-forbidden.shared.error.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"resource-access-forbidden.shared.error.js","sourceRoot":"","sources":["../../../src/errors/resource-access-forbidden.shared.error.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,qCAAe,CAAA;AACjB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B;AAQD,MAAM,OAAO,4BAA6B,SAAQ,KAAK;IACrC,UAAU,CAAS;IACnB,YAAY,CAAS;IACrB,UAAU,CAAqB;IAE/C,YAAY,OAA4C;QACtD,KAAK,CACH,WAAW,OAAO,CAAC,UAAU,uBAAuB,OAAO,CAAC,UAAU,cAAc,OAAO,CAAC,YAAY,IAAI,CAC7G,CAAC;QACF,IAAI,CAAC,IAAI,GAAG,8BAA8B,CAAC;QAC3C,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;QACzC,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC;IACvC,CAAC;CACF","sourcesContent":["export enum ResourceAccessMode {\n READ = 'read',\n WRITE = 'write',\n}\n\nexport interface ResourceAccessForbiddenErrorDetails {\n minionName: string;\n resourceType: string;\n accessMode: ResourceAccessMode;\n}\n\nexport class ResourceAccessForbiddenError extends Error {\n public readonly minionName: string;\n public readonly resourceType: string;\n public readonly accessMode: ResourceAccessMode;\n\n constructor(details: ResourceAccessForbiddenErrorDetails) {\n super(\n `Minion '${details.minionName}' is not allowed to ${details.accessMode} resource '${details.resourceType}'.`,\n );\n this.name = 'ResourceAccessForbiddenError';\n this.minionName = details.minionName;\n this.resourceType = details.resourceType;\n this.accessMode = details.accessMode;\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thrown-value-description.shared.utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"thrown-value-description.shared.utils.d.ts","sourceRoot":"","sources":["../../../src/errors/thrown-value-description.shared.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAE1D;AAmBD;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAoB5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thrown-value-description.shared.utils.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"thrown-value-description.shared.utils.js","sourceRoot":"","sources":["../../../src/errors/thrown-value-description.shared.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,mBAAmB,CAAC,KAAc;IAChD,OAAO,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAC/E,CAAC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,kBAAkB,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,CAAU,CAAC;AAElH,4EAA4E;AAC5E,MAAM,2BAA2B,GAAG,GAAG,CAAC;AAExC;;;;;;;;;GASG;AACH,MAAM,UAAU,qBAAqB,CAAC,KAAc;IAClD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACtE,IAAI,IAAc,CAAC;IACnB,IAAI,CAAC;QACH,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;IACD,MAAM,MAAM,GAAG,KAAgC,CAAC;IAChD,MAAM,WAAW,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE;QACpD,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;QAC1B,OAAO,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,KAAK,SAAS,CAAC;IACpH,CAAC,CAAC,CAAC;IACH,MAAM,KAAK,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,GAAG,KAAK,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;IACzE,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAE,WAAiC,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;IAC1F,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC;QAAE,KAAK,CAAC,IAAI,CAAC,WAAW,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACxE,MAAM,WAAW,GAAG,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC;IAC5C,OAAO,WAAW,CAAC,MAAM,GAAG,2BAA2B;QACrD,CAAC,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,CAAC,EAAE,2BAA2B,CAAC,eAAe;QACrE,CAAC,CAAC,WAAW,CAAC;AAClB,CAAC","sourcesContent":["/**\n * A caught value as ONE readable line — the part of `describeCaughtError` that knows nothing about the\n * engine's own error type, and therefore needs no import at all.\n *\n * Split out (2026-09-24) so a BROWSER-bound package can describe a caught value without importing the\n * root of `@wildo-ai/saas-models`: a bundle-isolated package (`saas-website`) may reach this package only\n * through `@wildo-ai/saas-models/public-runtime`. It is re-exported there, and `describeCaughtError`\n * (in the import-free `caught-error-description.shared.utils`, #1591 — also on that seam) delegates to\n * it for every value that is not a `WildoError_Backend`, so there is one implementation of the rendering.\n *\n * Prefer `describeCaughtError`, which is equally light: a value that IS a `WildoError_Backend` reads here\n * as its identifying fields rather than its human message.\n */\nexport function describeThrownValue(error: unknown): string {\n return error instanceof Error ? error.message : describeNonErrorValue(error);\n}\n\n/**\n * The fields of a thrown plain object that IDENTIFY the fault, rendered with their values — in this\n * order. Everything else on the object is named by KEY only.\n *\n * The split is the logging rule, stated once: a diagnostic carries what failed, never the data it\n * failed on. A provider's structured-generation error is a plain object whose other fields are the\n * model's generated `text`, the provider `response` body and the rejected `cause.value`; rendering the\n * whole object put all three into error logs and into trace telemetry every sink emits (measured\n * 2026-09-24 on `agents.backend.service.structured-output-limit`, five pins red). An engine or\n * application fault object names itself through these keys — `{ kind, reason }`, `{ code, message }` —\n * so its diagnostic survives intact.\n */\nconst IDENTIFYING_FIELDS = ['name', 'code', 'kind', 'type', 'status', 'statusCode', 'reason', 'message'] as const;\n\n/** The longest diagnostic this renders; a longer one is cut and says so. */\nconst NON_ERROR_DESCRIPTION_LIMIT = 400;\n\n/**\n * Render a thrown value that is neither an `Error` nor a {@link WildoError_Backend}.\n *\n * `String(value)` renders EVERY plain object as `'[object Object]'`, so distinct faults become one\n * string. Measured 2026-09-23 (#1273): a playbook failed inside the journey's choreography and the run\n * record persisted `'[object Object]'` as its only diagnostic. So an object is rendered by its\n * {@link IDENTIFYING_FIELDS} with their scalar values, and by the NAMES of its other fields — never\n * their values, which is where the data a fault carries lives (see that constant). A cyclic object\n * needs no serialization this way, and the result is bounded.\n */\nexport function describeNonErrorValue(value: unknown): string {\n if (typeof value !== 'object' || value === null) return String(value);\n let keys: string[];\n try {\n keys = Object.keys(value);\n } catch {\n return String(value);\n }\n const record = value as Record<string, unknown>;\n const identifying = IDENTIFYING_FIELDS.filter((key) => {\n const field = record[key];\n return (typeof field === 'string' && field.length > 0) || typeof field === 'number' || typeof field === 'boolean';\n });\n const parts = identifying.map((key) => `${key}: ${String(record[key])}`);\n const otherKeys = keys.filter((key) => !(identifying as readonly string[]).includes(key));\n if (otherKeys.length > 0) parts.push(`fields: ${otherKeys.join(', ')}`);\n const description = `{${parts.join('; ')}}`;\n return description.length > NON_ERROR_DESCRIPTION_LIMIT\n ? `${description.slice(0, NON_ERROR_DESCRIPTION_LIMIT)}… (truncated)`\n : description;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zod-issue-formatting.shared.utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"zod-issue-formatting.shared.utils.d.ts","sourceRoot":"","sources":["../../../src/errors/zod-issue-formatting.shared.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH;;;;;;;GAOG;AACH,MAAM,WAAW,mBAAmB;IAClC,gDAAgD;IAChD,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IAC1C,sDAAsD;IACtD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,oEAAoE;IACpE,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,0EAA0E;AAC1E,eAAO,MAAM,yBAAyB,WAAW,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,IAAI,CAAC;AAEhD;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,QAAQ,CAAC;AAEpC,MAAM,WAAW,yBAAyB;IACxC;;;;;OAKG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,cAAc,CAAC;IAChD,0DAA0D;IAC1D,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,GAAE,yBAA8B,GAAG,MAAM,CAI1G;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAC7B,MAAM,EAAE,aAAa,CAAC,mBAAmB,CAAC,EAC1C,OAAO,GAAE,yBAA8B,GACtC,MAAM,EAAE,CAUV;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,aAAa,CAAC,mBAAmB,CAAC,EAC1C,OAAO,GAAE,yBAA8B,GACtC,MAAM,CAER"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zod-issue-formatting.shared.utils.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"zod-issue-formatting.shared.utils.js","sourceRoot":"","sources":["../../../src/errors/zod-issue-formatting.shared.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAmBH,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG,QAAQ,CAAC;AAElD;;;;GAIG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC;AAEhD;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,CAAC;AAcpC;;;;GAIG;AACH,MAAM,UAAU,cAAc,CAAC,KAA0B,EAAE,UAAqC,EAAE;IAChG,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,yBAAyB,CAAC;IAClG,MAAM,IAAI,GAAG,GAAG,IAAI,KAAK,KAAK,CAAC,OAAO,EAAE,CAAC;IACzC,OAAO,OAAO,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,KAAK,KAAK,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC;AAC9E,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,eAAe,CAC7B,MAA0C,EAC1C,UAAqC,EAAE;IAEvC,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;IAC5B,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,cAAc,EAAE,CAAC;QACpD,OAAO,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;IAC7D,CAAC;IAED,MAAM,QAAQ,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;IACrF,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,GAAG,KAAK,CAAC;IACtC,IAAI,OAAO,GAAG,CAAC;QAAE,QAAQ,CAAC,IAAI,CAAC,KAAK,OAAO,QAAQ,CAAC,CAAC;IACrD,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,kBAAkB,CAChC,MAA0C,EAC1C,UAAqC,EAAE;IAEvC,OAAO,eAAe,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,8BAA8B,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACnG,CAAC","sourcesContent":["/**\n * Canonical rendering of Zod validation issues into operator-readable text.\n *\n * ## Why this is one shared authority\n *\n * A `ZodError`'s own `.message` in Zod 4 is `JSON.stringify(issues, null, 2)` —\n * a multi-line, quote-heavy JSON blob. Every surface that puts that string\n * somewhere textual pays for it:\n *\n * - a backend log context: Pino escapes the already-serialized blob a second\n * time, producing the un-greppable `\"error\": \"[\\n {\\n \\\"origin\\\": …\"` wall;\n * - a thrown frontend `Error` message: the blob lands in the browser console\n * and in any error-surfacing UI as unreadable JSON;\n * - CLI output: the operator stares at serialized issue objects instead of the\n * field that actually failed.\n *\n * The fix is always the same projection — `path: message` per issue, a stable\n * label for root-level issues, a bound on how many are rendered — so it lives\n * here once rather than being re-derived per package. Four independent copies\n * had already drifted (differing root labels, differing overflow wording, one\n * with no bound at all) before this file existed.\n *\n * ## What this is NOT\n *\n * Not a replacement for the structured issue array. Where a machine surface\n * exists — a log's `zodIssues` field, the client-facing `validationErrors` map\n * — the raw issues remain the queryable truth and these strings are the human\n * companion. Render, never substitute.\n *\n * Deliberately import-free (the issue shape is structural, not a `zod` type\n * import) so the module adds nothing to any consumer's dependency graph or\n * bundle budget.\n */\n\n/**\n * The minimal structural shape these formatters read from a Zod issue.\n *\n * Structural rather than `import type { $ZodIssue } from 'zod'` on purpose:\n * multiple Zod module instances can coexist in the dependency graph, and this\n * package is consumed by browser bundles that should not gain a `zod` type\n * edge for a string formatter. Any Zod 4 issue satisfies it.\n */\nexport interface FormattableZodIssue {\n /** Field path; empty for a root-level issue. */\n readonly path: ReadonlyArray<PropertyKey>;\n /** Human-readable, already-localized failure text. */\n readonly message: string;\n /** Machine-readable issue kind (`too_small`, `invalid_type`, …). */\n readonly code?: string;\n}\n\n/** Label for an issue whose `path` is empty — the value itself failed. */\nexport const ZOD_ROOT_ISSUE_PATH_LABEL = '<root>';\n\n/**\n * Default issue cap for {@link summarizeZodIssues}. A bulk payload can fail on\n * hundreds of paths; an unbounded summary would itself become the unreadable\n * wall this module exists to prevent.\n */\nexport const DEFAULT_ZOD_ISSUE_RENDER_LIMIT = 5;\n\n/**\n * Explicit \"render every issue\" limit.\n *\n * A named value rather than `undefined`, because the two functions here differ\n * on what an ABSENT limit means — {@link formatZodIssues} is unbounded,\n * {@link summarizeZodIssues} applies {@link DEFAULT_ZOD_ISSUE_RENDER_LIMIT}. So\n * `{ limit: undefined }` would read as \"no opinion\" while actually overriding\n * the summary's cap through the options spread: correct, but only to a reader\n * who knows the implementation. `{ limit: ALL_ZOD_ISSUES }` says what it does.\n */\nexport const ALL_ZOD_ISSUES = 'all';\n\nexport interface ZodIssueFormattingOptions {\n /**\n * Maximum issues rendered. Extra issues collapse into a trailing overflow\n * entry so the elision is never silent. {@link ALL_ZOD_ISSUES} renders every\n * issue; omitting it is unbounded for {@link formatZodIssues} and\n * {@link DEFAULT_ZOD_ISSUE_RENDER_LIMIT} for {@link summarizeZodIssues}.\n */\n readonly limit?: number | typeof ALL_ZOD_ISSUES;\n /** Append the machine-readable issue code as `[code]`. */\n readonly includeCode?: boolean;\n}\n\n/**\n * Render ONE issue as `path: message`, or `path: message [code]` when\n * `includeCode` is set. A root-level issue is labelled\n * {@link ZOD_ROOT_ISSUE_PATH_LABEL} rather than rendered with an empty path.\n */\nexport function formatZodIssue(issue: FormattableZodIssue, options: ZodIssueFormattingOptions = {}): string {\n const path = issue.path.length > 0 ? issue.path.map(String).join('.') : ZOD_ROOT_ISSUE_PATH_LABEL;\n const base = `${path}: ${issue.message}`;\n return options.includeCode && issue.code ? `${base} [${issue.code}]` : base;\n}\n\n/**\n * Render issues as one entry per issue, capped at `limit` (unbounded when it is\n * absent or {@link ALL_ZOD_ISSUES}).\n *\n * When issues are dropped, a final `(+N more)` entry is appended — the count is\n * part of the output, so a caller that joins the array can never present a\n * truncated list as if it were complete.\n *\n * Returns entries only; the caller owns presentation (bullet prefixes,\n * indentation, the join separator).\n */\nexport function formatZodIssues(\n issues: ReadonlyArray<FormattableZodIssue>,\n options: ZodIssueFormattingOptions = {},\n): string[] {\n const limit = options.limit;\n if (limit === undefined || limit === ALL_ZOD_ISSUES) {\n return issues.map(issue => formatZodIssue(issue, options));\n }\n\n const rendered = issues.slice(0, limit).map(issue => formatZodIssue(issue, options));\n const omitted = issues.length - limit;\n if (omitted > 0) rendered.push(`(+${omitted} more)`);\n return rendered;\n}\n\n/**\n * Render issues as a single line — `path: message; path: message; …` — bounded\n * by {@link DEFAULT_ZOD_ISSUE_RENDER_LIMIT} unless `limit` says otherwise; pass\n * {@link ALL_ZOD_ISSUES} when the destination genuinely needs every issue (a\n * correction instruction fed back to a model, an author-facing account of why\n * an artifact is invalid).\n *\n * This is the form for any destination whose contract is one `string`: a log\n * field, a thrown `Error` message, a persisted failure reason. Single-line\n * matters — a newline inside a structured log record fragments the line in the\n * dev console and inflates the JSON payload in the SIEM.\n *\n * Returns `''` for an empty issue list rather than a stray separator.\n */\nexport function summarizeZodIssues(\n issues: ReadonlyArray<FormattableZodIssue>,\n options: ZodIssueFormattingOptions = {},\n): string {\n return formatZodIssues(issues, { limit: DEFAULT_ZOD_ISSUE_RENDER_LIMIT, ...options }).join('; ');\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabular-csv.shared.utils.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"tabular-csv.shared.utils.d.ts","sourceRoot":"","sources":["../../../src/exports/tabular-csv.shared.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH;;;;;;GAMG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAIhD;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAEzF;AAED,oGAAoG;AACpG,wBAAgB,cAAc,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAEjE;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,MAAM,EAAE,CAW5F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabular-csv.shared.utils.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"tabular-csv.shared.utils.js","sourceRoot":"","sources":["../../../src/exports/tabular-csv.shared.utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH;;;;;;GAMG;AACH,MAAM,UAAU,SAAS,CAAC,KAAc;IACtC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO,EAAE,CAAC;IACrD,MAAM,GAAG,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC9E,OAAO,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC;AACrE,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,OAA0B,EAAE,GAA4B;IAC/E,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;AAC1E,CAAC;AAED,oGAAoG;AACpG,MAAM,UAAU,cAAc,CAAC,OAA0B;IACvD,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;AACjD,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,yBAAyB,CAAC,IAAwC;IAChF,MAAM,OAAO,GAAa,EAAE,CAAC;IAC7B,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YACnC,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;gBAAE,SAAS;YAC5B,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACd,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACpB,CAAC;IACH,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC","sourcesContent":["/**\n * RFC 4180 primitives, shared by every surface that renders rows as CSV.\n *\n * Deliberately holds the MECHANICS and no vocabulary. Two unrelated features render CSV — a data\n * subject's portability bundle (`SubjectExportFormat`) and a resource listing export\n * (`ResourceCollectionExportFormat`) — and they must NOT share an enum, because an enum member is\n * where the per-member \"why\" lives and those two \"why\"s are different (GDPR Art. 20 on one side, an\n * operator convenience on the other). Escaping a comma carries no such meaning, so it is shared here\n * rather than copied into both.\n */\n\n/**\n * RFC 4180 escaping: quote when the value contains a delimiter, quote or newline; double inner quotes.\n *\n * Nested structures have no tabular representation. JSON-encoding them keeps the value RECOVERABLE\n * rather than rendering `[object Object]` — and that lossiness is exactly why CSV is never the right\n * default when a machine has to read the result back.\n */\nexport function toCsvCell(value: unknown): string {\n if (value === null || value === undefined) return '';\n const raw = typeof value === 'object' ? JSON.stringify(value) : String(value);\n return /[\",\\n\\r]/.test(raw) ? `\"${raw.replace(/\"/g, '\"\"')}\"` : raw;\n}\n\n/**\n * One CSV record, terminated.\n *\n * The trailing newline is a POSIX text convention AND a practical one: several spreadsheet importers\n * drop the final record of a file that does not end in a line break.\n */\nexport function toCsvRow(columns: readonly string[], row: Record<string, unknown>): string {\n return `${columns.map((column) => toCsvCell(row[column])).join(',')}\\n`;\n}\n\n/** The header record, escaped by the same rules as the data — a column name may contain a comma. */\nexport function toCsvHeaderRow(columns: readonly string[]): string {\n return `${columns.map(toCsvCell).join(',')}\\n`;\n}\n\n/**\n * Union of every key present across a set of rows, in first-seen order.\n *\n * ⚠️ Correct only when EVERY row is in hand. A streaming export cannot use it: the header must be\n * written before the last page has been read, so a column first appearing on page 40 would be\n * silently dropped from a file that looks complete. Streaming callers resolve their columns from the\n * declared response schema instead.\n *\n * Rows of one resource can legitimately differ in shape (optional fields absent on some documents),\n * so taking the first row's keys would truncate columns that only later rows carry. First-seen order\n * rather than sorted: it follows the schema's own field order in the common case, which reads far\n * better than alphabetical, and is deterministic either way.\n */\nexport function resolveCsvColumnsFromRows(rows: readonly Record<string, unknown>[]): string[] {\n const columns: string[] = [];\n const seen = new Set<string>();\n for (const row of rows) {\n for (const key of Object.keys(row)) {\n if (seen.has(key)) continue;\n seen.add(key);\n columns.push(key);\n }\n }\n return columns;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-data-pipeline-description.shared.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"external-data-pipeline-description.shared.d.ts","sourceRoot":"","sources":["../../../src/external-data/external-data-pipeline-description.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAIL,4BAA4B,EAC5B,6BAA6B,EAM7B,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EACrC,MAAM,yCAAyC,CAAC;AAEjD,oDAAoD;AACpD,MAAM,WAAW,sCAAsC;IACrD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,4BAA4B,CAAC;IAC5C,uGAAuG;IACvG,QAAQ,CAAC,iBAAiB,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9C,0DAA0D;IAC1D,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,2DAA2D;IAC3D,QAAQ,CAAC,KAAK,EAAE,6BAA6B,CAAC;CAC/C;AAED,iEAAiE;AACjE,MAAM,WAAW,+BAA+B;IAC9C;;;;OAIG;IACH,QAAQ,CAAC,SAAS,EAAE,6BAA6B,CAAC;IAClD,QAAQ,CAAC,MAAM,EAAE;QAAE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IACnG,0HAA0H;IAC1H,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,kGAAkG;IAClG,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,sFAAsF;IACtF,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAChE,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,QAAQ,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,QAAQ,CAAC,WAAW,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IACtF,4GAA4G;IAC5G,QAAQ,CAAC,eAAe,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,IAAI,CAAC;IACxF,QAAQ,CAAC,OAAO,EAAE,SAAS,sCAAsC,EAAE,CAAC;CACrE;AA6CD,mFAAmF;AACnF,wBAAgB,4BAA4B,CAAC,WAAW,EAAE,+BAA+B,GAAG,+BAA+B,CA4B1H"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-data-pipeline-description.shared.js","sourceRoot":"","sources":["../../../../src/external-data/external-data-pipeline-description.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EACL,iCAAiC,EACjC,kCAAkC,EAClC,yBAAyB,EACzB,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,wCAAwC,EACxC,iCAAiC,EACjC,6BAA6B,GAI9B,MAAM,yCAAyC,CAAC;AAwCjD,MAAM,MAAM,GAAG,CAAC,KAAc,EAAU,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAEjE,SAAS,eAAe,CAAC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ice a resource\n * specification carries.\n *\n * ## Why it is derived, never authored\n *\n * Before this, a resource's specification described its pipeline in prose (Wonder Todos' `externalCustomers` did, in\n * `notes` and `businessConstraints`), and prose restating a declaration is a second copy that starts drifting the day\n * the declaration changes. So the slice is a FUNCTION of the declaration: `resourceSpecification()` attaches it when\n * it can materialize the resource configuration, and the companion's specification projection derives it from the\n * configuration it already holds. Nothing here is typed by an author, so nothing here can disagree with what runs.\n *\n * ## What it answers\n *\n * Where the rows come from (system, entity, dialect), which rows (the source filter, archived rows), how they are\n * keyed, when a pass runs, what happens to a row that leaves the source — and, per local field, WHAT writes it: the\n * remote fields it reads and the declared operation, including the four expressions (enum mapping, concatenation,\n * arithmetic, conditional). `expression` is a one-line rendering of that operation for a person reviewing the\n * specification; `entry` is the declared data itself, for a reader that needs the exact values.\n */\nimport {\n ExternalDataConcatenationPartKind,\n ExternalDataConditionalOutcomeKind,\n ExternalDataFieldCoercion,\n ExternalDataMappingEntryKind,\n ExternalDataPipelineDirection,\n ExternalDataUnmappedValuePolicy,\n listExternalDataMappingEntryRemoteFields,\n resolveExternalDataConflictPolicy,\n resolveExternalDataFieldOwner,\n type ExternalDataConditionalOutcome,\n type ExternalDataFieldMappingEntry,\n type ExternalDataPipelineDeclaration,\n} from './external-data-pipeline.shared.schemas';\n\n/** One local field the pipeline writes, and how. */\nexport interface ExternalDataPipelineMappingDescription {\n readonly localField: string;\n readonly kind: ExternalDataMappingEntryKind;\n /** Every remote field this entry reads — what the extraction requests for it. Empty for a CONSTANT. */\n readonly readsRemoteFields: readonly string[];\n /** The declared operation in one line, for a reviewer. */\n readonly expression: string;\n /** The declared entry, exactly as the pipeline runs it. */\n readonly entry: ExternalDataFieldMappingEntry;\n}\n\n/** The structured pipeline slice of a resource specification. */\nexport interface ExternalDataPipelineDescription {\n /**\n * Which way rows travel (#1690). For an OUTBOUND pipeline `source` names where rows are SENT, each mapping entry names\n * the local field sent and the remote field it lands on, and the inbound-only facts (`population`, `orphanPolicy`,\n * `sourceFilter`, `archivedRecords`, `incremental`) describe nothing and are null.\n */\n readonly direction: ExternalDataPipelineDirection;\n readonly source: { readonly system: string; readonly entityRef: string; readonly dialect: string };\n /** For an OUTBOUND or BIDIRECTIONAL pipeline, the write verbs it sends (`create`, `update`); empty for an inbound one. */\n readonly sends: readonly string[];\n /** A BIDIRECTIONAL pipeline's conflict policy (#1723), resolved; null for any other direction. */\n readonly conflictPolicy: string | null;\n /** The local field holding each row's remote identity, the key the load merges on. */\n readonly remoteKeyLocalField: string;\n readonly sourceFilter: Readonly<Record<string, unknown>> | null;\n readonly population: string | null;\n readonly orphanPolicy: string | null;\n readonly archivedRecords: string | null;\n readonly scheduleCron: string | null;\n readonly incremental: { readonly mode: string; readonly fullPassCron: string } | null;\n /** The partition stamps; an OUTBOUND pipeline has only the unit a created row is placed by (`key` null). */\n readonly partitionFields: { readonly unit: string; readonly key: string | null } | null;\n readonly mapping: readonly ExternalDataPipelineMappingDescription[];\n}\n\nconst quoted = (value: unknown): string => JSON.stringify(value);\n\nfunction describeOutcome(outcome: ExternalDataConditionalOutcome): string {\n return outcome.kind === ExternalDataConditionalOutcomeKind.CONSTANT ? quoted(outcome.constant) : `\\`${outcome.remoteField}\\``;\n}\n\n/** The one-line rendering of one entry's operation. Total over the entry kinds. */\nfunction describeMappingExpression(entry: ExternalDataFieldMappingEntry): string {\n switch (entry.kind) {\n case ExternalDataMappingEntryKind.REMOTE_FIELD:\n return `\\`${entry.remoteField}\\``\n + (entry.coercion === ExternalDataFieldCoercion.NONE ? '' : ` (${entry.coercion})`)\n + (entry.required ? ', required' : '');\n case ExternalDataMappingEntryKind.CONSTANT:\n return `constant ${quoted(entry.constant)}`;\n case ExternalDataMappingEntryKind.REMOTE_REFERENCE:\n return `foreign key to ${entry.targetResourceType} from \\`${entry.remoteField}\\``\n + (entry.valueShape === undefined ? '' : ` (${entry.valueShape})`) + `, unresolved: ${entry.unresolved}`;\n case ExternalDataMappingEntryKind.ENUM_MAP:\n return `\\`${entry.remoteField}\\` mapped: `\n + entry.values.map(({ remoteValue, localValue }) => `${quoted(remoteValue)} → ${quoted(localValue)}`).join(', ')\n + `; unmapped: ${entry.unmapped.policy === ExternalDataUnmappedValuePolicy.USE_DEFAULT ? quoted(entry.unmapped.localValue) : 'reject the row'}`\n + (entry.required ? ', required' : '');\n case ExternalDataMappingEntryKind.CONCATENATION:\n return 'concatenation of '\n + entry.parts.map((part) => (part.kind === ExternalDataConcatenationPartKind.REMOTE_FIELD ? `\\`${part.remoteField}\\`` : quoted(part.literal))).join(', ')\n + (entry.separator === '' ? '' : ` joined by ${quoted(entry.separator)}`)\n + (entry.required ? ', required' : '');\n case ExternalDataMappingEntryKind.ARITHMETIC:\n return `\\`${entry.remoteField}\\` × ${entry.factor}${entry.offset === 0 ? '' : ` + ${entry.offset}`}`\n + (entry.decimalPlaces === undefined ? '' : `, rounded to ${entry.decimalPlaces} decimal places`)\n + (entry.required ? ', required' : '');\n case ExternalDataMappingEntryKind.CONDITIONAL:\n return `by \\`${entry.remoteField}\\`: `\n + entry.cases.map((entryCase) => `${quoted(entryCase.equals)} → ${describeOutcome(entryCase.then)}`).join('; ')\n + `; otherwise ${describeOutcome(entry.otherwise)}`;\n default: {\n const unhandled: never = entry;\n throw new Error(`describeExternalDataPipeline: unhandled mapping entry ${quoted(unhandled)}`);\n }\n }\n}\n\n/** Describe a PARSED pipeline declaration for a resource specification (#1685). */\nexport function describeExternalDataPipeline(declaration: ExternalDataPipelineDeclaration): ExternalDataPipelineDescription {\n const outbound = declaration.direction === ExternalDataPipelineDirection.OUTBOUND;\n const bidirectional = declaration.direction === ExternalDataPipelineDirection.BIDIRECTIONAL;\n return {\n direction: declaration.direction,\n source: { system: declaration.binding.system, entityRef: declaration.binding.entityRef, dialect: declaration.binding.dialect },\n sends: outbound || bidirectional ? [...declaration.binding.writableVerbs].sort() : [],\n conflictPolicy: bidirectional ? resolveExternalDataConflictPolicy(declaration) : null,\n remoteKeyLocalField: declaration.remoteKeyLocalField,\n sourceFilter: declaration.sourceFilter ?? null,\n // Parsed defaults on an OUTBOUND declaration, which refuses them when authored: describing them would state a load\n // policy for a pipeline that loads nothing.\n population: outbound ? null : declaration.population,\n orphanPolicy: outbound ? null : declaration.orphanPolicy,\n archivedRecords: declaration.archivedRecords?.treatment ?? null,\n scheduleCron: declaration.scheduleCron ?? null,\n incremental: declaration.incremental === undefined ? null : { mode: declaration.incremental.mode, fullPassCron: declaration.incremental.fullPassCron },\n partitionFields: declaration.partitionUnitLocalField === undefined\n ? null\n : { unit: declaration.partitionUnitLocalField, key: declaration.partitionKeyLocalField ?? null },\n mapping: declaration.mapping.map((entry) => ({\n localField: entry.localField,\n kind: entry.kind,\n readsRemoteFields: listExternalDataMappingEntryRemoteFields(entry),\n expression: describeMappingExpression(entry) + (bidirectional ? ` — owner ${resolveExternalDataFieldOwner(entry)}` : ''),\n entry,\n })),\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"external-data-pipeline-description.shared.js","sourceRoot":"","sources":["../../../src/external-data/external-data-pipeline-description.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EACL,iCAAiC,EACjC,kCAAkC,EAClC,yBAAyB,EACzB,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,wCAAwC,EACxC,iCAAiC,EACjC,6BAA6B,GAI9B,MAAM,yCAAyC,CAAC;AAwCjD,MAAM,MAAM,GAAG,CAAC,KAAc,EAAU,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAEjE,SAAS,eAAe,CAAC,OAAuC;IAC9D,OAAO,OAAO,CAAC,IAAI,KAAK,kCAAkC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,WAAW,IAAI,CAAC;AAChI,CAAC;AAED,mFAAmF;AACnF,SAAS,yBAAyB,CAAC,KAAoC;IAC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C,CAAC,CAAC,WAAW,CAAC,YAAY;QACxD,eAAe,EAAE,WAAW,CAAC,eAAe,EAAE,SAAS,IAAI,IAAI;QAC/D,YAAY,EAAE,WAAW,CAAC,YAAY,IAAI,IAAI;QAC9C,WAAW,EAAE,WAAW,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,WAAW,CAAC,WAAW,CAAC,IAAI,EAAE,YAAY,EAAE,WAAW,CAAC,WAAW,CAAC,YAAY,EAAE;QACtJ,eAAe,EAAE,WAAW,CAAC,uBAAuB,KAAK,SAAS;YAChE,CAAC,CAAC,IAAI;YACN,CAAC,CAAC,EAAE,IAAI,EAAE,WAAW,CAAC,uBAAuB,EAAE,GAAG,EAAE,WAAW,CAAC,sBAAsB,IAAI,IAAI,EAAE;QAClG,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;YAC3C,UAAU,EAAE,KAAK,CAAC,UAAU;YAC5B,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,iBAAiB,EAAE,wCAAwC,CAAC,KAAK,CAAC;YAClE,UAAU,EAAE,yBAAyB,CAAC,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,6BAA6B,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACxH,KAAK;SACN,CAAC,CAAC;KACJ,CAAC;AACJ,CAAC","sourcesContent":["/**\n * A pipeline declaration, described for a READER (#1685) — the structured `externalDataPipeline` slice a resource\n * specification carries.\n *\n * ## Why it is derived, never authored\n *\n * Before this, a resource's specification described its pipeline in prose (Wonder Todos' `externalCustomers` did, in\n * `notes` and `businessConstraints`), and prose restating a declaration is a second copy that starts drifting the day\n * the declaration changes. So the slice is a FUNCTION of the declaration: `resourceSpecification()` attaches it when\n * it can materialize the resource configuration, and the companion's specification projection derives it from the\n * configuration it already holds. Nothing here is typed by an author, so nothing here can disagree with what runs.\n *\n * ## What it answers\n *\n * Where the rows come from (system, entity, dialect), which rows (the source filter, archived rows), how they are\n * keyed, when a pass runs, what happens to a row that leaves the source — and, per local field, WHAT writes it: the\n * remote fields it reads and the declared operation, including the four expressions (enum mapping, concatenation,\n * arithmetic, conditional). `expression` is a one-line rendering of that operation for a person reviewing the\n * specification; `entry` is the declared data itself, for a reader that needs the exact values.\n */\nimport {\n ExternalDataConcatenationPartKind,\n ExternalDataConditionalOutcomeKind,\n ExternalDataFieldCoercion,\n ExternalDataMappingEntryKind,\n ExternalDataPipelineDirection,\n ExternalDataUnmappedValuePolicy,\n listExternalDataMappingEntryRemoteFields,\n resolveExternalDataConflictPolicy,\n resolveExternalDataFieldOwner,\n type ExternalDataConditionalOutcome,\n type ExternalDataFieldMappingEntry,\n type ExternalDataPipelineDeclaration,\n} from './external-data-pipeline.shared.schemas';\n\n/** One local field the pipeline writes, and how. */\nexport interface ExternalDataPipelineMappingDescription {\n readonly localField: string;\n readonly kind: ExternalDataMappingEntryKind;\n /** Every remote field this entry reads — what the extraction requests for it. Empty for a CONSTANT. */\n readonly readsRemoteFields: readonly string[];\n /** The declared operation in one line, for a reviewer. */\n readonly expression: string;\n /** The declared entry, exactly as the pipeline runs it. */\n readonly entry: ExternalDataFieldMappingEntry;\n}\n\n/** The structured pipeline slice of a resource specification. */\nexport interface ExternalDataPipelineDescription {\n /**\n * Which way rows travel (#1690). For an OUTBOUND pipeline `source` names where rows are SENT, each mapping entry names\n * the local field sent and the remote field it lands on, and the inbound-only facts (`population`, `orphanPolicy`,\n * `sourceFilter`, `archivedRecords`, `incremental`) describe nothing and are null.\n */\n readonly direction: ExternalDataPipelineDirection;\n readonly source: { readonly system: string; readonly entityRef: string; readonly dialect: string };\n /** For an OUTBOUND or BIDIRECTIONAL pipeline, the write verbs it sends (`create`, `update`); empty for an inbound one. */\n readonly sends: readonly string[];\n /** A BIDIRECTIONAL pipeline's conflict policy (#1723), resolved; null for any other direction. */\n readonly conflictPolicy: string | null;\n /** The local field holding each row's remote identity, the key the load merges on. */\n readonly remoteKeyLocalField: string;\n readonly sourceFilter: Readonly<Record<string, unknown>> | null;\n readonly population: string | null;\n readonly orphanPolicy: string | null;\n readonly archivedRecords: string | null;\n readonly scheduleCron: string | null;\n readonly incremental: { readonly mode: string; readonly fullPassCron: string } | null;\n /** The partition stamps; an OUTBOUND pipeline has only the unit a created row is placed by (`key` null). */\n readonly partitionFields: { readonly unit: string; readonly key: string | null } | null;\n readonly mapping: readonly ExternalDataPipelineMappingDescription[];\n}\n\nconst quoted = (value: unknown): string => JSON.stringify(value);\n\nfunction describeOutcome(outcome: ExternalDataConditionalOutcome): string {\n return outcome.kind === ExternalDataConditionalOutcomeKind.CONSTANT ? quoted(outcome.constant) : `\\`${outcome.remoteField}\\``;\n}\n\n/** The one-line rendering of one entry's operation. Total over the entry kinds. */\nfunction describeMappingExpression(entry: ExternalDataFieldMappingEntry): string {\n switch (entry.kind) {\n case ExternalDataMappingEntryKind.REMOTE_FIELD:\n return `\\`${entry.remoteField}\\``\n + (entry.coercion === ExternalDataFieldCoercion.NONE ? '' : ` (${entry.coercion})`)\n + (entry.required ? ', required' : '');\n case ExternalDataMappingEntryKind.CONSTANT:\n return `constant ${quoted(entry.constant)}`;\n case ExternalDataMappingEntryKind.REMOTE_REFERENCE:\n return `foreign key to ${entry.targetResourceType} from \\`${entry.remoteField}\\``\n + (entry.valueShape === undefined ? '' : ` (${entry.valueShape})`) + `, unresolved: ${entry.unresolved}`;\n case ExternalDataMappingEntryKind.ENUM_MAP:\n return `\\`${entry.remoteField}\\` mapped: `\n + entry.values.map(({ remoteValue, localValue }) => `${quoted(remoteValue)} → ${quoted(localValue)}`).join(', ')\n + `; unmapped: ${entry.unmapped.policy === ExternalDataUnmappedValuePolicy.USE_DEFAULT ? quoted(entry.unmapped.localValue) : 'reject the row'}`\n + (entry.required ? ', required' : '');\n case ExternalDataMappingEntryKind.CONCATENATION:\n return 'concatenation of '\n + entry.parts.map((part) => (part.kind === ExternalDataConcatenationPartKind.REMOTE_FIELD ? `\\`${part.remoteField}\\`` : quoted(part.literal))).join(', ')\n + (entry.separator === '' ? '' : ` joined by ${quoted(entry.separator)}`)\n + (entry.required ? ', required' : '');\n case ExternalDataMappingEntryKind.ARITHMETIC:\n return `\\`${entry.remoteField}\\` × ${entry.factor}${entry.offset === 0 ? '' : ` + ${entry.offset}`}`\n + (entry.decimalPlaces === undefined ? '' : `, rounded to ${entry.decimalPlaces} decimal places`)\n + (entry.required ? ', required' : '');\n case ExternalDataMappingEntryKind.CONDITIONAL:\n return `by \\`${entry.remoteField}\\`: `\n + entry.cases.map((entryCase) => `${quoted(entryCase.equals)} → ${describeOutcome(entryCase.then)}`).join('; ')\n + `; otherwise ${describeOutcome(entry.otherwise)}`;\n default: {\n const unhandled: never = entry;\n throw new Error(`describeExternalDataPipeline: unhandled mapping entry ${quoted(unhandled)}`);\n }\n }\n}\n\n/** Describe a PARSED pipeline declaration for a resource specification (#1685). */\nexport function describeExternalDataPipeline(declaration: ExternalDataPipelineDeclaration): ExternalDataPipelineDescription {\n const outbound = declaration.direction === ExternalDataPipelineDirection.OUTBOUND;\n const bidirectional = declaration.direction === ExternalDataPipelineDirection.BIDIRECTIONAL;\n return {\n direction: declaration.direction,\n source: { system: declaration.binding.system, entityRef: declaration.binding.entityRef, dialect: declaration.binding.dialect },\n sends: outbound || bidirectional ? [...declaration.binding.writableVerbs].sort() : [],\n conflictPolicy: bidirectional ? resolveExternalDataConflictPolicy(declaration) : null,\n remoteKeyLocalField: declaration.remoteKeyLocalField,\n sourceFilter: declaration.sourceFilter ?? null,\n // Parsed defaults on an OUTBOUND declaration, which refuses them when authored: describing them would state a load\n // policy for a pipeline that loads nothing.\n population: outbound ? null : declaration.population,\n orphanPolicy: outbound ? null : declaration.orphanPolicy,\n archivedRecords: declaration.archivedRecords?.treatment ?? null,\n scheduleCron: declaration.scheduleCron ?? null,\n incremental: declaration.incremental === undefined ? null : { mode: declaration.incremental.mode, fullPassCron: declaration.incremental.fullPassCron },\n partitionFields: declaration.partitionUnitLocalField === undefined\n ? null\n : { unit: declaration.partitionUnitLocalField, key: declaration.partitionKeyLocalField ?? null },\n mapping: declaration.mapping.map((entry) => ({\n localField: entry.localField,\n kind: entry.kind,\n readsRemoteFields: listExternalDataMappingEntryRemoteFields(entry),\n expression: describeMappingExpression(entry) + (bidirectional ? ` — owner ${resolveExternalDataFieldOwner(entry)}` : ''),\n entry,\n })),\n };\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-data-pipeline-pass-mode.shared.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"external-data-pipeline-pass-mode.shared.d.ts","sourceRoot":"","sources":["../../../src/external-data/external-data-pipeline-pass-mode.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH;;;;;;;;;;GAUG;AACH,oBAAY,4BAA4B;IACtC,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B;;;;OAIG;IACH,IAAI,SAAS;CACd;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,+CAA+C,4BAA4B,CAAC;AAEzF;;;;;;;GAOG;AACH,oBAAY,iCAAiC;IAC3C;;;;OAIG;IACH,OAAO,YAAY;IACnB,sGAAsG;IACtG,WAAW,gBAAgB;CAC5B;AAED;;;;;GAKG;AACH,oBAAY,qCAAqC;IAC/C,wGAAwG;IACxG,iBAAiB,sBAAsB;IACvC,mFAAmF;IACnF,mBAAmB,wBAAwB;IAC3C,4GAA4G;IAC5G,uBAAuB,4BAA4B;IACnD,mHAAmH;IACnH,oBAAoB,yBAAyB;IAC7C;;;OAGG;IACH,8BAA8B,mCAAmC;IACjE,qEAAqE;IACrE,QAAQ,aAAa;IACrB,6GAA6G;IAC7G,0BAA0B,+BAA+B;IACzD,qGAAqG;IACrG,qBAAqB,0BAA0B;IAC/C;;;OAGG;IACH,kBAAkB,uBAAuB;IACzC,8GAA8G;IAC9G,iBAAiB,sBAAsB;CACxC;AAED;;;;;;;GAOG;AACH,oBAAY,0BAA0B;IACpC,mHAAmH;IACnH,WAAW,gBAAgB;IAC3B,+GAA+G;IAC/G,UAAU,eAAe;IACzB;;;;;OAKG;IACH,iBAAiB,sBAAsB;CACxC;AAED;;;;GAIG;AACH,oBAAY,0BAA0B;IACpC,qEAAqE;IACrE,MAAM,WAAW;IACjB,qGAAqG;IACrG,KAAK,UAAU;CAChB;AAED,sDAAsD;AACtD,oBAAY,kCAAkC;IAC5C,gDAAgD;IAChD,eAAe,oBAAoB;IACnC,uGAAuG;IACvG,QAAQ,aAAa;CACtB;AAED;;;;;;;;GAQG;AACH,oBAAY,6BAA6B;IACvC;;;OAGG;IACH,YAAY,iBAAiB;IAC7B;;;OAGG;IACH,WAAW,gBAAgB;CAC5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-data-pipeline-pass-mode.shared.js","sourceRoot":"","sources":["../../../../src/external-data/external-data-pipeline-pass-mode.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH;;;;;;;;;;GAUG;AACH,MAAM,CAAN,IAAY,4BASX;AATD,WAAY,4BAA4B;IACtC,6CAAa,CAAA;IACb,2DAA2B,CAAA;IAC3B;;;;OAIG;IACH,6CAAa,CAAA;AACf,CAAC,EATW,4BAA4B,KAA5B,4BAA4B,QASvC;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAG,yBAAyB,CAAC;AAEzF;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,iCASX;AATD,WAAY,iCAAiC;IAC3C;;;;OAIG;IACH,wDAAmB,CAAA;IACnB,sGAAsG;IACtG,gEAA2B,CAAA;AAC7B,CAAC,EATW,iCAAiC,KAAjC,iCAAiC,QAS5C;AAED;;;;;GAKG;AACH,MAAM,CAAN,IAAY,qCA2BX;AA3BD,WAAY,qCAAqC;IAC/C,wGAAwG;IACxG,gFAAuC,CAAA;IACvC,mFAAmF;IACnF,oFAA2C,CAAA;IAC3C,4GAA4G;IAC5G,4FAAmD,CAAA;IACnD,mHAAmH;IACnH,sFAA6C,CAAA;IAC7C;;;OAGG;IACH,0GAAiE,CAAA;IACjE,qEAAqE;IACrE,8DAAqB,CAAA;IACrB,6GAA6G;IAC7G,kGAAyD,CAAA;IACzD,qGAAqG;IACrG,wFAA+C,CAAA;IAC/C;;;OAGG;IACH,kFAAyC,CAAA;IACzC,8GAA8G;IAC9G,gFAAuC,CAAA;AACzC,CAAC,EA3BW,qCAAqC,KAArC,qCAAqC,QA2BhD;AAED;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,0BAYX;AAZD,WAAY,0BAA0B;IACpC,mHAAmH;IACnH,yDAA2B,CAAA;IAC3B,+GAA+G;IAC/G,uDAAyB,CAAA;IACzB;;;;;OAKG;IACH,qEAAuC,CAAA;AACzC,CAAC,EAZW,0BAA0B,KAA1B,0BAA0B,QAYrC;AAED;;;;GAIG;AACH,MAAM,CAAN,IAAY,0BAKX;AALD,WAAY,0BAA0B;IACpC,qEAAqE;IACrE,+CAAiB,CAAA;IACjB,qGAAqG;IACrG,6CAAe,CAAA;AACjB,CAAC,EALW,0BAA0B,KAA1B,0BAA0B,QAKrC;AAED,sDAAsD;AACtD,MAAM,CAAN,IAAY,kCAKX;AALD,WAAY,kCAAkC;IAC5C,gDAAgD;IAChD,yEAAmC,CAAA;IACnC,uGAAuG;IACvG,2DAAqB,CAAA;AACvB,CAAC,EALW,kCAAkC,KAAlC,kCAAkC,QAK7C;AAED;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,6BAWX;AAXD,WAAY,6BAA6B;IACvC;;;OAGG;IACH,8DAA6B,CAAA;IAC7B;;;OAGG;IACH,4DAA2B,CAAA;AAC7B,CAAC,EAXW,6BAA6B,KAA7B,6BAA6B,QAWxC","sourcesContent":["/**\n * The pipeline PASS-MODE vocabulary (#1682), in its own ROOT-exported module.\n *\n * Not beside the pipeline declaration on the `@wildo-ai/saas-models/external-data` subpath, because two\n * ROOT-exported contracts carry it: the read-through audit event (`pipelinePassMode` on\n * `AuditableEvent_HttpApiReadThroughAccess_EventDataSchema`) and, through saas-backend-lib's root, the\n * pipeline run report. A nominal enum reached from a root contract must be nameable from the root\n * (`package-public-entrypoints.md`), so the boundary moved here rather than the audit field weakening to\n * a string.\n */\n\n/**\n * The two kinds of pass a pipeline runs (#1682) — and they answer different questions, which is why\n * they are two tracks on the state row rather than one cursor.\n *\n * A FULL pass reads the whole remote population (in key order, possibly across many runs) and is the\n * ONLY pass that may conclude a remote row was deleted: \"absent from a complete read\" is evidence of\n * deletion, \"absent from a read of what changed\" is not. An INCREMENTAL pass reads only what changed\n * since the pipeline's watermark, loads it, and never runs the orphan walk.\n *\n * A pipeline that declares no `incremental` runs full passes only, exactly as before.\n */\nexport enum ExternalDataPipelinePassMode {\n FULL = 'full',\n INCREMENTAL = 'incremental',\n /**\n * An OUTBOUND pipeline's pass (#1690): it reads no source and loads nothing — it SENDS the destination's owed local\n * changes to the system of record. The only mode such a pipeline runs, and one an inbound pipeline never runs; asking\n * for either of the other two on an outbound pipeline, or for this one on an inbound pipeline, is refused.\n */\n SEND = 'send',\n}\n\n/**\n * The `operationIdentifier` a pipeline RUN writes on its read-through audit row — the one value that tells a run's row\n * apart from an ordinary read-through `read` / `list` / `count` / `search` of the same event type.\n *\n * Named because two parties must agree on it and neither owns the other: the run service writes it, and the erasure\n * evidence requirement (`erasure-propagation-record` C5, #1746) selects the rows it sums `suppressedRows` over by it.\n * A literal on each side would drift the day either was edited, and the collector would then sum nothing while\n * reporting a clean window. Root-exported for the same reason the pass mode is.\n */\nexport const EXTERNAL_DATA_PIPELINE_RUN_OPERATION_IDENTIFIER = 'externalDataPipelineRun';\n\n/**\n * An operator's answer to an OUTBOUND write of unknown outcome (#2039), given through the admin door\n * (`POST /internal/admin/external-data/outbound-changes/resolve`) by someone who LOOKED in the system of record. Root-exported\n * for the pass mode's reason: the answer's audit event carries it.\n *\n * The pass never answers this itself. A write whose outcome is unknown may have landed, and for a CREATE, sending it\n * again could make the record twice, so the change waits for someone who can see the system of record.\n */\nexport enum ExternalDataOutboundUnknownAnswer {\n /**\n * The write landed. For a CREATE the answer carries the remote key of the record found, and the engine writes it to\n * the local row, so later edits reach that record as updates. The change is then settled as if it had been\n * acknowledged, and a change made since is sent next.\n */\n APPLIED = 'applied',\n /** The write did not land: the change is sent again by the next pass, under a new Idempotency-Key. */\n NOT_APPLIED = 'not-applied',\n}\n\n/**\n * Why the outbound resolution door refused an answer (#2039). Root-exported because it reaches a CLIENT: it is the\n * stable `code` on the refusal, which a console or a script branches on — so it is named here, in the models every\n * consumer can import, not inside the backend module that decides it. Each names what the operator must look at before\n * answering again.\n */\nexport enum ExternalDataOutboundResolutionRefusal {\n /** The row has no change of unknown outcome — answered already, settled by a pass, or never unknown. */\n NO_UNKNOWN_CHANGE = 'no-unknown-change',\n /** An APPLIED answer to a CREATE must carry the remote key of the record found. */\n REMOTE_KEY_REQUIRED = 'remote-key-required',\n /** A remote key only answers an applied CREATE; an update or a not-applied answer has no record to link. */\n REMOTE_KEY_NOT_ACCEPTED = 'remote-key-not-accepted',\n /** The key is not one the binding's key fields can hold (its codec refused it, or it is a non-canonical alias). */\n REMOTE_KEY_MALFORMED = 'remote-key-malformed',\n /**\n * ANOTHER local row already holds that remote key. Linking a second row to the record would make each row's edits\n * overwrite the other's — the one duplicate this door could create that the pass never can. Look again.\n */\n REMOTE_KEY_HELD_BY_ANOTHER_ROW = 'remote-key-held-by-another-row',\n /** The local row is gone: there is nothing to link the record to. */\n ROW_GONE = 'row-gone',\n /** The local row is not the owner organization's — a pipeline never sends it, so no answer applies to it. */\n ROW_NOT_OWNER_ORGANIZATION = 'row-not-owner-organization',\n /** The local row already holds a DIFFERENT remote key — the answer would re-point it. Look again. */\n ROW_HOLDS_ANOTHER_KEY = 'row-holds-another-key',\n /**\n * The create was answered NOT applied, but the row already holds a remote key — it is linked, so the create DID land\n * (a pass or an earlier answer recorded it). Sending it again would contradict the row. Look again.\n */\n ROW_ALREADY_LINKED = 'row-already-linked',\n /** The change moved while it was being answered (a pass, another answer). Nothing was changed; list again. */\n CHANGED_MEANWHILE = 'changed-meanwhile',\n}\n\n/**\n * What a BIDIRECTIONAL pipeline does with a row changed on BOTH sides since they last agreed (#1723) — declared per\n * pipeline (`conflictPolicy`), and chosen per row by an operator for a conflict the pipeline refused. Root-exported for the\n * pass mode's reason: the conflict's audit event carries it.\n *\n * Only fields BOTH sides own (`owner: BOTH`) can conflict: a field only the system of record owns is loaded, a field\n * only the application owns is sent, and neither ever overwrites the other side's version of the same field.\n */\nexport enum ExternalDataConflictPolicy {\n /** The system of record's values are loaded over the local ones; the local change to those fields is discarded. */\n REMOTE_WINS = 'remote-wins',\n /** The local values are kept and sent over the system of record's; its change to those fields is discarded. */\n LOCAL_WINS = 'local-wins',\n /**\n * Neither side's BOTH-owned fields are touched: the row is reported as a conflict, and waits for an operator to choose\n * REMOTE_WINS or LOCAL_WINS for it (`POST /internal/admin/external-data/outbound-changes/resolve`). The default —\n * nothing is overwritten that nobody decided to overwrite. The row's REMOTE-owned fields still load: they cannot\n * conflict, because nothing local writes them.\n */\n REFUSE_AND_REPORT = 'refuse-and-report',\n}\n\n/**\n * Which side's values a RESOLVED conflict kept (#1723) — the outcome, where {@link ExternalDataConflictPolicy} is the\n * rule that chose it. What the conflict's audit row names. Root-exported for the same reason as the policy: the audit\n * event carrying it is a root-exported contract.\n */\nexport enum ExternalDataConflictWinner {\n /** The system of record's values were loaded over the local ones. */\n REMOTE = 'remote',\n /** The local values were kept, and the next outbound pass sends them over the system of record's. */\n LOCAL = 'local',\n}\n\n/** Who chose a resolved conflict's winner (#1723). */\nexport enum ExternalDataConflictDecisionSource {\n /** The pipeline's declared `conflictPolicy`. */\n DECLARED_POLICY = 'declared-policy',\n /** An operator's answer for this row, through the admin door, after the declared policy refused it. */\n OPERATOR = 'operator',\n}\n\n/**\n * What the operator reset door (`POST /internal/admin/external-data/reset`, #1734) discards. Here, root-exported, for the\n * pass mode's reason: the reset's audit event (`AuditableEvent_ExternalDataPipelineReset_EventDataSchema`) is a\n * root-exported contract that carries it.\n *\n * The door exists because the run REFUSES, deliberately, on state it cannot trust — a state row with no checkpoint\n * version, a malformed checkpoint, a membership journal that is cyclic or does not match its pass — and each refusal\n * would otherwise repeat on every scheduled tick until someone edited rows by hand. A reset is the audited way past it.\n */\nexport enum ExternalDataPipelineResetMode {\n /**\n * Drop the FULL pass in flight — its cursor, its checkpoint and its membership journal. The next full run starts a new\n * pass from the beginning. The incremental track (#1682), if any, is kept: its watermark is still a true position.\n */\n RESTART_PASS = 'restart-pass',\n /**\n * Everything RESTART_PASS drops, and the incremental track too, so the next incremental pass re-reads the whole\n * source. For a watermark that is no longer trusted — a restored source, a source whose change timestamps moved.\n */\n FULL_RESYNC = 'full-resync',\n}\n"]}
|
|
1
|
+
{"version":3,"file":"external-data-pipeline-pass-mode.shared.js","sourceRoot":"","sources":["../../../src/external-data/external-data-pipeline-pass-mode.shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH;;;;;;;;;;GAUG;AACH,MAAM,CAAN,IAAY,4BASX;AATD,WAAY,4BAA4B;IACtC,6CAAa,CAAA;IACb,2DAA2B,CAAA;IAC3B;;;;OAIG;IACH,6CAAa,CAAA;AACf,CAAC,EATW,4BAA4B,KAA5B,4BAA4B,QASvC;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAG,yBAAyB,CAAC;AAEzF;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,iCASX;AATD,WAAY,iCAAiC;IAC3C;;;;OAIG;IACH,wDAAmB,CAAA;IACnB,sGAAsG;IACtG,gEAA2B,CAAA;AAC7B,CAAC,EATW,iCAAiC,KAAjC,iCAAiC,QAS5C;AAED;;;;;GAKG;AACH,MAAM,CAAN,IAAY,qCA2BX;AA3BD,WAAY,qCAAqC;IAC/C,wGAAwG;IACxG,gFAAuC,CAAA;IACvC,mFAAmF;IACnF,oFAA2C,CAAA;IAC3C,4GAA4G;IAC5G,4FAAmD,CAAA;IACnD,mHAAmH;IACnH,sFAA6C,CAAA;IAC7C;;;OAGG;IACH,0GAAiE,CAAA;IACjE,qEAAqE;IACrE,8DAAqB,CAAA;IACrB,6GAA6G;IAC7G,kGAAyD,CAAA;IACzD,qGAAqG;IACrG,wFAA+C,CAAA;IAC/C;;;OAGG;IACH,kFAAyC,CAAA;IACzC,8GAA8G;IAC9G,gFAAuC,CAAA;AACzC,CAAC,EA3BW,qCAAqC,KAArC,qCAAqC,QA2BhD;AAED;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,0BAYX;AAZD,WAAY,0BAA0B;IACpC,mHAAmH;IACnH,yDAA2B,CAAA;IAC3B,+GAA+G;IAC/G,uDAAyB,CAAA;IACzB;;;;;OAKG;IACH,qEAAuC,CAAA;AACzC,CAAC,EAZW,0BAA0B,KAA1B,0BAA0B,QAYrC;AAED;;;;GAIG;AACH,MAAM,CAAN,IAAY,0BAKX;AALD,WAAY,0BAA0B;IACpC,qEAAqE;IACrE,+CAAiB,CAAA;IACjB,qGAAqG;IACrG,6CAAe,CAAA;AACjB,CAAC,EALW,0BAA0B,KAA1B,0BAA0B,QAKrC;AAED,sDAAsD;AACtD,MAAM,CAAN,IAAY,kCAKX;AALD,WAAY,kCAAkC;IAC5C,gDAAgD;IAChD,yEAAmC,CAAA;IACnC,uGAAuG;IACvG,2DAAqB,CAAA;AACvB,CAAC,EALW,kCAAkC,KAAlC,kCAAkC,QAK7C;AAED;;;;;;;;GAQG;AACH,MAAM,CAAN,IAAY,6BAWX;AAXD,WAAY,6BAA6B;IACvC;;;OAGG;IACH,8DAA6B,CAAA;IAC7B;;;OAGG;IACH,4DAA2B,CAAA;AAC7B,CAAC,EAXW,6BAA6B,KAA7B,6BAA6B,QAWxC","sourcesContent":["/**\n * The pipeline PASS-MODE vocabulary (#1682), in its own ROOT-exported module.\n *\n * Not beside the pipeline declaration on the `@wildo-ai/saas-models/external-data` subpath, because two\n * ROOT-exported contracts carry it: the read-through audit event (`pipelinePassMode` on\n * `AuditableEvent_HttpApiReadThroughAccess_EventDataSchema`) and, through saas-backend-lib's root, the\n * pipeline run report. A nominal enum reached from a root contract must be nameable from the root\n * (`package-public-entrypoints.md`), so the boundary moved here rather than the audit field weakening to\n * a string.\n */\n\n/**\n * The two kinds of pass a pipeline runs (#1682) — and they answer different questions, which is why\n * they are two tracks on the state row rather than one cursor.\n *\n * A FULL pass reads the whole remote population (in key order, possibly across many runs) and is the\n * ONLY pass that may conclude a remote row was deleted: \"absent from a complete read\" is evidence of\n * deletion, \"absent from a read of what changed\" is not. An INCREMENTAL pass reads only what changed\n * since the pipeline's watermark, loads it, and never runs the orphan walk.\n *\n * A pipeline that declares no `incremental` runs full passes only, exactly as before.\n */\nexport enum ExternalDataPipelinePassMode {\n FULL = 'full',\n INCREMENTAL = 'incremental',\n /**\n * An OUTBOUND pipeline's pass (#1690): it reads no source and loads nothing — it SENDS the destination's owed local\n * changes to the system of record. The only mode such a pipeline runs, and one an inbound pipeline never runs; asking\n * for either of the other two on an outbound pipeline, or for this one on an inbound pipeline, is refused.\n */\n SEND = 'send',\n}\n\n/**\n * The `operationIdentifier` a pipeline RUN writes on its read-through audit row — the one value that tells a run's row\n * apart from an ordinary read-through `read` / `list` / `count` / `search` of the same event type.\n *\n * Named because two parties must agree on it and neither owns the other: the run service writes it, and the erasure\n * evidence requirement (`erasure-propagation-record` C5, #1746) selects the rows it sums `suppressedRows` over by it.\n * A literal on each side would drift the day either was edited, and the collector would then sum nothing while\n * reporting a clean window. Root-exported for the same reason the pass mode is.\n */\nexport const EXTERNAL_DATA_PIPELINE_RUN_OPERATION_IDENTIFIER = 'externalDataPipelineRun';\n\n/**\n * An operator's answer to an OUTBOUND write of unknown outcome (#2039), given through the admin door\n * (`POST /internal/admin/external-data/outbound-changes/resolve`) by someone who LOOKED in the system of record. Root-exported\n * for the pass mode's reason: the answer's audit event carries it.\n *\n * The pass never answers this itself. A write whose outcome is unknown may have landed, and for a CREATE, sending it\n * again could make the record twice, so the change waits for someone who can see the system of record.\n */\nexport enum ExternalDataOutboundUnknownAnswer {\n /**\n * The write landed. For a CREATE the answer carries the remote key of the record found, and the engine writes it to\n * the local row, so later edits reach that record as updates. The change is then settled as if it had been\n * acknowledged, and a change made since is sent next.\n */\n APPLIED = 'applied',\n /** The write did not land: the change is sent again by the next pass, under a new Idempotency-Key. */\n NOT_APPLIED = 'not-applied',\n}\n\n/**\n * Why the outbound resolution door refused an answer (#2039). Root-exported because it reaches a CLIENT: it is the\n * stable `code` on the refusal, which a console or a script branches on — so it is named here, in the models every\n * consumer can import, not inside the backend module that decides it. Each names what the operator must look at before\n * answering again.\n */\nexport enum ExternalDataOutboundResolutionRefusal {\n /** The row has no change of unknown outcome — answered already, settled by a pass, or never unknown. */\n NO_UNKNOWN_CHANGE = 'no-unknown-change',\n /** An APPLIED answer to a CREATE must carry the remote key of the record found. */\n REMOTE_KEY_REQUIRED = 'remote-key-required',\n /** A remote key only answers an applied CREATE; an update or a not-applied answer has no record to link. */\n REMOTE_KEY_NOT_ACCEPTED = 'remote-key-not-accepted',\n /** The key is not one the binding's key fields can hold (its codec refused it, or it is a non-canonical alias). */\n REMOTE_KEY_MALFORMED = 'remote-key-malformed',\n /**\n * ANOTHER local row already holds that remote key. Linking a second row to the record would make each row's edits\n * overwrite the other's — the one duplicate this door could create that the pass never can. Look again.\n */\n REMOTE_KEY_HELD_BY_ANOTHER_ROW = 'remote-key-held-by-another-row',\n /** The local row is gone: there is nothing to link the record to. */\n ROW_GONE = 'row-gone',\n /** The local row is not the owner organization's — a pipeline never sends it, so no answer applies to it. */\n ROW_NOT_OWNER_ORGANIZATION = 'row-not-owner-organization',\n /** The local row already holds a DIFFERENT remote key — the answer would re-point it. Look again. */\n ROW_HOLDS_ANOTHER_KEY = 'row-holds-another-key',\n /**\n * The create was answered NOT applied, but the row already holds a remote key — it is linked, so the create DID land\n * (a pass or an earlier answer recorded it). Sending it again would contradict the row. Look again.\n */\n ROW_ALREADY_LINKED = 'row-already-linked',\n /** The change moved while it was being answered (a pass, another answer). Nothing was changed; list again. */\n CHANGED_MEANWHILE = 'changed-meanwhile',\n}\n\n/**\n * What a BIDIRECTIONAL pipeline does with a row changed on BOTH sides since they last agreed (#1723) — declared per\n * pipeline (`conflictPolicy`), and chosen per row by an operator for a conflict the pipeline refused. Root-exported for the\n * pass mode's reason: the conflict's audit event carries it.\n *\n * Only fields BOTH sides own (`owner: BOTH`) can conflict: a field only the system of record owns is loaded, a field\n * only the application owns is sent, and neither ever overwrites the other side's version of the same field.\n */\nexport enum ExternalDataConflictPolicy {\n /** The system of record's values are loaded over the local ones; the local change to those fields is discarded. */\n REMOTE_WINS = 'remote-wins',\n /** The local values are kept and sent over the system of record's; its change to those fields is discarded. */\n LOCAL_WINS = 'local-wins',\n /**\n * Neither side's BOTH-owned fields are touched: the row is reported as a conflict, and waits for an operator to choose\n * REMOTE_WINS or LOCAL_WINS for it (`POST /internal/admin/external-data/outbound-changes/resolve`). The default —\n * nothing is overwritten that nobody decided to overwrite. The row's REMOTE-owned fields still load: they cannot\n * conflict, because nothing local writes them.\n */\n REFUSE_AND_REPORT = 'refuse-and-report',\n}\n\n/**\n * Which side's values a RESOLVED conflict kept (#1723) — the outcome, where {@link ExternalDataConflictPolicy} is the\n * rule that chose it. What the conflict's audit row names. Root-exported for the same reason as the policy: the audit\n * event carrying it is a root-exported contract.\n */\nexport enum ExternalDataConflictWinner {\n /** The system of record's values were loaded over the local ones. */\n REMOTE = 'remote',\n /** The local values were kept, and the next outbound pass sends them over the system of record's. */\n LOCAL = 'local',\n}\n\n/** Who chose a resolved conflict's winner (#1723). */\nexport enum ExternalDataConflictDecisionSource {\n /** The pipeline's declared `conflictPolicy`. */\n DECLARED_POLICY = 'declared-policy',\n /** An operator's answer for this row, through the admin door, after the declared policy refused it. */\n OPERATOR = 'operator',\n}\n\n/**\n * What the operator reset door (`POST /internal/admin/external-data/reset`, #1734) discards. Here, root-exported, for the\n * pass mode's reason: the reset's audit event (`AuditableEvent_ExternalDataPipelineReset_EventDataSchema`) is a\n * root-exported contract that carries it.\n *\n * The door exists because the run REFUSES, deliberately, on state it cannot trust — a state row with no checkpoint\n * version, a malformed checkpoint, a membership journal that is cyclic or does not match its pass — and each refusal\n * would otherwise repeat on every scheduled tick until someone edited rows by hand. A reset is the audited way past it.\n */\nexport enum ExternalDataPipelineResetMode {\n /**\n * Drop the FULL pass in flight — its cursor, its checkpoint and its membership journal. The next full run starts a new\n * pass from the beginning. The incremental track (#1682), if any, is kept: its watermark is still a true position.\n */\n RESTART_PASS = 'restart-pass',\n /**\n * Everything RESTART_PASS drops, and the incremental track too, so the next incremental pass re-reads the whole\n * source. For a watermark that is no longer trusted — a restored source, a source whose change timestamps moved.\n */\n FULL_RESYNC = 'full-resync',\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-data-pipeline.shared.schemas.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"external-data-pipeline.shared.schemas.d.ts","sourceRoot":"","sources":["../../../src/external-data/external-data-pipeline.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAgC,2BAA2B,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AAClJ,OAAO,EAAE,uBAAuB,EAAE,MAAM,uDAAuD,CAAC;AAChG,OAAO,EAAE,oBAAoB,EAAE,MAAM,oDAAoD,CAAC;AAC1F,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AAEvF;;;;;;GAMG;AACH,kHAAkH;AAClH,oBAAY,6BAA6B;IACvC;;;OAGG;IACH,OAAO,YAAY;IACnB;;;;;;;;;OASG;IACH,QAAQ,aAAa;IACrB;;;;;;;;;OASG;IACH,aAAa,kBAAkB;CAChC;AAED;;;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