@wildo-ai/saas-models 1.1.1 → 1.1.3
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/applications/applications-context.schemas.d.ts +16 -10
- package/dist/esm/applications/applications-context.schemas.d.ts.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 +4 -3
- package/dist/esm/applications/applications.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/billing-account.shared.resources-config.schemas.d.ts +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 +36 -0
- 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 +8 -1
- package/dist/esm/billing/billing-account.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-configuration.shared.schemas.d.ts +0 -4
- package/dist/esm/billing/billing-configuration.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-configuration.shared.schemas.js +59 -17
- package/dist/esm/billing/billing-configuration.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.d.ts +77 -21
- package/dist/esm/billing/billing-enums.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/billing-enums.shared.schemas.js +85 -23
- package/dist/esm/billing/billing-enums.shared.schemas.js.map +1 -1
- package/dist/esm/billing/billing-types.shared.schemas.d.ts +5 -5
- package/dist/esm/billing/credit-pool.shared.resources-config.schemas.d.ts +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 +39 -0
- package/dist/esm/billing/credit-pool.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/credit-pool.shared.schemas.d.ts +6 -6
- package/dist/esm/billing/credit-pool.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/credit-pool.shared.schemas.js +8 -4
- package/dist/esm/billing/credit-pool.shared.schemas.js.map +1 -1
- package/dist/esm/billing/invoice-ref.shared.resources-config.schemas.d.ts +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 +35 -0
- 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 +8 -3
- package/dist/esm/billing/invoice-ref.shared.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 +7 -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 +52 -11
- package/dist/esm/billing/product-behavior-policy.shared.schemas.js.map +1 -1
- package/dist/esm/billing/product-definition.shared.schemas.d.ts +2 -2
- package/dist/esm/billing/product.shared.resources-config.schemas.d.ts +2 -2
- package/dist/esm/billing/product.shared.schemas.d.ts +2 -2
- package/dist/esm/billing/product.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/product.shared.schemas.js +7 -3
- package/dist/esm/billing/product.shared.schemas.js.map +1 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts +2 -2
- package/dist/esm/billing/subscription.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.js +54 -1
- package/dist/esm/billing/subscription.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.d.ts +4 -4
- package/dist/esm/billing/subscription.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/subscription.shared.schemas.js +6 -2
- package/dist/esm/billing/subscription.shared.schemas.js.map +1 -1
- package/dist/esm/billing/usage-record.shared.resources-config.schemas.d.ts +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 +39 -0
- package/dist/esm/billing/usage-record.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/billing/usage-record.shared.schemas.d.ts +11 -7
- package/dist/esm/billing/usage-record.shared.schemas.d.ts.map +1 -1
- package/dist/esm/billing/usage-record.shared.schemas.js +29 -6
- package/dist/esm/billing/usage-record.shared.schemas.js.map +1 -1
- package/dist/esm/companion/provider-discovery.shared.schemas.d.ts +69 -2
- package/dist/esm/companion/provider-discovery.shared.schemas.d.ts.map +1 -1
- package/dist/esm/companion/provider-discovery.shared.schemas.js +20 -1
- package/dist/esm/companion/provider-discovery.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts +85 -0
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js +157 -0
- package/dist/esm/compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js.map +1 -0
- 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 +35 -2
- 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 +23 -0
- 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 +56 -0
- 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 +541 -20
- 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 +605 -23
- 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 +96 -3
- package/dist/esm/compliance/audit-trails/security-audit-event-envelope.shared.schema.js.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.d.ts +49 -0
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.js +124 -1
- package/dist/esm/compliance/privacy/impersonalization-scrub.shared.utils.js.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts +11 -3
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js +11 -3
- package/dist/esm/compliance/privacy/impersonalization.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts +94 -0
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.d.ts.map +1 -0
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js +211 -0
- package/dist/esm/compliance/privacy/operating-jurisdictions.shared.schemas.js.map +1 -0
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.d.ts +67 -12
- 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 +95 -8
- package/dist/esm/compliance/privacy/operator-compliance-identity.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts +17 -0
- package/dist/esm/compliance/privacy/privacy.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/privacy.shared.schemas.js +27 -4
- package/dist/esm/compliance/privacy/privacy.shared.schemas.js.map +1 -1
- package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts +89 -16
- package/dist/esm/compliance/privacy/redaction.shared.schemas.d.ts.map +1 -1
- package/dist/esm/compliance/privacy/redaction.shared.schemas.js +101 -15
- package/dist/esm/compliance/privacy/redaction.shared.schemas.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 +12 -5
- package/dist/esm/compliance/privacy/subject-export.shared.schemas.js.map +1 -1
- package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts +21 -0
- package/dist/esm/config/analytics-value-moments.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/analytics-value-moments.shared.schemas.js +20 -0
- package/dist/esm/config/analytics-value-moments.shared.schemas.js.map +1 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts +9 -5
- package/dist/esm/config/app-configuration-shared.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/app-configuration-shared.shared.schemas.js +29 -0
- package/dist/esm/config/app-configuration-shared.shared.schemas.js.map +1 -1
- package/dist/esm/config/auth-config-resolution.shared.utils.d.ts +8 -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 +29 -0
- package/dist/esm/config/auth-config-resolution.shared.utils.js.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.d.ts +95 -17
- package/dist/esm/config/entity-identity-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/entity-identity-config.shared.schemas.js +86 -8
- package/dist/esm/config/entity-identity-config.shared.schemas.js.map +1 -1
- package/dist/esm/config/frontend/chart-definition.shared.schemas.d.ts +12 -12
- package/dist/esm/config/frontend/navigation.shared.schemas.d.ts +33 -0
- package/dist/esm/config/frontend/navigation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/config/frontend/navigation.shared.schemas.js +32 -0
- package/dist/esm/config/frontend/navigation.shared.schemas.js.map +1 -1
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.d.ts +40 -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 +40 -1
- package/dist/esm/errors/errors.custom-message-ref.shared.definitions.js.map +1 -1
- package/dist/esm/external-data/external-data-pipeline.shared.schemas.d.ts +57 -11
- 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-providers/engine-capabilities.shared.schemas.d.ts +109 -64
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/engine-capabilities.shared.schemas.js +200 -19
- 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 +15 -3
- 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 +32 -7
- package/dist/esm/external-providers/engine-capability-resolution-mode.shared.js.map +1 -1
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts +84 -7
- package/dist/esm/external-providers/frontend-bootstrap.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts +59 -0
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js +61 -0
- package/dist/esm/external-providers/frontend-capability-public-config.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts +97 -0
- package/dist/esm/external-providers/frontend-capability-runtime.shared.types.d.ts.map +1 -0
- package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js +41 -0
- package/dist/esm/external-providers/frontend-capability-runtime.shared.types.js.map +1 -0
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.d.ts +148 -2
- 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 +56 -1
- package/dist/esm/external-providers/frontend-provider-entry.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts +9 -31
- package/dist/esm/external-providers/provider-capability.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-capability.shared.schemas.js +8 -5
- 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 +18 -8
- 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 +9 -4
- package/dist/esm/external-providers/provider-compliance-profile.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts +338 -0
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js +332 -0
- package/dist/esm/external-providers/provider-frontend-surface.shared.schemas.js.map +1 -0
- package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts +178 -9
- package/dist/esm/external-providers/provider-metadata.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-metadata.shared.schemas.js +181 -9
- package/dist/esm/external-providers/provider-metadata.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts +7 -5
- package/dist/esm/external-providers/provider-protocol.shared.schemas.d.ts.map +1 -1
- package/dist/esm/external-providers/provider-protocol.shared.schemas.js +7 -5
- package/dist/esm/external-providers/provider-protocol.shared.schemas.js.map +1 -1
- package/dist/esm/external-providers/provider-tier-rule.shared.utils.d.ts +40 -0
- package/dist/esm/external-providers/provider-tier-rule.shared.utils.d.ts.map +1 -0
- package/dist/esm/external-providers/provider-tier-rule.shared.utils.js +80 -0
- package/dist/esm/external-providers/provider-tier-rule.shared.utils.js.map +1 -0
- package/dist/esm/features/core-feature-definitions.shared.d.ts.map +1 -1
- package/dist/esm/features/core-feature-definitions.shared.js +7 -1
- package/dist/esm/features/core-feature-definitions.shared.js.map +1 -1
- package/dist/esm/features/feature-builders.shared.d.ts +32 -0
- package/dist/esm/features/feature-builders.shared.d.ts.map +1 -1
- package/dist/esm/features/feature-builders.shared.js +32 -0
- package/dist/esm/features/feature-builders.shared.js.map +1 -1
- package/dist/esm/features/user-features.shared.resources-config.schemas.d.ts +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 +48 -0
- package/dist/esm/features/user-features.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/files/file-upload-grant.shared.schemas.d.ts +156 -0
- package/dist/esm/files/file-upload-grant.shared.schemas.d.ts.map +1 -0
- package/dist/esm/files/file-upload-grant.shared.schemas.js +175 -0
- package/dist/esm/files/file-upload-grant.shared.schemas.js.map +1 -0
- package/dist/esm/files/files.shared.schemas.d.ts +52 -4
- package/dist/esm/files/files.shared.schemas.d.ts.map +1 -1
- package/dist/esm/files/files.shared.schemas.js +55 -4
- package/dist/esm/files/files.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/a2a-push-delivery-log.shared.resources-config.schemas.d.ts +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 +33 -0
- 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 +6 -2
- 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 +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 +53 -0
- package/dist/esm/flows-actors/a2a-token-budget-state.shared.resources-config.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 +3 -2
- package/dist/esm/flows-actors/actors.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/agents.shared.schemas.d.ts +54 -5
- 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/apps-blueprint/apps-blueprint.shared.schemas.d.ts +6 -6
- package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts +0 -3
- package/dist/esm/flows-actors/deliberation.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/deliberation.shared.schemas.js +0 -5
- package/dist/esm/flows-actors/deliberation.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors-execution.shared.resources-config.schemas.d.ts +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 +43 -0
- 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 +14 -0
- 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 +48 -6
- 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 +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 +41 -0
- 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 +0 -7
- 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 +23 -13
- 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 +19 -0
- 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 +33 -0
- package/dist/esm/flows-actors/flows-actors.commons.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/flows-actors.io.shared.schemas.d.ts +14 -9
- 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 +14 -9
- package/dist/esm/flows-actors/flows-actors.io.shared.schemas.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 +3 -2
- 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 +3 -2
- package/dist/esm/flows-actors/flows.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts +128 -0
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.d.ts.map +1 -0
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.js +142 -0
- package/dist/esm/flows-actors/mcp-servers.shared.schemas.js.map +1 -0
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts +0 -3
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js +1 -4
- package/dist/esm/flows-actors/meta-workflows/budget-authority.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts +0 -16
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.js +1 -17
- package/dist/esm/flows-actors/meta-workflows/context-selection.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.d.ts +3 -3
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.js +3 -3
- package/dist/esm/flows-actors/meta-workflows/decisions.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts +2 -8
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.d.ts.map +1 -1
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js +4 -15
- package/dist/esm/flows-actors/meta-workflows/execution-binding-common.meta-workflows.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/guidance-state.shared.resources-config.schemas.d.ts +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 +51 -0
- 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 +8 -2
- 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 +1 -0
- package/dist/esm/guidance/guidance-state.shared.utils.js.map +1 -1
- package/dist/esm/guidance/lifecycle-state.shared.resources-config.schemas.d.ts +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 +51 -0
- 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 +28 -3
- package/dist/esm/guidance/lifecycle-state.shared.schemas.js.map +1 -1
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.d.ts +9 -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 +51 -0
- package/dist/esm/guidance/progression-state.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.d.ts +46 -0
- package/dist/esm/guidance/progression-state.shared.schemas.d.ts.map +1 -1
- package/dist/esm/guidance/progression-state.shared.schemas.js +67 -4
- package/dist/esm/guidance/progression-state.shared.schemas.js.map +1 -1
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.d.ts +356 -52
- 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 +166 -39
- package/dist/esm/http-api-binding/http-api-binding.shared.schemas.js.map +1 -1
- package/dist/esm/index.d.ts +15 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +15 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/notifications/email/email-template-registry.shared.schemas.d.ts +11 -2
- 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 +15 -0
- package/dist/esm/notifications/email/email-template.shared.enums.d.ts.map +1 -1
- package/dist/esm/notifications/email/email-template.shared.enums.js +15 -0
- package/dist/esm/notifications/email/email-template.shared.enums.js.map +1 -1
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.d.ts +70 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.d.ts.map +1 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.js +71 -0
- package/dist/esm/notifications/m2m/m2m-webhook-delivery-contract.shared.js.map +1 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.resources-config.schemas.d.ts +1 -0
- 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 +19 -0
- 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 +30 -0
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js +65 -1
- package/dist/esm/notifications/m2m/webhook-config.shared.schemas.js.map +1 -1
- package/dist/esm/notifications/notification-badges.core.definitions.d.ts +6 -4
- package/dist/esm/notifications/notification-badges.core.definitions.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.core.definitions.js +6 -4
- package/dist/esm/notifications/notification-badges.core.definitions.js.map +1 -1
- package/dist/esm/notifications/notification-badges.schemas.d.ts +167 -5
- package/dist/esm/notifications/notification-badges.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notification-badges.schemas.js +191 -6
- package/dist/esm/notifications/notification-badges.schemas.js.map +1 -1
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.d.ts +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 +36 -0
- package/dist/esm/notifications/notification-badges.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.d.ts +107 -0
- package/dist/esm/notifications/notifications.shared.schemas.d.ts.map +1 -1
- package/dist/esm/notifications/notifications.shared.schemas.js +149 -1
- package/dist/esm/notifications/notifications.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-members.shared.resources-config.schemas.d.ts +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 +44 -0
- 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 +15 -4
- package/dist/esm/organizations/organization-members.shared.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 +22 -1
- package/dist/esm/organizations/organization-notifications.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts +26 -0
- package/dist/esm/organizations/organization-preferences.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-preferences.shared.schemas.js +25 -0
- package/dist/esm/organizations/organization-preferences.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.d.ts +25 -0
- package/dist/esm/organizations/organization-profile.shared.schemas.d.ts.map +1 -1
- package/dist/esm/organizations/organization-profile.shared.schemas.js +42 -17
- package/dist/esm/organizations/organization-profile.shared.schemas.js.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts +3 -2
- package/dist/esm/organizations/organization-unit-narrowing.shared.d.ts.map +1 -1
- package/dist/esm/organizations/organization-unit-narrowing.shared.js +9 -2
- package/dist/esm/organizations/organization-unit-narrowing.shared.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 +35 -12
- package/dist/esm/organizations/organizations.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/public-runtime/index.d.ts +49 -2
- package/dist/esm/public-runtime/index.d.ts.map +1 -1
- package/dist/esm/public-runtime/index.js +48 -1
- package/dist/esm/public-runtime/index.js.map +1 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts +6 -5
- package/dist/esm/queue/jobs.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.resources-config.schemas.js +23 -5
- package/dist/esm/queue/jobs.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.d.ts +16 -3
- package/dist/esm/queue/jobs.shared.schemas.d.ts.map +1 -1
- package/dist/esm/queue/jobs.shared.schemas.js +16 -3
- package/dist/esm/queue/jobs.shared.schemas.js.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-documentation.d.ts +137 -0
- package/dist/esm/requests/manual-controllers-routes-documentation.d.ts.map +1 -0
- package/dist/esm/requests/manual-controllers-routes-documentation.js +1201 -0
- package/dist/esm/requests/manual-controllers-routes-documentation.js.map +1 -0
- package/dist/esm/requests/manual-controllers-routes-urls.d.ts +67 -0
- package/dist/esm/requests/manual-controllers-routes-urls.d.ts.map +1 -1
- package/dist/esm/requests/manual-controllers-routes-urls.js +78 -0
- package/dist/esm/requests/manual-controllers-routes-urls.js.map +1 -1
- package/dist/esm/requests/rate-limits.shared.schemas.d.ts +11 -1
- package/dist/esm/requests/rate-limits.shared.schemas.d.ts.map +1 -1
- package/dist/esm/requests/rate-limits.shared.schemas.js +11 -1
- package/dist/esm/requests/rate-limits.shared.schemas.js.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.d.ts +86 -4
- package/dist/esm/requests/websocket.shared.schemas.d.ts.map +1 -1
- package/dist/esm/requests/websocket.shared.schemas.js +138 -0
- package/dist/esm/requests/websocket.shared.schemas.js.map +1 -1
- package/dist/esm/resources/collection-query-parameters.shared.d.ts +22 -0
- package/dist/esm/resources/collection-query-parameters.shared.d.ts.map +1 -0
- package/dist/esm/resources/collection-query-parameters.shared.js +22 -0
- package/dist/esm/resources/collection-query-parameters.shared.js.map +1 -0
- package/dist/esm/resources/resources-config.shared.factory.d.ts +1 -0
- package/dist/esm/resources/resources-config.shared.factory.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.factory.js +189 -31
- package/dist/esm/resources/resources-config.shared.factory.js.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.d.ts +395 -92
- package/dist/esm/resources/resources-config.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources-config.shared.schemas.js +109 -20
- 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 +97 -5
- 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 +15 -0
- package/dist/esm/resources/resources-relationships.shared.factory.js.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.d.ts +37 -0
- package/dist/esm/resources/resources.shared.core.definitions.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.core.definitions.js +51 -0
- package/dist/esm/resources/resources.shared.core.definitions.js.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.d.ts +11 -2
- package/dist/esm/resources/resources.shared.schemas.d.ts.map +1 -1
- package/dist/esm/resources/resources.shared.schemas.js +34 -3
- package/dist/esm/resources/resources.shared.schemas.js.map +1 -1
- package/dist/esm/resources/utils/field-value-disclosure.utils.d.ts +51 -0
- package/dist/esm/resources/utils/field-value-disclosure.utils.d.ts.map +1 -0
- package/dist/esm/resources/utils/field-value-disclosure.utils.js +53 -0
- package/dist/esm/resources/utils/field-value-disclosure.utils.js.map +1 -0
- 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 +21 -6
- package/dist/esm/resources/utils/resources-config-operations.dtos-builder.utils.js.map +1 -1
- package/dist/esm/resources/utils/resources-summary.utils.d.ts +16 -2
- package/dist/esm/resources/utils/resources-summary.utils.d.ts.map +1 -1
- package/dist/esm/resources/utils/resources-summary.utils.js +19 -5
- package/dist/esm/resources/utils/resources-summary.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 +11 -0
- package/dist/esm/resources/utils/shared-persistence-collection.utils.js.map +1 -1
- package/dist/esm/runtime/domain-module.shared.definitions.d.ts +25 -0
- 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/security/api-keys/api-keys-application.shared.resources-config.schemas.d.ts +1 -0
- 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 +38 -0
- 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 +1 -0
- 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 +38 -0
- package/dist/esm/security/api-keys/api-keys-organization.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts +4 -11
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.js +0 -1
- package/dist/esm/security/authentications/authentication.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.d.ts +141 -5
- package/dist/esm/security/authentications/authentication.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/authentication.shared.schemas.js +147 -3
- package/dist/esm/security/authentications/authentication.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/consumable-token.shared.schemas.d.ts +17 -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 +16 -0
- package/dist/esm/security/authentications/consumable-token.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/mfa-backup-code-contract.shared.d.ts +28 -0
- package/dist/esm/security/authentications/mfa-backup-code-contract.shared.d.ts.map +1 -0
- package/dist/esm/security/authentications/mfa-backup-code-contract.shared.js +28 -0
- package/dist/esm/security/authentications/mfa-backup-code-contract.shared.js.map +1 -0
- package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts +1 -0
- package/dist/esm/security/authentications/registration.shared.dto.schemas.d.ts.map +1 -1
- package/dist/esm/security/authentications/registration.shared.dto.schemas.js +11 -0
- package/dist/esm/security/authentications/registration.shared.dto.schemas.js.map +1 -1
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.d.ts +15 -0
- 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 +21 -4
- package/dist/esm/security/authentications/scim/scim-provisioning-config.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.d.ts +21 -0
- package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.d.ts.map +1 -0
- package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.js +21 -0
- package/dist/esm/security/authentications/siem/siem-delivery-reliability-contract.shared.js.map +1 -0
- package/dist/esm/security/authentications/sso/sso-config.shared.resources-config.schemas.d.ts +61 -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 +208 -6
- 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 +37 -27
- 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 +134 -12
- package/dist/esm/security/authentications/sso/sso-config.shared.schemas.js.map +1 -1
- package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.d.ts +0 -6
- 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 +17 -8
- package/dist/esm/security/authentications/sso/sso-connection.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/platform-access-grants.shared.resources-config.schemas.d.ts +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 +70 -0
- 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 +45 -8
- 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 +56 -10
- package/dist/esm/security/authorizations/platform-access-grants.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.d.ts +16 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.js +16 -1
- package/dist/esm/security/authorizations/roles.shared.schemas.js.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.utils.d.ts +54 -0
- package/dist/esm/security/authorizations/roles.shared.utils.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.shared.utils.js +59 -0
- package/dist/esm/security/authorizations/roles.shared.utils.js.map +1 -1
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts +31 -0
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js +198 -0
- package/dist/esm/security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts +31 -0
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js +191 -0
- package/dist/esm/security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js.map +1 -0
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts +250 -0
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.d.ts.map +1 -0
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js +486 -0
- package/dist/esm/security/connected-accounts/provider-credentials.shared.schemas.js.map +1 -0
- package/dist/esm/security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.d.ts +4 -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 +29 -0
- 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 +4 -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 +29 -0
- 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 +67 -0
- 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 +44 -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 +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 +35 -0
- 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 +13 -0
- 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 +31 -4
- package/dist/esm/security/oauth-clients/oauth-consent-grants.shared.schemas.js.map +1 -1
- package/dist/esm/users/inbound-contacts.shared.resources-config.schemas.d.ts +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 +34 -0
- 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 +7 -4
- package/dist/esm/users/inbound-contacts.shared.schemas.js.map +1 -1
- package/dist/esm/users/user-credentials.shared.resources-config.schemas.d.ts +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 +37 -0
- 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 +17 -2
- 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 +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 +36 -0
- 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 +15 -5
- package/dist/esm/users/user-identity-links.shared.schemas.js.map +1 -1
- package/dist/esm/users/user-preferences.shared.resources-config.schemas.d.ts +5 -5
- 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 +53 -0
- 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 +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 +62 -0
- 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 +5 -5
- 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 +53 -0
- 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 +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 +62 -0
- 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 +33 -3
- 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 +17 -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 +136 -5
- package/dist/esm/users/users.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/users/users.shared.schemas.d.ts +62 -12
- package/dist/esm/users/users.shared.schemas.d.ts.map +1 -1
- package/dist/esm/users/users.shared.schemas.js +79 -23
- package/dist/esm/users/users.shared.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +5 -6
- package/dist/esm/.builder.pid +0 -9
package/dist/esm/index.js
CHANGED
|
@@ -10,6 +10,7 @@ export * from './flows-actors/task-continuity-binding.actors.shared.schemas.js';
|
|
|
10
10
|
export * from './flows-actors/flows-actors.system.shared.schemas.js';
|
|
11
11
|
export * from './flows-actors/flows-actors.system.shared.definitions.js';
|
|
12
12
|
export * from './flows-actors/agents.shared.schemas.js';
|
|
13
|
+
export * from './flows-actors/mcp-servers.shared.schemas.js';
|
|
13
14
|
export * from './flows-actors/agent-traceability.shared.schemas.js';
|
|
14
15
|
export * from './flows-actors/flows-actors.io.shared.schemas.js';
|
|
15
16
|
export * from './flows-actors/flows-actors.commons.shared.schemas.js';
|
|
@@ -50,7 +51,9 @@ export * from './external-providers/external-providers.shared.schemas.js';
|
|
|
50
51
|
export * from './external-providers/engine-capabilities.shared.schemas.js';
|
|
51
52
|
export * from './external-providers/engine-capability-resolution-mode.shared.js';
|
|
52
53
|
export * from './external-providers/frontend-bootstrap.shared.schemas.js';
|
|
54
|
+
export * from './external-providers/provider-frontend-surface.shared.schemas.js';
|
|
53
55
|
export * from './external-providers/provider-metadata.shared.schemas.js';
|
|
56
|
+
export * from './external-providers/provider-tier-rule.shared.utils.js';
|
|
54
57
|
export * from './external-providers/provider-capability.shared.schemas.js';
|
|
55
58
|
export * from './external-providers/provider-protocol.shared.schemas.js';
|
|
56
59
|
export * from './external-providers/compose-provider-registry.shared.js';
|
|
@@ -71,11 +74,13 @@ export * from './errors/zod-issue-formatting.shared.utils.js';
|
|
|
71
74
|
export * from './files/files.shared.schemas.js';
|
|
72
75
|
export * from './files/files.shared.utils.js';
|
|
73
76
|
export * from './files/files.shared.resources-config.schemas.js';
|
|
77
|
+
export * from './files/file-upload-grant.shared.schemas.js';
|
|
74
78
|
export * from './notifications/notification-badges.core.definitions.js';
|
|
75
79
|
export * from './notifications/notification-badges.schemas.js';
|
|
76
80
|
export * from './notifications/notification-badges.shared.resources-config.schemas.js';
|
|
77
81
|
export * from './notifications/notifications.shared.schemas.js';
|
|
78
82
|
export * from './notifications/m2m/webhook-config.shared.schemas.js';
|
|
83
|
+
export * from './notifications/m2m/m2m-webhook-delivery-contract.shared.js';
|
|
79
84
|
export * from './notifications/m2m/webhook-config.shared.resources-config.schemas.js';
|
|
80
85
|
export * from './notifications/m2m/m2m-webhook-delivery-log.shared.schemas.js';
|
|
81
86
|
export * from './notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas.js';
|
|
@@ -91,6 +96,7 @@ export * from './crdt/crdt-merge.shared.utils.js';
|
|
|
91
96
|
// exists in this package.
|
|
92
97
|
export * from './requests/rate-limits.shared.schemas.js';
|
|
93
98
|
export * from './requests/manual-controllers-routes-urls.js';
|
|
99
|
+
export * from './requests/manual-controllers-routes-documentation.js';
|
|
94
100
|
export * from './resources/resources-registry.shared.core.definitions.js';
|
|
95
101
|
export * from './resources/resources.shared.core.definitions.js';
|
|
96
102
|
export * from './resources/resources.shared.schemas.js';
|
|
@@ -100,6 +106,7 @@ export * from './resources/relationship-display.shared.schemas.js';
|
|
|
100
106
|
export * from './resources/resources.shared.utils.js';
|
|
101
107
|
export * from './resources/resources-config.shared.factory.js';
|
|
102
108
|
export * from './resources/resources-config.shared.schemas.js';
|
|
109
|
+
export * from './resources/collection-query-parameters.shared.js';
|
|
103
110
|
export * from './resources/resources-relationships.shared.factory.js';
|
|
104
111
|
export * from './resources/resources-serialization.shared.schemas.js';
|
|
105
112
|
// DELETED: resource-frontend.shared.schemas — transferred to @wildo-ai/saas-frontend-lib
|
|
@@ -122,6 +129,7 @@ export * from './resources/utils/composition-cascade-deletability.validation.js'
|
|
|
122
129
|
export * from './resources/utils/duplicate-relationship-registration.validation.js';
|
|
123
130
|
export * from './resources/utils/schema-family-builder.utils.js';
|
|
124
131
|
export * from './resources/utils/schema-variant-resolver.utils.js';
|
|
132
|
+
export * from './resources/utils/field-value-disclosure.utils.js';
|
|
125
133
|
export * from './resources/utils/resources-summary.utils.js';
|
|
126
134
|
export * from './resources/utils/repository-dto-builder.utils.js';
|
|
127
135
|
export * from './resources/utils/schema-type-utils.js';
|
|
@@ -173,6 +181,7 @@ export * from './config/frontend/onboarding.shared.schemas.js';
|
|
|
173
181
|
export * from './compliance/audit-trails/audit-actor.shared.schemas.js';
|
|
174
182
|
export * from './compliance/audit-trails/auditable-events.shared.schema.js';
|
|
175
183
|
export * from './compliance/audit-trails/audit-logs.shared.resources-config.schemas.js';
|
|
184
|
+
export * from './compliance/audit-trails/application-audit-logs.shared.resources-config.schemas.js';
|
|
176
185
|
export * from './compliance/audit-trails/security-audit-event-envelope.shared.schema.js';
|
|
177
186
|
export * from './compliance/audit-trails/audit-log-sink.shared.schemas.js';
|
|
178
187
|
export * from './compliance/audit-trails/audit-trail-config.shared.schemas.js';
|
|
@@ -184,6 +193,7 @@ export * from './compliance/privacy/ai-use-posture.shared.schemas.js';
|
|
|
184
193
|
export * from './compliance/privacy/client-storage.shared.schemas.js';
|
|
185
194
|
export * from './compliance/privacy/personal-data-category.shared.schemas.js';
|
|
186
195
|
export * from './compliance/privacy/personal-data-declaration.shared.utils.js';
|
|
196
|
+
export * from './compliance/privacy/operating-jurisdictions.shared.schemas.js';
|
|
187
197
|
export * from './compliance/privacy/operator-compliance-identity.shared.schemas.js';
|
|
188
198
|
export * from './external-providers/provider-compliance-profile.shared.schemas.js';
|
|
189
199
|
export * from './compliance/privacy/impersonalization.shared.schemas.js';
|
|
@@ -260,6 +270,9 @@ export * from './organizations/tenant-teardown-config.shared.schemas.js';
|
|
|
260
270
|
export * from './security/api-keys/api-keys.shared.schemas.js';
|
|
261
271
|
export * from './security/api-keys/api-keys-application.shared.resources-config.schemas.js';
|
|
262
272
|
export * from './security/api-keys/api-keys-organization.shared.resources-config.schemas.js';
|
|
273
|
+
export * from './security/connected-accounts/provider-credentials.shared.schemas.js';
|
|
274
|
+
export * from './security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas.js';
|
|
275
|
+
export * from './security/connected-accounts/provider-credentials-user.shared.resources-config.schemas.js';
|
|
263
276
|
export * from './security/oauth-clients/oauth-clients.shared.schemas.js';
|
|
264
277
|
export * from './security/oauth-clients/oauth-resource-server.shared.schemas.js';
|
|
265
278
|
export * from './security/oauth-clients/oauth-clients-application.shared.resources-config.schemas.js';
|
|
@@ -268,6 +281,8 @@ export * from './security/oauth-clients/oauth-consent-grants.shared.schemas.js';
|
|
|
268
281
|
export * from './security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas.js';
|
|
269
282
|
export * from './security/authentications/authentication.shared.dto.schemas.js';
|
|
270
283
|
export * from './security/authentications/authentication.shared.schemas.js';
|
|
284
|
+
export * from './security/authentications/mfa-backup-code-contract.shared.js';
|
|
285
|
+
export * from './security/authentications/siem/siem-delivery-reliability-contract.shared.js';
|
|
271
286
|
export * from './security/authentications/authentication.shared.utils.js';
|
|
272
287
|
export * from './security/authentications/consumable-token.shared.schemas.js';
|
|
273
288
|
export * from './security/authentications/anonymous-session/anonymous-session.shared.contract.js';
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,iBAAiB,EAAE,CAAC;AAEpB,cAAc,yDAAyD,CAAC;AACxE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAA;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8DAA8D,CAAC;AAE7E,cAAc,mDAAmD,CAAC;AAClE,cAAc,uDAAuD,CAAC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cAAc,iEAAiE,CAAC;AAChF,cAAc,0CAA0C,CAAC;AACzD,cAAc,oCAAoC,CAAC;AACnD,cAAc,8CAA8C,CAAC;AAE7D,eAAe;AACf,cAAc,oDAAoD,CAAC;AACnE,cAAc,8DAA8D,CAAC;AAC7E,cAAc,mDAAmD,CAAC;AAElE,WAAW;AACX,cAAc,yCAAyC,CAAC;AACxD,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AACvD,cAAc,2DAA2D,CAAC;AAC1E,wBAAwB;AACxB,cAAc,gDAAgD,CAAC;AAC/D,cAAc,sCAAsC,CAAC;AACrD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8DAA8D,CAAC;AAE7E,sBAAsB;AACtB,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,4DAA4D,CAAC;AAE3E,oDAAoD;AACpD,cAAc,mDAAmD,CAAC;AAElE,iBAAiB;AACjB,cAAc,4CAA4C,CAAC","sourcesContent":["// Flow-Actor System & App-Blueprint\nimport { initZodDecorators } from '@wildo-ai/zod-decorators';\ninitZodDecorators();\n\nexport * from './companion/shared-library-companion.shared.definitions';\nexport * from './companion/provider-discovery.shared.schemas';\nexport * from './flows-actors/flows.shared.schemas'\nexport * from './flows-actors/actors.shared.schemas';\nexport * from './flows-actors/tasks.actors.shared.schemas';\nexport * from './flows-actors/task-continuity-binding.actors.shared.schemas';\n\nexport * from './flows-actors/flows-actors.system.shared.schemas';\nexport * from './flows-actors/flows-actors.system.shared.definitions';\nexport * from './flows-actors/agents.shared.schemas';\nexport * from './flows-actors/agent-traceability.shared.schemas';\nexport * from './flows-actors/flows-actors.io.shared.schemas';\nexport * from './flows-actors/flows-actors.commons.shared.schemas';\nexport * from './flows-actors/flows-actors.frontend.shared.schemas';\nexport * from './flows-actors/flows-actors-execution.shared.schemas';\nexport * from './flows-actors/flows-actors-execution.shared.resources-config.schemas';\nexport * from './flows-actors/flows-actors-task.shared.schemas';\nexport * from './flows-actors/flows-actors-task.shared.resources-config.schemas';\nexport * from './flows-actors/a2a-token-budget-state.shared.schemas';\nexport * from './flows-actors/a2a-token-budget-state.shared.resources-config.schemas';\nexport * from './flows-actors/a2a-push-delivery-log.shared.schemas';\nexport * from './flows-actors/a2a-push-delivery-log.shared.resources-config.schemas';\nexport * from './flows-actors/prompt-ir.shared.schemas';\nexport * from './flows-actors/deliberation.shared.schemas';\n\nexport * from './flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils';\n\nexport * from './flows-actors/apps-blueprint/apps-blueprint.shared.schemas';\nexport * from './flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas';\n\n// Meta-workflow contracts (playbooks, decisions, actions, execution bindings, portable application\n// continuity) are NOT re-exported here. They are defined in this package and published through the\n// dedicated `@wildo-ai/saas-models/meta-workflows` entrypoint, so the root barrel does not put a\n// whole authoring domain in front of consumers that only need the resource/schema vocabulary.\n// Re-adding any `flows-actors/meta-workflows/**` line here fails `pnpm check:package-entrypoints`.\n// See `.claude/rules/package-public-entrypoints.md`.\n//\n// The BOUNDARY between that domain and the Actor Task vocabulary is\n// `flows-actors/task-continuity-binding.actors.shared.schemas`, exported above. It is deliberately\n// NOT a `meta-workflows/**` file: a root-exported Actor Task carries a continuity correlation, so\n// the correlation object and the one nominal enum on it belong to the root's own surface. Keeping\n// them on the far side of the subpath is what produced `TS2742`/`TS2883` at every consumer that\n// derived a schema from `Actors_Task_Schema` — the `meta-workflows` subpath published the enum,\n// but a root-only consumer never resolves that subpath, so no name it could use existed — while transitively\n// dragging 12 of the 15 `meta-workflows/**` modules into this barrel's closure anyway, which is\n// exactly what the paragraph above claims not to do.\n//\n// When a root-exported contract needs something the authoring domain owns, move it to that\n// boundary module. Do NOT re-export across the subpath, and do NOT annotate the consumer.\n\nexport * from './external-providers/external-providers.shared.schemas';\nexport * from './external-providers/engine-capabilities.shared.schemas';\nexport * from './external-providers/engine-capability-resolution-mode.shared';\nexport * from './external-providers/frontend-bootstrap.shared.schemas';\nexport * from './external-providers/provider-metadata.shared.schemas';\nexport * from './external-providers/provider-capability.shared.schemas';\nexport * from './external-providers/provider-protocol.shared.schemas';\nexport * from './external-providers/compose-provider-registry.shared';\n\n// The external-data AUTHORING contract (the virtual binding + the pipeline declaration) is\n// published ONLY by `@wildo-ai/saas-models/external-data` — one door per room. Row IDENTITY stays\n// here on purpose: a synthesized id reaches URLs and frontend routing, so it is not an integration\n// concern. See `external-data.exports.ts` for the measurement behind both decisions.\nexport * from './http-api-binding/http-api-binding-id.shared.utils';\n\nexport * from './errors/errors.shared.schemas';\nexport * from './frontend-definitions/frontend-notification-custom-message-ref.definitions';\nexport * from './i18n/labelling.dto.shared.schemas';\nexport * from './i18n/interpolate-label-params.shared.utils';\n\nexport * from './errors/errors.shared.definitions';\nexport * from './errors/errors.shared.utils';\nexport * from './errors/errors.custom-message-ref.shared.definitions';\nexport * from './errors/resource-access-forbidden.shared.error';\nexport * from './errors/zod-issue-formatting.shared.utils';\n\nexport * from './files/files.shared.schemas';\nexport * from './files/files.shared.utils';\nexport * from './files/files.shared.resources-config.schemas';\nexport * from './notifications/notification-badges.core.definitions';\nexport * from './notifications/notification-badges.schemas';\nexport * from './notifications/notification-badges.shared.resources-config.schemas';\nexport * from './notifications/notifications.shared.schemas';\nexport * from './notifications/m2m/webhook-config.shared.schemas';\nexport * from './notifications/m2m/webhook-config.shared.resources-config.schemas';\nexport * from './notifications/m2m/m2m-webhook-delivery-log.shared.schemas';\nexport * from './notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas';\n\nexport * from './requests/header-keys.shared';\nexport * from './requests/websocket.shared.schemas';\nexport * from './requests/http-requests.shared';\nexport * from './crdt/crdt-merge.shared.utils';\n\n// Data Seeding — schemas + factory + DataSeedRun resource were RELOCATED to\n// `@wildo-ai/saas-backend-lib` in Phase 2.G (the user moved them; the\n// shared models for data-seeding are a backend-only concern). Consumers\n// must import from `@wildo-ai/saas-backend-lib` instead. Do NOT re-add\n// `export * from './data-seeding/...'` here — the directory no longer\n// exists in this package.\n\nexport * from './requests/rate-limits.shared.schemas';\nexport * from './requests/manual-controllers-routes-urls';\nexport * from './resources/resources-registry.shared.core.definitions';\nexport * from './resources/resources.shared.core.definitions';\nexport * from './resources/resources.shared.schemas';\nexport * from './resources/context-policy.shared.schemas';\nexport * from './resources/child-operations.shared.schemas';\nexport * from './resources/relationship-display.shared.schemas';\nexport * from './resources/resources.shared.utils';\nexport * from './resources/resources-config.shared.factory';\nexport * from './resources/resources-config.shared.schemas';\nexport * from './resources/resources-relationships.shared.factory';\nexport * from './resources/resources-serialization.shared.schemas';\n// DELETED: resource-frontend.shared.schemas — transferred to @wildo-ai/saas-frontend-lib\nexport * from './resources/utils/persistence-adapter-discrimination.shared.utils';\nexport * from './resources/utils/resources-config-operations.path.utils';\nexport * from './resources/utils/resources-config-operations.utils';\nexport * from './resources/utils/resources-config-operations.urls-builder.utils';\nexport * from './resources/utils/resources-config-operations.dtos-builder.utils';\nexport * from './resources/utils/templatable-file-fields.shared.utils';\nexport * from './resources/utils/context-addressed-composition-singleton.shared.utils';\nexport * from './resources/utils/resources-config-naming.utils';\nexport * from './resources/utils/resource-polymorphism.utils';\nexport * from './resources/utils/resource-polymorphism.schemas';\nexport * from './resources/utils/resource-polymorphism.relationships';\nexport * from './resources/utils/resource-polymorphism.factory';\nexport * from './resources/utils/resources-config-context-needs.utils';\nexport * from './resources/utils/required-fk-fillability.validation';\nexport * from './resources/utils/composition-seedability.validation';\nexport * from './resources/utils/composition-cascade-deletability.validation';\nexport * from './resources/utils/duplicate-relationship-registration.validation';\nexport * from './resources/utils/schema-family-builder.utils';\nexport * from './resources/utils/schema-variant-resolver.utils';\nexport * from './resources/utils/resources-summary.utils';\nexport * from './resources/utils/repository-dto-builder.utils';\nexport * from './resources/utils/schema-type-utils';\nexport * from './resources/utils/schema-type-inference.utils';\nexport * from './resources/utils/resource-operation-type-guards.utils';\nexport * from './resources/utils/shared-persistence-collection.utils';\nexport * from './runtime/execution-context.shared.schemas';\nexport * from './runtime/runtime.shared.schemas';\n\n// Charts / Aggregation engine\nexport * from './charts/aggregation-query.shared.schemas';\nexport * from './charts/aggregation.shared.definitions';\nexport * from './charts/chart-definition-builder.shared';\n\n// Queue system\nexport * from './queue/rabbitmq-queue-args.shared';\nexport * from './queue/queues.shared.schemas';\nexport * from './queue/queues.shared.utils';\nexport * from './queue/jobs.shared.schemas';\nexport * from './queue/jobs.shared.utils';\nexport * from './queue/jobs.shared.resources-config.schemas';\nexport * from './resources/utils/resources-serialization.utils';\nexport * from './resources/utils/resource-subtree.utils';\n\n// Monitoring domain\nexport * from './monitoring/monitoring.shared.schemas';\n\n// Applications domain (must come before config due to dependencies)\nexport * from './applications/application-subject.shared.schemas';\nexport * from './applications/applications.shared.schemas';\nexport * from './applications/applications.shared.resources-config.schemas';\nexport * from './applications/application-versions.shared.resources-config.schemas';\nexport * from './applications/application-metadata.shared.resources-config.schemas';\nexport * from './applications/applications-context.schemas';\n\n// Config domain\nexport * from './config/app-frontend-type.shared.schemas';\nexport * from './config/entity-identity-config.shared.schemas';\nexport * from './config/registration-acquisition-policy.shared.utils';\nexport * from './config/auth-config-resolution.shared.utils';\nexport * from './config/app-configuration-shared.shared.schemas';\nexport * from './config/brand-assets.shared.schemas';\nexport * from './config/configuration-validation.shared.schemas';\nexport * from './config/postgresql.shared.schemas';\nexport * from './config/frontend/navigation.shared.schemas';\n// DELETED: app-level-action-launcher.shared.schemas — transferred to @wildo-ai/saas-frontend-lib\n// DELETED: views-frontend.shared.schemas — FrontendView_ScopeMode + FrontendView_DefinitionSchema transferred to @wildo-ai/saas-frontend-lib\n// DELETED: composite-view.frontend.schemas — transferred to @wildo-ai/saas-frontend-lib\nexport * from './config/frontend/chart-definition.shared.schemas';\nexport * from './config/frontend/chart-registration-alignment.shared';\nexport * from './config/frontend/onboarding.shared.schemas';\n\n// Other domains (excluding resources-config.schemas)\n\n// Audit and Compliance\nexport * from './compliance/audit-trails/audit-actor.shared.schemas';\nexport * from './compliance/audit-trails/auditable-events.shared.schema';\nexport * from './compliance/audit-trails/audit-logs.shared.resources-config.schemas';\nexport * from './compliance/audit-trails/security-audit-event-envelope.shared.schema';\nexport * from './compliance/audit-trails/audit-log-sink.shared.schemas';\nexport * from './compliance/audit-trails/audit-trail-config.shared.schemas';\nexport * from './compliance/data-classification/data-classification.shared.schemas';\nexport * from './compliance/documents/governed-documents.shared.schemas';\nexport * from './compliance/privacy/data-retention.shared.schemas';\nexport * from './compliance/privacy/retention-schedule.shared.schemas';\nexport * from './compliance/privacy/ai-use-posture.shared.schemas';\nexport * from './compliance/privacy/client-storage.shared.schemas';\nexport * from './compliance/privacy/personal-data-category.shared.schemas';\nexport * from './compliance/privacy/personal-data-declaration.shared.utils';\nexport * from './compliance/privacy/operator-compliance-identity.shared.schemas';\nexport * from './external-providers/provider-compliance-profile.shared.schemas';\nexport * from './compliance/privacy/impersonalization.shared.schemas';\nexport * from './compliance/privacy/impersonalization-scrub.shared.utils';\nexport * from './compliance/privacy/subject-erasure.shared.schemas';\nexport * from './compliance/privacy/subject-export.shared.schemas';\nexport * from './exports/tabular-csv.shared.utils';\nexport * from './resources/utils/collection-export.shared.utils';\nexport * from './compliance/privacy/subject-export-render.shared.utils';\nexport * from './compliance/privacy/redaction.shared.schemas';\nexport * from './compliance/privacy/privacy.shared.schemas';\nexport * from './compliance/privacy/sharing.shared.schemas';\n// Auth (Polymorphic — SSO + SIEM + SCIM)\n\nexport * from './security/authentications/sso/sso-config.shared.schemas';\nexport * from './security/authentications/sso/sso-config.shared.resources-config.schemas';\nexport * from './security/authentications/sso/sso-connection.shared.schemas';\nexport * from './security/authentications/sso/sso-connection.shared.resources-config.schemas';\nexport * from './security/authentications/siem/siem-export-config.shared.schemas';\nexport * from './security/authentications/siem/siem-export-config.shared.resources-config.schemas';\nexport * from './security/authentications/siem/siem-delivery-dlq.shared.schemas';\nexport * from './security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas';\nexport * from './security/authentications/scim/scim-tokens.shared.schemas';\nexport * from './security/authentications/scim/scim-tokens.shared.resources-config.schemas';\nexport * from './security/authentications/scim/scim-organization-unit-mapping.shared';\nexport * from './security/authentications/scim/scim-provisioning-config.shared.schemas';\nexport * from './security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas';\n\n// Billing\nexport * from './billing/billing-account.shared.schemas';\nexport * from './billing/billing-account.shared.resources-config.schemas';\nexport * from './billing/billing-configuration.shared.schemas';\nexport * from './billing/billing-enums.shared.schemas';\nexport * from './billing/billing-types.shared.schemas';\nexport * from './billing/credit-pool.shared.schemas';\nexport * from './billing/credit-pool.shared.resources-config.schemas';\nexport * from './billing/invoice-ref.shared.schemas';\nexport * from './billing/invoice-ref.shared.resources-config.schemas';\nexport * from './billing/price.shared.schemas';\nexport * from './billing/price.shared.resources-config.schemas';\nexport * from './billing/product.shared.schemas';\nexport * from './billing/product.shared.resources-config.schemas';\nexport * from './billing/product-behavior-policy.shared.schemas';\nexport * from './billing/product-definition.shared.schemas';\nexport * from './billing/promotions.shared.schemas';\nexport * from './billing/promotions.shared.resources-config.schemas';\nexport * from './billing/referral.shared.schemas';\nexport * from './billing/referral.shared.resources-config.schemas';\nexport * from './billing/subscription.shared.schemas';\nexport * from './billing/subscription.shared.resources-config.schemas';\nexport * from './billing/usage-record.shared.schemas';\nexport * from './billing/usage-record.shared.resources-config.schemas';\n\n// Organizations\nexport * from './organizations/organization-features.shared.schemas';\nexport * from './organizations/organization-features.shared.resources-config.schemas';\nexport * from './organizations/organization-members.shared.schemas';\nexport * from './organizations/organization-members.shared.resources-config.schemas';\nexport * from './organizations/organization-notifications.shared.schemas';\nexport * from './organizations/organization-notifications.shared.resources-config.schemas';\nexport * from './organizations/organization-preferences.shared.schemas';\nexport * from './organizations/organization-preferences.shared.resources-config.schemas';\nexport * from './organizations/organization-profile.shared.schemas';\nexport * from './organizations/organization-profile.shared.resources-config.schemas';\nexport * from './organizations/organization-units.shared.schemas';\nexport * from './organizations/organization-units.shared.path';\nexport * from './organizations/organization-unit-members.shared.schemas';\nexport * from './organizations/organization-unit-inheritance.shared';\nexport * from './organizations/organization-unit-narrowing.shared';\nexport * from './organizations/organization-unit-narrowing-decision.shared';\nexport * from './organizations/organization-unit-members.shared.resources-config.schemas';\nexport * from './organizations/organization-units.shared.resources-config.schemas';\nexport * from './organizations/organizations.shared.schemas';\nexport * from './organizations/organizations.shared.resources-config.schemas';\nexport * from './organizations/tenant-teardown-config.shared.schemas';\n\n// Security\nexport * from './security/api-keys/api-keys.shared.schemas';\nexport * from './security/api-keys/api-keys-application.shared.resources-config.schemas';\nexport * from './security/api-keys/api-keys-organization.shared.resources-config.schemas';\nexport * from './security/oauth-clients/oauth-clients.shared.schemas';\nexport * from './security/oauth-clients/oauth-resource-server.shared.schemas';\nexport * from './security/oauth-clients/oauth-clients-application.shared.resources-config.schemas';\nexport * from './security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas';\nexport * from './security/oauth-clients/oauth-consent-grants.shared.schemas';\nexport * from './security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas';\nexport * from './security/authentications/authentication.shared.dto.schemas';\nexport * from './security/authentications/authentication.shared.schemas';\nexport * from './security/authentications/authentication.shared.utils';\nexport * from './security/authentications/consumable-token.shared.schemas';\nexport * from './security/authentications/anonymous-session/anonymous-session.shared.contract';\nexport * from './security/authentications/password-reset.shared.dto.schemas';\nexport * from './security/authentications/registration.shared.dto.schemas';\nexport * from './security/authorizations/administrative-continuity.shared.schemas';\nexport * from './security/authorizations/platform-access-grants.shared.schemas';\nexport * from './security/authorizations/platform-access-grants.shared.resources-config.schemas';\nexport * from './security/authorizations/roles.shared.defaults';\nexport * from './security/authorizations/roles.shared.schemas';\nexport * from './security/authorizations/roles.shared.utils';\nexport * from './security/crypto-keys/crypto-keys.shared.schemas';\n\n\n// Users\nexport * from './users/inbound-contacts.shared.schemas';\nexport * from './users/inbound-contacts.shared.resources-config.schemas';\nexport * from './users/users.shared.schemas';\nexport * from './users/users.shared.resources-config.schemas';\nexport * from './users/user-profiles.shared.resources-config.schemas';\nexport * from './users/user-preferences-reset.shared.utils';\nexport * from './users/user-preferences.shared.resources-config.schemas';\nexport * from './users/user-self.shared.resources-config.schemas';\nexport * from './users/user-self-profiles.shared.resources-config.schemas';\nexport * from './users/user-self-preferences.shared.resources-config.schemas';\nexport * from './users/anonymous-user-marketing-metadata.shared.schemas';\nexport * from './users/anonymous-users.shared.schema';\nexport * from './users/anonymous-users.shared.resources-config.schemas';\nexport * from './users/user-credentials.shared.schemas';\nexport * from './users/user-credentials.shared.resources-config.schemas';\nexport * from './users/user-identity-links.shared.schemas';\nexport * from './users/user-identity-links.shared.resources-config.schemas';\n\n// Analytics Value Moments\nexport * from './config/analytics-value-moments.shared.schemas';\n\n// Features System\nexport * from './features/core-feature-definitions.shared';\nexport * from './features/feature-builders.shared';\nexport * from './features/feature-definition.shared.schemas';\nexport * from './features/user-features.shared.resources-config.schemas';\nexport * from './features/application-features.shared.resources-config.schemas';\nexport * from './features/scope-features.shared.schemas';\nexport * from './features/feature-registry.shared';\nexport * from './features/feature-resolution.shared.schemas';\n\n// Email System\nexport * from './notifications/email/email-context.shared.schemas';\nexport * from './notifications/email/email-template-registry.shared.schemas';\nexport * from './notifications/email/email-template.shared.enums';\n\n// Guidance\nexport * from './guidance/guidance-flow.shared.schemas';\nexport * from './guidance/guidance-state.shared.schemas';\nexport * from './guidance/guidance-state.shared.utils';\nexport * from './guidance/guidance-state.shared.resources-config.schemas';\n// Progression (Phase 4)\nexport * from './guidance/milestone-definition.shared.schemas';\nexport * from './guidance/milestone-builders.shared';\nexport * from './guidance/progression-state.shared.schemas';\nexport * from './guidance/progression-state.shared.resources-config.schemas';\n\n// Lifecycle (Phase 5)\nexport * from './guidance/lifecycle-state.shared.schemas';\nexport * from './guidance/lifecycle-config.shared.schemas';\nexport * from './guidance/lifecycle-state.shared.resources-config.schemas';\n\n// Data-Seeding (Phase 7 / Item 47 — cron scheduler)\nexport * from './data-seeding/data-seeding-config.shared.schemas';\n\n// Domain Modules\nexport * from './runtime/domain-module.shared.definitions';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,iBAAiB,EAAE,CAAC;AAEpB,cAAc,yDAAyD,CAAC;AACxE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qCAAqC,CAAA;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8DAA8D,CAAC;AAE7E,cAAc,mDAAmD,CAAC;AAClE,cAAc,uDAAuD,CAAC;AACtE,cAAc,sCAAsC,CAAC;AACrD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,kDAAkD,CAAC;AACjE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,oDAAoD,CAAC;AACnE,cAAc,qDAAqD,CAAC;AACpE,cAAc,sDAAsD,CAAC;AACrE,cAAc,uEAAuE,CAAC;AACtF,cAAc,iDAAiD,CAAC;AAChE,cAAc,kEAAkE,CAAC;AACjF,cAAc,sDAAsD,CAAC;AACrE,cAAc,uEAAuE,CAAC;AACtF,cAAc,qDAAqD,CAAC;AACpE,cAAc,sEAAsE,CAAC;AACrF,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAE3D,cAAc,4EAA4E,CAAC;AAE3F,cAAc,6DAA6D,CAAC;AAC5E,cAAc,uEAAuE,CAAC;AAEtF,mGAAmG;AACnG,mGAAmG;AACnG,iGAAiG;AACjG,8FAA8F;AAC9F,mGAAmG;AACnG,qDAAqD;AACrD,EAAE;AACF,oEAAoE;AACpE,mGAAmG;AACnG,kGAAkG;AAClG,kGAAkG;AAClG,gGAAgG;AAChG,gGAAgG;AAChG,6GAA6G;AAC7G,gGAAgG;AAChG,qDAAqD;AACrD,EAAE;AACF,2FAA2F;AAC3F,0FAA0F;AAE1F,cAAc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c,6CAA6C,CAAC;AAC5D,cAAc,8DAA8D,CAAC;AAE7E,sBAAsB;AACtB,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,4DAA4D,CAAC;AAE3E,oDAAoD;AACpD,cAAc,mDAAmD,CAAC;AAElE,iBAAiB;AACjB,cAAc,4CAA4C,CAAC","sourcesContent":["// Flow-Actor System & App-Blueprint\nimport { initZodDecorators } from '@wildo-ai/zod-decorators';\ninitZodDecorators();\n\nexport * from './companion/shared-library-companion.shared.definitions';\nexport * from './companion/provider-discovery.shared.schemas';\nexport * from './flows-actors/flows.shared.schemas'\nexport * from './flows-actors/actors.shared.schemas';\nexport * from './flows-actors/tasks.actors.shared.schemas';\nexport * from './flows-actors/task-continuity-binding.actors.shared.schemas';\n\nexport * from './flows-actors/flows-actors.system.shared.schemas';\nexport * from './flows-actors/flows-actors.system.shared.definitions';\nexport * from './flows-actors/agents.shared.schemas';\nexport * from './flows-actors/mcp-servers.shared.schemas';\nexport * from './flows-actors/agent-traceability.shared.schemas';\nexport * from './flows-actors/flows-actors.io.shared.schemas';\nexport * from './flows-actors/flows-actors.commons.shared.schemas';\nexport * from './flows-actors/flows-actors.frontend.shared.schemas';\nexport * from './flows-actors/flows-actors-execution.shared.schemas';\nexport * from './flows-actors/flows-actors-execution.shared.resources-config.schemas';\nexport * from './flows-actors/flows-actors-task.shared.schemas';\nexport * from './flows-actors/flows-actors-task.shared.resources-config.schemas';\nexport * from './flows-actors/a2a-token-budget-state.shared.schemas';\nexport * from './flows-actors/a2a-token-budget-state.shared.resources-config.schemas';\nexport * from './flows-actors/a2a-push-delivery-log.shared.schemas';\nexport * from './flows-actors/a2a-push-delivery-log.shared.resources-config.schemas';\nexport * from './flows-actors/prompt-ir.shared.schemas';\nexport * from './flows-actors/deliberation.shared.schemas';\n\nexport * from './flows-actors/utils/flow-actors.context-builder.apps-context.shared.utils';\n\nexport * from './flows-actors/apps-blueprint/apps-blueprint.shared.schemas';\nexport * from './flows-actors/apps-blueprint/artifacts.apps-blueprint.shared.schemas';\n\n// Meta-workflow contracts (playbooks, decisions, actions, execution bindings, portable application\n// continuity) are NOT re-exported here. They are defined in this package and published through the\n// dedicated `@wildo-ai/saas-models/meta-workflows` entrypoint, so the root barrel does not put a\n// whole authoring domain in front of consumers that only need the resource/schema vocabulary.\n// Re-adding any `flows-actors/meta-workflows/**` line here fails `pnpm check:package-entrypoints`.\n// See `.claude/rules/package-public-entrypoints.md`.\n//\n// The BOUNDARY between that domain and the Actor Task vocabulary is\n// `flows-actors/task-continuity-binding.actors.shared.schemas`, exported above. It is deliberately\n// NOT a `meta-workflows/**` file: a root-exported Actor Task carries a continuity correlation, so\n// the correlation object and the one nominal enum on it belong to the root's own surface. Keeping\n// them on the far side of the subpath is what produced `TS2742`/`TS2883` at every consumer that\n// derived a schema from `Actors_Task_Schema` — the `meta-workflows` subpath published the enum,\n// but a root-only consumer never resolves that subpath, so no name it could use existed — while transitively\n// dragging 12 of the 15 `meta-workflows/**` modules into this barrel's closure anyway, which is\n// exactly what the paragraph above claims not to do.\n//\n// When a root-exported contract needs something the authoring domain owns, move it to that\n// boundary module. Do NOT re-export across the subpath, and do NOT annotate the consumer.\n\nexport * from './external-providers/external-providers.shared.schemas';\nexport * from './external-providers/engine-capabilities.shared.schemas';\nexport * from './external-providers/engine-capability-resolution-mode.shared';\nexport * from './external-providers/frontend-bootstrap.shared.schemas';\nexport * from './external-providers/provider-frontend-surface.shared.schemas';\nexport * from './external-providers/provider-metadata.shared.schemas';\nexport * from './external-providers/provider-tier-rule.shared.utils';\nexport * from './external-providers/provider-capability.shared.schemas';\nexport * from './external-providers/provider-protocol.shared.schemas';\nexport * from './external-providers/compose-provider-registry.shared';\n\n// The external-data AUTHORING contract (the virtual binding + the pipeline declaration) is\n// published ONLY by `@wildo-ai/saas-models/external-data` — one door per room. Row IDENTITY stays\n// here on purpose: a synthesized id reaches URLs and frontend routing, so it is not an integration\n// concern. See `external-data.exports.ts` for the measurement behind both decisions.\nexport * from './http-api-binding/http-api-binding-id.shared.utils';\n\nexport * from './errors/errors.shared.schemas';\nexport * from './frontend-definitions/frontend-notification-custom-message-ref.definitions';\nexport * from './i18n/labelling.dto.shared.schemas';\nexport * from './i18n/interpolate-label-params.shared.utils';\n\nexport * from './errors/errors.shared.definitions';\nexport * from './errors/errors.shared.utils';\nexport * from './errors/errors.custom-message-ref.shared.definitions';\nexport * from './errors/resource-access-forbidden.shared.error';\nexport * from './errors/zod-issue-formatting.shared.utils';\n\nexport * from './files/files.shared.schemas';\nexport * from './files/files.shared.utils';\nexport * from './files/files.shared.resources-config.schemas';\nexport * from './files/file-upload-grant.shared.schemas';\nexport * from './notifications/notification-badges.core.definitions';\nexport * from './notifications/notification-badges.schemas';\nexport * from './notifications/notification-badges.shared.resources-config.schemas';\nexport * from './notifications/notifications.shared.schemas';\nexport * from './notifications/m2m/webhook-config.shared.schemas';\nexport * from './notifications/m2m/m2m-webhook-delivery-contract.shared';\nexport * from './notifications/m2m/webhook-config.shared.resources-config.schemas';\nexport * from './notifications/m2m/m2m-webhook-delivery-log.shared.schemas';\nexport * from './notifications/m2m/m2m-webhook-delivery-log.shared.resources-config.schemas';\n\nexport * from './requests/header-keys.shared';\nexport * from './requests/websocket.shared.schemas';\nexport * from './requests/http-requests.shared';\nexport * from './crdt/crdt-merge.shared.utils';\n\n// Data Seeding — schemas + factory + DataSeedRun resource were RELOCATED to\n// `@wildo-ai/saas-backend-lib` in Phase 2.G (the user moved them; the\n// shared models for data-seeding are a backend-only concern). Consumers\n// must import from `@wildo-ai/saas-backend-lib` instead. Do NOT re-add\n// `export * from './data-seeding/...'` here — the directory no longer\n// exists in this package.\n\nexport * from './requests/rate-limits.shared.schemas';\nexport * from './requests/manual-controllers-routes-urls';\nexport * from './requests/manual-controllers-routes-documentation';\nexport * from './resources/resources-registry.shared.core.definitions';\nexport * from './resources/resources.shared.core.definitions';\nexport * from './resources/resources.shared.schemas';\nexport * from './resources/context-policy.shared.schemas';\nexport * from './resources/child-operations.shared.schemas';\nexport * from './resources/relationship-display.shared.schemas';\nexport * from './resources/resources.shared.utils';\nexport * from './resources/resources-config.shared.factory';\nexport * from './resources/resources-config.shared.schemas';\nexport * from './resources/collection-query-parameters.shared';\nexport * from './resources/resources-relationships.shared.factory';\nexport * from './resources/resources-serialization.shared.schemas';\n// DELETED: resource-frontend.shared.schemas — transferred to @wildo-ai/saas-frontend-lib\nexport * from './resources/utils/persistence-adapter-discrimination.shared.utils';\nexport * from './resources/utils/resources-config-operations.path.utils';\nexport * from './resources/utils/resources-config-operations.utils';\nexport * from './resources/utils/resources-config-operations.urls-builder.utils';\nexport * from './resources/utils/resources-config-operations.dtos-builder.utils';\nexport * from './resources/utils/templatable-file-fields.shared.utils';\nexport * from './resources/utils/context-addressed-composition-singleton.shared.utils';\nexport * from './resources/utils/resources-config-naming.utils';\nexport * from './resources/utils/resource-polymorphism.utils';\nexport * from './resources/utils/resource-polymorphism.schemas';\nexport * from './resources/utils/resource-polymorphism.relationships';\nexport * from './resources/utils/resource-polymorphism.factory';\nexport * from './resources/utils/resources-config-context-needs.utils';\nexport * from './resources/utils/required-fk-fillability.validation';\nexport * from './resources/utils/composition-seedability.validation';\nexport * from './resources/utils/composition-cascade-deletability.validation';\nexport * from './resources/utils/duplicate-relationship-registration.validation';\nexport * from './resources/utils/schema-family-builder.utils';\nexport * from './resources/utils/schema-variant-resolver.utils';\nexport * from './resources/utils/field-value-disclosure.utils';\nexport * from './resources/utils/resources-summary.utils';\nexport * from './resources/utils/repository-dto-builder.utils';\nexport * from './resources/utils/schema-type-utils';\nexport * from './resources/utils/schema-type-inference.utils';\nexport * from './resources/utils/resource-operation-type-guards.utils';\nexport * from './resources/utils/shared-persistence-collection.utils';\nexport * from './runtime/execution-context.shared.schemas';\nexport * from './runtime/runtime.shared.schemas';\n\n// Charts / Aggregation engine\nexport * from './charts/aggregation-query.shared.schemas';\nexport * from './charts/aggregation.shared.definitions';\nexport * from './charts/chart-definition-builder.shared';\n\n// Queue system\nexport * from './queue/rabbitmq-queue-args.shared';\nexport * from './queue/queues.shared.schemas';\nexport * from './queue/queues.shared.utils';\nexport * from './queue/jobs.shared.schemas';\nexport * from './queue/jobs.shared.utils';\nexport * from './queue/jobs.shared.resources-config.schemas';\nexport * from './resources/utils/resources-serialization.utils';\nexport * from './resources/utils/resource-subtree.utils';\n\n// Monitoring domain\nexport * from './monitoring/monitoring.shared.schemas';\n\n// Applications domain (must come before config due to dependencies)\nexport * from './applications/application-subject.shared.schemas';\nexport * from './applications/applications.shared.schemas';\nexport * from './applications/applications.shared.resources-config.schemas';\nexport * from './applications/application-versions.shared.resources-config.schemas';\nexport * from './applications/application-metadata.shared.resources-config.schemas';\nexport * from './applications/applications-context.schemas';\n\n// Config domain\nexport * from './config/app-frontend-type.shared.schemas';\nexport * from './config/entity-identity-config.shared.schemas';\nexport * from './config/registration-acquisition-policy.shared.utils';\nexport * from './config/auth-config-resolution.shared.utils';\nexport * from './config/app-configuration-shared.shared.schemas';\nexport * from './config/brand-assets.shared.schemas';\nexport * from './config/configuration-validation.shared.schemas';\nexport * from './config/postgresql.shared.schemas';\nexport * from './config/frontend/navigation.shared.schemas';\n// DELETED: app-level-action-launcher.shared.schemas — transferred to @wildo-ai/saas-frontend-lib\n// DELETED: views-frontend.shared.schemas — FrontendView_ScopeMode + FrontendView_DefinitionSchema transferred to @wildo-ai/saas-frontend-lib\n// DELETED: composite-view.frontend.schemas — transferred to @wildo-ai/saas-frontend-lib\nexport * from './config/frontend/chart-definition.shared.schemas';\nexport * from './config/frontend/chart-registration-alignment.shared';\nexport * from './config/frontend/onboarding.shared.schemas';\n\n// Other domains (excluding resources-config.schemas)\n\n// Audit and Compliance\nexport * from './compliance/audit-trails/audit-actor.shared.schemas';\nexport * from './compliance/audit-trails/auditable-events.shared.schema';\nexport * from './compliance/audit-trails/audit-logs.shared.resources-config.schemas';\nexport * from './compliance/audit-trails/application-audit-logs.shared.resources-config.schemas';\nexport * from './compliance/audit-trails/security-audit-event-envelope.shared.schema';\nexport * from './compliance/audit-trails/audit-log-sink.shared.schemas';\nexport * from './compliance/audit-trails/audit-trail-config.shared.schemas';\nexport * from './compliance/data-classification/data-classification.shared.schemas';\nexport * from './compliance/documents/governed-documents.shared.schemas';\nexport * from './compliance/privacy/data-retention.shared.schemas';\nexport * from './compliance/privacy/retention-schedule.shared.schemas';\nexport * from './compliance/privacy/ai-use-posture.shared.schemas';\nexport * from './compliance/privacy/client-storage.shared.schemas';\nexport * from './compliance/privacy/personal-data-category.shared.schemas';\nexport * from './compliance/privacy/personal-data-declaration.shared.utils';\nexport * from './compliance/privacy/operating-jurisdictions.shared.schemas';\nexport * from './compliance/privacy/operator-compliance-identity.shared.schemas';\nexport * from './external-providers/provider-compliance-profile.shared.schemas';\nexport * from './compliance/privacy/impersonalization.shared.schemas';\nexport * from './compliance/privacy/impersonalization-scrub.shared.utils';\nexport * from './compliance/privacy/subject-erasure.shared.schemas';\nexport * from './compliance/privacy/subject-export.shared.schemas';\nexport * from './exports/tabular-csv.shared.utils';\nexport * from './resources/utils/collection-export.shared.utils';\nexport * from './compliance/privacy/subject-export-render.shared.utils';\nexport * from './compliance/privacy/redaction.shared.schemas';\nexport * from './compliance/privacy/privacy.shared.schemas';\nexport * from './compliance/privacy/sharing.shared.schemas';\n// Auth (Polymorphic — SSO + SIEM + SCIM)\n\nexport * from './security/authentications/sso/sso-config.shared.schemas';\nexport * from './security/authentications/sso/sso-config.shared.resources-config.schemas';\nexport * from './security/authentications/sso/sso-connection.shared.schemas';\nexport * from './security/authentications/sso/sso-connection.shared.resources-config.schemas';\nexport * from './security/authentications/siem/siem-export-config.shared.schemas';\nexport * from './security/authentications/siem/siem-export-config.shared.resources-config.schemas';\nexport * from './security/authentications/siem/siem-delivery-dlq.shared.schemas';\nexport * from './security/authentications/siem/siem-delivery-dlq.shared.resources-config.schemas';\nexport * from './security/authentications/scim/scim-tokens.shared.schemas';\nexport * from './security/authentications/scim/scim-tokens.shared.resources-config.schemas';\nexport * from './security/authentications/scim/scim-organization-unit-mapping.shared';\nexport * from './security/authentications/scim/scim-provisioning-config.shared.schemas';\nexport * from './security/authentications/scim/scim-provisioning-config.shared.resources-config.schemas';\n\n// Billing\nexport * from './billing/billing-account.shared.schemas';\nexport * from './billing/billing-account.shared.resources-config.schemas';\nexport * from './billing/billing-configuration.shared.schemas';\nexport * from './billing/billing-enums.shared.schemas';\nexport * from './billing/billing-types.shared.schemas';\nexport * from './billing/credit-pool.shared.schemas';\nexport * from './billing/credit-pool.shared.resources-config.schemas';\nexport * from './billing/invoice-ref.shared.schemas';\nexport * from './billing/invoice-ref.shared.resources-config.schemas';\nexport * from './billing/price.shared.schemas';\nexport * from './billing/price.shared.resources-config.schemas';\nexport * from './billing/product.shared.schemas';\nexport * from './billing/product.shared.resources-config.schemas';\nexport * from './billing/product-behavior-policy.shared.schemas';\nexport * from './billing/product-definition.shared.schemas';\nexport * from './billing/promotions.shared.schemas';\nexport * from './billing/promotions.shared.resources-config.schemas';\nexport * from './billing/referral.shared.schemas';\nexport * from './billing/referral.shared.resources-config.schemas';\nexport * from './billing/subscription.shared.schemas';\nexport * from './billing/subscription.shared.resources-config.schemas';\nexport * from './billing/usage-record.shared.schemas';\nexport * from './billing/usage-record.shared.resources-config.schemas';\n\n// Organizations\nexport * from './organizations/organization-features.shared.schemas';\nexport * from './organizations/organization-features.shared.resources-config.schemas';\nexport * from './organizations/organization-members.shared.schemas';\nexport * from './organizations/organization-members.shared.resources-config.schemas';\nexport * from './organizations/organization-notifications.shared.schemas';\nexport * from './organizations/organization-notifications.shared.resources-config.schemas';\nexport * from './organizations/organization-preferences.shared.schemas';\nexport * from './organizations/organization-preferences.shared.resources-config.schemas';\nexport * from './organizations/organization-profile.shared.schemas';\nexport * from './organizations/organization-profile.shared.resources-config.schemas';\nexport * from './organizations/organization-units.shared.schemas';\nexport * from './organizations/organization-units.shared.path';\nexport * from './organizations/organization-unit-members.shared.schemas';\nexport * from './organizations/organization-unit-inheritance.shared';\nexport * from './organizations/organization-unit-narrowing.shared';\nexport * from './organizations/organization-unit-narrowing-decision.shared';\nexport * from './organizations/organization-unit-members.shared.resources-config.schemas';\nexport * from './organizations/organization-units.shared.resources-config.schemas';\nexport * from './organizations/organizations.shared.schemas';\nexport * from './organizations/organizations.shared.resources-config.schemas';\nexport * from './organizations/tenant-teardown-config.shared.schemas';\n\n// Security\nexport * from './security/api-keys/api-keys.shared.schemas';\nexport * from './security/api-keys/api-keys-application.shared.resources-config.schemas';\nexport * from './security/api-keys/api-keys-organization.shared.resources-config.schemas';\nexport * from './security/connected-accounts/provider-credentials.shared.schemas';\nexport * from './security/connected-accounts/provider-credentials-organization.shared.resources-config.schemas';\nexport * from './security/connected-accounts/provider-credentials-user.shared.resources-config.schemas';\nexport * from './security/oauth-clients/oauth-clients.shared.schemas';\nexport * from './security/oauth-clients/oauth-resource-server.shared.schemas';\nexport * from './security/oauth-clients/oauth-clients-application.shared.resources-config.schemas';\nexport * from './security/oauth-clients/oauth-clients-organization.shared.resources-config.schemas';\nexport * from './security/oauth-clients/oauth-consent-grants.shared.schemas';\nexport * from './security/oauth-clients/oauth-consent-grants.shared.resources-config.schemas';\nexport * from './security/authentications/authentication.shared.dto.schemas';\nexport * from './security/authentications/authentication.shared.schemas';\nexport * from './security/authentications/mfa-backup-code-contract.shared';\nexport * from './security/authentications/siem/siem-delivery-reliability-contract.shared';\nexport * from './security/authentications/authentication.shared.utils';\nexport * from './security/authentications/consumable-token.shared.schemas';\nexport * from './security/authentications/anonymous-session/anonymous-session.shared.contract';\nexport * from './security/authentications/password-reset.shared.dto.schemas';\nexport * from './security/authentications/registration.shared.dto.schemas';\nexport * from './security/authorizations/administrative-continuity.shared.schemas';\nexport * from './security/authorizations/platform-access-grants.shared.schemas';\nexport * from './security/authorizations/platform-access-grants.shared.resources-config.schemas';\nexport * from './security/authorizations/roles.shared.defaults';\nexport * from './security/authorizations/roles.shared.schemas';\nexport * from './security/authorizations/roles.shared.utils';\nexport * from './security/crypto-keys/crypto-keys.shared.schemas';\n\n\n// Users\nexport * from './users/inbound-contacts.shared.schemas';\nexport * from './users/inbound-contacts.shared.resources-config.schemas';\nexport * from './users/users.shared.schemas';\nexport * from './users/users.shared.resources-config.schemas';\nexport * from './users/user-profiles.shared.resources-config.schemas';\nexport * from './users/user-preferences-reset.shared.utils';\nexport * from './users/user-preferences.shared.resources-config.schemas';\nexport * from './users/user-self.shared.resources-config.schemas';\nexport * from './users/user-self-profiles.shared.resources-config.schemas';\nexport * from './users/user-self-preferences.shared.resources-config.schemas';\nexport * from './users/anonymous-user-marketing-metadata.shared.schemas';\nexport * from './users/anonymous-users.shared.schema';\nexport * from './users/anonymous-users.shared.resources-config.schemas';\nexport * from './users/user-credentials.shared.schemas';\nexport * from './users/user-credentials.shared.resources-config.schemas';\nexport * from './users/user-identity-links.shared.schemas';\nexport * from './users/user-identity-links.shared.resources-config.schemas';\n\n// Analytics Value Moments\nexport * from './config/analytics-value-moments.shared.schemas';\n\n// Features System\nexport * from './features/core-feature-definitions.shared';\nexport * from './features/feature-builders.shared';\nexport * from './features/feature-definition.shared.schemas';\nexport * from './features/user-features.shared.resources-config.schemas';\nexport * from './features/application-features.shared.resources-config.schemas';\nexport * from './features/scope-features.shared.schemas';\nexport * from './features/feature-registry.shared';\nexport * from './features/feature-resolution.shared.schemas';\n\n// Email System\nexport * from './notifications/email/email-context.shared.schemas';\nexport * from './notifications/email/email-template-registry.shared.schemas';\nexport * from './notifications/email/email-template.shared.enums';\n\n// Guidance\nexport * from './guidance/guidance-flow.shared.schemas';\nexport * from './guidance/guidance-state.shared.schemas';\nexport * from './guidance/guidance-state.shared.utils';\nexport * from './guidance/guidance-state.shared.resources-config.schemas';\n// Progression (Phase 4)\nexport * from './guidance/milestone-definition.shared.schemas';\nexport * from './guidance/milestone-builders.shared';\nexport * from './guidance/progression-state.shared.schemas';\nexport * from './guidance/progression-state.shared.resources-config.schemas';\n\n// Lifecycle (Phase 5)\nexport * from './guidance/lifecycle-state.shared.schemas';\nexport * from './guidance/lifecycle-config.shared.schemas';\nexport * from './guidance/lifecycle-state.shared.resources-config.schemas';\n\n// Data-Seeding (Phase 7 / Item 47 — cron scheduler)\nexport * from './data-seeding/data-seeding-config.shared.schemas';\n\n// Domain Modules\nexport * from './runtime/domain-module.shared.definitions';\n"]}
|
|
@@ -41,7 +41,12 @@ export declare enum SystemEmailTemplateRef {
|
|
|
41
41
|
* - `objectContext`: contains `primaryScopeContext` (appName, organizationName, etc.)
|
|
42
42
|
* - `userContext`: recipient info (email, name, preferences) — changes per recipient
|
|
43
43
|
* - `eventData`: system-event-specific payload (replaces `currentObject` for
|
|
44
|
-
* non-resource emails)
|
|
44
|
+
* non-resource emails).
|
|
45
|
+
*
|
|
46
|
+
* ⚠️ Nothing parses a send against `eventDataSchema`. The payload travels in the untyped
|
|
47
|
+
* `additionalContext` slot of the send request and each template casts it, so a misspelled or
|
|
48
|
+
* missing field renders as empty text rather than being refused. Treat the schema below as the
|
|
49
|
+
* DOCUMENTED shape a caller is expected to supply, not as a check that it did.
|
|
45
50
|
*/
|
|
46
51
|
export interface SystemEmailTemplateDefinition {
|
|
47
52
|
/** Unique template reference. */
|
|
@@ -53,11 +58,15 @@ export interface SystemEmailTemplateDefinition {
|
|
|
53
58
|
/** Scope for header/footer behavior. */
|
|
54
59
|
scope: EmailTemplateScope;
|
|
55
60
|
/**
|
|
56
|
-
* Zod schema
|
|
61
|
+
* Zod schema DOCUMENTING the event-specific payload (`eventData`).
|
|
57
62
|
*
|
|
58
63
|
* This is the system-event payload, NOT a flattened input DTO.
|
|
59
64
|
* Common fields (appName, recipientEmail) come from
|
|
60
65
|
* `objectContext` / `userContext`.
|
|
66
|
+
*
|
|
67
|
+
* It is declarative: no send path parses against it. Keep it accurate anyway, because it is the
|
|
68
|
+
* only statement of what a template needs, and a caller that disagrees with it produces a blank
|
|
69
|
+
* region in the rendered email instead of an error.
|
|
61
70
|
*/
|
|
62
71
|
eventDataSchema: z.ZodType<unknown>;
|
|
63
72
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-template-registry.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/notifications/email/email-template-registry.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,+BAA+B,CAAC;AAMvC;;;GAGG;AACH,oBAAY,sBAAsB;IAEhC,aAAa,yBAAyB;IACtC,cAAc,0BAA0B;IACxC,kBAAkB,8BAA8B;IAChD,SAAS,qBAAqB;IAC9B,UAAU,sBAAsB;IAGhC,uBAAuB,mCAAmC;IAC1D,2BAA2B,uCAAuC;IAGlE,yBAAyB,qCAAqC;IAC9D,sBAAsB,kCAAkC;IACxD,cAAc,0BAA0B;IAGxC,cAAc,0BAA0B;IACxC,gBAAgB,4BAA4B;CAC7C;AAMD
|
|
1
|
+
{"version":3,"file":"email-template-registry.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/notifications/email/email-template-registry.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,+BAA+B,CAAC;AAMvC;;;GAGG;AACH,oBAAY,sBAAsB;IAEhC,aAAa,yBAAyB;IACtC,cAAc,0BAA0B;IACxC,kBAAkB,8BAA8B;IAChD,SAAS,qBAAqB;IAC9B,UAAU,sBAAsB;IAGhC,uBAAuB,mCAAmC;IAC1D,2BAA2B,uCAAuC;IAGlE,yBAAyB,qCAAqC;IAC9D,sBAAsB,kCAAkC;IACxD,cAAc,0BAA0B;IAGxC,cAAc,0BAA0B;IACxC,gBAAgB,4BAA4B;CAC7C;AAMD;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,6BAA6B;IAC5C,iCAAiC;IACjC,WAAW,EAAE,sBAAsB,CAAC;IACpC,uCAAuC;IACvC,IAAI,EAAE,iBAAiB,CAAC;IACxB,0CAA0C;IAC1C,SAAS,EAAE,sBAAsB,CAAC;IAClC,wCAAwC;IACxC,KAAK,EAAE,kBAAkB,CAAC;IAC1B;;;;;;;;;;OAUG;IACH,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;CACrC;AAMD,wCAAwC;AACxC,eAAO,MAAM,2BAA2B,EAAE,MAAM,CAAC,sBAAsB,EAAE,6BAA6B,CAyJrG,CAAC;AAMF,oCAAoC;AACpC,wBAAgB,wBAAwB,IAAI,sBAAsB,EAAE,CAEnE;AAED,6CAA6C;AAC7C,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,sBAAsB,GAAG,6BAA6B,CAEtG;AAED,mDAAmD;AACnD,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,IAAI,sBAAsB,CAG9F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-template-registry.shared.schemas.js","sourceRoot":"","sources":["../../../../../src/notifications/email/email-template-registry.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,+BAA+B,CAAC;AAEvC,gFAAgF;AAChF,iCAAiC;AACjC,gFAAgF;AAEhF;;;GAGG;AACH,MAAM,CAAN,IAAY,sBAoBX;AApBD,WAAY,sBAAsB;IAChC,iEAAiE;IACjE,gEAAsC,CAAA;IACtC,kEAAwC,CAAA;IACxC,0EAAgD,CAAA;IAChD,wDAA8B,CAAA;IAC9B,0DAAgC,CAAA;IAEhC,iEAAiE;IACjE,oFAA0D,CAAA;IAC1D,4FAAkE,CAAA;IA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AC,MAAM,CAAC,sBAAsB,CAAC,CAAC;AAC/C,CAAC;AAED,6CAA6C;AAC7C,MAAM,UAAU,2BAA2B,CAAC,GAA2B;IACrE,OAAO,2BAA2B,CAAC,GAAG,CAAC,CAAC;AAC1C,CAAC;AAED,mDAAmD;AACnD,MAAM,UAAU,mBAAmB,CAAC,WAAmB;IACrD,OAAO,WAAW,CAAC,UAAU,CAAC,SAAS,CAAC;QACtC,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,QAAQ,CAAC,WAAqC,CAAC,CAAC;AAC1F,CAAC","sourcesContent":["/**\n * System Email Template Registry\n *\n * Runtime identity contract for system-level (non-resource-attached) email\n * templates. Carries only mechanical information: `templateRef`, routing\n * classifications (`type`, `frequency`, `scope`), and the Zod schema for the\n * event payload.\n *\n * **All human-readable / spec-oriented content (purpose prose, tone, text\n * slots, event-data field narration) lives in\n * `@wildo-ai/saas-specifications`** — specifically in\n * `SystemEmailTemplateSpecificationConfig` under\n * `src/engine/notifications/system-emails/`. The runtime registry must stay\n * free of i18n/spec prose so the companion translation/transposition\n * pipeline owns the single source of truth for authored semantics.\n */\n\nimport { z } from 'zod';\nimport {\n EmailTemplateType,\n EmailTemplateFrequency,\n EmailTemplateScope,\n} from './email-template.shared.enums';\n\n// ─────────────────────────────────────────────────────────────────────────────\n// SYSTEM EMAIL TEMPLATE REF ENUM\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * System email template registry — non-resource related.\n * Uses dot notation for namespacing (`system.*`).\n */\nexport enum SystemEmailTemplateRef {\n // ─── Authentication ───────────────────────────────────────────\n WELCOME_EMAIL = \"system.welcome_email\",\n PASSWORD_RESET = \"system.password_reset\",\n EMAIL_VERIFICATION = \"system.email_verification\",\n EMAIL_OTP = \"system.email_otp\",\n MAGIC_LINK = \"system.magic_link\",\n\n // ─── Organization ─────────────────────────────────────────────\n ORGANIZATION_INVITATION = \"system.organization_invitation\",\n ORGANIZATION_MEMBER_REMOVED = \"system.organization_member_removed\",\n\n // ─── Subscription & Billing ───────────────────────────────────\n SUBSCRIPTION_CONFIRMATION = \"system.subscription_confirmation\",\n SUBSCRIPTION_CANCELLED = \"system.subscription_cancelled\",\n PAYMENT_FAILED = \"system.payment_failed\",\n\n // ─── Security ─────────────────────────────────────────────────\n SECURITY_ALERT = \"system.security_alert\",\n NEW_DEVICE_LOGIN = \"system.new_device_login\",\n}\n\n// ─────────────────────────────────────────────────────────────────────────────\n// SYSTEM TEMPLATE DEFINITION INTERFACE\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * Runtime identity for a system email template.\n *\n * System templates use the same context structure as resource-based templates:\n * - `objectContext`: contains `primaryScopeContext` (appName, organizationName, etc.)\n * - `userContext`: recipient info (email, name, preferences) — changes per recipient\n * - `eventData`: system-event-specific payload (replaces `currentObject` for\n * non-resource emails); validated by `eventDataSchema`.\n */\nexport interface SystemEmailTemplateDefinition {\n /** Unique template reference. */\n templateRef: SystemEmailTemplateRef;\n /** Email type for provider routing. */\n type: EmailTemplateType;\n /** Frequency for lifecycle management. */\n frequency: EmailTemplateFrequency;\n /** Scope for header/footer behavior. */\n scope: EmailTemplateScope;\n /**\n * Zod schema for the event-specific payload (`eventData`).\n *\n * This is the system-event payload, NOT a flattened input DTO.\n * Common fields (appName, recipientEmail) come from\n * `objectContext` / `userContext`.\n */\n eventDataSchema: z.ZodType<unknown>;\n}\n\n// ─────────────────────────────────────────────────────────────────────────────\n// SYSTEM TEMPLATE REGISTRY\n// ─────────────────────────────────────────────────────────────────────────────\n\n/** Registry of all system templates. */\nexport const SystemEmailTemplateRegistry: Record<SystemEmailTemplateRef, SystemEmailTemplateDefinition> = {\n [SystemEmailTemplateRef.WELCOME_EMAIL]: {\n templateRef: SystemEmailTemplateRef.WELCOME_EMAIL,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n loginUrl: z.url(),\n }),\n },\n\n [SystemEmailTemplateRef.PASSWORD_RESET]: {\n templateRef: SystemEmailTemplateRef.PASSWORD_RESET,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n resetUrl: z.url(),\n expiresInMinutes: z.number().int().positive(),\n }),\n },\n\n [SystemEmailTemplateRef.EMAIL_VERIFICATION]: {\n templateRef: SystemEmailTemplateRef.EMAIL_VERIFICATION,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n verifyUrl: z.url(),\n expiresInHours: z.number().int().positive().optional(),\n }),\n },\n\n [SystemEmailTemplateRef.EMAIL_OTP]: {\n templateRef: SystemEmailTemplateRef.EMAIL_OTP,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n otpCode: z.string().min(4).max(8),\n expiresInMinutes: z.number().int().positive(),\n }),\n },\n\n [SystemEmailTemplateRef.MAGIC_LINK]: {\n templateRef: SystemEmailTemplateRef.MAGIC_LINK,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n magicLinkUrl: z.url(),\n tokenValue: z.string(),\n expiresInMinutes: z.number().int().positive(),\n }),\n },\n\n [SystemEmailTemplateRef.ORGANIZATION_INVITATION]: {\n templateRef: SystemEmailTemplateRef.ORGANIZATION_INVITATION,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.ORGANIZATION,\n eventDataSchema: z.object({\n inviterName: z.string(),\n organizationName: z.string(),\n role: z.string(),\n acceptUrl: z.url(),\n expiresInDays: z.number().int().positive(),\n }),\n },\n\n [SystemEmailTemplateRef.ORGANIZATION_MEMBER_REMOVED]: {\n templateRef: SystemEmailTemplateRef.ORGANIZATION_MEMBER_REMOVED,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.ORGANIZATION,\n eventDataSchema: z.object({\n organizationName: z.string(),\n removedByName: z.string().optional(),\n reason: z.string().optional(),\n }),\n },\n\n [SystemEmailTemplateRef.SUBSCRIPTION_CONFIRMATION]: {\n templateRef: SystemEmailTemplateRef.SUBSCRIPTION_CONFIRMATION,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n planName: z.string(),\n amount: z.number().positive(),\n currency: z.string().length(3),\n billingPeriod: z.enum(['monthly', 'yearly']),\n nextBillingDate: z.coerce.date(),\n dashboardUrl: z.url(),\n }),\n },\n\n [SystemEmailTemplateRef.SUBSCRIPTION_CANCELLED]: {\n templateRef: SystemEmailTemplateRef.SUBSCRIPTION_CANCELLED,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n planName: z.string(),\n effectiveDate: z.coerce.date(),\n reactivateUrl: z.url().optional(),\n }),\n },\n\n [SystemEmailTemplateRef.PAYMENT_FAILED]: {\n templateRef: SystemEmailTemplateRef.PAYMENT_FAILED,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n amount: z.number().positive(),\n currency: z.string().length(3),\n lastFourDigits: z.string().length(4),\n retryDate: z.coerce.date(),\n updatePaymentUrl: z.url(),\n }),\n },\n\n [SystemEmailTemplateRef.SECURITY_ALERT]: {\n templateRef: SystemEmailTemplateRef.SECURITY_ALERT,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n alertType: z.enum(['suspicious_login', 'password_changed', 'mfa_disabled', 'new_api_key', 'other']),\n description: z.string(),\n timestamp: z.coerce.date(),\n ipAddress: z.string().optional(),\n location: z.string().optional(),\n securitySettingsUrl: z.url(),\n }),\n },\n\n [SystemEmailTemplateRef.NEW_DEVICE_LOGIN]: {\n templateRef: SystemEmailTemplateRef.NEW_DEVICE_LOGIN,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n deviceType: z.string(),\n browser: z.string(),\n operatingSystem: z.string(),\n ipAddress: z.string(),\n location: z.string().optional(),\n loginTime: z.coerce.date(),\n revokeAccessUrl: z.url(),\n }),\n },\n};\n\n// ─────────────────────────────────────────────────────────────────────────────\n// HELPER FUNCTIONS\n// ─────────────────────────────────────────────────────────────────────────────\n\n/** Get all system template refs. */\nexport function getAllSystemTemplateRefs(): SystemEmailTemplateRef[] {\n return Object.values(SystemEmailTemplateRef);\n}\n\n/** Get system template definition by ref. */\nexport function getSystemTemplateDefinition(ref: SystemEmailTemplateRef): SystemEmailTemplateDefinition {\n return SystemEmailTemplateRegistry[ref];\n}\n\n/** Check if a templateRef is a system template. */\nexport function isSystemTemplateRef(templateRef: string): templateRef is SystemEmailTemplateRef {\n return templateRef.startsWith('system.') &&\n Object.values(SystemEmailTemplateRef).includes(templateRef as SystemEmailTemplateRef);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"email-template-registry.shared.schemas.js","sourceRoot":"","sources":["../../../../../src/notifications/email/email-template-registry.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,GACnB,MAAM,+BAA+B,CAAC;AAEvC,gFAAgF;AAChF,iCAAiC;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M,EAAE,CAAC,QAAQ,EAAE;YAC/B,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE;YAC1B,eAAe,EAAE,CAAC,CAAC,GAAG,EAAE;SACzB,CAAC;KACH;CACF,CAAC;AAEF,gFAAgF;AAChF,mBAAmB;AACnB,gFAAgF;AAEhF,oCAAoC;AACpC,MAAM,UAAU,wBAAwB;IACtC,OAAO,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC;AAC/C,CAAC;AAED,6CAA6C;AAC7C,MAAM,UAAU,2BAA2B,CAAC,GAA2B;IACrE,OAAO,2BAA2B,CAAC,GAAG,CAAC,CAAC;AAC1C,CAAC;AAED,mDAAmD;AACnD,MAAM,UAAU,mBAAmB,CAAC,WAAmB;IACrD,OAAO,WAAW,CAAC,UAAU,CAAC,SAAS,CAAC;QACtC,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,QAAQ,CAAC,WAAqC,CAAC,CAAC;AAC1F,CAAC","sourcesContent":["/**\n * System Email Template Registry\n *\n * Runtime identity contract for system-level (non-resource-attached) email\n * templates. Carries only mechanical information: `templateRef`, routing\n * classifications (`type`, `frequency`, `scope`), and the Zod schema for the\n * event payload.\n *\n * **All human-readable / spec-oriented content (purpose prose, tone, text\n * slots, event-data field narration) lives in\n * `@wildo-ai/saas-specifications`** — specifically in\n * `SystemEmailTemplateSpecificationConfig` under\n * `src/engine/notifications/system-emails/`. The runtime registry must stay\n * free of i18n/spec prose so the companion translation/transposition\n * pipeline owns the single source of truth for authored semantics.\n */\n\nimport { z } from 'zod';\nimport {\n EmailTemplateType,\n EmailTemplateFrequency,\n EmailTemplateScope,\n} from './email-template.shared.enums';\n\n// ─────────────────────────────────────────────────────────────────────────────\n// SYSTEM EMAIL TEMPLATE REF ENUM\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * System email template registry — non-resource related.\n * Uses dot notation for namespacing (`system.*`).\n */\nexport enum SystemEmailTemplateRef {\n // ─── Authentication ───────────────────────────────────────────\n WELCOME_EMAIL = \"system.welcome_email\",\n PASSWORD_RESET = \"system.password_reset\",\n EMAIL_VERIFICATION = \"system.email_verification\",\n EMAIL_OTP = \"system.email_otp\",\n MAGIC_LINK = \"system.magic_link\",\n\n // ─── Organization ─────────────────────────────────────────────\n ORGANIZATION_INVITATION = \"system.organization_invitation\",\n ORGANIZATION_MEMBER_REMOVED = \"system.organization_member_removed\",\n\n // ─── Subscription & Billing ───────────────────────────────────\n SUBSCRIPTION_CONFIRMATION = \"system.subscription_confirmation\",\n SUBSCRIPTION_CANCELLED = \"system.subscription_cancelled\",\n PAYMENT_FAILED = \"system.payment_failed\",\n\n // ─── Security ─────────────────────────────────────────────────\n SECURITY_ALERT = \"system.security_alert\",\n NEW_DEVICE_LOGIN = \"system.new_device_login\",\n}\n\n// ─────────────────────────────────────────────────────────────────────────────\n// SYSTEM TEMPLATE DEFINITION INTERFACE\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * Runtime identity for a system email template.\n *\n * System templates use the same context structure as resource-based templates:\n * - `objectContext`: contains `primaryScopeContext` (appName, organizationName, etc.)\n * - `userContext`: recipient info (email, name, preferences) — changes per recipient\n * - `eventData`: system-event-specific payload (replaces `currentObject` for\n * non-resource emails).\n *\n * ⚠️ Nothing parses a send against `eventDataSchema`. The payload travels in the untyped\n * `additionalContext` slot of the send request and each template casts it, so a misspelled or\n * missing field renders as empty text rather than being refused. Treat the schema below as the\n * DOCUMENTED shape a caller is expected to supply, not as a check that it did.\n */\nexport interface SystemEmailTemplateDefinition {\n /** Unique template reference. */\n templateRef: SystemEmailTemplateRef;\n /** Email type for provider routing. */\n type: EmailTemplateType;\n /** Frequency for lifecycle management. */\n frequency: EmailTemplateFrequency;\n /** Scope for header/footer behavior. */\n scope: EmailTemplateScope;\n /**\n * Zod schema DOCUMENTING the event-specific payload (`eventData`).\n *\n * This is the system-event payload, NOT a flattened input DTO.\n * Common fields (appName, recipientEmail) come from\n * `objectContext` / `userContext`.\n *\n * It is declarative: no send path parses against it. Keep it accurate anyway, because it is the\n * only statement of what a template needs, and a caller that disagrees with it produces a blank\n * region in the rendered email instead of an error.\n */\n eventDataSchema: z.ZodType<unknown>;\n}\n\n// ─────────────────────────────────────────────────────────────────────────────\n// SYSTEM TEMPLATE REGISTRY\n// ─────────────────────────────────────────────────────────────────────────────\n\n/** Registry of all system templates. */\nexport const SystemEmailTemplateRegistry: Record<SystemEmailTemplateRef, SystemEmailTemplateDefinition> = {\n [SystemEmailTemplateRef.WELCOME_EMAIL]: {\n templateRef: SystemEmailTemplateRef.WELCOME_EMAIL,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n loginUrl: z.url(),\n }),\n },\n\n [SystemEmailTemplateRef.PASSWORD_RESET]: {\n templateRef: SystemEmailTemplateRef.PASSWORD_RESET,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n resetUrl: z.url(),\n expiresInMinutes: z.number().int().positive(),\n }),\n },\n\n [SystemEmailTemplateRef.EMAIL_VERIFICATION]: {\n templateRef: SystemEmailTemplateRef.EMAIL_VERIFICATION,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n verifyUrl: z.url(),\n expiresInHours: z.number().int().positive().optional(),\n }),\n },\n\n [SystemEmailTemplateRef.EMAIL_OTP]: {\n templateRef: SystemEmailTemplateRef.EMAIL_OTP,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n otpCode: z.string().min(4).max(8),\n expiresInMinutes: z.number().int().positive(),\n }),\n },\n\n [SystemEmailTemplateRef.MAGIC_LINK]: {\n templateRef: SystemEmailTemplateRef.MAGIC_LINK,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n magicLinkUrl: z.url(),\n tokenValue: z.string(),\n expiresInMinutes: z.number().int().positive(),\n }),\n },\n\n [SystemEmailTemplateRef.ORGANIZATION_INVITATION]: {\n templateRef: SystemEmailTemplateRef.ORGANIZATION_INVITATION,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.ORGANIZATION,\n eventDataSchema: z.object({\n inviterName: z.string(),\n organizationName: z.string(),\n role: z.string(),\n acceptUrl: z.url(),\n expiresInDays: z.number().int().positive(),\n }),\n },\n\n [SystemEmailTemplateRef.ORGANIZATION_MEMBER_REMOVED]: {\n templateRef: SystemEmailTemplateRef.ORGANIZATION_MEMBER_REMOVED,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.ORGANIZATION,\n eventDataSchema: z.object({\n organizationName: z.string(),\n removedByName: z.string().optional(),\n reason: z.string().optional(),\n }),\n },\n\n [SystemEmailTemplateRef.SUBSCRIPTION_CONFIRMATION]: {\n templateRef: SystemEmailTemplateRef.SUBSCRIPTION_CONFIRMATION,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n planName: z.string(),\n amount: z.number().positive(),\n currency: z.string().length(3),\n billingPeriod: z.enum(['monthly', 'yearly']),\n nextBillingDate: z.coerce.date(),\n dashboardUrl: z.url(),\n }),\n },\n\n [SystemEmailTemplateRef.SUBSCRIPTION_CANCELLED]: {\n templateRef: SystemEmailTemplateRef.SUBSCRIPTION_CANCELLED,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n planName: z.string(),\n effectiveDate: z.coerce.date(),\n reactivateUrl: z.url().optional(),\n }),\n },\n\n [SystemEmailTemplateRef.PAYMENT_FAILED]: {\n templateRef: SystemEmailTemplateRef.PAYMENT_FAILED,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n amount: z.number().positive(),\n currency: z.string().length(3),\n lastFourDigits: z.string().length(4),\n retryDate: z.coerce.date(),\n updatePaymentUrl: z.url(),\n }),\n },\n\n [SystemEmailTemplateRef.SECURITY_ALERT]: {\n templateRef: SystemEmailTemplateRef.SECURITY_ALERT,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n alertType: z.enum(['suspicious_login', 'password_changed', 'mfa_disabled', 'new_api_key', 'other']),\n description: z.string(),\n timestamp: z.coerce.date(),\n ipAddress: z.string().optional(),\n location: z.string().optional(),\n securitySettingsUrl: z.url(),\n }),\n },\n\n [SystemEmailTemplateRef.NEW_DEVICE_LOGIN]: {\n templateRef: SystemEmailTemplateRef.NEW_DEVICE_LOGIN,\n type: EmailTemplateType.TRANSACTIONAL,\n frequency: EmailTemplateFrequency.RECURRENT,\n scope: EmailTemplateScope.APPLICATION,\n eventDataSchema: z.object({\n deviceType: z.string(),\n browser: z.string(),\n operatingSystem: z.string(),\n ipAddress: z.string(),\n location: z.string().optional(),\n loginTime: z.coerce.date(),\n revokeAccessUrl: z.url(),\n }),\n },\n};\n\n// ─────────────────────────────────────────────────────────────────────────────\n// HELPER FUNCTIONS\n// ─────────────────────────────────────────────────────────────────────────────\n\n/** Get all system template refs. */\nexport function getAllSystemTemplateRefs(): SystemEmailTemplateRef[] {\n return Object.values(SystemEmailTemplateRef);\n}\n\n/** Get system template definition by ref. */\nexport function getSystemTemplateDefinition(ref: SystemEmailTemplateRef): SystemEmailTemplateDefinition {\n return SystemEmailTemplateRegistry[ref];\n}\n\n/** Check if a templateRef is a system template. */\nexport function isSystemTemplateRef(templateRef: string): templateRef is SystemEmailTemplateRef {\n return templateRef.startsWith('system.') &&\n Object.values(SystemEmailTemplateRef).includes(templateRef as SystemEmailTemplateRef);\n}\n"]}
|
|
@@ -54,6 +54,20 @@
|
|
|
54
54
|
*/
|
|
55
55
|
import { EngineCapability } from '../../external-providers/engine-capabilities.shared.schemas';
|
|
56
56
|
/**
|
|
57
|
+
* @wildo_source:part:start saas.models.email.template-type facet:layer:shared facet:audience:app-developer
|
|
58
|
+
*
|
|
59
|
+
* ⚠️ **A template's `type` decides WHICH VENDOR ships it.** It is not a label: each member maps to a
|
|
60
|
+
* distinct engine capability, and the sender resolves the provider configured against THAT
|
|
61
|
+
* capability. A newsletter left at the default is dispatched through the transactional vendor, on
|
|
62
|
+
* the transactional reputation and quota, and nothing reports it.
|
|
63
|
+
*
|
|
64
|
+
* Declare it on the file-based `EmailTemplateDefinition<L>.type` slot, or inside the system template
|
|
65
|
+
* registry definition.
|
|
66
|
+
*
|
|
67
|
+
* Setting `MARKETING` therefore requires a vendor declared against the marketing capability and named
|
|
68
|
+
* as its primary — otherwise the send has no provider to resolve. Nothing else in the send path
|
|
69
|
+
* changes.
|
|
70
|
+
*
|
|
57
71
|
* Dispatch class for an email template — maps 1:1 with `EngineCapability`
|
|
58
72
|
* for provider routing inside `EmailBackendService`.
|
|
59
73
|
*
|
|
@@ -69,6 +83,7 @@ export declare enum EmailTemplateType {
|
|
|
69
83
|
/** Marketing emails — newsletters, promotions, campaigns. */
|
|
70
84
|
MARKETING = "EMAIL_MARKETING"
|
|
71
85
|
}
|
|
86
|
+
/** @wildo_source:part:end saas.models.email.template-type */
|
|
72
87
|
/**
|
|
73
88
|
* Total `Record<EmailTemplateType, EngineCapability>` used by
|
|
74
89
|
* `EmailBackendService` to pick the configured provider for a given template
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-template.shared.enums.d.ts","sourceRoot":"","sources":["../../../../../src/notifications/email/email-template.shared.enums.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAM/F
|
|
1
|
+
{"version":3,"file":"email-template.shared.enums.d.ts","sourceRoot":"","sources":["../../../../../src/notifications/email/email-template.shared.enums.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAM/F;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,oBAAY,iBAAiB;IAC3B,uEAAuE;IACvE,aAAa,wBAAuC;IACpD,6DAA6D;IAC7D,SAAS,oBAAmC;CAC7C;AACD,6DAA6D;AAE7D;;;;;;;GAOG;AACH,eAAO,MAAM,oCAAoC,EAAE,MAAM,CAAC,iBAAiB,EAAE,gBAAgB,CAG5F,CAAC;AAMF;;;;;;;;;GASG;AACH,oBAAY,sBAAsB;IAChC;;;;;OAKG;IACH,SAAS,cAAc;IACvB;;;;;OAKG;IACH,SAAS,cAAc;CACxB;AAMD;;;;;;;;;;GAUG;AACH,oBAAY,mBAAmB;IAC7B,wDAAwD;IACxD,KAAK,UAAU;IACf,oDAAoD;IACpD,SAAS,cAAc;IACvB,+CAA+C;IAC/C,QAAQ,aAAa;CACtB;AAMD;;;;;;;;;;;;GAYG;AACH,oBAAY,kBAAkB;IAC5B,2DAA2D;IAC3D,WAAW,gBAAgB;IAC3B,uEAAuE;IACvE,YAAY,iBAAiB;CAC9B"}
|
|
@@ -57,6 +57,20 @@ import { EngineCapability } from '../../external-providers/engine-capabilities.s
|
|
|
57
57
|
// EMAIL TEMPLATE TYPE (provider routing)
|
|
58
58
|
// ─────────────────────────────────────────────────────────────────────────────
|
|
59
59
|
/**
|
|
60
|
+
* @wildo_source:part:start saas.models.email.template-type facet:layer:shared facet:audience:app-developer
|
|
61
|
+
*
|
|
62
|
+
* ⚠️ **A template's `type` decides WHICH VENDOR ships it.** It is not a label: each member maps to a
|
|
63
|
+
* distinct engine capability, and the sender resolves the provider configured against THAT
|
|
64
|
+
* capability. A newsletter left at the default is dispatched through the transactional vendor, on
|
|
65
|
+
* the transactional reputation and quota, and nothing reports it.
|
|
66
|
+
*
|
|
67
|
+
* Declare it on the file-based `EmailTemplateDefinition<L>.type` slot, or inside the system template
|
|
68
|
+
* registry definition.
|
|
69
|
+
*
|
|
70
|
+
* Setting `MARKETING` therefore requires a vendor declared against the marketing capability and named
|
|
71
|
+
* as its primary — otherwise the send has no provider to resolve. Nothing else in the send path
|
|
72
|
+
* changes.
|
|
73
|
+
*
|
|
60
74
|
* Dispatch class for an email template — maps 1:1 with `EngineCapability`
|
|
61
75
|
* for provider routing inside `EmailBackendService`.
|
|
62
76
|
*
|
|
@@ -73,6 +87,7 @@ export var EmailTemplateType;
|
|
|
73
87
|
/** Marketing emails — newsletters, promotions, campaigns. */
|
|
74
88
|
EmailTemplateType["MARKETING"] = "EMAIL_MARKETING";
|
|
75
89
|
})(EmailTemplateType || (EmailTemplateType = {}));
|
|
90
|
+
/** @wildo_source:part:end saas.models.email.template-type */
|
|
76
91
|
/**
|
|
77
92
|
* Total `Record<EmailTemplateType, EngineCapability>` used by
|
|
78
93
|
* `EmailBackendService` to pick the configured provider for a given template
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email-template.shared.enums.js","sourceRoot":"","sources":["../../../../../src/notifications/email/email-template.shared.enums.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAE/F,gFAAgF;AAChF,yCAAyC;AACzC,gFAAgF;AAEhF;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,uEAAuE;IACvE,0DAAoD,CAAA;IACpD,6DAA6D;IAC7D,kDAA4C,CAAA;AAC9C,CAAC,EALW,iBAAiB,KAAjB,iBAAiB,QAK5B;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAgD;IAC/F,CAAC,iBAAiB,CAAC,aAAa,CAAC,EAAE,gBAAgB,CAAC,mBAAmB;IACvE,CAAC,iBAAiB,CAAC,SAAS,CAAC,EAAE,gBAAgB,CAAC,eAAe;CAChE,CAAC;AAEF,gFAAgF;AAChF,sDAAsD;AACtD,gFAAgF;AAEhF;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,sBAeX;AAfD,WAAY,sBAAsB;IAChC;;;;;OAKG;IACH,iDAAuB,CAAA;IACvB;;;;;OAKG;IACH,iDAAuB,CAAA;AACzB,CAAC,EAfW,sBAAsB,KAAtB,sBAAsB,QAejC;AAED,gFAAgF;AAChF,yCAAyC;AACzC,gFAAgF;AAEhF;;;;;;;;;;GAUG;AACH,MAAM,CAAN,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,wDAAwD;IACxD,sCAAe,CAAA;IACf,oDAAoD;IACpD,8CAAuB,CAAA;IACvB,+CAA+C;IAC/C,4CAAqB,CAAA;AACvB,CAAC,EAPW,mBAAmB,KAAnB,mBAAmB,QAO9B;AAED,gFAAgF;AAChF,gDAAgD;AAChD,gFAAgF;AAEhF;;;;;;;;;;;;GAYG;AACH,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,2DAA2D;IAC3D,iDAA2B,CAAA;IAC3B,uEAAuE;IACvE,mDAA6B,CAAA;AAC/B,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B","sourcesContent":["/**\n * Email Template Classification Enums\n *\n * Surviving classification vocabulary for the **file-based** email template\n * pipeline. These enums classify a template's runtime intent — not a database\n * row. Post-Step-4 (`email-templates-deprecate-db-backed.md`), the DB-backed\n * `EMAIL_TEMPLATES` `CoreResourceType` was removed end-to-end and the runtime\n * sender pipeline reads templates exclusively from the filesystem registry\n * (`EmailTemplateRegistryBackendService` + `scanEmailTemplateDirectory`).\n *\n * ## Why this file exists separately from `email-template.shared.schemas.ts`\n *\n * Step 6 of the deprecation plan split these enums out of the DB-backed\n * `EmailTemplateSchema` file **before** deleting that file. The split was\n * required because consumers of these enums survive the schema deletion:\n *\n * - `email-template-registry.shared.schemas.ts` declares\n * `SystemEmailTemplateDefinition` and the `SystemEmailTemplateRegistry` map\n * keyed by `EmailTemplateType` / `EmailTemplateFrequency` / `EmailTemplateScope`.\n * - `engine/saas-backend-lib/src/notifications/email/models/email-template-definition.ts`\n * types `EmailTemplateDefinition<L>.type?` as `EmailTemplateType`.\n * - The runtime sender pipeline (`EmailBackendService`) routes to a provider\n * via `EmailTemplateType_ToEngineCapability[type]`.\n * - The auth services (`auth-registration`, `auth-password-reset`,\n * `authentication-controller`) and the dispatcher\n * (`notifications-dispatcher.backend.service`) emit\n * `EmailTemplateType.TRANSACTIONAL` when enqueuing send jobs.\n * - The wonder-todos dev companion (`email-template.companion.service.ts`)\n * tags scaffolded templates as `EmailTemplateType.TRANSACTIONAL`.\n *\n * Splitting the enums into their own module keeps these consumers compiling\n * after `EmailTemplateSchema` and `EmailHeaderFooterTemplateSchema` are\n * deleted; before the split, every importer would have to migrate to a new\n * source path simultaneously, which is a much larger blast radius for the\n * same eventual outcome.\n *\n * ## What this file intentionally does NOT carry\n *\n * - `EmailTemplateGenerationSource` — only existed to classify rows in the\n * deleted `EmailTemplateSchema.generationSource` and\n * `EmailHeaderFooterTemplateSchema.generationSource` fields.\n * - `EmailTemplatePropDefinitionSchema` / `EmailTemplatePropDefinition` —\n * only existed to type the deleted `EmailTemplateSchema.propsDefinition`\n * field.\n * - `EmailTemplateSchema` / `EmailTemplate` — the DB row shape itself.\n * - `EmailTemplateType_ToPlatformCapability` — `@deprecated` alias of\n * `EmailTemplateType_ToEngineCapability` with zero callers; deleted in the\n * same pass to remove dead aliases.\n * - `deriveResourceEmailTemplateRef` — helper for the DB-backed authoring\n * surface; zero external callers; deleted in the same pass.\n *\n * If any of those symbols come back as a future requirement they should land\n * in a new module with a clear runtime owner, not be re-introduced here.\n */\n\nimport { EngineCapability } from '../../external-providers/engine-capabilities.shared.schemas';\n\n// ─────────────────────────────────────────────────────────────────────────────\n// EMAIL TEMPLATE TYPE (provider routing)\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * Dispatch class for an email template — maps 1:1 with `EngineCapability`\n * for provider routing inside `EmailBackendService`.\n *\n * Templates declare their dispatch class on the file-based\n * `EmailTemplateDefinition<L>.type?` slot or inside the\n * `SystemEmailTemplateRegistry` definition; the runtime sender uses\n * {@link EmailTemplateType_ToEngineCapability} to resolve which configured\n * provider should ship the message.\n */\nexport enum EmailTemplateType {\n /** Transactional emails — password resets, receipts, notifications. */\n TRANSACTIONAL = EngineCapability.EMAIL_TRANSACTIONAL,\n /** Marketing emails — newsletters, promotions, campaigns. */\n MARKETING = EngineCapability.EMAIL_MARKETING,\n}\n\n/**\n * Total `Record<EmailTemplateType, EngineCapability>` used by\n * `EmailBackendService` to pick the configured provider for a given template\n * dispatch class. Kept in this enums module (not in the runtime sender)\n * because it is data, not behavior, and because it stays in lock-step with\n * the {@link EmailTemplateType} enum — adding a new variant requires an\n * entry here in the same edit.\n */\nexport const EmailTemplateType_ToEngineCapability: Record<EmailTemplateType, EngineCapability> = {\n [EmailTemplateType.TRANSACTIONAL]: EngineCapability.EMAIL_TRANSACTIONAL,\n [EmailTemplateType.MARKETING]: EngineCapability.EMAIL_MARKETING,\n};\n\n// ─────────────────────────────────────────────────────────────────────────────\n// EMAIL TEMPLATE FREQUENCY (lifecycle classification)\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * Lifecycle classification for an email template from the application's\n * authoring perspective. This is about how the template is used by the\n * system — not how often a user receives it.\n *\n * Surfaced on `SystemEmailTemplateDefinition.frequency`; the runtime sender\n * pipeline does not branch on this value today, but it is preserved as a\n * canonical authoring slot so the dev companion can render it (e.g. in\n * preview metadata) and so future lifecycle automation can key off it.\n */\nexport enum EmailTemplateFrequency {\n /**\n * Template used once or a few times in the application's lifetime.\n * Examples: migration announcements, CVE security alerts, T&C updates,\n * one-time campaigns. These templates may be archived after their\n * purpose is fulfilled.\n */\n EPHEMERAL = \"EPHEMERAL\",\n /**\n * Template used repeatedly throughout the application's lifetime.\n * Examples: welcome emails, password reset, order confirmations,\n * verification emails. These templates are permanent fixtures of the\n * application.\n */\n RECURRENT = \"RECURRENT\",\n}\n\n// ─────────────────────────────────────────────────────────────────────────────\n// EMAIL TEMPLATE STATUS (workflow state)\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * Workflow state for a template artifact.\n *\n * Pre-Step-4 this enum drove a DRAFT/PUBLISHED versioning workflow on the\n * deleted `EmailTemplateSchema.status` field. Post-Step-4 it survives only\n * because the dev companion preview surface and authoring tooling may\n * still want a workflow vocabulary for in-progress edits before they land\n * in the filesystem registry. Today no live runtime branches on it; if it\n * ends up unused after Step 8 (companion-preview integration test) the\n * cleanup pass should consider deleting it outright.\n */\nexport enum EmailTemplateStatus {\n /** Template is in draft state, not used for sending. */\n DRAFT = \"DRAFT\",\n /** Template is published and active for sending. */\n PUBLISHED = \"PUBLISHED\",\n /** Template is archived and no longer used. */\n ARCHIVED = \"ARCHIVED\",\n}\n\n// ─────────────────────────────────────────────────────────────────────────────\n// EMAIL TEMPLATE SCOPE (header/footer behavior)\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * Scope marker for a template — `APPLICATION` vs `ORGANIZATION`. Aligned\n * with `ResourcePrimaryScope` but intentionally narrower: email scope only\n * needs the application/organization split; user-self / anonymous scopes\n * have no header/footer semantics in the email pipeline.\n *\n * Surfaced on `SystemEmailTemplateDefinition.scope`. The header/footer\n * runtime never reads the deleted `EmailHeaderFooterTemplateSchema` —\n * post-Step-4 header/footer composition lives entirely inside the\n * file-based template (`template.tsx` consumes header/footer React\n * components directly), and this scope marker only informs companion\n * preview rendering and any future per-scope provider-selection logic.\n */\nexport enum EmailTemplateScope {\n /** Application-level template (uses app header/footer). */\n APPLICATION = \"APPLICATION\",\n /** Organization-level template (uses org header/footer if defined). */\n ORGANIZATION = \"ORGANIZATION\",\n}\n"]}
|
|
1
|
+
{"version":3,"file":"email-template.shared.enums.js","sourceRoot":"","sources":["../../../../../src/notifications/email/email-template.shared.enums.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAE/F,gFAAgF;AAChF,yCAAyC;AACzC,gFAAgF;AAEhF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,CAAN,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,uEAAuE;IACvE,0DAAoD,CAAA;IACpD,6DAA6D;IAC7D,kDAA4C,CAAA;AAC9C,CAAC,EALW,iBAAiB,KAAjB,iBAAiB,QAK5B;AACD,6DAA6D;AAE7D;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAgD;IAC/F,CAAC,iBAAiB,CAAC,aAAa,CAAC,EAAE,gBAAgB,CAAC,mBAAmB;IACvE,CAAC,iBAAiB,CAAC,SAAS,CAAC,EAAE,gBAAgB,CAAC,eAAe;CAChE,CAAC;AAEF,gFAAgF;AAChF,sDAAsD;AACtD,gFAAgF;AAEhF;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,sBAeX;AAfD,WAAY,sBAAsB;IAChC;;;;;OAKG;IACH,iDAAuB,CAAA;IACvB;;;;;OAKG;IACH,iDAAuB,CAAA;AACzB,CAAC,EAfW,sBAAsB,KAAtB,sBAAsB,QAejC;AAED,gFAAgF;AAChF,yCAAyC;AACzC,gFAAgF;AAEhF;;;;;;;;;;GAUG;AACH,MAAM,CAAN,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,wDAAwD;IACxD,sCAAe,CAAA;IACf,oDAAoD;IACpD,8CAAuB,CAAA;IACvB,+CAA+C;IAC/C,4CAAqB,CAAA;AACvB,CAAC,EAPW,mBAAmB,KAAnB,mBAAmB,QAO9B;AAED,gFAAgF;AAChF,gDAAgD;AAChD,gFAAgF;AAEhF;;;;;;;;;;;;GAYG;AACH,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,2DAA2D;IAC3D,iDAA2B,CAAA;IAC3B,uEAAuE;IACvE,mDAA6B,CAAA;AAC/B,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B","sourcesContent":["/**\n * Email Template Classification Enums\n *\n * Surviving classification vocabulary for the **file-based** email template\n * pipeline. These enums classify a template's runtime intent — not a database\n * row. Post-Step-4 (`email-templates-deprecate-db-backed.md`), the DB-backed\n * `EMAIL_TEMPLATES` `CoreResourceType` was removed end-to-end and the runtime\n * sender pipeline reads templates exclusively from the filesystem registry\n * (`EmailTemplateRegistryBackendService` + `scanEmailTemplateDirectory`).\n *\n * ## Why this file exists separately from `email-template.shared.schemas.ts`\n *\n * Step 6 of the deprecation plan split these enums out of the DB-backed\n * `EmailTemplateSchema` file **before** deleting that file. The split was\n * required because consumers of these enums survive the schema deletion:\n *\n * - `email-template-registry.shared.schemas.ts` declares\n * `SystemEmailTemplateDefinition` and the `SystemEmailTemplateRegistry` map\n * keyed by `EmailTemplateType` / `EmailTemplateFrequency` / `EmailTemplateScope`.\n * - `engine/saas-backend-lib/src/notifications/email/models/email-template-definition.ts`\n * types `EmailTemplateDefinition<L>.type?` as `EmailTemplateType`.\n * - The runtime sender pipeline (`EmailBackendService`) routes to a provider\n * via `EmailTemplateType_ToEngineCapability[type]`.\n * - The auth services (`auth-registration`, `auth-password-reset`,\n * `authentication-controller`) and the dispatcher\n * (`notifications-dispatcher.backend.service`) emit\n * `EmailTemplateType.TRANSACTIONAL` when enqueuing send jobs.\n * - The wonder-todos dev companion (`email-template.companion.service.ts`)\n * tags scaffolded templates as `EmailTemplateType.TRANSACTIONAL`.\n *\n * Splitting the enums into their own module keeps these consumers compiling\n * after `EmailTemplateSchema` and `EmailHeaderFooterTemplateSchema` are\n * deleted; before the split, every importer would have to migrate to a new\n * source path simultaneously, which is a much larger blast radius for the\n * same eventual outcome.\n *\n * ## What this file intentionally does NOT carry\n *\n * - `EmailTemplateGenerationSource` — only existed to classify rows in the\n * deleted `EmailTemplateSchema.generationSource` and\n * `EmailHeaderFooterTemplateSchema.generationSource` fields.\n * - `EmailTemplatePropDefinitionSchema` / `EmailTemplatePropDefinition` —\n * only existed to type the deleted `EmailTemplateSchema.propsDefinition`\n * field.\n * - `EmailTemplateSchema` / `EmailTemplate` — the DB row shape itself.\n * - `EmailTemplateType_ToPlatformCapability` — `@deprecated` alias of\n * `EmailTemplateType_ToEngineCapability` with zero callers; deleted in the\n * same pass to remove dead aliases.\n * - `deriveResourceEmailTemplateRef` — helper for the DB-backed authoring\n * surface; zero external callers; deleted in the same pass.\n *\n * If any of those symbols come back as a future requirement they should land\n * in a new module with a clear runtime owner, not be re-introduced here.\n */\n\nimport { EngineCapability } from '../../external-providers/engine-capabilities.shared.schemas';\n\n// ─────────────────────────────────────────────────────────────────────────────\n// EMAIL TEMPLATE TYPE (provider routing)\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * @wildo_source:part:start saas.models.email.template-type facet:layer:shared facet:audience:app-developer\n *\n * ⚠️ **A template's `type` decides WHICH VENDOR ships it.** It is not a label: each member maps to a\n * distinct engine capability, and the sender resolves the provider configured against THAT\n * capability. A newsletter left at the default is dispatched through the transactional vendor, on\n * the transactional reputation and quota, and nothing reports it.\n *\n * Declare it on the file-based `EmailTemplateDefinition<L>.type` slot, or inside the system template\n * registry definition.\n *\n * Setting `MARKETING` therefore requires a vendor declared against the marketing capability and named\n * as its primary — otherwise the send has no provider to resolve. Nothing else in the send path\n * changes.\n *\n * Dispatch class for an email template — maps 1:1 with `EngineCapability`\n * for provider routing inside `EmailBackendService`.\n *\n * Templates declare their dispatch class on the file-based\n * `EmailTemplateDefinition<L>.type?` slot or inside the\n * `SystemEmailTemplateRegistry` definition; the runtime sender uses\n * {@link EmailTemplateType_ToEngineCapability} to resolve which configured\n * provider should ship the message.\n */\nexport enum EmailTemplateType {\n /** Transactional emails — password resets, receipts, notifications. */\n TRANSACTIONAL = EngineCapability.EMAIL_TRANSACTIONAL,\n /** Marketing emails — newsletters, promotions, campaigns. */\n MARKETING = EngineCapability.EMAIL_MARKETING,\n}\n/** @wildo_source:part:end saas.models.email.template-type */\n\n/**\n * Total `Record<EmailTemplateType, EngineCapability>` used by\n * `EmailBackendService` to pick the configured provider for a given template\n * dispatch class. Kept in this enums module (not in the runtime sender)\n * because it is data, not behavior, and because it stays in lock-step with\n * the {@link EmailTemplateType} enum — adding a new variant requires an\n * entry here in the same edit.\n */\nexport const EmailTemplateType_ToEngineCapability: Record<EmailTemplateType, EngineCapability> = {\n [EmailTemplateType.TRANSACTIONAL]: EngineCapability.EMAIL_TRANSACTIONAL,\n [EmailTemplateType.MARKETING]: EngineCapability.EMAIL_MARKETING,\n};\n\n// ─────────────────────────────────────────────────────────────────────────────\n// EMAIL TEMPLATE FREQUENCY (lifecycle classification)\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * Lifecycle classification for an email template from the application's\n * authoring perspective. This is about how the template is used by the\n * system — not how often a user receives it.\n *\n * Surfaced on `SystemEmailTemplateDefinition.frequency`; the runtime sender\n * pipeline does not branch on this value today, but it is preserved as a\n * canonical authoring slot so the dev companion can render it (e.g. in\n * preview metadata) and so future lifecycle automation can key off it.\n */\nexport enum EmailTemplateFrequency {\n /**\n * Template used once or a few times in the application's lifetime.\n * Examples: migration announcements, CVE security alerts, T&C updates,\n * one-time campaigns. These templates may be archived after their\n * purpose is fulfilled.\n */\n EPHEMERAL = \"EPHEMERAL\",\n /**\n * Template used repeatedly throughout the application's lifetime.\n * Examples: welcome emails, password reset, order confirmations,\n * verification emails. These templates are permanent fixtures of the\n * application.\n */\n RECURRENT = \"RECURRENT\",\n}\n\n// ─────────────────────────────────────────────────────────────────────────────\n// EMAIL TEMPLATE STATUS (workflow state)\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * Workflow state for a template artifact.\n *\n * Pre-Step-4 this enum drove a DRAFT/PUBLISHED versioning workflow on the\n * deleted `EmailTemplateSchema.status` field. Post-Step-4 it survives only\n * because the dev companion preview surface and authoring tooling may\n * still want a workflow vocabulary for in-progress edits before they land\n * in the filesystem registry. Today no live runtime branches on it; if it\n * ends up unused after Step 8 (companion-preview integration test) the\n * cleanup pass should consider deleting it outright.\n */\nexport enum EmailTemplateStatus {\n /** Template is in draft state, not used for sending. */\n DRAFT = \"DRAFT\",\n /** Template is published and active for sending. */\n PUBLISHED = \"PUBLISHED\",\n /** Template is archived and no longer used. */\n ARCHIVED = \"ARCHIVED\",\n}\n\n// ─────────────────────────────────────────────────────────────────────────────\n// EMAIL TEMPLATE SCOPE (header/footer behavior)\n// ─────────────────────────────────────────────────────────────────────────────\n\n/**\n * Scope marker for a template — `APPLICATION` vs `ORGANIZATION`. Aligned\n * with `ResourcePrimaryScope` but intentionally narrower: email scope only\n * needs the application/organization split; user-self / anonymous scopes\n * have no header/footer semantics in the email pipeline.\n *\n * Surfaced on `SystemEmailTemplateDefinition.scope`. The header/footer\n * runtime never reads the deleted `EmailHeaderFooterTemplateSchema` —\n * post-Step-4 header/footer composition lives entirely inside the\n * file-based template (`template.tsx` consumes header/footer React\n * components directly), and this scope marker only informs companion\n * preview rendering and any future per-scope provider-selection logic.\n */\nexport enum EmailTemplateScope {\n /** Application-level template (uses app header/footer). */\n APPLICATION = \"APPLICATION\",\n /** Organization-level template (uses org header/footer if defined). */\n ORGANIZATION = \"ORGANIZATION\",\n}\n"]}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The outbound-webhook wire contract a RECEIVER can rely on.
|
|
3
|
+
*
|
|
4
|
+
* This is the single source for every number and name an integrator sees in the
|
|
5
|
+
* application's customer documentation: the retry ladder, the per-attempt
|
|
6
|
+
* timeout, the signature header, the JWT claim names and the body-hash
|
|
7
|
+
* algorithm. The delivery worker (`m2m-webhook-delivery.batch.utils.ts` in the
|
|
8
|
+
* backend library) derives its tunables from here, and the consumer-fact
|
|
9
|
+
* catalog projects the same object into the technical documentation, so a
|
|
10
|
+
* change to the worker's behaviour cannot leave the published contract behind.
|
|
11
|
+
*
|
|
12
|
+
* Nothing here is a runtime knob. A generated application does not configure
|
|
13
|
+
* these values; they describe what every application delivers.
|
|
14
|
+
*/
|
|
15
|
+
export declare const M2M_WEBHOOK_DELIVERY_CONTRACT: {
|
|
16
|
+
/** Total POST attempts per delivery before it is marked terminally failed. */
|
|
17
|
+
readonly maxAttempts: 5;
|
|
18
|
+
/**
|
|
19
|
+
* Delay before each RETRY, indexed by retry number (the first retry waits
|
|
20
|
+
* `backoffScheduleSeconds[0]`). With `maxAttempts` = 5 there are four retries,
|
|
21
|
+
* so the ladder is 1 minute, 5 minutes, 30 minutes and 2 hours.
|
|
22
|
+
*/
|
|
23
|
+
readonly backoffScheduleSeconds: readonly [60, 300, 1800, 7200];
|
|
24
|
+
/** Hard timeout applied to every outbound POST attempt. */
|
|
25
|
+
readonly requestTimeoutMs: 30000;
|
|
26
|
+
/** The receiver's response body is recorded on the delivery row up to this many bytes. */
|
|
27
|
+
readonly responseBodyTruncationBytes: number;
|
|
28
|
+
/** `User-Agent` sent on every outbound webhook POST. */
|
|
29
|
+
readonly userAgent: "Wildo-Webhook/1";
|
|
30
|
+
/** Request header carrying the signature JWT. */
|
|
31
|
+
readonly signatureHeader: "x-wildo-webhook-signature";
|
|
32
|
+
/** JWS algorithm the signature JWT is signed with. Receivers must pin it. */
|
|
33
|
+
readonly signatureAlgorithm: "ES256";
|
|
34
|
+
/**
|
|
35
|
+
* Registered-claim values every signature JWT carries. The backend's signing options for the
|
|
36
|
+
* webhook key are derived from this block, so a receiver that pins these values pins what the
|
|
37
|
+
* worker actually signs. `expiresIn` outlives the longest scheduled retry (2 hours) by a wide
|
|
38
|
+
* margin while keeping the replay window short.
|
|
39
|
+
*
|
|
40
|
+
* The JWT header's `kid` is deliberately NOT here: the signer sets it to the RFC 7638 thumbprint
|
|
41
|
+
* of the signing public key, which differs per deployment and changes on rotation. A receiver
|
|
42
|
+
* must not pin a fixed `kid`; it verifies against `applicationPublicKeyPem` from the webhook
|
|
43
|
+
* configuration and may use `kid` only to notice that the key changed.
|
|
44
|
+
*/
|
|
45
|
+
readonly signature: {
|
|
46
|
+
readonly issuer: "wildo-application";
|
|
47
|
+
readonly audience: "WEBHOOK";
|
|
48
|
+
readonly expiresIn: "6h";
|
|
49
|
+
};
|
|
50
|
+
/** Algorithm of the `bodyHash` claim: a hex digest of the exact raw request bytes. */
|
|
51
|
+
readonly bodyHashAlgorithm: "sha256";
|
|
52
|
+
/** Status codes (besides 5xx and transport failures) that schedule another attempt. */
|
|
53
|
+
readonly retryableHttpStatuses: readonly [408, 429];
|
|
54
|
+
/**
|
|
55
|
+
* Names of the claims a receiver reads from the signature JWT. `jti` is the
|
|
56
|
+
* deduplication key and stays identical across every retry of one delivery;
|
|
57
|
+
* the registered claims (`iss`, `aud`, `iat`, `exp`) and the header `kid` are refreshed
|
|
58
|
+
* per attempt.
|
|
59
|
+
*/
|
|
60
|
+
readonly signatureClaims: {
|
|
61
|
+
readonly deliveryId: "jti";
|
|
62
|
+
readonly bodyHash: "bodyHash";
|
|
63
|
+
readonly bodyHashAlgorithm: "bodyHashAlg";
|
|
64
|
+
readonly eventChannel: "eventChannel";
|
|
65
|
+
readonly resourceIdentifier: "resourceIdentifier";
|
|
66
|
+
readonly operationIdentifier: "operationIdentifier";
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
export type M2MWebhookDeliveryContract = typeof M2M_WEBHOOK_DELIVERY_CONTRACT;
|
|
70
|
+
//# sourceMappingURL=m2m-webhook-delivery-contract.shared.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"m2m-webhook-delivery-contract.shared.d.ts","sourceRoot":"","sources":["../../../../../src/notifications/m2m/m2m-webhook-delivery-contract.shared.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,6BAA6B;IACxC,8EAA8E;;IAE9E;;;;OAIG;;IAEH,2DAA2D;;IAE3D,0FAA0F;;IAE1F,wDAAwD;;IAExD,iDAAiD;;IAEjD,6EAA6E;;IAE7E;;;;;;;;;;OAUG;;;;;;IAMH,sFAAsF;;IAEtF,uFAAuF;;IAEvF;;;;;OAKG;;;;;;;;;CASK,CAAC;AAEX,MAAM,MAAM,0BAA0B,GAAG,OAAO,6BAA6B,CAAC"}
|