Skip to content

Migrate the send message serverless endpoints into the lambdas/account-scoped #3972

@stephenhand

Description

@stephenhand

Description

Migrate the following 3 twilio serverless endpoints into the lambdas/account-scoped

https://github.com/techmatters/serverless/blob/master/functions/sendMessageAndRunJanitor.ts
https://github.com/techmatters/serverless/blob/master/functions/sendStudioMessage.ts
https://github.com/techmatters/serverless/blob/master/functions/sendSystemMessage.ts

Place these in the conversation folder

Additional context

Follow the same patterns as for other endpoints that have been migrated

For example, https://github.com/techmatters/serverless/blob/master/functions/getTaskAndReservations.ts was recently migrated to https://github.com/techmatters/flex-plugins/blob/master/lambdas/account-scoped/src/task/getTaskAndReservations.ts

Note how when a TokenValidator wrapper is used in the serverless version, a validateFlexTokenRequest item needs to be added to the request pipeline for the route in account-scoped

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions