cal.pub0.org/apps/web/pages/api
Omar López 5625cf226b
Stripe to monorepo (#2063)
* downgrade func

* fix security hole lol

* fix query conditions

* - set to trial not free
- auto create stripe customer if missing
- fix production check

* Extracts downgrade logic to script, fixes ts-node conflicts with prisma

* Adds trialEndsAt field to users

* Updates trial/downgrade logic

* Typo

* Legibility fixes

* Update team-billing.ts

* Legibility improvements

* Updates illegal logic

* WIP

* WIP migrating stripe to package

* Update website

* Import fixes

* Import fixes

* Fixes to downgrade script

* Check for premium usernames before downgrading

* Fixed formatting

* Delete deploy-env.sh

* Locks dayjs to 1.10.6

* Type fixes

* Seems like we're stuck with dayjs 1.10.4

* Script fixes

* Adds first name to dump

* Loop fix

Co-authored-by: Jamie <ijamespine@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-03-09 15:56:05 -07:00
..
auth Fix/sso username (#1897) 2022-02-18 17:32:12 +00:00
availability Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
book Feature/send opt in booking email (#2048) 2022-03-07 18:18:23 +00:00
cron Admin/team billing downgrader (#2040) 2022-03-03 19:29:19 +00:00
event-type Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
import Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
integrations Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
schedule Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
teams/[team] Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
trpc Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
user Stripe to monorepo (#2063) 2022-03-09 15:56:05 -07:00
cancel.ts Revert "Revert "Webhooks to support event type association"" (#2033) 2022-03-02 09:24:57 -07:00
eventType.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
integrations.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
me.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
teams.ts Migrated cal.com to apps/web 2022-02-10 14:22:45 -07:00
upgrade.ts Stripe to monorepo (#2063) 2022-03-09 15:56:05 -07:00