feat: add per-org SMS wallet with adm panel and header credit
Bill all platform SMS (including OTP), allow negative balance with manual/auto cutoffs, and support own-panel bypass without wallet debit.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { Global, Module } from '@nestjs/common';
|
||||
import { SmsService } from '../common/sms.service';
|
||||
import { OrgSmsController } from './org-sms.controller';
|
||||
import { PlatformSmsController } from './platform-sms.controller';
|
||||
import { SmsGatewayService } from './sms-gateway.service';
|
||||
import { SmsWalletService } from './sms-wallet.service';
|
||||
|
||||
@Global()
|
||||
@Module({
|
||||
controllers: [PlatformSmsController, OrgSmsController],
|
||||
providers: [SmsService, SmsWalletService, SmsGatewayService],
|
||||
exports: [SmsService, SmsWalletService, SmsGatewayService],
|
||||
})
|
||||
export class SmsBillingModule {}
|
||||
Reference in New Issue
Block a user