Description
- Create a feature flag to toggle whether to point to the legacy serverless endpoint or the new account-scoped lambda endpoint
- Update the code to use this flag to change the URL used in the http call to the /reportToIWF and /selfReportToIWF endpoints
- Migrate the clients from ServerlessService.ts to a new iwfService.ts file in the same directory
Additional context
The new endpoints are implemented in /lambda/account-scoped/integrations/iwf and routed to in /lambda/account-scoped/router.ts
Follow the same naming convention for the feature flags as other functionality being migrated to the account-scoped lambda, i.e. use_twilio_lambda_*