0e1d2fb0d1
Add a lazy/guarded Stripe client (boots without keys), Invoice/Payout schemas, per-currency Price.stripePriceIds, and a BillingService deriving partner/platform summaries, invoices and a partner-cut payout ledger. Partner and operator billing controllers plus a signature-verified Stripe webhook (Fastify raw body). Frontend: partner and operator billing pages and the operator tenant billing/audit tabs on real data. Gated behind new_billing_engine and BILLING_STRIPE_ENABLED; live money paths stay off until keys are set.
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"name": "@dezky/platform-api",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"description": "Dezky platform API — tenants, partners, users, provisioning orchestration (NestJS)",
|
|
"scripts": {
|
|
"build": "nest build",
|
|
"start": "nest start",
|
|
"start:dev": "nest start --watch",
|
|
"start:debug": "nest start --debug --watch",
|
|
"start:prod": "node dist/main",
|
|
"test": "jest",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.700.0",
|
|
"@nestjs/common": "^10.4.0",
|
|
"@nestjs/core": "^10.4.0",
|
|
"@nestjs/platform-fastify": "^10.4.0",
|
|
"@nestjs/config": "^3.3.0",
|
|
"@nestjs/mongoose": "^10.1.0",
|
|
"class-transformer": "^0.5.1",
|
|
"class-validator": "^0.14.1",
|
|
"jose": "^5.9.0",
|
|
"mongoose": "^8.7.0",
|
|
"reflect-metadata": "^0.2.2",
|
|
"rxjs": "^7.8.0",
|
|
"stripe": "^17.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@nestjs/cli": "^10.4.0",
|
|
"@nestjs/testing": "^10.4.0",
|
|
"@types/node": "^20.0.0",
|
|
"typescript": "^5.5.0",
|
|
"ts-node": "^10.9.2"
|
|
},
|
|
"packageManager": "pnpm@9.12.0"
|
|
}
|