integration.job-application-webhook-resend-managed
Managed signed Resend receiving composition for candidate-private applications.
@lssm-tech/integration.job-application-webhook-resend-managedbun add @lssm-tech/integration.job-application-webhook-resend-managedManifest 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
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
6 declarations
@lssm-tech/integration.job-application-emailworkspace:^
Read the package manual ↗@lssm-tech/integration.job-application-managed-runtimeworkspace:^
Read the package manual ↗@lssm-tech/integration.job-application-storeworkspace:^
Read the package manual ↗@lssm-tech/integration.job-application-webhook-dependencies-railwayworkspace:^
Read the package manual ↗@lssm-tech/integration.provider-emailworkspace:^
Read the package manual ↗@lssm-tech/lib.job-application-runtimeworkspace:^
Read the package manual ↗
Declared capabilities
Managed signed Resend receiving composition for candidate-private applications.
Scripts
buildcontractspec-bun-build buildbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typescleanrimraf dist .turbolint:checknode ../../../scripts/biome.cjs check .testbun testtypechecktsgo --noEmit