twenty/packages/twenty-server/src
martmull 05c206073d
38 add billing webhook endpoint (#4158)
* Add self billing feature flag

* Add two core tables for billing

* Remove useless imports

* Remove graphql decorators

* Rename subscriptionProduct table

* WIP: Add stripe config

* Add controller to get product prices

* Add billing service

* Remove unecessary package

* Simplify stripe service

* Code review returns

* Use nestjs param

* Rename subscription to basePlan

* Rename env variable

* Add checkout endpoint

* Remove resolver

* Merge controllers

* Fix security issue

* Handle missing url error

* Add workspaceId in checkout metadata

* Add BILLING_STRIPE_WEBHOOK_SECRET env variable

* WIP: add webhook endpoint

* Fix body parser

* Create Billing Subscription on payment success

* Set subscriptionStatus active on webhook

* Add useful log

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2024-02-24 17:30:32 +01:00
..
commands feat: workspace:health nullable fix (#3882) 2024-02-08 18:22:29 +01:00
constants/settings Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
core 38 add billing webhook endpoint (#4158) 2024-02-24 17:30:32 +01:00
database Build cron for data seed demo (#4142) 2024-02-24 12:30:12 +01:00
decorators feat: workspace sync (#3505) 2024-01-30 14:40:55 +01:00
filters/utils feat: add user to sentry (#3467) 2024-02-01 16:14:08 +01:00
graphql-config Add workspacePreQueryHook module (#3879) 2024-02-13 18:23:29 +01:00
guards Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
health Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
integrations 38 add billing webhook endpoint (#4158) 2024-02-24 17:30:32 +01:00
metadata fix: forbid creation of objects or fields with certain characters or with forbidden keywords that clashes with pg_graphql (#3957) 2024-02-24 12:32:01 +01:00
utils 3491 launch cleaning cron (#3872) 2024-02-07 18:52:48 +01:00
workspace Handle relations between same objects (#4137) 2024-02-23 09:51:42 +01:00
app.module.ts Add rate limiting in the server using built in Nest.js capability (#3566) 2024-02-07 18:11:32 +01:00
app.service.ts Migrate to a monorepo structure (#2909) 2023-12-10 18:10:54 +01:00
command.module.ts 3491 launch cleaning cron (#3872) 2024-02-07 18:52:48 +01:00
command.ts Disable buffered logs (#3892) 2024-02-13 14:50:25 +01:00
main.ts 38 add billing webhook endpoint (#4158) 2024-02-24 17:30:32 +01:00
queue-worker.module.ts [messaging] add cronjob for workspaces messages partial sync (#3800) 2024-02-05 17:15:11 +01:00
queue-worker.ts [worker] add more logs to queue-worker (#3982) 2024-02-14 21:28:17 +01:00