Map portal call events into CRM logs, store the API token for OutgoingCall, and surface a dedicated settings tab for wiring the webhook URL. Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
1.1 KiB
TypeScript
28 lines
1.1 KiB
TypeScript
import { Module } from '@nestjs/common';
|
|
import { AuthModule } from '../../auth/auth.module';
|
|
import { BillingModule } from '../../billing/billing.module';
|
|
import { NotesModule } from '../../notes/notes.module';
|
|
import { NotificationsModule } from '../../notifications/notifications.module';
|
|
import { TahesabCryptoService } from '../tahesab/tahesab-crypto.service';
|
|
import { CallSummaryService } from './call-summary.service';
|
|
import { VoipConnectionsService } from './connections.service';
|
|
import { VoipCallsService } from './calls.service';
|
|
import { DaftaresomaClient } from './daftareshoma-client';
|
|
import { SttClientService } from './stt-client.service';
|
|
import { VoipController, VoipWebhookController } from './voip.controller';
|
|
|
|
@Module({
|
|
imports: [AuthModule, BillingModule, NotificationsModule, NotesModule],
|
|
controllers: [VoipController, VoipWebhookController],
|
|
providers: [
|
|
TahesabCryptoService,
|
|
VoipConnectionsService,
|
|
VoipCallsService,
|
|
DaftaresomaClient,
|
|
SttClientService,
|
|
CallSummaryService,
|
|
],
|
|
exports: [VoipConnectionsService, VoipCallsService],
|
|
})
|
|
export class VoipModule {}
|