mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
* feat(billing): add comprehensive usage-based billing system - Complete billing infrastructure with subscription management - Usage tracking and limits for organizations - Team management with role-based permissions - CRON jobs for automated billing and cleanup - Stripe integration for payments and invoicing - Email notifications for billing events - Organization-based workspace management - API endpoints for billing operations * fix tests, standardize datetime logic * add lazy init for stripe client, similar to s3 * cleanup * ack PR comments * fixed build * convert everything to UTC * add delete subscription functionality using better auth * fix lint * fix linter error * remove invoice emails since it is natively managed via stripe * fix build --------- Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net>
21 lines
349 B
JSON
21 lines
349 B
JSON
{
|
|
"crons": [
|
|
{
|
|
"path": "/api/schedules/execute",
|
|
"schedule": "*/1 * * * *"
|
|
},
|
|
{
|
|
"path": "/api/webhooks/poll/gmail",
|
|
"schedule": "*/1 * * * *"
|
|
},
|
|
{
|
|
"path": "/api/logs/cleanup",
|
|
"schedule": "0 0 * * *"
|
|
},
|
|
{
|
|
"path": "/api/billing/daily",
|
|
"schedule": "0 2 * * *"
|
|
}
|
|
]
|
|
}
|