@oxygen-agent/cli 1.1014.1895 → 1.1014.2040
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/README.md +1 -1
- package/dist/auto-update.d.ts +1 -1
- package/dist/auto-update.js +3 -3
- package/dist/cli-install.d.ts +65 -0
- package/dist/cli-install.js +165 -0
- package/dist/command-families/tables/options.d.ts +1 -0
- package/dist/command-families/tables/register-automation.js +3 -1
- package/dist/commands/billing.js +1 -1
- package/dist/commands/managed-inboxes.js +6 -2
- package/dist/commands/observability.js +4 -4
- package/dist/commands/sequences.js +1 -1
- package/dist/commands/subscriptions.js +7 -5
- package/dist/commands/table-runs.js +10 -0
- package/dist/commands/tags.js +2 -2
- package/dist/commands/workflows.js +31 -10
- package/dist/http-client.d.ts +1 -1
- package/dist/http-client.js +1 -1
- package/dist/update.d.ts +4 -57
- package/dist/update.js +17 -163
- package/node_modules/@oxygen/formula/dist/cross-row-function.d.ts +13 -0
- package/node_modules/@oxygen/formula/dist/cross-row-function.js +1 -0
- package/node_modules/@oxygen/formula/dist/{refactor-internals → cross-row-functions}/novelty-score.d.ts +2 -0
- package/node_modules/@oxygen/formula/dist/{refactor-internals → cross-row-functions}/novelty-score.js +1 -0
- package/node_modules/@oxygen/formula/dist/cross-row-functions.generated.d.ts +3 -0
- package/node_modules/@oxygen/formula/dist/cross-row-functions.generated.js +3 -0
- package/node_modules/@oxygen/formula/dist/evaluate.d.ts +12 -1
- package/node_modules/@oxygen/formula/dist/evaluate.js +28 -3
- package/node_modules/@oxygen/recipe-sdk/dist/index.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/billing.d.ts +5 -1
- package/node_modules/@oxygen/shared/dist/billing.js +5 -1
- package/node_modules/@oxygen/shared/dist/capability-discovery-skill-audiences.generated.d.ts +30 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery-skill-audiences.generated.js +33 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery-skills.d.ts +39 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery-skills.js +86 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery-types.d.ts +93 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery-types.js +1 -0
- package/node_modules/@oxygen/shared/dist/capability-discovery.d.ts +12 -270
- package/node_modules/@oxygen/shared/dist/capability-discovery.js +124 -3713
- package/node_modules/@oxygen/shared/dist/capability-intents/agency-directory.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/agency-directory.rules.js +5 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/agents.d.ts +10 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/agents.js +53 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/agents.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/agents.rules.js +25 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/billing-and-budgets.d.ts +31 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/billing-and-budgets.js +70 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/billing-and-budgets.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/billing-and-budgets.rules.js +85 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/collaboration.d.ts +9 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/collaboration.js +54 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/collaboration.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/collaboration.rules.js +28 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-integrations.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-integrations.rules.js +23 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-linkedin.d.ts +43 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-linkedin.js +90 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-linkedin.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-linkedin.rules.js +58 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-whatsapp.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/connected-whatsapp.rules.js +14 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/geo.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/geo.rules.js +9 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/index.generated.d.ts +365 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/index.generated.js +90 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/knowledge-graph.d.ts +20 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/knowledge-graph.js +37 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/knowledge-graph.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/knowledge-graph.rules.js +43 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/linkedin-public-research.d.ts +4 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/linkedin-public-research.js +26 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/linkedin-public-research.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/linkedin-public-research.rules.js +42 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/messages.d.ts +6 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/messages.js +16 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/messages.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/messages.rules.js +68 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/normalize.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/normalize.js +4 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/platform-operations.d.ts +6 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/platform-operations.js +23 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/platform-operations.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/platform-operations.rules.js +25 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/posts.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/posts.js +12 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/posts.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/posts.rules.js +20 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/publishing.d.ts +86 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/publishing.js +135 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/publishing.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/publishing.rules.js +89 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/read-inspection.d.ts +7 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/read-inspection.js +85 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/read-inspection.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/read-inspection.rules.js +28 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/recipes.d.ts +7 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/recipes.js +73 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/recipes.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/recipes.rules.js +36 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/records.d.ts +86 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/records.js +240 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/records.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/records.rules.js +71 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sending-infrastructure.d.ts +27 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sending-infrastructure.js +67 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sending-infrastructure.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sending-infrastructure.rules.js +115 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sequences.d.ts +71 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sequences.js +150 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sequences.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sequences.rules.js +149 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/signals.d.ts +42 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/signals.js +42 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/signals.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/signals.rules.js +47 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sourcing-and-provider-tools.d.ts +60 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sourcing-and-provider-tools.js +94 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sourcing-and-provider-tools.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/sourcing-and-provider-tools.rules.js +94 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tables.d.ts +196 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tables.js +394 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tables.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tables.rules.js +384 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tags.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/tags.rules.js +5 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/visual-rendering.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/visual-rendering.rules.js +8 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workflows.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workflows.js +20 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workflows.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workflows.rules.js +90 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workspace-access.d.ts +59 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workspace-access.js +121 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workspace-access.rules.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-intents/workspace-access.rules.js +58 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/ads.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/ads.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/agency-directory.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/agency-directory.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/agents.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/agents.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/billing-and-budgets.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/billing-and-budgets.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/collaboration.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/collaboration.js +39 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-integrations.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-integrations.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-linkedin.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-linkedin.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-whatsapp.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/connected-whatsapp.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/dashboards.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/dashboards.js +28 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/discovery-and-skills.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/discovery-and-skills.js +22 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/geo.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/geo.js +13 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/index.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/index.js +64 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/knowledge-graph.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/knowledge-graph.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/linkedin-public-research.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/linkedin-public-research.js +18 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/messages.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/messages.js +21 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/observability.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/observability.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/onboarding-and-copilot.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/onboarding-and-copilot.js +23 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/platform-operations.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/platform-operations.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/posts.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/posts.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/publishing.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/publishing.js +20 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/recipes.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/recipes.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/records.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/records.js +20 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sending-infrastructure.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sending-infrastructure.js +42 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sequences.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sequences.js +32 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/signals.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/signals.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sourcing-and-provider-tools.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/sourcing-and-provider-tools.js +21 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/support-and-feedback.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/support-and-feedback.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/tables.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/tables.js +34 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/tags.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/tags.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/visual-rendering.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/visual-rendering.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/workflows.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/workflows.js +17 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/workspace-access.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/capability-routes/workspace-access.js +26 -0
- package/node_modules/@oxygen/shared/dist/cell-format.js +2 -2
- package/node_modules/@oxygen/shared/dist/collab.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/contracts/connectors.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/customer-operations.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/contracts/geo.js +1 -1
- package/node_modules/@oxygen/shared/dist/contracts/operations/agent-sessions.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/agent-sessions.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/browser.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/browser.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/clay-migration.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/clay-migration.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/connectors.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/connectors.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/geo.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/geo.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/guided-activation.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/guided-activation.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/index.generated.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/index.generated.js +26 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/reply-oxygent.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/reply-oxygent.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/sender-limits.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/sender-limits.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/table-feed-update.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/table-feed-update.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/teammates.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/teammates.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/workspace-pages.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/workspace-pages.js +2 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/workspace-skills.d.ts +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations/workspace-skills.js +1 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations.d.ts +6 -0
- package/node_modules/@oxygen/shared/dist/contracts/operations.js +7 -15
- package/node_modules/@oxygen/shared/dist/contracts/sender-limits.js +1 -0
- package/node_modules/@oxygen/shared/dist/diagnostic-storage-lock.js +33 -22
- package/node_modules/@oxygen/shared/dist/diagnostics.js +11 -8
- package/node_modules/@oxygen/shared/dist/dnc-identities.js +1 -1
- package/node_modules/@oxygen/shared/dist/error-redaction.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/error-redaction.js +2 -2
- package/node_modules/@oxygen/shared/dist/esp-contract.d.ts +133 -0
- package/node_modules/@oxygen/shared/dist/esp-contract.js +121 -0
- package/node_modules/@oxygen/shared/dist/first-month-offer-window.d.ts +3 -0
- package/node_modules/@oxygen/shared/dist/first-month-offer.d.ts +15 -7
- package/node_modules/@oxygen/shared/dist/first-month-offer.js +23 -9
- package/node_modules/@oxygen/shared/dist/{geo.js → geo/geo.js} +2 -2
- package/node_modules/@oxygen/shared/dist/guided-activation.d.ts +2 -0
- package/node_modules/@oxygen/shared/dist/index.d.ts +6 -5
- package/node_modules/@oxygen/shared/dist/index.js +7 -5
- package/node_modules/@oxygen/shared/dist/knowledge-bootstrap.js +1 -1
- package/node_modules/@oxygen/shared/dist/linkedin-connection-identity.js +1 -1
- package/node_modules/@oxygen/shared/dist/listed-website-platforms.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/listed-website-platforms.js +23 -1
- package/node_modules/@oxygen/shared/dist/{sending-domain-rollout.js → mailboxes/sending-domain-rollout.js} +1 -1
- package/node_modules/@oxygen/shared/dist/mcp-event-contract.js +1 -1
- package/node_modules/@oxygen/shared/dist/onboarding-leads.d.ts +67 -0
- package/node_modules/@oxygen/shared/dist/onboarding-leads.js +78 -0
- package/node_modules/@oxygen/shared/dist/otlp-log-sink.js +20 -0
- package/node_modules/@oxygen/shared/dist/plan-capabilities.js +1 -1
- package/node_modules/@oxygen/shared/dist/plan-limits.d.ts +2 -2
- package/node_modules/@oxygen/shared/dist/plan-limits.js +6 -7
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-core.d.ts → posts/metrics-core.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-linkedin.d.ts → posts/metrics-linkedin.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-linkedin.js → posts/metrics-linkedin.js} +2 -2
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-series.d.ts → posts/metrics-series.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-series.js → posts/metrics-series.js} +1 -1
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-x.d.ts → posts/metrics-x.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{social-post-metrics-x.js → posts/metrics-x.js} +2 -2
- package/node_modules/@oxygen/shared/dist/{social-post-metrics.d.ts → posts/metrics.d.ts} +3 -3
- package/node_modules/@oxygen/shared/dist/{social-post-metrics.js → posts/metrics.js} +3 -3
- package/node_modules/@oxygen/shared/dist/recipient-provider.d.ts +2 -10
- package/node_modules/@oxygen/shared/dist/recipient-provider.js +1 -9
- package/node_modules/@oxygen/shared/dist/sending-domain-faults.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/sending-domain-faults.js +1 -1
- package/node_modules/@oxygen/shared/dist/sequence-internals/esp-policy.d.ts +2 -118
- package/node_modules/@oxygen/shared/dist/sequence-internals/esp-policy.js +2 -107
- package/node_modules/@oxygen/shared/dist/sequences.d.ts +0 -1
- package/node_modules/@oxygen/shared/dist/sequences.js +0 -2
- package/node_modules/@oxygen/shared/dist/{native-chat-discovery.d.ts → support/native-chat-discovery.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{native-chat-discovery.js → support/native-chat-discovery.js} +1 -1
- package/node_modules/@oxygen/shared/dist/suppression-entries.js +1 -1
- package/node_modules/@oxygen/shared/dist/table-field-types.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/table-field-types.js +2 -2
- package/node_modules/@oxygen/shared/dist/{column-output-fields.js → tables/column-output-fields.js} +4 -4
- package/node_modules/@oxygen/shared/dist/{tags.d.ts → tags/tags.d.ts} +1 -1
- package/node_modules/@oxygen/shared/dist/{tags.js → tags/tags.js} +1 -1
- package/node_modules/@oxygen/shared/dist/tenant-migration-names.d.ts +5 -0
- package/node_modules/@oxygen/shared/dist/tenant-migration-names.js +8 -0
- package/node_modules/@oxygen/shared/dist/ugc-amplification-identity.js +1 -1
- package/node_modules/@oxygen/shared/dist/version.generated.d.ts +1 -1
- package/node_modules/@oxygen/shared/dist/version.generated.js +1 -1
- package/node_modules/@oxygen/shared/dist/workspace-placement-bulk.d.ts +6 -0
- package/node_modules/@oxygen/shared/dist/workspace-placement-bulk.js +9 -2
- package/node_modules/@oxygen/shared/dist/workspace-placement-schedule.d.ts +44 -0
- package/node_modules/@oxygen/shared/dist/workspace-placement-schedule.js +90 -0
- package/node_modules/@oxygen/shared/dist/workspace-placement-view.d.ts +24 -0
- package/node_modules/@oxygen/shared/dist/workspace-placement-view.js +5 -4
- package/node_modules/@oxygen/shared/dist/workspace-placement.d.ts +4 -0
- package/node_modules/@oxygen/shared/dist/workspace-placement.js +7 -1
- package/node_modules/@oxygen/shared/package.json +0 -25
- package/node_modules/@oxygen/workflows/dist/cron.d.ts +42 -0
- package/node_modules/@oxygen/workflows/dist/cron.js +271 -0
- package/node_modules/@oxygen/workflows/dist/event-dispatch.d.ts +2 -1
- package/node_modules/@oxygen/workflows/dist/graph/condition.d.ts +3 -0
- package/node_modules/@oxygen/workflows/dist/graph/condition.js +19 -0
- package/node_modules/@oxygen/workflows/dist/graph/expression.d.ts +1 -2
- package/node_modules/@oxygen/workflows/dist/graph/expression.js +2 -19
- package/node_modules/@oxygen/workflows/dist/graph/lint.d.ts +1 -1
- package/node_modules/@oxygen/workflows/dist/graph/lint.js +4 -3
- package/node_modules/@oxygen/workflows/dist/graph/types.d.ts +4 -3
- package/node_modules/@oxygen/workflows/dist/index.d.ts +9 -1043
- package/node_modules/@oxygen/workflows/dist/index.js +11 -2124
- package/node_modules/@oxygen/workflows/dist/manifest-builders.d.ts +73 -0
- package/node_modules/@oxygen/workflows/dist/manifest-builders.js +102 -0
- package/node_modules/@oxygen/workflows/dist/manifest-guards.d.ts +16 -0
- package/node_modules/@oxygen/workflows/dist/manifest-guards.js +34 -0
- package/node_modules/@oxygen/workflows/dist/manifest-hash.d.ts +47 -0
- package/node_modules/@oxygen/workflows/dist/manifest-hash.js +102 -0
- package/node_modules/@oxygen/workflows/dist/manifest-lint.d.ts +17 -0
- package/node_modules/@oxygen/workflows/dist/manifest-lint.js +474 -0
- package/node_modules/@oxygen/workflows/dist/manifest-types.d.ts +256 -0
- package/node_modules/@oxygen/workflows/dist/manifest-types.js +9 -0
- package/node_modules/@oxygen/workflows/dist/manifest-validation.d.ts +75 -0
- package/node_modules/@oxygen/workflows/dist/manifest-validation.js +903 -0
- package/node_modules/@oxygen/workflows/dist/pure-function.d.ts +17 -0
- package/node_modules/@oxygen/workflows/dist/pure-function.js +130 -0
- package/node_modules/@oxygen/workflows/dist/refactor-internals/condition-comparison.d.ts +1 -17
- package/node_modules/@oxygen/workflows/dist/refactor-internals/condition-comparison.js +1 -93
- package/node_modules/@oxygen/workflows/dist/refactor-internals/condition-pattern.d.ts +16 -0
- package/node_modules/@oxygen/workflows/dist/refactor-internals/condition-pattern.js +92 -0
- package/node_modules/@oxygen/workflows/dist/workflow-schemas.d.ts +545 -0
- package/node_modules/@oxygen/workflows/dist/workflow-schemas.js +135 -0
- package/node_modules/@oxygen/workflows/package.json +4 -0
- package/package.json +1 -1
- /package/node_modules/@oxygen/shared/dist/{geo.d.ts → geo/geo.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{sending-domain-rollout.d.ts → mailboxes/sending-domain-rollout.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{attempt-provenance.d.ts → observability/attempt-provenance.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{attempt-provenance.js → observability/attempt-provenance.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-mentions.d.ts → posts/linkedin-mentions.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-mentions.js → posts/linkedin-mentions.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-post-keywords.d.ts → posts/linkedin-post-keywords.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-post-keywords.js → posts/linkedin-post-keywords.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-post-url.d.ts → posts/linkedin-post-url.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-post-url.js → posts/linkedin-post-url.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{social-post-metrics-core.js → posts/metrics-core.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{native-chat.d.ts → support/native-chat.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{native-chat.js → support/native-chat.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{plain-support-events.d.ts → support/plain-support-events.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{plain-support-events.js → support/plain-support-events.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{column-output-fields.d.ts → tables/column-output-fields.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-url.d.ts → tables/linkedin-url.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{linkedin-url.js → tables/linkedin-url.js} +0 -0
- /package/node_modules/@oxygen/shared/dist/{select-options.d.ts → tables/select-options.d.ts} +0 -0
- /package/node_modules/@oxygen/shared/dist/{select-options.js → tables/select-options.js} +0 -0
|
@@ -3,11 +3,12 @@ import { FIRST_MONTH_OFFER_WINDOW_MS } from "./first-month-offer-window.js";
|
|
|
3
3
|
export { FIRST_MONTH_OFFER_SEEN_COOKIE, FIRST_MONTH_OFFER_SEEN_MAX_AGE_SECONDS, firstMonthOfferEndsAt, parseFirstMonthOfferStart, } from "./first-month-offer-window.js";
|
|
4
4
|
/**
|
|
5
5
|
* The first-month offer (founder, 2026-10-02; widened 2026-10-03 to "all the
|
|
6
|
-
* plans above the $49/month plan ... from the $99/month plan upwards"
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
6
|
+
* plans above the $49/month plan ... from the $99/month plan upwards"; widened
|
|
7
|
+
* again 2026-10-23: "apply the 50% off offer on the first month also on the
|
|
8
|
+
* 49/Month plan"): a new customer's first month of any Oxygen size costs half
|
|
9
|
+
* its price, rounded down to the dollar, so they start for less and, the hope
|
|
10
|
+
* is, keep it. $49 becomes $24, $99 $49, $199 $99, $499 $249, $999 $499 and
|
|
11
|
+
* $1,999 $999. It is claimable for 24 hours from the first time that person sees it: a
|
|
11
12
|
* browser remembers when it first showed the offer, signup carries that start
|
|
12
13
|
* onto the new workspace, and checkout applies the discount only inside the
|
|
13
14
|
* workspace's window.
|
|
@@ -21,7 +22,7 @@ export const FIRST_MONTH_OFFER = Object.freeze({
|
|
|
21
22
|
/** Stable machine name, written to Checkout and subscription metadata. */
|
|
22
23
|
key: "first_month_half",
|
|
23
24
|
/** The cheapest size it applies to; every dearer size qualifies too. */
|
|
24
|
-
minimumPlanKey: "
|
|
25
|
+
minimumPlanKey: "oxygen_49",
|
|
25
26
|
/**
|
|
26
27
|
* The size every surface proposes while the offer runs ("By default it's the
|
|
27
28
|
* $99/month plan, which is 50% off for the first month"): `/pricing` and the
|
|
@@ -62,8 +63,21 @@ export function firstMonthOfferPrice(planKey = FIRST_MONTH_OFFER.minimumPlanKey)
|
|
|
62
63
|
percentOff: Math.floor(((regularCents - firstMonthCents) / regularCents) * 100),
|
|
63
64
|
};
|
|
64
65
|
}
|
|
65
|
-
/**
|
|
66
|
+
/**
|
|
67
|
+
* The banner's headline, computed here so the browser never loads the catalog:
|
|
68
|
+
* the smallest discount any covered size gives ($49 → $24 is 51%, the others
|
|
69
|
+
* 50%), so it never claims more than a plan gives, and the size it promotes.
|
|
70
|
+
* The $99 plan leads (current chat, 2026-10-23: "we should still promote mainly
|
|
71
|
+
* the 99/month plan as the primary point but they have the option to select the
|
|
72
|
+
* lower tier"); the $49 plan is half off too, chosen on the plans.
|
|
73
|
+
*/
|
|
66
74
|
export function firstMonthOfferHeadline() {
|
|
67
|
-
const
|
|
68
|
-
|
|
75
|
+
const prices = FIRST_MONTH_OFFER_PLAN_KEYS.map((planKey) => firstMonthOfferPrice(planKey));
|
|
76
|
+
const promoted = firstMonthOfferPrice(FIRST_MONTH_OFFER.defaultPlanKey);
|
|
77
|
+
return {
|
|
78
|
+
percentOff: Math.min(...prices.map((price) => price.percentOff)),
|
|
79
|
+
fromCents: firstMonthOfferPrice().regularCents,
|
|
80
|
+
planCents: promoted.regularCents,
|
|
81
|
+
firstMonthCents: promoted.firstMonthCents,
|
|
82
|
+
};
|
|
69
83
|
}
|
|
@@ -10,6 +10,8 @@ export type GuidedOnboardingResearch = {
|
|
|
10
10
|
turn_id?: string;
|
|
11
11
|
results_turn_id?: string;
|
|
12
12
|
results_pending?: boolean;
|
|
13
|
+
/** The lead list OXYGEN sources beside the research (onboarding-leads.ts). */
|
|
14
|
+
leads?: import("./onboarding-leads.js").OnboardingLeadsProgress;
|
|
13
15
|
};
|
|
14
16
|
export type GuidedActivationPurpose = typeof GUIDED_ACTIVATION_PURPOSES[number];
|
|
15
17
|
export type GuidedActivationRoutine = {
|
|
@@ -13,7 +13,7 @@ export * from "./plan-limits.js";
|
|
|
13
13
|
export * from "./plan-band.js";
|
|
14
14
|
export * from "./sending-seats.js";
|
|
15
15
|
export * from "./sending-seat-capacity.js";
|
|
16
|
-
export * from "./plain-support-events.js";
|
|
16
|
+
export * from "./support/plain-support-events.js";
|
|
17
17
|
export * from "./provider-balance-signal.js";
|
|
18
18
|
export * from "./provider-funding-errors.js";
|
|
19
19
|
export * from "./publishing-limits.js";
|
|
@@ -58,10 +58,10 @@ export * from "./knowledge-vault-markdown.js";
|
|
|
58
58
|
export * from "./knowledge-seed-content.js";
|
|
59
59
|
export * from "./langfuse.js";
|
|
60
60
|
export * from "./llm-usage.js";
|
|
61
|
-
export * from "./linkedin-mentions.js";
|
|
62
|
-
export * from "./linkedin-post-url.js";
|
|
61
|
+
export * from "./posts/linkedin-mentions.js";
|
|
62
|
+
export * from "./posts/linkedin-post-url.js";
|
|
63
63
|
export * from "./linkedin-quota-denial.js";
|
|
64
|
-
export * from "./linkedin-url.js";
|
|
64
|
+
export * from "./tables/linkedin-url.js";
|
|
65
65
|
export * from "./linkedin-sequences.js";
|
|
66
66
|
export * from "./member-columns.js";
|
|
67
67
|
export * from "./microsoft-consent-url.js";
|
|
@@ -77,6 +77,7 @@ export * from "./sequence-terminal-events.js";
|
|
|
77
77
|
export * from "./call-outcomes.js";
|
|
78
78
|
export * from "./dial-guardrail-overrides.js";
|
|
79
79
|
export * from "./sequences.js";
|
|
80
|
+
export { ESP_MATCHING_MODES, type EspMatchingMode, DEFAULT_ESP_MATCHING_MODE, isEspMatchingMode, validateEspMatchingSetting, RECIPIENT_ESPS, type RecipientEsp, ESP_ROUTE_BUCKETS, type EspRouteBucket, type EspRouteWeights, type EspSenderExclusion, type EspRoutingPolicy, type EspMatchingSetting, type ResolvedEspPolicy, MAX_ESP_SENDER_EXCLUSIONS, MAX_ESP_ROUTE_WEIGHT, isEspRouteBucket, normalizeEspSenderDomain, espPolicyFromSetting, espRouteWeightsFor, espRouteCandidates, espExcludedSenderDomains, RECIPIENT_ESP_FAMILIES, type RecipientEspFamily, isRecipientEspFamily, isEspGatewayFamily, matchableEspFromFamily, familyFromMxHosts, espFromSpfRecords, inferRecipientEspFamily, inferRecipientEsp, espFromMxHosts, } from "./sequence-internals/esp-policy.js";
|
|
80
81
|
export * from "./suppression-entries.js";
|
|
81
82
|
export * from "./dnc-identities.js";
|
|
82
83
|
export * from "./dnc-rules.js";
|
|
@@ -92,7 +93,7 @@ export * from "./social-capabilities.js";
|
|
|
92
93
|
export * from "./signup-lead-deliveries.js";
|
|
93
94
|
export * from "./sql-error.js";
|
|
94
95
|
export * from "./postgres-text.js";
|
|
95
|
-
export * from "./tags.js";
|
|
96
|
+
export * from "./tags/tags.js";
|
|
96
97
|
export * from "./telemetry.js";
|
|
97
98
|
export * from "./tenant-database-secret.js";
|
|
98
99
|
export * from "./egress-transport-readiness.js";
|
|
@@ -13,7 +13,7 @@ export * from "./plan-limits.js";
|
|
|
13
13
|
export * from "./plan-band.js";
|
|
14
14
|
export * from "./sending-seats.js";
|
|
15
15
|
export * from "./sending-seat-capacity.js";
|
|
16
|
-
export * from "./plain-support-events.js";
|
|
16
|
+
export * from "./support/plain-support-events.js";
|
|
17
17
|
export * from "./provider-balance-signal.js";
|
|
18
18
|
export * from "./provider-funding-errors.js";
|
|
19
19
|
export * from "./publishing-limits.js";
|
|
@@ -58,10 +58,10 @@ export * from "./knowledge-vault-markdown.js";
|
|
|
58
58
|
export * from "./knowledge-seed-content.js";
|
|
59
59
|
export * from "./langfuse.js";
|
|
60
60
|
export * from "./llm-usage.js";
|
|
61
|
-
export * from "./linkedin-mentions.js";
|
|
62
|
-
export * from "./linkedin-post-url.js";
|
|
61
|
+
export * from "./posts/linkedin-mentions.js";
|
|
62
|
+
export * from "./posts/linkedin-post-url.js";
|
|
63
63
|
export * from "./linkedin-quota-denial.js";
|
|
64
|
-
export * from "./linkedin-url.js";
|
|
64
|
+
export * from "./tables/linkedin-url.js";
|
|
65
65
|
export * from "./linkedin-sequences.js";
|
|
66
66
|
export * from "./member-columns.js";
|
|
67
67
|
export * from "./microsoft-consent-url.js";
|
|
@@ -77,6 +77,8 @@ export * from "./sequence-terminal-events.js";
|
|
|
77
77
|
export * from "./call-outcomes.js";
|
|
78
78
|
export * from "./dial-guardrail-overrides.js";
|
|
79
79
|
export * from "./sequences.js";
|
|
80
|
+
// The ESP contract the root barrel has always carried (it used to arrive through sequences.ts).
|
|
81
|
+
export { ESP_MATCHING_MODES, DEFAULT_ESP_MATCHING_MODE, isEspMatchingMode, validateEspMatchingSetting, RECIPIENT_ESPS, ESP_ROUTE_BUCKETS, MAX_ESP_SENDER_EXCLUSIONS, MAX_ESP_ROUTE_WEIGHT, isEspRouteBucket, normalizeEspSenderDomain, espPolicyFromSetting, espRouteWeightsFor, espRouteCandidates, espExcludedSenderDomains, RECIPIENT_ESP_FAMILIES, isRecipientEspFamily, isEspGatewayFamily, matchableEspFromFamily, familyFromMxHosts, espFromSpfRecords, inferRecipientEspFamily, inferRecipientEsp, espFromMxHosts, } from "./sequence-internals/esp-policy.js";
|
|
80
82
|
export * from "./suppression-entries.js";
|
|
81
83
|
export * from "./dnc-identities.js";
|
|
82
84
|
export * from "./dnc-rules.js";
|
|
@@ -103,7 +105,7 @@ export * from "./social-capabilities.js";
|
|
|
103
105
|
export * from "./signup-lead-deliveries.js";
|
|
104
106
|
export * from "./sql-error.js";
|
|
105
107
|
export * from "./postgres-text.js";
|
|
106
|
-
export * from "./tags.js";
|
|
108
|
+
export * from "./tags/tags.js";
|
|
107
109
|
export * from "./telemetry.js";
|
|
108
110
|
export * from "./tenant-database-secret.js";
|
|
109
111
|
export * from "./egress-transport-readiness.js";
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
* The provider sub-cap covers every external research leg, including fallbacks.
|
|
56
56
|
*/
|
|
57
57
|
import { normalizeLinkedinCompanyUrl } from "./dnc-identities.js";
|
|
58
|
-
import { normalizeLinkedinProfileUrl } from "./linkedin-url.js";
|
|
58
|
+
import { normalizeLinkedinProfileUrl } from "./tables/linkedin-url.js";
|
|
59
59
|
/**
|
|
60
60
|
* Hard ceiling on managed credits ONE workspace bootstrap may spend, all phases.
|
|
61
61
|
* 150 since 2026-10-18 (founder, current chat: "increase to at least 100 ... don't
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { normalizeLinkedinProfileUrl, isLinkedinMemberIdHandle } from "./linkedin-url.js";
|
|
1
|
+
import { normalizeLinkedinProfileUrl, isLinkedinMemberIdHandle } from "./tables/linkedin-url.js";
|
|
2
2
|
const LINKEDIN_PROFILE_URN_PREFIX = /^urn:li:(?:fs_miniProfile|fsd_profile|member):/;
|
|
3
3
|
const LINKEDIN_CLASSIC_MEMBER_ID = /^ACo[A-Za-z0-9_-]+$/;
|
|
4
4
|
function stripLinkedinProfileUrn(value) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** True when a lowercase bare host is a listing platform (or its subdomain) or a freemail host. */
|
|
1
|
+
/** True when a lowercase bare host is a listing platform (or its subdomain or country domain) or a freemail host. */
|
|
2
2
|
export declare function isListedWebsitePlatform(host: string): boolean;
|
|
@@ -19,8 +19,30 @@ const LISTED_WEBSITE_PLATFORM_HOSTS = [
|
|
|
19
19
|
"tripadvisor.com", "amazon.com", "etsy.com", "ebay.com",
|
|
20
20
|
"wikipedia.org", "glassdoor.com", "zoominfo.com", "g2.com",
|
|
21
21
|
];
|
|
22
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Listing platforms that also serve each market from a country domain (`glassdoor.co.uk`,
|
|
24
|
+
* `amazon.de`, `tripadvisor.com.au`). Only these brands, never every listed label: a
|
|
25
|
+
* company may legitimately own `medium.de` or `cal.de`.
|
|
26
|
+
*/
|
|
27
|
+
const COUNTRY_DOMAIN_PLATFORM_BRANDS = ["amazon", "ebay", "glassdoor", "google", "pinterest", "tripadvisor", "yelp"];
|
|
28
|
+
/** A country-code suffix: `de`, `co.uk`, `com.au`, `ne.jp`. */
|
|
29
|
+
const COUNTRY_SUFFIX = /^(?:[a-z]{2}|(?:co|com|net|org|ne|or|ac|gob|gov)\.[a-z]{2})$/;
|
|
30
|
+
function isCountryDomainPlatform(host) {
|
|
31
|
+
const labels = host.split(".");
|
|
32
|
+
// The brand is the registrable label: the one before a one- or two-label country suffix.
|
|
33
|
+
for (const suffixLength of [1, 2]) {
|
|
34
|
+
const brandIndex = labels.length - suffixLength - 1;
|
|
35
|
+
if (brandIndex < 0)
|
|
36
|
+
continue;
|
|
37
|
+
if (COUNTRY_DOMAIN_PLATFORM_BRANDS.includes(labels[brandIndex])
|
|
38
|
+
&& COUNTRY_SUFFIX.test(labels.slice(brandIndex + 1).join(".")))
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
/** True when a lowercase bare host is a listing platform (or its subdomain or country domain) or a freemail host. */
|
|
23
44
|
export function isListedWebsitePlatform(host) {
|
|
24
45
|
return LISTED_WEBSITE_PLATFORM_HOSTS.some((platform) => host === platform || host.endsWith(`.${platform}`))
|
|
46
|
+
|| isCountryDomainPlatform(host)
|
|
25
47
|
|| isFreemailDomain(host);
|
|
26
48
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CliHttpError } from "
|
|
1
|
+
import { CliHttpError } from "../cli-http-error.js";
|
|
2
2
|
export const SENDING_DOMAIN_ROLLOUT_CODE = "sending_domain_rollout_unavailable";
|
|
3
3
|
export const SENDING_DOMAIN_ROLLOUT_MESSAGE = "Sending-domain setup and delivery are not available yet.";
|
|
4
4
|
/** The operator switch that admits the sending-domain lane in one environment. */
|
|
@@ -3,7 +3,7 @@ import { arr, enumOf, int, nullable, num, obj, str, unwrapNullable, validateCont
|
|
|
3
3
|
import { CRM_ACTIVITY_CREATED_EVENT } from "./crm-activity-events.js";
|
|
4
4
|
import { CRM_EMAIL_REPLY_CLASSIFIED_EVENT, CRM_WORKFLOW_EVENT_SOURCE, } from "./crm-reply-events.js";
|
|
5
5
|
import { NOTETAKER_MEETING_COMPLETED_EVENT, NOTETAKER_WORKFLOW_EVENT_SOURCE } from "./notetaker-events.js";
|
|
6
|
-
import { slugifyOption } from "./select-options.js";
|
|
6
|
+
import { slugifyOption } from "./tables/select-options.js";
|
|
7
7
|
import { SEQUENCE_ENROLLMENT_TERMINAL_EVENT, SEQUENCE_TERMINAL_EVENT_SOURCE, SEQUENCE_TERMINAL_STATUSES, } from "./sequence-terminal-events.js";
|
|
8
8
|
import { resolveAppBaseUrl } from "./signed-token.js";
|
|
9
9
|
import { isRecord, readCoercedString, readTrimmedString } from "./type-guards.js";
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Onboarding's lead list (current chat, 2026-10-23: "We'll directly source them
|
|
3
|
+
* a lead list of decision makers with their email, linkedin and phone from icp
|
|
4
|
+
* based on the research. and we do this before the plays are being proposed";
|
|
5
|
+
* "Let's do 1k it costs us literally nothing but really make sure it's really
|
|
6
|
+
* fast. Source the leads from blitz").
|
|
7
|
+
*
|
|
8
|
+
* While the onboarding research runs, OXYGEN sources up to a thousand decision
|
|
9
|
+
* makers matching the workspace's ICP from Blitz into a "Lead list" table, then
|
|
10
|
+
* finds each one's work email and phone on Blitz. Blitz is a fixed monthly
|
|
11
|
+
* subscription, so the calls cost OXYGEN nothing at the margin; the credits below
|
|
12
|
+
* are their face value, journalled as OXYGEN-funded and never charged to the
|
|
13
|
+
* workspace. The research's report names the list, and the plays build on it.
|
|
14
|
+
*/
|
|
15
|
+
/** How many decision makers the list holds at most. */
|
|
16
|
+
export declare const ONBOARDING_LEADS_TARGET = 1000;
|
|
17
|
+
/** The only tools the lead list's funding covers: people search, then email and phone on each person. */
|
|
18
|
+
export declare const ONBOARDING_LEADS_TOOL_IDS: readonly ["blitzapi.people_search", "blitzapi.person_enrich", "blitzapi.phone_enrich"];
|
|
19
|
+
/**
|
|
20
|
+
* Face value OXYGEN funds per workspace, ever: 20 search pages at 1 credit, then
|
|
21
|
+
* 1.5 per email and 10 per phone lookup for a thousand people (11,520), with room
|
|
22
|
+
* for a restarted job's retries.
|
|
23
|
+
*/
|
|
24
|
+
export declare const ONBOARDING_LEADS_MAX_CREDITS = 13000;
|
|
25
|
+
/** Lookups in flight at once: Blitz allows 20 a second across every caller. */
|
|
26
|
+
export declare const ONBOARDING_LEADS_ENRICH_CONCURRENCY = 8;
|
|
27
|
+
/** The table the list lands in. */
|
|
28
|
+
export declare const ONBOARDING_LEADS_TABLE = "Lead list";
|
|
29
|
+
export declare const ONBOARDING_LEADS_UPSERT_KEY = "lead_key";
|
|
30
|
+
export declare const ONBOARDING_LEADS_COLUMNS: ReadonlyArray<{
|
|
31
|
+
key: string;
|
|
32
|
+
label: string;
|
|
33
|
+
dataType: "text";
|
|
34
|
+
}>;
|
|
35
|
+
/** The list's progress, kept on the onboarding's research record. */
|
|
36
|
+
export type OnboardingLeadsProgress = {
|
|
37
|
+
state: "sourcing" | "enriching" | "done" | "failed";
|
|
38
|
+
/** When this attempt claimed the job; a stale claim is taken over. */
|
|
39
|
+
claimed_at: string;
|
|
40
|
+
updated_at: string;
|
|
41
|
+
table_id?: string;
|
|
42
|
+
/** The table's page, for the report's link. */
|
|
43
|
+
table_url?: string;
|
|
44
|
+
sourced?: number;
|
|
45
|
+
emails?: number;
|
|
46
|
+
phones?: number;
|
|
47
|
+
/** The ICP sentence the search was planned from. */
|
|
48
|
+
prompt?: string;
|
|
49
|
+
fault?: string;
|
|
50
|
+
};
|
|
51
|
+
/** A claim not updated for this long belongs to a worker that stopped. */
|
|
52
|
+
export declare const ONBOARDING_LEADS_STALE_MS: number;
|
|
53
|
+
/** The workspace's ICP as the signup research writes it (company profile `icp`). */
|
|
54
|
+
export type OnboardingLeadsIcp = {
|
|
55
|
+
buyer_titles?: unknown;
|
|
56
|
+
segments?: unknown;
|
|
57
|
+
company_size?: unknown;
|
|
58
|
+
geographies?: unknown;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* The people search request in words, for the people search planner: who
|
|
62
|
+
* decides, at which companies, how big, where. Null when the ICP names no buyer
|
|
63
|
+
* and no segment, so there is nothing to search for.
|
|
64
|
+
*/
|
|
65
|
+
export declare function onboardingLeadsPrompt(icp: OnboardingLeadsIcp | null | undefined): string | null;
|
|
66
|
+
/** The report's line naming the list, or null when there is none to name. */
|
|
67
|
+
export declare function onboardingLeadsReportLine(leads: OnboardingLeadsProgress | undefined): string | null;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Onboarding's lead list (current chat, 2026-10-23: "We'll directly source them
|
|
3
|
+
* a lead list of decision makers with their email, linkedin and phone from icp
|
|
4
|
+
* based on the research. and we do this before the plays are being proposed";
|
|
5
|
+
* "Let's do 1k it costs us literally nothing but really make sure it's really
|
|
6
|
+
* fast. Source the leads from blitz").
|
|
7
|
+
*
|
|
8
|
+
* While the onboarding research runs, OXYGEN sources up to a thousand decision
|
|
9
|
+
* makers matching the workspace's ICP from Blitz into a "Lead list" table, then
|
|
10
|
+
* finds each one's work email and phone on Blitz. Blitz is a fixed monthly
|
|
11
|
+
* subscription, so the calls cost OXYGEN nothing at the margin; the credits below
|
|
12
|
+
* are their face value, journalled as OXYGEN-funded and never charged to the
|
|
13
|
+
* workspace. The research's report names the list, and the plays build on it.
|
|
14
|
+
*/
|
|
15
|
+
/** How many decision makers the list holds at most. */
|
|
16
|
+
export const ONBOARDING_LEADS_TARGET = 1_000;
|
|
17
|
+
/** The only tools the lead list's funding covers: people search, then email and phone on each person. */
|
|
18
|
+
export const ONBOARDING_LEADS_TOOL_IDS = ["blitzapi.people_search", "blitzapi.person_enrich", "blitzapi.phone_enrich"];
|
|
19
|
+
/**
|
|
20
|
+
* Face value OXYGEN funds per workspace, ever: 20 search pages at 1 credit, then
|
|
21
|
+
* 1.5 per email and 10 per phone lookup for a thousand people (11,520), with room
|
|
22
|
+
* for a restarted job's retries.
|
|
23
|
+
*/
|
|
24
|
+
export const ONBOARDING_LEADS_MAX_CREDITS = 13_000;
|
|
25
|
+
/** Lookups in flight at once: Blitz allows 20 a second across every caller. */
|
|
26
|
+
export const ONBOARDING_LEADS_ENRICH_CONCURRENCY = 8;
|
|
27
|
+
/** The table the list lands in. */
|
|
28
|
+
export const ONBOARDING_LEADS_TABLE = "Lead list";
|
|
29
|
+
export const ONBOARDING_LEADS_UPSERT_KEY = "lead_key";
|
|
30
|
+
export const ONBOARDING_LEADS_COLUMNS = [
|
|
31
|
+
["name", "Name"],
|
|
32
|
+
["title", "Title"],
|
|
33
|
+
["company", "Company"],
|
|
34
|
+
["company_domain", "Company domain"],
|
|
35
|
+
["linkedin_url", "LinkedIn URL"],
|
|
36
|
+
["email", "Email"],
|
|
37
|
+
["phone", "Phone"],
|
|
38
|
+
["location", "Location"],
|
|
39
|
+
[ONBOARDING_LEADS_UPSERT_KEY, "Lead key"],
|
|
40
|
+
].map(([key, label]) => ({ key, label, dataType: "text" }));
|
|
41
|
+
/** A claim not updated for this long belongs to a worker that stopped. */
|
|
42
|
+
export const ONBOARDING_LEADS_STALE_MS = 5 * 60_000;
|
|
43
|
+
function texts(value, max) {
|
|
44
|
+
const list = Array.isArray(value) ? value : typeof value === "string" ? [value] : [];
|
|
45
|
+
return list.filter((item) => typeof item === "string")
|
|
46
|
+
.map((item) => item.replace(/\s+/g, " ").trim()).filter(Boolean).slice(0, max);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The people search request in words, for the people search planner: who
|
|
50
|
+
* decides, at which companies, how big, where. Null when the ICP names no buyer
|
|
51
|
+
* and no segment, so there is nothing to search for.
|
|
52
|
+
*/
|
|
53
|
+
export function onboardingLeadsPrompt(icp) {
|
|
54
|
+
const titles = texts(icp?.buyer_titles, 12);
|
|
55
|
+
const segments = texts(icp?.segments, 4);
|
|
56
|
+
if (titles.length === 0 && segments.length === 0)
|
|
57
|
+
return null;
|
|
58
|
+
const size = texts(icp?.company_size, 1)[0];
|
|
59
|
+
const places = texts(icp?.geographies, 6);
|
|
60
|
+
const who = titles.length ? titles.join(", ") : "Founders, CEOs and heads of sales";
|
|
61
|
+
return [
|
|
62
|
+
`${ONBOARDING_LEADS_TARGET} decision makers: ${who}`,
|
|
63
|
+
segments.length ? ` at ${segments.join("; ")} companies` : "",
|
|
64
|
+
size ? `, ${size}` : "",
|
|
65
|
+
places.length ? `, in ${places.join(", ")}` : "",
|
|
66
|
+
".",
|
|
67
|
+
].join("");
|
|
68
|
+
}
|
|
69
|
+
/** The report's line naming the list, or null when there is none to name. */
|
|
70
|
+
export function onboardingLeadsReportLine(leads) {
|
|
71
|
+
if (!leads?.table_id || !leads.sourced)
|
|
72
|
+
return null;
|
|
73
|
+
const where = leads.table_url ? ` (${leads.table_url})` : "";
|
|
74
|
+
const contact = leads.state === "done"
|
|
75
|
+
? `${leads.emails ?? 0} with a work email and ${leads.phones ?? 0} with a phone`
|
|
76
|
+
: "their work emails and phones are being found now";
|
|
77
|
+
return `[Lead list] OXYGEN sourced ${leads.sourced} decision makers matching the ICP into the "${ONBOARDING_LEADS_TABLE}" table${where}: ${contact}.`;
|
|
78
|
+
}
|
|
@@ -190,6 +190,24 @@ function deployTierOrNull() {
|
|
|
190
190
|
return null;
|
|
191
191
|
}
|
|
192
192
|
}
|
|
193
|
+
/**
|
|
194
|
+
* `deployment.environment` declared in `OTEL_RESOURCE_ATTRIBUTES`. Only the local
|
|
195
|
+
* launcher sets it (`local`, scripts/local-dev/env.mjs); deployed runtimes never
|
|
196
|
+
* do. It beats the derived tier and caller overrides because a local process
|
|
197
|
+
* also runs with `OXYGEN_DEPLOY_ENV=selfhost-dev`, and stamping it `dev` puts its
|
|
198
|
+
* warnings (e.g. `posthog_canary.not_configured`) under dev's monitors.
|
|
199
|
+
*/
|
|
200
|
+
function declaredDeploymentEnvironment() {
|
|
201
|
+
for (const entry of (process.env.OTEL_RESOURCE_ATTRIBUTES ?? "").split(",")) {
|
|
202
|
+
const separator = entry.indexOf("=");
|
|
203
|
+
if (separator < 0 || entry.slice(0, separator).trim() !== "deployment.environment")
|
|
204
|
+
continue;
|
|
205
|
+
const value = entry.slice(separator + 1).trim();
|
|
206
|
+
if (value)
|
|
207
|
+
return value;
|
|
208
|
+
}
|
|
209
|
+
return null;
|
|
210
|
+
}
|
|
193
211
|
function recordLevel(record) {
|
|
194
212
|
return typeof record.level === "string" && Object.hasOwn(SEVERITY_NUMBERS, record.level)
|
|
195
213
|
? record.level
|
|
@@ -225,6 +243,7 @@ export function createOtlpLogSink(options) {
|
|
|
225
243
|
// resolves its own environment and comes back empty-handed falls back to the
|
|
226
244
|
// default here instead of shipping records with no `deployment.environment`.
|
|
227
245
|
const resourceOverrides = Object.fromEntries(Object.entries(options.resource ?? {}).filter(([, value]) => value !== null && value !== undefined));
|
|
246
|
+
const declaredEnvironment = declaredDeploymentEnvironment();
|
|
228
247
|
const resourceAttributes = toAttributes({
|
|
229
248
|
"service.name": options.serviceName,
|
|
230
249
|
"deployment.environment": deployTierOrNull()
|
|
@@ -237,6 +256,7 @@ export function createOtlpLogSink(options) {
|
|
|
237
256
|
// line, the same identity the trace/metric resources now carry.
|
|
238
257
|
...processResourceIdentity(),
|
|
239
258
|
...resourceOverrides,
|
|
259
|
+
...(declaredEnvironment ? { "deployment.environment": declaredEnvironment } : {}),
|
|
240
260
|
});
|
|
241
261
|
const queue = [];
|
|
242
262
|
let inFlight = null;
|
|
@@ -117,7 +117,7 @@ export const PLAN_GATED_CAPABILITY_COPY = {
|
|
|
117
117
|
bulk_email: {
|
|
118
118
|
label: "Sending newsletters",
|
|
119
119
|
freeAlternative: "Subscription lists and newsletter Sequences can be set up on Free. Adding a sending domain and sending to subscribers is what needs a plan.",
|
|
120
|
-
deepLinkPath: "/
|
|
120
|
+
deepLinkPath: "/newsletter/settings",
|
|
121
121
|
},
|
|
122
122
|
};
|
|
123
123
|
export function isPlanGatedCapability(value) {
|
|
@@ -281,13 +281,13 @@ export declare const PLAN_LIMITS: {
|
|
|
281
281
|
readonly maxDirectCsvBodyBytes: 10000000;
|
|
282
282
|
};
|
|
283
283
|
readonly agents: {
|
|
284
|
-
readonly maxTotalCredits:
|
|
284
|
+
readonly maxTotalCredits: 200;
|
|
285
285
|
readonly maxInferenceCredits: 150;
|
|
286
286
|
readonly maxUpstreamCostUsd: 10;
|
|
287
287
|
readonly maxUpstreamCostUsdByok: 10;
|
|
288
288
|
};
|
|
289
289
|
readonly copilot: {
|
|
290
|
-
readonly maxSessionBudgetCredits:
|
|
290
|
+
readonly maxSessionBudgetCredits: 250;
|
|
291
291
|
readonly defaultPerTurnCreditCeiling: 150;
|
|
292
292
|
};
|
|
293
293
|
readonly signals: {
|
|
@@ -101,7 +101,7 @@ export const PLAN_LIMITS = {
|
|
|
101
101
|
maxDirectCsvBodyBytes: 10_000_000,
|
|
102
102
|
},
|
|
103
103
|
// Sized against the free tier's actual funding (OXP-10.2.4, 2026-08-17): one
|
|
104
|
-
// signup grant of FREE_SIGNUP_GRANT_CREDITS (
|
|
104
|
+
// signup grant of FREE_SIGNUP_GRANT_CREDITS (250 since 2026-10-23) with no monthly allowance
|
|
105
105
|
// to refill it. The previous ceilings were written when `free` meant a
|
|
106
106
|
// churned org that could spend nothing, so they were harmless at any value;
|
|
107
107
|
// an Agent run capped at the old 1,000 (today's unit) could consume the
|
|
@@ -111,16 +111,15 @@ export const PLAN_LIMITS = {
|
|
|
111
111
|
// is bounded by its balance, not by these. The intent is only that no single
|
|
112
112
|
// run can silently eat a first impression.
|
|
113
113
|
agents: {
|
|
114
|
-
maxTotalCredits:
|
|
114
|
+
maxTotalCredits: 200,
|
|
115
115
|
maxInferenceCredits: 150,
|
|
116
116
|
maxUpstreamCostUsd: 10,
|
|
117
117
|
maxUpstreamCostUsdByok: 10,
|
|
118
118
|
},
|
|
119
|
-
//
|
|
120
|
-
//
|
|
121
|
-
//
|
|
122
|
-
|
|
123
|
-
copilot: { maxSessionBudgetCredits: 500, defaultPerTurnCreditCeiling: 150 },
|
|
119
|
+
// 250/150 since the 2026-10-23 250-credit grant (500/150 before; 5,000/1,500
|
|
120
|
+
// before the 2026-09-19 unit change): one Copilot session fits the signup
|
|
121
|
+
// grant, and onboarding's own turns are OXYGEN-funded.
|
|
122
|
+
copilot: { maxSessionBudgetCredits: 250, defaultPerTurnCreditCeiling: 150 },
|
|
124
123
|
signals: DERIVED_PLAN_LIMIT_TARGETS.free.signals,
|
|
125
124
|
tableActions: { maxActionsPerRun: DERIVED_PLAN_LIMIT_TARGETS.free.maxActionsPerRun },
|
|
126
125
|
// Decision L4.2 (ratified 2026-09-26): a free workspace schedules at most
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { pickMetricCount, presentMetrics, readMetricCount, } from "./
|
|
2
|
-
import { isRecord } from "
|
|
1
|
+
import { pickMetricCount, presentMetrics, readMetricCount, } from "./metrics-core.js";
|
|
2
|
+
import { isRecord } from "../type-guards.js";
|
|
3
3
|
/**
|
|
4
4
|
* Bump when the parse of a stored LinkedIn payload changes meaning, so stored raw
|
|
5
5
|
* payloads can be re-derived.
|
package/node_modules/@oxygen/shared/dist/{social-post-metrics-x.d.ts → posts/metrics-x.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ParsedSocialPostMetrics } from "./
|
|
1
|
+
import { type ParsedSocialPostMetrics } from "./metrics-core.js";
|
|
2
2
|
export declare const X_COMPOSIO_POST_METRICS_PARSER_VERSION = 1;
|
|
3
3
|
/**
|
|
4
4
|
* Every field the X parse reads, and nothing else: the post's and its media's
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { pickMetricCount, presentMetrics, } from "./
|
|
2
|
-
import { isRecord } from "
|
|
1
|
+
import { pickMetricCount, presentMetrics, } from "./metrics-core.js";
|
|
2
|
+
import { isRecord } from "../type-guards.js";
|
|
3
3
|
export const X_COMPOSIO_POST_METRICS_PARSER_VERSION = 1;
|
|
4
4
|
function xPostEnvelope(payload) {
|
|
5
5
|
const firstData = isRecord(payload.data) ? payload.data : payload;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type SocialPostMetric } from "
|
|
2
|
-
import type { ParsedSocialPostMetrics } from "./
|
|
3
|
-
export type { ParsedSocialPostMetrics } from "./
|
|
1
|
+
import { type SocialPostMetric } from "../social-capabilities.js";
|
|
2
|
+
import type { ParsedSocialPostMetrics } from "./metrics-core.js";
|
|
3
|
+
export type { ParsedSocialPostMetrics } from "./metrics-core.js";
|
|
4
4
|
/** Null when no parser is registered for the pair. */
|
|
5
5
|
export declare function parseSocialPostMetrics(input: {
|
|
6
6
|
channel: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getSocialCapabilityProfile, SOCIAL_POST_METRICS, } from "
|
|
2
|
-
import { LINKEDIN_UNIPILE_POST_METRICS_PARSER_VERSION, linkedInUnipileMetricEvidence, parseLinkedInUnipilePostMetrics, } from "./
|
|
3
|
-
import { parseXComposioPostMetrics, X_COMPOSIO_POST_METRICS_PARSER_VERSION, xComposioMetricEvidence, } from "./
|
|
1
|
+
import { getSocialCapabilityProfile, SOCIAL_POST_METRICS, } from "../social-capabilities.js";
|
|
2
|
+
import { LINKEDIN_UNIPILE_POST_METRICS_PARSER_VERSION, linkedInUnipileMetricEvidence, parseLinkedInUnipilePostMetrics, } from "./metrics-linkedin.js";
|
|
3
|
+
import { parseXComposioPostMetrics, X_COMPOSIO_POST_METRICS_PARSER_VERSION, xComposioMetricEvidence, } from "./metrics-x.js";
|
|
4
4
|
const POST_METRICS_PARSERS = {
|
|
5
5
|
"linkedin:unipile": {
|
|
6
6
|
version: LINKEDIN_UNIPILE_POST_METRICS_PARSER_VERSION,
|
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* a send. One vocabulary over the ESP-family tables in `sequence-internals/esp-policy.ts`, so MX
|
|
4
|
-
* suffixes and consumer domains are never listed twice. Google and Microsoft are mailbox hosts; the
|
|
5
|
-
* four named gateways front most enterprise mailboxes and filter differently from the host behind
|
|
6
|
-
* them. Every other resolved family (Zoho, Yahoo, other gateways, self-hosted) is `other`;
|
|
7
|
-
* an unresolved or failed lookup is `unknown`, never `other`.
|
|
8
|
-
*/
|
|
9
|
-
export declare const RECIPIENT_PROVIDERS: readonly ["google", "microsoft", "proofpoint", "mimecast", "barracuda", "cisco", "other", "unknown"];
|
|
10
|
-
export type RecipientProvider = (typeof RECIPIENT_PROVIDERS)[number];
|
|
1
|
+
import type { RecipientProvider } from "./esp-contract.js";
|
|
2
|
+
export { RECIPIENT_PROVIDERS, type RecipientProvider } from "./esp-contract.js";
|
|
11
3
|
/** A stored ESP family (recipient_esp_cache.family) as a provider; null means not resolved. */
|
|
12
4
|
export declare function recipientProviderFromFamily(family: string | null | undefined): RecipientProvider;
|
|
13
5
|
/** MX exchange hosts as a provider. An answer naming no known vendor is `other`; no hosts is `unknown`. */
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import { consumerRecipientDomainFamilies, familyFromMxHosts, inferRecipientEspFamily, } from "./sequence-internals/esp-policy.js";
|
|
2
|
-
|
|
3
|
-
* The recipient side of a deliverability breakdown: which mail infrastructure accepted (or refused)
|
|
4
|
-
* a send. One vocabulary over the ESP-family tables in `sequence-internals/esp-policy.ts`, so MX
|
|
5
|
-
* suffixes and consumer domains are never listed twice. Google and Microsoft are mailbox hosts; the
|
|
6
|
-
* four named gateways front most enterprise mailboxes and filter differently from the host behind
|
|
7
|
-
* them. Every other resolved family (Zoho, Yahoo, other gateways, self-hosted) is `other`;
|
|
8
|
-
* an unresolved or failed lookup is `unknown`, never `other`.
|
|
9
|
-
*/
|
|
10
|
-
export const RECIPIENT_PROVIDERS = ["google", "microsoft", "proofpoint", "mimecast", "barracuda", "cisco", "other", "unknown"];
|
|
2
|
+
export { RECIPIENT_PROVIDERS } from "./esp-contract.js";
|
|
11
3
|
const NAMED_PROVIDERS = new Set(["google", "microsoft", "proofpoint", "mimecast", "barracuda", "cisco"]);
|
|
12
4
|
/** A stored ESP family (recipient_esp_cache.family) as a provider; null means not resolved. */
|
|
13
5
|
export function recipientProviderFromFamily(family) {
|
|
@@ -17,5 +17,5 @@ export declare function sendingDomainInUseError(): CliHttpError;
|
|
|
17
17
|
export declare function bulkEmailWorkspacePausedError(): CliHttpError;
|
|
18
18
|
/** Every bulk email carries the sender's postal address; a newsletter goes live only once the brand kit holds one. */
|
|
19
19
|
export declare const NEWSLETTER_POSTAL_ADDRESS_REQUIRED_MESSAGE = "Add your postal address to the brand kit before sending a newsletter.";
|
|
20
|
-
export declare const NEWSLETTER_POSTAL_ADDRESS_NEXT_STEP = "Add a postal address in
|
|
20
|
+
export declare const NEWSLETTER_POSTAL_ADDRESS_NEXT_STEP = "Add a postal address in Newsletter \u2192 Settings \u2192 Brand kit (CLI: `oxygen sequences brand-kit set --postal-address`; MCP: oxygen_domains_sending action=brand_kit_set), then start again.";
|
|
21
21
|
export declare function newsletterPostalAddressRequiredError(details?: Record<string, unknown>): CliHttpError;
|
|
@@ -44,7 +44,7 @@ export function bulkEmailWorkspacePausedError() {
|
|
|
44
44
|
}
|
|
45
45
|
/** Every bulk email carries the sender's postal address; a newsletter goes live only once the brand kit holds one. */
|
|
46
46
|
export const NEWSLETTER_POSTAL_ADDRESS_REQUIRED_MESSAGE = "Add your postal address to the brand kit before sending a newsletter.";
|
|
47
|
-
export const NEWSLETTER_POSTAL_ADDRESS_NEXT_STEP = "Add a postal address in
|
|
47
|
+
export const NEWSLETTER_POSTAL_ADDRESS_NEXT_STEP = "Add a postal address in Newsletter → Settings → Brand kit (CLI: `oxygen sequences brand-kit set --postal-address`; MCP: oxygen_domains_sending action=brand_kit_set), then start again.";
|
|
48
48
|
export function newsletterPostalAddressRequiredError(details = {}) {
|
|
49
49
|
return new CliHttpError(409, SENDING_DOMAIN_FAULT_CODES.postalAddressRequired, NEWSLETTER_POSTAL_ADDRESS_REQUIRED_MESSAGE, {
|
|
50
50
|
details: { ...details, retryable: false, next_step: NEWSLETTER_POSTAL_ADDRESS_NEXT_STEP },
|