Skip to content

Commit

Permalink
Sync to latest (#44)
Browse files Browse the repository at this point in the history
* Syncing latest changes  (#31)

* APHL support (#1)

* Scheduling support for sms

* Adding support for scheduling

* type fix

* Scheduling fix

* SMS scheduling support

* Adding send count

* Making secret optional

* Adding log

* Changes for limited metrics

* Fixing query

* Bumping versions

* Removing console log

* Making error optional as APHL no longer returns it

Co-authored-by: Jack Murdoch <35329295+jackmurdoch@users.noreply.github.com>
Co-authored-by: Jack Murdoch <jack.murdoch@nearform.com>

* Syncing latest changes (#32)

* APHL support (#1)

* Scheduling support for sms

* Adding support for scheduling

* type fix

* Scheduling fix

* SMS scheduling support

* Adding send count

* Making secret optional

* Adding log

* Changes for limited metrics

* Fixing query

* Bumping versions

* Removing console log

* Making error optional as APHL no longer returns it

* Fixing mobile number issue

Co-authored-by: Jack Murdoch <35329295+jackmurdoch@users.noreply.github.com>
Co-authored-by: Jack Murdoch <jack.murdoch@nearform.com>

* Sync to latest (#33)

* APHL support (#1)

* Scheduling support for sms

* Adding support for scheduling

* type fix

* Scheduling fix

* SMS scheduling support

* Adding send count

* Making secret optional

* Adding log

* Changes for limited metrics

* Fixing query

* Bumping versions

* Removing console log

* Making error optional as APHL no longer returns it

* Fixing mobile number issue

* chore: add dependabot

* Bump actions/setup-node from v1 to v2.1.5

Bumps [actions/setup-node](https://github.com/actions/setup-node) from v1 to v2.1.5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-node from 10.0.0 to 11.1.0

Bumps [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node) from 10.0.0 to 11.1.0.
- [Release notes](https://github.com/mysticatea/eslint-plugin-node/releases)
- [Commits](https://github.com/mysticatea/eslint-plugin-node/compare/v10.0.0...v11.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-cors from 5.1.0 to 5.2.0

Bumps [fastify-cors](https://github.com/fastify/fastify-cors) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/fastify/fastify-cors/releases)
- [Commits](https://github.com/fastify/fastify-cors/compare/v5.1.0...v5.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-jest from 22.21.0 to 24.1.5

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 22.21.0 to 24.1.5.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v22.21.0...v24.1.5)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-promise from 4.2.1 to 4.3.1

Bumps [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) from 4.2.1 to 4.3.1.
- [Release notes](https://github.com/xjamundx/eslint-plugin-promise/releases)
- [Changelog](https://github.com/xjamundx/eslint-plugin-promise/blob/development/CHANGELOG.md)
- [Commits](https://github.com/xjamundx/eslint-plugin-promise/compare/v4.2.1...v4.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify from 3.9.2 to 3.12.0

Bumps [fastify](https://github.com/fastify/fastify) from 3.9.2 to 3.12.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v3.9.2...v3.12.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump pino-pretty from 3.6.1 to 4.5.0

Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 3.6.1 to 4.5.0.
- [Release notes](https://github.com/pinojs/pino-pretty/releases)
- [Commits](https://github.com/pinojs/pino-pretty/compare/v3.6.1...v4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump faker from 4.1.0 to 5.4.0

Bumps [faker](https://github.com/Marak/Faker.js) from 4.1.0 to 5.4.0.
- [Release notes](https://github.com/Marak/Faker.js/releases)
- [Changelog](https://github.com/Marak/faker.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Marak/Faker.js/commits)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump prettier-config-standard from 1.0.1 to 4.0.0

Bumps [prettier-config-standard](https://github.com/npetruzzelli/prettier-config-standard) from 1.0.1 to 4.0.0.
- [Release notes](https://github.com/npetruzzelli/prettier-config-standard/releases)
- [Commits](https://github.com/npetruzzelli/prettier-config-standard/compare/v1.0.1...v4.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump phone from 2.4.19 to 2.4.21

Bumps [phone](https://github.com/aftership/phone) from 2.4.19 to 2.4.21.
- [Release notes](https://github.com/aftership/phone/releases)
- [Commits](https://github.com/aftership/phone/compare/2.4.19...2.4.21)

Signed-off-by: dependabot[bot] <support@github.com>

* chore: formatting

* Bump aws-sdk from 2.826.0 to 2.853.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.826.0 to 2.853.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.826.0...v2.853.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-swagger from 3.5.0 to 4.3.1

Bumps [fastify-swagger](https://github.com/fastify/fastify-swagger) from 3.5.0 to 4.3.1.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/v3.5.0...4.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-standard from 4.1.0 to 5.0.0

Bumps [eslint-plugin-standard](https://github.com/standard/eslint-plugin-standard) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/standard/eslint-plugin-standard/releases)
- [Commits](https://github.com/standard/eslint-plugin-standard/compare/v4.1.0...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump jest from 24.9.0 to 26.6.3

Bumps [jest](https://github.com/facebook/jest) from 24.9.0 to 26.6.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v24.9.0...v26.6.3)

Signed-off-by: dependabot[bot] <support@github.com>

* Removing unused modules

* Bump crypto-random-string from 3.3.0 to 3.3.1

Bumps [crypto-random-string](https://github.com/sindresorhus/crypto-random-string) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/sindresorhus/crypto-random-string/releases)
- [Commits](https://github.com/sindresorhus/crypto-random-string/compare/v3.3.0...v3.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

* fix: integration test

* Bump aws-sdk from 2.853.0 to 2.854.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.853.0 to 2.854.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.853.0...v2.854.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-autoload from 3.4.0 to 3.5.2

Bumps [fastify-autoload](https://github.com/fastify/fastify-autoload) from 3.4.0 to 3.5.2.
- [Release notes](https://github.com/fastify/fastify-autoload/releases)
- [Commits](https://github.com/fastify/fastify-autoload/compare/v3.4.0...v3.5.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-postgres from 3.3.0 to 3.5.0

Bumps [fastify-postgres](https://github.com/fastify/fastify-postgres) from 3.3.0 to 3.5.0.
- [Release notes](https://github.com/fastify/fastify-postgres/releases)
- [Commits](https://github.com/fastify/fastify-postgres/compare/v3.3.0...v3.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump env-schema from 1.1.0 to 2.1.0

Bumps [env-schema](https://github.com/fastify/env-schema) from 1.1.0 to 2.1.0.
- [Release notes](https://github.com/fastify/env-schema/releases)
- [Commits](https://github.com/fastify/env-schema/compare/v1.1.0...v2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fluent-schema from 0.10.0 to 1.1.0

Bumps [fluent-schema](https://github.com/fastify/fluent-schema) from 0.10.0 to 1.1.0.
- [Release notes](https://github.com/fastify/fluent-schema/releases)
- [Commits](https://github.com/fastify/fluent-schema/compare/v0.10.0...v1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump aws-sdk from 2.854.0 to 2.855.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.854.0 to 2.855.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.854.0...v2.855.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump date-fns from 2.16.1 to 2.18.0

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.16.1 to 2.18.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.16.1...v2.18.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify from 3.12.0 to 3.13.0

Bumps [fastify](https://github.com/fastify/fastify) from 3.12.0 to 3.13.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v3.12.0...v3.13.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump pino-pretty from 4.5.0 to 4.6.0

Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/pinojs/pino-pretty/releases)
- [Commits](https://github.com/pinojs/pino-pretty/compare/v4.5.0...v4.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-swagger from 4.3.1 to 4.3.2

Bumps [fastify-swagger](https://github.com/fastify/fastify-swagger) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/4.3.1...v4.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Adding support for deeplinks

* Bump eslint from 6.8.0 to 7.21.0

Bumps [eslint](https://github.com/eslint/eslint) from 6.8.0 to 7.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.8.0...v7.21.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump aws-sdk from 2.855.0 to 2.856.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.855.0 to 2.856.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.855.0...v2.856.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-swagger from 4.3.2 to 4.3.3

Bumps [fastify-swagger](https://github.com/fastify/fastify-swagger) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/v4.3.2...v4.3.3)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump date-fns from 2.18.0 to 2.19.0

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.18.0 to 2.19.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.18.0...v2.19.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump aws-sdk from 2.856.0 to 2.857.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.856.0 to 2.857.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.856.0...v2.857.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-config-standard from 14.1.1 to 16.0.2

Bumps [eslint-config-standard](https://github.com/standard/eslint-config-standard) from 14.1.1 to 16.0.2.
- [Release notes](https://github.com/standard/eslint-config-standard/releases)
- [Changelog](https://github.com/standard/eslint-config-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/standard/eslint-config-standard/compare/v14.1.1...v16.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump prettier from 1.19.1 to 2.2.1

Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.19.1...2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

* chore: format

* chore: add dependabot automerge action

This change will cause dependabot PRs to be merged automatically when they pass the CI checks.

* Bump fastify-swagger from 4.3.3 to 4.4.0

Bumps [fastify-swagger](https://github.com/fastify/fastify-swagger) from 4.3.3 to 4.4.0.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/v4.3.3...v4.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump aws-sdk from 2.857.0 to 2.858.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.857.0 to 2.858.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.857.0...v2.858.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump pino-pretty from 4.6.0 to 4.7.0

Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/pinojs/pino-pretty/releases)
- [Commits](https://github.com/pinojs/pino-pretty/compare/v4.6.0...v4.7.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump env-schema from 2.1.0 to 3.0.1

Bumps [env-schema](https://github.com/fastify/env-schema) from 2.1.0 to 3.0.1.
- [Release notes](https://github.com/fastify/env-schema/releases)
- [Commits](https://github.com/fastify/env-schema/compare/v2.1.0...v3.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-jest from 24.1.5 to 24.1.9

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.1.5 to 24.1.9.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.1.5...v24.1.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: Jack Murdoch <35329295+jackmurdoch@users.noreply.github.com>
Co-authored-by: Jack Murdoch <jack.murdoch@nearform.com>
Co-authored-by: Simone Busoli <simone.busoli@nearform.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Simone Busoli <simone.busoli@gmail.com>

* Bump eslint-config-prettier-standard from 3.0.1 to 4.0.1 (#34)

Bumps [eslint-config-prettier-standard](https://github.com/npetruzzelli/eslint-config-prettier-standard) from 3.0.1 to 4.0.1.
- [Release notes](https://github.com/npetruzzelli/eslint-config-prettier-standard/releases)
- [Commits](https://github.com/npetruzzelli/eslint-config-prettier-standard/compare/v3.0.1...v4.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump eslint-config-prettier from 6.15.0 to 8.1.0 (#35)

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.15.0 to 8.1.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v8.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Sync to latest (#57)

* APHL support (#1)

* Scheduling support for sms

* Adding support for scheduling

* type fix

* Scheduling fix

* SMS scheduling support

* Adding send count

* Making secret optional

* Adding log

* Changes for limited metrics

* Fixing query

* Bumping versions

* Removing console log

* Making error optional as APHL no longer returns it

* Fixing mobile number issue

* chore: add dependabot

* Bump actions/setup-node from v1 to v2.1.5

Bumps [actions/setup-node](https://github.com/actions/setup-node) from v1 to v2.1.5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-node from 10.0.0 to 11.1.0

Bumps [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node) from 10.0.0 to 11.1.0.
- [Release notes](https://github.com/mysticatea/eslint-plugin-node/releases)
- [Commits](https://github.com/mysticatea/eslint-plugin-node/compare/v10.0.0...v11.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-cors from 5.1.0 to 5.2.0

Bumps [fastify-cors](https://github.com/fastify/fastify-cors) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/fastify/fastify-cors/releases)
- [Commits](https://github.com/fastify/fastify-cors/compare/v5.1.0...v5.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-jest from 22.21.0 to 24.1.5

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 22.21.0 to 24.1.5.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v22.21.0...v24.1.5)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-promise from 4.2.1 to 4.3.1

Bumps [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) from 4.2.1 to 4.3.1.
- [Release notes](https://github.com/xjamundx/eslint-plugin-promise/releases)
- [Changelog](https://github.com/xjamundx/eslint-plugin-promise/blob/development/CHANGELOG.md)
- [Commits](https://github.com/xjamundx/eslint-plugin-promise/compare/v4.2.1...v4.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify from 3.9.2 to 3.12.0

Bumps [fastify](https://github.com/fastify/fastify) from 3.9.2 to 3.12.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v3.9.2...v3.12.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump pino-pretty from 3.6.1 to 4.5.0

Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 3.6.1 to 4.5.0.
- [Release notes](https://github.com/pinojs/pino-pretty/releases)
- [Commits](https://github.com/pinojs/pino-pretty/compare/v3.6.1...v4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump faker from 4.1.0 to 5.4.0

Bumps [faker](https://github.com/Marak/Faker.js) from 4.1.0 to 5.4.0.
- [Release notes](https://github.com/Marak/Faker.js/releases)
- [Changelog](https://github.com/Marak/faker.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Marak/Faker.js/commits)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump prettier-config-standard from 1.0.1 to 4.0.0

Bumps [prettier-config-standard](https://github.com/npetruzzelli/prettier-config-standard) from 1.0.1 to 4.0.0.
- [Release notes](https://github.com/npetruzzelli/prettier-config-standard/releases)
- [Commits](https://github.com/npetruzzelli/prettier-config-standard/compare/v1.0.1...v4.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump phone from 2.4.19 to 2.4.21

Bumps [phone](https://github.com/aftership/phone) from 2.4.19 to 2.4.21.
- [Release notes](https://github.com/aftership/phone/releases)
- [Commits](https://github.com/aftership/phone/compare/2.4.19...2.4.21)

Signed-off-by: dependabot[bot] <support@github.com>

* chore: formatting

* Bump aws-sdk from 2.826.0 to 2.853.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.826.0 to 2.853.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.826.0...v2.853.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-swagger from 3.5.0 to 4.3.1

Bumps [fastify-swagger](https://github.com/fastify/fastify-swagger) from 3.5.0 to 4.3.1.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/v3.5.0...4.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-standard from 4.1.0 to 5.0.0

Bumps [eslint-plugin-standard](https://github.com/standard/eslint-plugin-standard) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/standard/eslint-plugin-standard/releases)
- [Commits](https://github.com/standard/eslint-plugin-standard/compare/v4.1.0...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump jest from 24.9.0 to 26.6.3

Bumps [jest](https://github.com/facebook/jest) from 24.9.0 to 26.6.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v24.9.0...v26.6.3)

Signed-off-by: dependabot[bot] <support@github.com>

* Removing unused modules

* Bump crypto-random-string from 3.3.0 to 3.3.1

Bumps [crypto-random-string](https://github.com/sindresorhus/crypto-random-string) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/sindresorhus/crypto-random-string/releases)
- [Commits](https://github.com/sindresorhus/crypto-random-string/compare/v3.3.0...v3.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

* fix: integration test

* Bump aws-sdk from 2.853.0 to 2.854.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.853.0 to 2.854.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.853.0...v2.854.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-autoload from 3.4.0 to 3.5.2

Bumps [fastify-autoload](https://github.com/fastify/fastify-autoload) from 3.4.0 to 3.5.2.
- [Release notes](https://github.com/fastify/fastify-autoload/releases)
- [Commits](https://github.com/fastify/fastify-autoload/compare/v3.4.0...v3.5.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-postgres from 3.3.0 to 3.5.0

Bumps [fastify-postgres](https://github.com/fastify/fastify-postgres) from 3.3.0 to 3.5.0.
- [Release notes](https://github.com/fastify/fastify-postgres/releases)
- [Commits](https://github.com/fastify/fastify-postgres/compare/v3.3.0...v3.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump env-schema from 1.1.0 to 2.1.0

Bumps [env-schema](https://github.com/fastify/env-schema) from 1.1.0 to 2.1.0.
- [Release notes](https://github.com/fastify/env-schema/releases)
- [Commits](https://github.com/fastify/env-schema/compare/v1.1.0...v2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fluent-schema from 0.10.0 to 1.1.0

Bumps [fluent-schema](https://github.com/fastify/fluent-schema) from 0.10.0 to 1.1.0.
- [Release notes](https://github.com/fastify/fluent-schema/releases)
- [Commits](https://github.com/fastify/fluent-schema/compare/v0.10.0...v1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump aws-sdk from 2.854.0 to 2.855.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.854.0 to 2.855.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.854.0...v2.855.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump date-fns from 2.16.1 to 2.18.0

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.16.1 to 2.18.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.16.1...v2.18.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify from 3.12.0 to 3.13.0

Bumps [fastify](https://github.com/fastify/fastify) from 3.12.0 to 3.13.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v3.12.0...v3.13.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump pino-pretty from 4.5.0 to 4.6.0

Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/pinojs/pino-pretty/releases)
- [Commits](https://github.com/pinojs/pino-pretty/compare/v4.5.0...v4.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-swagger from 4.3.1 to 4.3.2

Bumps [fastify-swagger](https://github.com/fastify/fastify-swagger) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/4.3.1...v4.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Adding support for deeplinks

* Bump eslint from 6.8.0 to 7.21.0

Bumps [eslint](https://github.com/eslint/eslint) from 6.8.0 to 7.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.8.0...v7.21.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump aws-sdk from 2.855.0 to 2.856.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.855.0 to 2.856.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.855.0...v2.856.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-swagger from 4.3.2 to 4.3.3

Bumps [fastify-swagger](https://github.com/fastify/fastify-swagger) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/v4.3.2...v4.3.3)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump date-fns from 2.18.0 to 2.19.0

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.18.0 to 2.19.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.18.0...v2.19.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump aws-sdk from 2.856.0 to 2.857.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.856.0 to 2.857.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.856.0...v2.857.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-config-standard from 14.1.1 to 16.0.2

Bumps [eslint-config-standard](https://github.com/standard/eslint-config-standard) from 14.1.1 to 16.0.2.
- [Release notes](https://github.com/standard/eslint-config-standard/releases)
- [Changelog](https://github.com/standard/eslint-config-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/standard/eslint-config-standard/compare/v14.1.1...v16.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump prettier from 1.19.1 to 2.2.1

Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.19.1...2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

* chore: format

* chore: add dependabot automerge action

This change will cause dependabot PRs to be merged automatically when they pass the CI checks.

* Bump fastify-swagger from 4.3.3 to 4.4.0

Bumps [fastify-swagger](https://github.com/fastify/fastify-swagger) from 4.3.3 to 4.4.0.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/v4.3.3...v4.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump aws-sdk from 2.857.0 to 2.858.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.857.0 to 2.858.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.857.0...v2.858.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump pino-pretty from 4.6.0 to 4.7.0

Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/pinojs/pino-pretty/releases)
- [Commits](https://github.com/pinojs/pino-pretty/compare/v4.6.0...v4.7.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump env-schema from 2.1.0 to 3.0.1

Bumps [env-schema](https://github.com/fastify/env-schema) from 2.1.0 to 3.0.1.
- [Release notes](https://github.com/fastify/env-schema/releases)
- [Commits](https://github.com/fastify/env-schema/compare/v2.1.0...v3.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-jest from 24.1.5 to 24.1.9

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.1.5 to 24.1.9.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.1.5...v24.1.9)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump aws-sdk from 2.858.0 to 2.859.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.858.0 to 2.859.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.858.0...v2.859.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump pino-pretty from 4.7.0 to 4.7.1

Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/pinojs/pino-pretty/releases)
- [Commits](https://github.com/pinojs/pino-pretty/compare/v4.7.0...v4.7.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-config-prettier-standard from 3.0.1 to 4.0.1

Bumps [eslint-config-prettier-standard](https://github.com/npetruzzelli/eslint-config-prettier-standard) from 3.0.1 to 4.0.1.
- [Release notes](https://github.com/npetruzzelli/eslint-config-prettier-standard/releases)
- [Commits](https://github.com/npetruzzelli/eslint-config-prettier-standard/compare/v3.0.1...v4.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump aws-sdk from 2.859.0 to 2.860.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.859.0 to 2.860.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.859.0...v2.860.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps-dev): bump eslint-plugin-jest from 24.1.9 to 24.2.0

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.1.9 to 24.2.0.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.1.9...v24.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump aws-sdk from 2.860.0 to 2.861.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.860.0 to 2.861.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.860.0...v2.861.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps-dev): bump eslint-plugin-jest from 24.2.0 to 24.2.1

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.2.0 to 24.2.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.2.0...v24.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump aws-sdk from 2.861.0 to 2.862.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.861.0 to 2.862.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.861.0...v2.862.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump fastify-swagger from 4.4.0 to 4.4.1

Bumps [fastify-swagger](https://github.com/fastify/fastify-swagger) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/v4.4.0...v4.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump fastify-autoload from 3.5.2 to 3.6.0

Bumps [fastify-autoload](https://github.com/fastify/fastify-autoload) from 3.5.2 to 3.6.0.
- [Release notes](https://github.com/fastify/fastify-autoload/releases)
- [Commits](https://github.com/fastify/fastify-autoload/compare/v3.5.2...v3.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump fastify from 3.13.0 to 3.14.0

Bumps [fastify](https://github.com/fastify/fastify) from 3.13.0 to 3.14.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v3.13.0...v3.14.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump fastify/github-action-merge-dependabot (#64)

Bumps [fastify/github-action-merge-dependabot](https://github.com/fastify/github-action-merge-dependabot) from v1.2.1 to v2.0.0.
- [Release notes](https://github.com/fastify/github-action-merge-dependabot/releases)
- [Commits](https://github.com/fastify/github-action-merge-dependabot/compare/v1.2.1...a8beb6aa8ba6b9ccaac56697e646e9db994680b5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump eslint-plugin-jest from 24.2.1 to 24.3.1 (#65)

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.2.1 to 24.3.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.2.1...v24.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump aws-sdk from 2.862.0 to 2.863.0 (#66)

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.862.0 to 2.863.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.862.0...v2.863.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump eslint from 7.21.0 to 7.22.0 (#67)

Bumps [eslint](https://github.com/eslint/eslint) from 7.21.0 to 7.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.21.0...v7.22.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump aws-sdk from 2.863.0 to 2.864.0 (#68)

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.863.0 to 2.864.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.863.0...v2.864.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump fastify-swagger from 4.4.1 to 4.4.2 (#69)

Bumps [fastify-swagger](https://github.com/fastify/fastify-swagger) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/v4.4.1...v4.4.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump aws-sdk from 2.864.0 to 2.865.0 (#70)

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.864.0 to 2.865.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.864.0...v2.865.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump eslint-plugin-jest from 24.3.1 to 24.3.2 (#71)

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.3.1 to 24.3.2.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.3.1...v24.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump aws-sdk from 2.865.0 to 2.866.0 (#72)

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.865.0 to 2.866.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.865.0...v2.866.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump aws-sdk from 2.866.0 to 2.867.0 (#73)

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.866.0 to 2.867.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.866.0...v2.867.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Adding support for exporting enx metrics

* Fixing schema

* chore(deps): bump aws-sdk from 2.867.0 to 2.868.0 (#74)

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.867.0 to 2.868.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.867.0...v2.868.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump fastify-jwt from 2.3.0 to 2.4.0 (#75)

Bumps [fastify-jwt](https://github.com/fastify/fastify-jwt) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/fastify/fastify-jwt/releases)
- [Commits](https://github.com/fastify/fastify-jwt/compare/v2.3.0...v2.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump aws-sdk from 2.868.0 to 2.869.0 (#76)

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.868.0 to 2.869.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.868.0...v2.869.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump aws-sdk from 2.869.0 to 2.870.0 (#77)

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.869.0 to 2.870.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.869.0...v2.870.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Adding enx metrics end point

Co-authored-by: Jack Murdoch <35329295+jackmurdoch@users.noreply.github.com>
Co-authored-by: Jack Murdoch <jack.murdoch@nearform.com>
Co-authored-by: Simone Busoli <simone.busoli@nearform.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Simone Busoli <simone.busoli@gmail.com>

* Syncing latest (#58)

* APHL support (#1)

* Scheduling support for sms

* Adding support for scheduling

* type fix

* Scheduling fix

* SMS scheduling support

* Adding send count

* Making secret optional

* Adding log

* Changes for limited metrics

* Fixing query

* Bumping versions

* Removing console log

* Making error optional as APHL no longer returns it

* Fixing mobile number issue

* chore: add dependabot

* Bump actions/setup-node from v1 to v2.1.5

Bumps [actions/setup-node](https://github.com/actions/setup-node) from v1 to v2.1.5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-node from 10.0.0 to 11.1.0

Bumps [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node) from 10.0.0 to 11.1.0.
- [Release notes](https://github.com/mysticatea/eslint-plugin-node/releases)
- [Commits](https://github.com/mysticatea/eslint-plugin-node/compare/v10.0.0...v11.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-cors from 5.1.0 to 5.2.0

Bumps [fastify-cors](https://github.com/fastify/fastify-cors) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/fastify/fastify-cors/releases)
- [Commits](https://github.com/fastify/fastify-cors/compare/v5.1.0...v5.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-jest from 22.21.0 to 24.1.5

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 22.21.0 to 24.1.5.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v22.21.0...v24.1.5)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-promise from 4.2.1 to 4.3.1

Bumps [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) from 4.2.1 to 4.3.1.
- [Release notes](https://github.com/xjamundx/eslint-plugin-promise/releases)
- [Changelog](https://github.com/xjamundx/eslint-plugin-promise/blob/development/CHANGELOG.md)
- [Commits](https://github.com/xjamundx/eslint-plugin-promise/compare/v4.2.1...v4.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify from 3.9.2 to 3.12.0

Bumps [fastify](https://github.com/fastify/fastify) from 3.9.2 to 3.12.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v3.9.2...v3.12.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump pino-pretty from 3.6.1 to 4.5.0

Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 3.6.1 to 4.5.0.
- [Release notes](https://github.com/pinojs/pino-pretty/releases)
- [Commits](https://github.com/pinojs/pino-pretty/compare/v3.6.1...v4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump faker from 4.1.0 to 5.4.0

Bumps [faker](https://github.com/Marak/Faker.js) from 4.1.0 to 5.4.0.
- [Release notes](https://github.com/Marak/Faker.js/releases)
- [Changelog](https://github.com/Marak/faker.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Marak/Faker.js/commits)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump prettier-config-standard from 1.0.1 to 4.0.0

Bumps [prettier-config-standard](https://github.com/npetruzzelli/prettier-config-standard) from 1.0.1 to 4.0.0.
- [Release notes](https://github.com/npetruzzelli/prettier-config-standard/releases)
- [Commits](https://github.com/npetruzzelli/prettier-config-standard/compare/v1.0.1...v4.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump phone from 2.4.19 to 2.4.21

Bumps [phone](https://github.com/aftership/phone) from 2.4.19 to 2.4.21.
- [Release notes](https://github.com/aftership/phone/releases)
- [Commits](https://github.com/aftership/phone/compare/2.4.19...2.4.21)

Signed-off-by: dependabot[bot] <support@github.com>

* chore: formatting

* Bump aws-sdk from 2.826.0 to 2.853.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.826.0 to 2.853.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.826.0...v2.853.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-swagger from 3.5.0 to 4.3.1

Bumps [fastify-swagger](https://github.com/fastify/fastify-swagger) from 3.5.0 to 4.3.1.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/v3.5.0...4.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-standard from 4.1.0 to 5.0.0

Bumps [eslint-plugin-standard](https://github.com/standard/eslint-plugin-standard) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/standard/eslint-plugin-standard/releases)
- [Commits](https://github.com/standard/eslint-plugin-standard/compare/v4.1.0...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump jest from 24.9.0 to 26.6.3

Bumps [jest](https://github.com/facebook/jest) from 24.9.0 to 26.6.3.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v24.9.0...v26.6.3)

Signed-off-by: dependabot[bot] <support@github.com>

* Removing unused modules

* Bump crypto-random-string from 3.3.0 to 3.3.1

Bumps [crypto-random-string](https://github.com/sindresorhus/crypto-random-string) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/sindresorhus/crypto-random-string/releases)
- [Commits](https://github.com/sindresorhus/crypto-random-string/compare/v3.3.0...v3.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

* fix: integration test

* Bump aws-sdk from 2.853.0 to 2.854.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.853.0 to 2.854.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.853.0...v2.854.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-autoload from 3.4.0 to 3.5.2

Bumps [fastify-autoload](https://github.com/fastify/fastify-autoload) from 3.4.0 to 3.5.2.
- [Release notes](https://github.com/fastify/fastify-autoload/releases)
- [Commits](https://github.com/fastify/fastify-autoload/compare/v3.4.0...v3.5.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-postgres from 3.3.0 to 3.5.0

Bumps [fastify-postgres](https://github.com/fastify/fastify-postgres) from 3.3.0 to 3.5.0.
- [Release notes](https://github.com/fastify/fastify-postgres/releases)
- [Commits](https://github.com/fastify/fastify-postgres/compare/v3.3.0...v3.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump env-schema from 1.1.0 to 2.1.0

Bumps [env-schema](https://github.com/fastify/env-schema) from 1.1.0 to 2.1.0.
- [Release notes](https://github.com/fastify/env-schema/releases)
- [Commits](https://github.com/fastify/env-schema/compare/v1.1.0...v2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fluent-schema from 0.10.0 to 1.1.0

Bumps [fluent-schema](https://github.com/fastify/fluent-schema) from 0.10.0 to 1.1.0.
- [Release notes](https://github.com/fastify/fluent-schema/releases)
- [Commits](https://github.com/fastify/fluent-schema/compare/v0.10.0...v1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump aws-sdk from 2.854.0 to 2.855.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.854.0 to 2.855.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.854.0...v2.855.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump date-fns from 2.16.1 to 2.18.0

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.16.1 to 2.18.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.16.1...v2.18.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify from 3.12.0 to 3.13.0

Bumps [fastify](https://github.com/fastify/fastify) from 3.12.0 to 3.13.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v3.12.0...v3.13.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump pino-pretty from 4.5.0 to 4.6.0

Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/pinojs/pino-pretty/releases)
- [Commits](https://github.com/pinojs/pino-pretty/compare/v4.5.0...v4.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-swagger from 4.3.1 to 4.3.2

Bumps [fastify-swagger](https://github.com/fastify/fastify-swagger) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/4.3.1...v4.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Adding support for deeplinks

* Bump eslint from 6.8.0 to 7.21.0

Bumps [eslint](https://github.com/eslint/eslint) from 6.8.0 to 7.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.8.0...v7.21.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump aws-sdk from 2.855.0 to 2.856.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.855.0 to 2.856.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.855.0...v2.856.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump fastify-swagger from 4.3.2 to 4.3.3

Bumps [fastify-swagger](https://github.com/fastify/fastify-swagger) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/v4.3.2...v4.3.3)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump date-fns from 2.18.0 to 2.19.0

Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.18.0 to 2.19.0.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.18.0...v2.19.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump aws-sdk from 2.856.0 to 2.857.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.856.0 to 2.857.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.856.0...v2.857.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-config-standard from 14.1.1 to 16.0.2

Bumps [eslint-config-standard](https://github.com/standard/eslint-config-standard) from 14.1.1 to 16.0.2.
- [Release notes](https://github.com/standard/eslint-config-standard/releases)
- [Changelog](https://github.com/standard/eslint-config-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/standard/eslint-config-standard/compare/v14.1.1...v16.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump prettier from 1.19.1 to 2.2.1

Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.19.1...2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

* chore: format

* chore: add dependabot automerge action

This change will cause dependabot PRs to be merged automatically when they pass the CI checks.

* Bump fastify-swagger from 4.3.3 to 4.4.0

Bumps [fastify-swagger](https://github.com/fastify/fastify-swagger) from 4.3.3 to 4.4.0.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/v4.3.3...v4.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump aws-sdk from 2.857.0 to 2.858.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.857.0 to 2.858.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.857.0...v2.858.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump pino-pretty from 4.6.0 to 4.7.0

Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/pinojs/pino-pretty/releases)
- [Commits](https://github.com/pinojs/pino-pretty/compare/v4.6.0...v4.7.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump env-schema from 2.1.0 to 3.0.1

Bumps [env-schema](https://github.com/fastify/env-schema) from 2.1.0 to 3.0.1.
- [Release notes](https://github.com/fastify/env-schema/releases)
- [Commits](https://github.com/fastify/env-schema/compare/v2.1.0...v3.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-plugin-jest from 24.1.5 to 24.1.9

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.1.5 to 24.1.9.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.1.5...v24.1.9)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump aws-sdk from 2.858.0 to 2.859.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.858.0 to 2.859.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.858.0...v2.859.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump pino-pretty from 4.7.0 to 4.7.1

Bumps [pino-pretty](https://github.com/pinojs/pino-pretty) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/pinojs/pino-pretty/releases)
- [Commits](https://github.com/pinojs/pino-pretty/compare/v4.7.0...v4.7.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Bump eslint-config-prettier-standard from 3.0.1 to 4.0.1

Bumps [eslint-config-prettier-standard](https://github.com/npetruzzelli/eslint-config-prettier-standard) from 3.0.1 to 4.0.1.
- [Release notes](https://github.com/npetruzzelli/eslint-config-prettier-standard/releases)
- [Commits](https://github.com/npetruzzelli/eslint-config-prettier-standard/compare/v3.0.1...v4.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump aws-sdk from 2.859.0 to 2.860.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.859.0 to 2.860.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.859.0...v2.860.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps-dev): bump eslint-plugin-jest from 24.1.9 to 24.2.0

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.1.9 to 24.2.0.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.1.9...v24.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump aws-sdk from 2.860.0 to 2.861.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.860.0 to 2.861.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.860.0...v2.861.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps-dev): bump eslint-plugin-jest from 24.2.0 to 24.2.1

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.2.0 to 24.2.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.2.0...v24.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump aws-sdk from 2.861.0 to 2.862.0

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.861.0 to 2.862.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.861.0...v2.862.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump fastify-swagger from 4.4.0 to 4.4.1

Bumps [fastify-swagger](https://github.com/fastify/fastify-swagger) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/v4.4.0...v4.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump fastify-autoload from 3.5.2 to 3.6.0

Bumps [fastify-autoload](https://github.com/fastify/fastify-autoload) from 3.5.2 to 3.6.0.
- [Release notes](https://github.com/fastify/fastify-autoload/releases)
- [Commits](https://github.com/fastify/fastify-autoload/compare/v3.5.2...v3.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump fastify from 3.13.0 to 3.14.0

Bumps [fastify](https://github.com/fastify/fastify) from 3.13.0 to 3.14.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v3.13.0...v3.14.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump fastify/github-action-merge-dependabot (#64)

Bumps [fastify/github-action-merge-dependabot](https://github.com/fastify/github-action-merge-dependabot) from v1.2.1 to v2.0.0.
- [Release notes](https://github.com/fastify/github-action-merge-dependabot/releases)
- [Commits](https://github.com/fastify/github-action-merge-dependabot/compare/v1.2.1...a8beb6aa8ba6b9ccaac56697e646e9db994680b5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump eslint-plugin-jest from 24.2.1 to 24.3.1 (#65)

Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.2.1 to 24.3.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.2.1...v24.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump aws-sdk from 2.862.0 to 2.863.0 (#66)

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.862.0 to 2.863.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.862.0...v2.863.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump eslint from 7.21.0 to 7.22.0 (#67)

Bumps [eslint](https://github.com/eslint/eslint) from 7.21.0 to 7.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.21.0...v7.22.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump aws-sdk from 2.863.0 to 2.864.0 (#68)

Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.863.0 to 2.864.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.863.0...v2.864.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump fastify-swagger from 4.4.1 to 4.4.2 (#69)

Bumps [fastify-swagger](https://github.com/fastify/fastify-swagger) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/v4.4.1...v4.4.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump aws-sdk from 2.864.0 to 2.8…
  • Loading branch information
7 people authored May 14, 2021
1 parent 01c903a commit 1bd0731
Show file tree
Hide file tree
Showing 10 changed files with 273 additions and 196 deletions.
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ SMS_QUEUE_URL=
SYMPTOM_DATE_OFFSET=0
USE_TEST_DATE_AS_SYMPTOM_DATE=false
ONSET_DATE_MANDATORY=false
ENFORCE_ONSET_DATE_RANGE_ERROR=true
SMS_SCHEDULING=
ENCRYPT_KEY=

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/covidgreen-tests-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run lint

13 changes: 7 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,29 @@ We have many collaborators, and every kind of contribution is welcome! Our organ
| `@covidgreen/leads` | Lead Maintainers | GitHub organization owners |
| `@covidgreen/core` | Core development | `covid-green-push-api` |

Every memeber of the org is also part of `@covidgreen/members`.
Every member of the org is also part of `@covidgreen/members`.

### Onboarding Collaborators

Welcome to the team! We are happy to have you. Before you start, please complete the following tasks:
Before a new Collaborator can be onboarded, an issue nominating the new contributor as a project member must be opened. The new member will be added if there are no objections raised from other existing members. Contributors nominated should have at least some history of contribution and an intent to continue contributing.

Once a nomination has been accepted... Welcome to the team! We are happy to have you. Before you start, please complete the following tasks:
1. Set up 2 factor authentication for GitHub and NPM
- [GitHub 2FA](https://help.github.com/en/articles/securing-your-account-with-two-factor-authentication-2fa)
- [NPM 2FA](https://docs.npmjs.com/about-two-factor-authentication)
2. Choose which team to join *(more than one is ok!)* based on how you want to help.
3. Open a pull request to [`covidgreen/covid-green-app:current`](https://github.com/covidgreen/covid-green-app/pulls) that adds your name, username, and email to the team you have choosen in the [README.md](./README.md). The members lists are sorted alphabetically; make sure to add your name in the proper order.
1. Open a pull request to [`covidgreen/covid-green-push-api:current`](https://github.com/covidgreen/covid-green-push-api/pulls) that adds your name, username, and email to the team you have choosen in the [README.md](./README.md). The members lists are sorted alphabetically; make sure to add your name in the proper order.

### Offboarding Collaborators

We are thankful to you and we are really glad to have worked with you.
We'll be really happy to see you here again if you want to come back, but for now the person that did the onboarding must:
1. Ask the collaborator if they want to stay or not.
1. If the collaborator can't work with us anymore, they should:
1. Open a pull request to [`covidgreen/covid-green-app:current`](https://github.com/covidgreen/covid-green-app/pulls) and move themselves in the *Past Collaborators* section.
1. Open a pull request to [`covidgreen/covid-green-push-api:current`](https://github.com/covidgreen/covid-green-push-api/pulls) and move themselves in the *Past Collaborators* section.

The person that did the onboarding must:
1. If the collaborator doesn't reply to the ping in reasonable time, open the pull requests described above.
2. Remove the collaborator from the teams on GitHub.
1. Remove the collaborator from the teams on GitHub.
-----------------------------------------

<a id="developers-certificate-of-origin"></a>
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ There are a number of handy commands you can run to help with development.

### Contributors

* TBD
* TBD
* @dennisgove - Dennis Gove <dgove1@bloomberg.net>
* @dharding - David J Harding <davidjasonharding@gmail.com>
* @fiacc - Fiac O'Brien Moran <fiacc.obrienmoran@nearform.com>

### Past Contributors

Expand Down
10 changes: 5 additions & 5 deletions lib/config/config.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ describe('configuration', () => {
const NODE_ENV = 'development'
const CONFIG_VAR_PREFIX = ''
const API_HOST = faker.internet.ip()
const API_PORT = faker.random.number()
const CORS_CREDENTIALS = faker.random.boolean()
const CORS_ORIGIN = faker.random.boolean()
const API_PORT = faker.datatype.number()
const CORS_CREDENTIALS = faker.datatype.boolean()
const CORS_ORIGIN = faker.datatype.boolean()
const DB_HOST = faker.lorem.word()
const DB_READ_HOST = faker.lorem.word()
const DB_PORT = faker.random.number()
const DB_PORT = faker.datatype.number()
const DB_USER = faker.lorem.word()
const DB_PASSWORD = faker.lorem.word()
const DB_DATABASE = faker.lorem.word()
const DB_SSL = faker.random.boolean()
const DB_SSL = faker.datatype.boolean()
const JWT_SECRET = faker.lorem.word()
const LOG_LEVEL = faker.random.arrayElement(['debug', 'warn', 'silent'])

Expand Down
10 changes: 8 additions & 2 deletions lib/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ async function getConfig() {
.prop('SYMPTOM_DATE_OFFSET', S.string())
.prop('USE_TEST_DATE_AS_ONSET_DATE', S.boolean())
.prop('ONSET_DATE_MANDATORY', S.boolean())
.prop('ENFORCE_ONSET_DATE_RANGE_ERROR', S.boolean())
.prop('ISSUE_PROXY_URL', S.string())
.prop('ISSUE_PROXY_API_KEY', S.string())
.prop('REDUCED_METRICS_WHITELIST', S.string())
Expand Down Expand Up @@ -100,6 +101,7 @@ async function getConfig() {
codeLength: Number(env.CODE_LENGTH),
defaultCountryCode: env.DEFAULT_COUNTRY_CODE,
onsetDateMandatory: env.ONSET_DATE_MANDATORY,
enforceSymptomDateRangeError: env.ENFORCE_ONSET_DATE_RANGE_ERROR,
symptomDateOffset: Number(env.SYMPTOM_DATE_OFFSET),
queueUrl: env.SMS_QUEUE_URL,
useTestDateAsOnsetDate: env.USE_TEST_DATE_AS_ONSET_DATE,
Expand Down Expand Up @@ -186,8 +188,9 @@ async function getConfig() {
config.cors.origin = parseCorsParameter(
await getParameter('push_cors_origin')
)
config.cors.credentials = true

config.cors.credentials = /true/i.test(
await getOptionalParameter('push_cors_credentials', false)
)
config.pgPlugin.read = await getParameter('db_reader_host')
config.pgPlugin.write = await getParameter('db_host')
config.pgPlugin.config.port = Number(await getParameter('db_port'))
Expand Down Expand Up @@ -218,6 +221,9 @@ async function getConfig() {
config.sms.onsetDateMandatory = /true/i.test(
await getParameter('onset_date_mandatory')
)
config.sms.enforceSymptomDateRangeError = /true/i.test(
await getOptionalParameter('enforce_onset_date_range_error', false)
)
config.sms.symptomDateOffset = Number(
await getParameter('symptom_date_offset')
)
Expand Down
23 changes: 21 additions & 2 deletions lib/routes/notify/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const schema = require('./schema')
const util = require('util')
const { BadRequest } = require('http-errors')
const { SQS } = require('aws-sdk')
const { addMinutes, subHours, format } = require('date-fns')
const { addMinutes, subHours, subDays, addDays, format } = require('date-fns')
const { metricsInsert } = require('../metrics/query')
const { verificationInsert } = require('./query')

Expand Down Expand Up @@ -239,14 +239,33 @@ async function notify(server, options, done) {
const resolvedTestDate = testDate || null
const resolvedTestType = testType || 'confirmed'

const resolvedSymptomDate =
let resolvedSymptomDate =
onsetDate ||
symptomDate ||
(options.sms.useTestDateAsOnsetDate ? resolvedTestDate : null)

if (options.sms.onsetDateMandatory && !resolvedSymptomDate) {
throw new BadRequest('Onset date must be provided')
}
if (resolvedSymptomDate) {
const today = format(new Date(), 'yyyy-MM-dd')
const startRange = subDays(new Date(today), 14)
const endRange = addDays(new Date(today), 14)
if (
new Date(resolvedSymptomDate) < startRange ||
new Date(resolvedSymptomDate) > endRange
) {
resolvedSymptomDate = today
if (options.sms.enforceSymptomDateRangeError) {
throw new BadRequest(
`Onset date must be between ${format(
startRange,
'yyyy-MM-dd'
)} and ${format(endRange, 'yyyy-MM-dd')}`
)
}
}
}

const offsetSymptomDate = resolvedSymptomDate
? subHours(new Date(resolvedSymptomDate), options.sms.symptomDateOffset)
Expand Down
54 changes: 44 additions & 10 deletions lib/routes/notify/notify.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const getConfig = require('../../../lib/config')
const jwt = require('jsonwebtoken')
const { SQS } = require('aws-sdk')
const phone = require('phone')
const { format } = require('date-fns')

jest.mock('aws-sdk')
jest.mock('phone')
Expand Down Expand Up @@ -39,8 +40,8 @@ describe('notify via sqs', () => {
const token = jwt.sign(data, options.jwt.secret)
const mobile = '+353111111111'
const testType = 'confirmed'
const onsetDate = '2020-01-01'
const testDate = '2020-01-01'
const onsetDate = format(new Date(), 'yyyy-MM-dd')
const testDate = format(new Date(), 'yyyy-MM-dd')
const jobId = '123456'

const mockSelect = jest
Expand Down Expand Up @@ -68,13 +69,46 @@ describe('notify via sqs', () => {
expect(mockSend).toHaveBeenCalledTimes(0)
})

it('should return invalid request due to onset date outside range', async () => {
const data = { id: '', type: '' }
const token = jwt.sign(data, options.jwt.secret)
const mobile = null
const testType = 'confirmed'
const onsetDate = format(new Date('2020-01-01'), 'yyyy-MM-dd')
const testDate = format(new Date(), 'yyyy-MM-dd')
const jobId = '123456'

const mockSelect = jest
.fn()
.mockResolvedValue({ rowCount: 1, rows: [data] })
const mockInsert = jest.fn().mockResolvedValue({})

phone.mockImplementation(() => [])

server.pg.read.query = mockSelect
server.pg.write.query = mockInsert

const response = await server.inject({
method: 'POST',
url: '/notify/positive',
headers: {
Authorization: `Bearer ${token}`
},
body: { mobile, onsetDate, testDate, jobId, testType }
})
expect(response.statusCode).toEqual(400)
expect(mockSelect).toHaveBeenCalledTimes(1)
expect(mockInsert).toHaveBeenCalledTimes(0)
expect(mockSend).toHaveBeenCalledTimes(0)
})

it('should create a verification code and send an sms via sqs', async () => {
const data = { id: '', type: '' }
const token = jwt.sign(data, options.jwt.secret)
const mobile = '+353111111111'
const testType = 'confirmed'
const onsetDate = '2020-01-01'
const testDate = '2020-01-01'
const onsetDate = format(new Date(), 'yyyy-MM-dd')
const testDate = format(new Date(), 'yyyy-MM-dd')
const jobId = '123456'

const mockSelect = jest
Expand Down Expand Up @@ -115,8 +149,8 @@ describe('notify via sqs', () => {
const data = { id: '', type: '' }
const token = jwt.sign(data, options.jwt.secret)
const mobile = null
const onsetDate = '2020-01-01'
const testDate = '2020-01-01'
const onsetDate = format(new Date(), 'yyyy-MM-dd')
const testDate = format(new Date(), 'yyyy-MM-dd')
const jobId = '123456'

const mockSelect = jest
Expand Down Expand Up @@ -157,8 +191,8 @@ describe('notify via sqs', () => {
const data = { id: '', type: '' }
const token = jwt.sign(data, options.jwt.secret)
const mobile = ''
const onsetDate = '2020-01-01'
const testDate = '2020-01-01'
const onsetDate = format(new Date(), 'yyyy-MM-dd')
const testDate = format(new Date(), 'yyyy-MM-dd')
const jobId = '123456'

const mockSelect = jest
Expand Down Expand Up @@ -200,8 +234,8 @@ describe('notify via sqs', () => {
const token = jwt.sign(data, options.jwt.secret)
const mobile = '+353111111111'
const testType = 'confirmed'
const onsetDate = '2020-01-01'
const testDate = '2020-01-01'
const onsetDate = format(new Date(), 'yyyy-MM-dd')
const testDate = format(new Date(), 'yyyy-MM-dd')
const jobId = '123456'

options.sms.schedulingEnabled = true
Expand Down
Loading

0 comments on commit 1bd0731

Please sign in to comment.