Skip to content
ContractSpec
Start here

Package manual · integrations

·Intelligence, research and applications

integration.job-application-webhook-resend-managed

Managed signed Resend receiving composition for candidate-private applications.

integrationsintegrationv2.0.4experimentalservernode
@lssm-tech/integration.job-application-webhook-resend-managed
bun add @lssm-tech/integration.job-application-webhook-resend-managed
Package source ↗Manifest ↗

Manifest declarations describe the current workspace; they do not verify registry publication or runtime execution.

Package guide

Runnable allowlisted composition for app.job-application-api. It verifies the raw signed Resend webhook, resolves an HMAC deployment alias with the dedicated webhook database role, fetches Resend Receiving content only after authorization, scans every attachment, stores sanitized content through the candidate-scoped object store, and creates an opaque verification challenge.

Set JOB_APPLICATION_RESEND_WEBHOOK_MODULE to @lssm-tech/integration.job-application-webhook-resend-managed. The composition requires explicit database, route-key, Resend, attachment-host, and allowlisted dependency-module settings. The dependency module supplies candidate-scoped encrypted object storage and malware scanning. No permissive scanner fallback is provided.

JOB_APPLICATION_MATERIAL_KEY_BASE64 is required (E-01o): the canonical base64 of exactly 32 bytes, the same deployment material key the effects dependencies use. Ingress seals each inbox subject under the per-candidate data key it wraps, so SQL carries only an opaque subject_ref. A missing or non-canonical value fails with JOB_APPLICATION_MATERIAL_KEY_REQUIRED or JOB_APPLICATION_MATERIAL_KEY_INVALID before the Postgres client is created. Store migration 0029 must be deployed before the webhook.

Use separate JOB_APPLICATION_RESEND_WEBHOOK_DATABASE_URL and JOB_APPLICATION_RESEND_WEBHOOK_DATABASE_ROLE=job_application_webhook credentials; do not reuse the API runtime connection.

Webhook ingress never opens verification links or submits OTPs. Those effects remain default-off and run only after an authorized account-verification command is claimed by the fenced job-application worker.

Relationships

THIS PACKAGEintegration.job-application-webhook-resend-managed5 import paths

Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.

6 declarations

Declared capabilities

Integration Job Application Webhook Resend Managed

Managed signed Resend receiving composition for candidate-private applications.

Scripts

  • buildcontractspec-bun-build build
  • build:bundlecontractspec-bun-build transpile
  • build:typescontractspec-bun-build types
  • cleanrimraf dist .turbo
  • lint:checknode ../../../scripts/biome.cjs check .
  • testbun test
  • typechecktsgo --noEmit