<?php

// CRON JOBS LIST /////////////////////////////////////////////////////////////////////////////////
$CFG['cronJobs']['jobs']['DeleteExpiredReports'] = '\App\Cron\Job\DeleteExpiredReports';
$CFG['cronJobs']['jobs']['DeleteExpiredPluginReports'] = '\App\Cron\Job\DeleteExpiredPluginReports';

$CFG['cronJobs']['jobs']['DeleteOldDocuments'] = '\App\Cron\Job\DeleteOldDocuments';

$CFG['cronJobs']['jobs']['AutoGenerateReports'] = '\App\Cron\Job\AutoGenerateReports';

// fill res details on tkt supp invoice rows
$CFG['cronJobs']['jobs']['FillTktSupplierInvRows'] = '\App\Cron\Job\FillTktSupplierInvRows';

// fill reservation number on supplier invoice rows based on checkIn and (externalReservationId or confirmationNumber)
$CFG['cronJobs']['jobs']['FillReservationNumberSuppInvRows'] = '\App\Cron\Job\FillReservationNumberSuppInvRows';

$CFG['cronJobs']['jobs']['SendCalendarEventsEmails'] = '\App\Cron\Job\SendCalendarEventsEmails';
$CFG['cronJobs']['jobs']['SendQueuedEmails'] = '\App\Cron\Job\SendQueuedEmails';

// delete old calendar events
$CFG['cronJobs']['jobs']['DeleteOldCalendarEvents'] = '\App\Cron\Job\DeleteOldCalendarEvents';

// auto-imports currency exchange rates
$CFG['cronJobs']['jobs']['ImportCurrencyExchangeRates'] = '\App\Cron\Job\ImportCurrencyExchangeRates';

$CFG['cronJobs']['jobs']['TinaBackup'] =    '\App\Cron\Job\TinaBackup';

$CFG['cronJobs']['jobs']['FluXCheck'] =     '\App\Cron\Job\FluXCheck';

$CFG['cronJobs']['jobs']['DatabaseCheck'] = '\App\Cron\Job\DatabaseCheck';


$CFG['cronJobs']['jobs']['DateTimeCheck'] = '\App\Cron\Job\DateTimeCheck';

$CFG['cronJobs']['jobs']['HardwareCheck'] = '\App\Cron\Job\HardwareCheck';

$CFG['cronJobs']['jobs']['BalancesRefresh'] = '\App\Cron\Job\BalancesRefresh';

// refreshLicense - with LIDIA
$CFG['cronJobs']['jobs']['UpdateLicense'] = '\App\Cron\Job\UpdateLicense';

$CFG['cronJobs']['jobs']['ExpiredContractsAlert'] = '\App\Cron\Job\ExpiredContractsAlert';

// reminder for not invoiced orders
$CFG['cronJobs']['jobs']['NotInvoicedOrdersRespAlerts'] = '\App\Cron\Job\NotInvoicedOrdersRespAlerts';

// auto-processing operations
$CFG['cronJobs']['jobs']['AutoProcess'] = '\App\Cron\Job\AutoProcess';

// export data
$CFG['cronJobs']['jobs']['ExportData'] = '\App\Cron\Job\ExportData';

$CFG['cronJobs']['jobs']['CorporateCreditLimitsCalendarEvents'] = '\App\Cron\Job\CorporateCreditLimitsCalendarEvents';

$CFG['cronJobs']['jobs']['CorporateCreditLimitsExternalAlerts'] = '\App\Cron\Job\CorporateCreditLimitsExternalAlerts';

$CFG['cronJobs']['jobs']['CorporateDueDateAlerts'] = '\App\Cron\Job\CorporateDueDateAlerts';

// quick reports populator
$CFG['cronJobs']['jobs']['QuickReportsPopulate'] = '\App\Cron\Job\QuickReportsPopulate';

// reports data populator
$CFG['cronJobs']['jobs']['ReportsDataPopulate'] = '\App\Cron\Job\ReportsDataPopulate';

