Skip to content

Add send SMS function#112

Draft
Zetazzz wants to merge 4 commits into
mainfrom
feat/sms-e2e-flow
Draft

Add send SMS function#112
Zetazzz wants to merge 4 commits into
mainfrom
feat/sms-e2e-flow

Conversation

@Zetazzz

@Zetazzz Zetazzz commented Jul 9, 2026

Copy link
Copy Markdown

Summary

Adds a send-sms function for auth SMS verification jobs.

Details

  • Registers the sms:send_verification_code task handler.
  • Sends sms_otp_code and mfa_verification_code payloads to a configurable local SMS capture API for e2e testing.
  • Supports dry-run mode and basic payload validation.
  • Adds focused handler tests and the generated package lockfile importer.

Validation

  • pnpm generate --only=send-sms
  • pnpm --filter @constructive-io/fn-types build
  • pnpm --filter @constructive-io/knative-job-fn build
  • pnpm --filter @constructive-io/fn-runtime build
  • pnpm --filter @constructive-io/send-sms-fn build
  • pnpm test -- functions/send-sms/__tests__/handler.test.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant