{"_id":"@absolutejs/dispatch-aws-end-user-messaging","name":"@absolutejs/dispatch-aws-end-user-messaging","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@absolutejs/dispatch-aws-end-user-messaging","version":"0.1.0","description":"AWS End User Messaging SMS, MMS, RCS, Notify, and WhatsApp adapter for @absolutejs/dispatch.","repository":{"type":"git","url":"git+https://github.com/absolutejs/dispatch-adapters.git","directory":"aws-end-user-messaging"},"homepage":"https://github.com/absolutejs/dispatch-adapters/tree/main/aws-end-user-messaging","bugs":{"url":"https://github.com/absolutejs/dispatch-adapters/issues"},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","type":"module","license":"Apache-2.0","author":{"name":"Alex Kahn"},"publishConfig":{"access":"public"},"keywords":["dispatch","sms","mms","rcs","whatsapp","aws","absolutejs"],"scripts":{"build":"rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --sourcemap --target=bun --external @absolutejs/dispatch --external '@absolutejs/dispatch/*' --external @absolutejs/manifest --external @absolutejs/reliability --external @sinclair/typebox --external @aws-sdk/client-pinpoint-sms-voice-v2 --external @aws-sdk/client-socialmessaging && tsc --project tsconfig.build.json && absolute-manifest emit","test":"bun test","typecheck":"tsc --noEmit","format":"prettier --write \"./**/*.{ts,json,md}\"","verify-package":"absolute-manifest verify-package","check:package":"bun run format && bun run typecheck && bun run test && bun run verify-package && bun run build && bun run verify-package --artifacts","release":"bun run check:package && npm publish --access public"},"peerDependencies":{"@absolutejs/dispatch":">=0.7.0 <0.8"},"dependencies":{"@absolutejs/manifest":"0.8.0","@absolutejs/reliability":"0.1.0","@aws-sdk/client-pinpoint-sms-voice-v2":"3.1101.0","@aws-sdk/client-socialmessaging":"3.1101.0","@sinclair/typebox":"^0.34.0"},"devDependencies":{"@absolutejs/dispatch":"0.7.1","@types/bun":"1.3.14","prettier":"3.8.1","typescript":"5.9.3"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"},"./manifest":{"types":"./dist/manifest.d.ts","import":"./dist/manifest.js","default":"./dist/manifest.js"},"./manifest.json":"./dist/manifest.json"},"absolutejs":{"manifestContract":2,"runtimePeers":{"@absolutejs/dispatch":{"artifactImports":[],"buildExternals":["@absolutejs/dispatch","@absolutejs/dispatch/*"],"optional":false,"range":">=0.7.0 <0.8","tested":"0.7.1"}}},"_id":"@absolutejs/dispatch-aws-end-user-messaging@0.1.0","gitHead":"c7ced4f2c36deff0db92b72ef5bf86ca98aa004d","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-Cno3hbxZ00Crkv0tMhWn98oQ4Adv6gWlc98x8TsswzJkOV6HGwyhiTqIBKUUUlwta+dRfgbgxuVb74fw1qx99g==","shasum":"62a3b43afbae62a860641916fb6ff9f894f49d83","tarball":"https://registry.npmjs.org/@absolutejs/dispatch-aws-end-user-messaging/-/dispatch-aws-end-user-messaging-0.1.0.tgz","fileCount":12,"unpackedSize":64887,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCySB0rVSRWRDTHsxpKd51QkkEfnaGikwelHTpk9B97zwIgKra4VPJfypTYp5WXdZYsP6MAkugifdGhfR4rJNinrcE="}]},"_npmUser":{"name":"alexkahndev","email":"alexkahn2019@gmail.com"},"directories":{},"maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dispatch-aws-end-user-messaging_0.1.0_1785618472560_0.9248381958688094"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-01T21:07:52.370Z","0.1.0":"2026-08-01T21:07:52.720Z","modified":"2026-08-01T21:07:52.983Z"},"maintainers":[{"name":"alexkahndev","email":"alexkahn2019@gmail.com"}],"description":"AWS End User Messaging SMS, MMS, RCS, Notify, and WhatsApp adapter for @absolutejs/dispatch.","homepage":"https://github.com/absolutejs/dispatch-adapters/tree/main/aws-end-user-messaging","keywords":["dispatch","sms","mms","rcs","whatsapp","aws","absolutejs"],"repository":{"type":"git","url":"git+https://github.com/absolutejs/dispatch-adapters.git","directory":"aws-end-user-messaging"},"author":{"name":"Alex Kahn"},"bugs":{"url":"https://github.com/absolutejs/dispatch-adapters/issues"},"license":"Apache-2.0","readme":"# @absolutejs/dispatch-aws-end-user-messaging\n\nAWS End User Messaging adapter for AbsoluteJS Dispatch. It uses AWS SDK v3 and IAM credentials to send SMS, MMS, plain or rich RCS, managed Notify templates, and WhatsApp messages.\n\nUse an AWS phone pool as `originationIdentity` to get provider-managed RCS-to-SMS fallback. Put identities for only one consented use case in each pool. Configure an event destination and a Protect configuration for delivery telemetry and AIT fraud controls.\n\n```ts\nimport { PinpointSMSVoiceV2Client } from \"@aws-sdk/client-pinpoint-sms-voice-v2\";\nimport { SocialMessagingClient } from \"@aws-sdk/client-socialmessaging\";\nimport { createAwsEndUserMessagingAdapter } from \"@absolutejs/dispatch-aws-end-user-messaging\";\n\nconst messaging = createAwsEndUserMessagingAdapter({\n  client: new PinpointSMSVoiceV2Client({ region: \"us-east-1\" }),\n  configurationSetName: \"alerts-events\",\n  originationIdentity: process.env.AWS_EUM_POOL_ARN!,\n  protectConfigurationId: process.env.AWS_EUM_PROTECT_ID,\n  socialClient: new SocialMessagingClient({ region: \"us-east-1\" }),\n  whatsappPhoneNumberId: process.env.AWS_WHATSAPP_PHONE_NUMBER_ID,\n});\n```\n\nTemplate content uses AWS Notify when `notifyConfigurationId` is configured. Rich RCS accepts the provider request body under `message.extensions.aws.rcs`. WhatsApp template or rich payloads can be supplied under `message.extensions.aws.whatsapp`; ordinary text messages are generated automatically.\n","readmeFilename":"README.md","_rev":"1-e82b285a844b5ac8179cab3d650ab219"}