Each connection can set how many times a day and at which Tehran hours the server pulls Tahesab customers, including name updates for people already linked. Co-authored-by: Cursor <cursoragent@cursor.com>
47 lines
1.6 KiB
TypeScript
47 lines
1.6 KiB
TypeScript
import { Module } from '@nestjs/common';
|
|
import { AuthModule } from '../../auth/auth.module';
|
|
import { TahesabCryptoService } from './tahesab-crypto.service';
|
|
import { TahesabHttpClient } from './tahesab-http.client';
|
|
import { TahesabConnectionsService } from './connections.service';
|
|
import {
|
|
TahesabBirthDateBackfill,
|
|
TahesabPersonLinkService,
|
|
} from './person-link.service';
|
|
import { TahesabProductLinkService } from './product-link.service';
|
|
import { TahesabBalanceService } from './balance.service';
|
|
import { TahesabDocumentsService } from './documents.service';
|
|
import { TahesabAsnadReportService } from './asnad-report.service';
|
|
import { TahesabInvoiceSettingsService } from './invoice-settings.service';
|
|
import { TahesabCustomerSyncScheduler } from './customer-sync.scheduler';
|
|
import { TahesabController } from './tahesab.controller';
|
|
import { CustomerGroupsModule } from '../../customer-groups/customer-groups.module';
|
|
|
|
@Module({
|
|
imports: [AuthModule, CustomerGroupsModule],
|
|
controllers: [TahesabController],
|
|
providers: [
|
|
TahesabCryptoService,
|
|
TahesabHttpClient,
|
|
TahesabConnectionsService,
|
|
TahesabPersonLinkService,
|
|
TahesabBirthDateBackfill,
|
|
TahesabProductLinkService,
|
|
TahesabBalanceService,
|
|
TahesabDocumentsService,
|
|
TahesabAsnadReportService,
|
|
TahesabInvoiceSettingsService,
|
|
TahesabCustomerSyncScheduler,
|
|
],
|
|
exports: [
|
|
TahesabCryptoService,
|
|
TahesabConnectionsService,
|
|
TahesabPersonLinkService,
|
|
TahesabProductLinkService,
|
|
TahesabBalanceService,
|
|
TahesabDocumentsService,
|
|
TahesabAsnadReportService,
|
|
TahesabInvoiceSettingsService,
|
|
],
|
|
})
|
|
export class TahesabModule {}
|