// populate Bsp cache and settlements
$CFG['cronJobs']['jobs']['PopulateBspPeriodCaching'] = '\App\Cron\Job\PopulateBspPeriodCaching';
$CFG['cronJobs']['jobs']['PopulateBspSettlementRecords'] = '\App\Cron\Job\PopulateBspSettlementRecords';

// collection reminders
$CFG['cronJobs']['jobs']['CollectionRemindersCorporates'] = '\App\Cron\Job\CollectionRemindersCorporates';
$CFG['cronJobs']['jobs']['CollectionRemindersCustomers'] = '\App\Cron\Job\CollectionRemindersCustomers';

// corporate client invoices auto-compensate
$CFG['cronJobs']['jobs']['ClientInvoicesAutoCompensate'] = '\App\Cron\Job\ClientInvoicesAutoCompensate';

// document series alert
$CFG['cronJobs']['jobs']['DocumentSeriesAlert'] = '\App\Cron\Job\DocumentSeriesAlert';

$CFG['cronJobs']['jobs']['CustomersDeduplicate'] = '\App\Cron\Job\CustomersDeduplicate';

$CFG['cronJobs']['jobs']['DatabaseCleanupForErrorLogs'] = '\App\Cron\Job\DatabaseCleanupForErrorLogs';

$CFG['cronJobs']['jobs']['DatabaseCleanupForExportData'] = '\App\Cron\Job\DatabaseCleanupForExportData';

$CFG['cronJobs']['jobs']['DatabaseCleanupForCronJobLogs'] = '\App\Cron\Job\DatabaseCleanupForCronJobLogs';

$CFG['cronJobs']['jobs']['DatabaseCleanupForAutoProcessLogs'] = '\App\Cron\Job\DatabaseCleanupForAutoProcessLogs';

$CFG['cronJobs']['jobs']['DatabaseCleanupForOldUserTraces'] = '\App\Cron\Job\DatabaseCleanupForOldUserTraces';

$CFG['cronJobs']['jobs']['AutoBalanceServices'] = '\App\Cron\Job\AutoBalanceServices';

// TODO activate this cronjob when finishing the interface part
//$CFG['cronJobs']['jobs']['DownloadNotifications'] = '\App\Cron\Job\DownloadNotifications';

$CFG['cronJobs']['jobs']['NotifyExpiredPassports'] = '\App\Cron\Job\NotifyExpiredPassports';

$CFG['cronJobs']['jobs']['NotifyExpiredPasswords'] = '\App\Cron\Job\NotifyExpiredPasswords';

$CFG['cronJobs']['jobs']['ForgetInactivePassengers'] = '\App\Cron\Job\ForgetInactivePassengers';

// Export GDS profile data to all configured GDS APIs
$CFG['cronJobs']['jobs']['GdsProfilesExport'] = '\App\Cron\Job\GdsProfilesExport';
//$CFG['cronJobs']['jobs']['GdsProfilesImport'] = '\App\Cron\Job\GdsProfilesImport';

// BI Integration
$CFG['cronJobs']['jobs']['BiDatabaseSync'] = 'App\Cron\Job\BiDatabaseSync';

$CFG['cronJobs']['jobs']['ImportRefundsFromBsp'] = '\App\Cron\Job\ImportRefundsFromBsp';

$CFG['cronJobs']['jobs']['AppAutoUpdate'] = '\App\Cron\Job\AppAutoUpdate';

$CFG['cronJobs']['jobs']['AmadeusImportFromSFTP'] = '\App\Cron\Job\AmadeusImportFromSFTP';

$CFG['cronJobs']['jobs']['CreditCardNumbersTruncate'] = '\App\Cron\Job\CreditCardNumbersTruncate';

$CFG['cronJobs']['jobs']['AppAsyncUpdate'] = '\App\Cron\Job\AppAsyncUpdate';

$CFG['cronJobs']['jobs']['WebhookRequests'] = '\App\Cron\Job\WebhookRequests';

$CFG['cronJobs']['jobs']['ImportEmailBookings'] = '\App\Cron\Job\ImportEmailBookings';


// OTHER SETTINGS /////////////////////////////////////////////////////////////////////////////////
$CFG['cronJobs']['settings']['AutoProcess']['minPeriod'] = 5; // min period [minutes]
