Skip to main content

Developer README for the smpp adaptor

Source: https://github.com/OpenFn/adaptors/tree/main/packages/smpp

Language SMPP

Language Pack for building expressions and operations to make calls to an OpenFn SMPP client API.

Documentation

sample configuration

{
"systemId": "some_smpp_client_name",
"password": "password",
"clientHost": "http://localhost:4000",
"inboxId": "1c908151-8273-431c-b1d4-blah"
}

sample send expression

send({
text: dataValue('text'),
smsId: dataValue('messageId'),
recipient: dataValue('to'),
sender: dataValue('from'),
});

Development

Clone the adaptors monorepo. Follow the Getting Started guide inside to get set up.

Run tests using pnpm run test or pnpm run test:watch

Build the project using pnpm build.

To just build the docs run pnpm build docs