Ghost/ghost/offers
Simon Backx 076e3c02b2
Added linking between member and subscription created events (#15693)
fixes https://github.com/TryGhost/Team/issues/2160

- Adds a `batch_id` to both events that contain the same ID if they were created at the same time.
- Removes duplicate signup/conversion events using the batch_id
- Requires an update in mongo-knex to work (refs https://ghost.slack.com/archives/C02G9E68C/p1666773313272409?thread_ts=1666767872.375009&cid=C02G9E68C)
- Some dependencies needed an update to load the latest mongo-knex
- Added tiers to membersUtils, loaded on startup (we can start to use this instead of fetching it every time)
2022-10-27 11:44:19 +02:00
..
lib Wired events for triggering email alerts for subscription creation/cancellation 2022-09-10 11:06:34 +05:30
test Fixed import of bson-objectid in accordance to the typings 2022-10-12 14:54:35 +07:00
.eslintrc.js Updated Eslint ECMAScript compatibility to 2022 2022-08-09 15:51:40 +02:00
index.js Ensured correct usage of @tryghost/errors everywhere 2022-02-15 12:30:36 +00:00
package.json Added linking between member and subscription created events (#15693) 2022-10-27 11:44:19 +02:00