Built motion from commit fe909640.|2.6.8
[motion2.git] / server / routes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x6cdd=['./api/intFreshsalesAccount','./api/intFreshsalesConfiguration','/api/integrations/freshsales/fields','./api/intFreshsalesField','/api/networks','./api/network','/api/chat/reports/queue','./api/chatQueueReport','/api/chat/internal/messages','./api/chatInternalMessage','./api/jscriptyAnswerReport','/api/jscripty/questions/reports','/api/jscripty/sessions/reports','./api/jscriptySessionReport','/api/sms/reports/queue','./api/squareReport','/api/square/details/reports','./api/squareReportDetail','/api/jscripty/projects','./api/jscriptyProject','/api/settings','/api/square/projects','./api/squareProject','./api/squareRecording','/api/square/messages','./api/squareMessage','/api/teams','./api/team','/api/license','./api/license','/api/campaigns','./api/campaign','/api/migrations','./api/attachment','/api/plugins','./api/plugin','/api/mail/reports/transfer','./api/mailTransferReport','/api/chat/reports/transfer','./api/chatTransferReport','/api/fax/reports/transfer','./api/faxTransferReport','/api/openchannel/reports/transfer','./api/openchannelTransferReport','/api/sms/reports/transfer','./api/smsTransferReport','/api/cm/lists','/api/voice/prefixes','./api/voicePrefix','/api/userProfiles','/api/userProfile/sections','./api/userProfileSection','/api/userProfile/resources','./api/userProfileResource','/api/userNotifications','./api/userNotification','/api/whatsapp/accounts','./api/whatsappAccount','/api/whatsapp/applications','./api/whatsappApplication','/api/whatsapp/interactions','./api/whatsappInteraction','/api/whatsapp/messages','./api/whatsappMessage','/api/whatsapp/reports/queue','./api/whatsappQueueReport','./api/whatsappTransferReport','/api/whatsapp/queues','./api/whatsappQueue','/api/cloudProviders','/api/realtime','./api/realtime','/api/user-settings','./api/user-setting','/api/auth/local','./api/authLocal','./api/authGoogle','/api/auth/activedirectory','./api/authActiveDirectory','./api/jira','/api/version','./api/version','/api/system','./api/system','/api/pm2','./api/pm2','/api/webbar','./api/webbar','/apidoc','static','join','root','/www','/demo','3.0.0','/plugins','/server/files/plugins','/:url(api|auth|components|app|bower_components|assets)/*','get','route','sendFile','resolve','/index.html','path','./errors','setupLoggers','./api/client-side-logs','then','/api/users','./api/user','/api/voice/chanspy','./api/voiceChanSpy','use','/api/voice/contexts','/api/voice/mohs','/api/voice/queues','./api/voiceQueue','/api/voice/recordings','./api/voiceRecording','/api/screen/recordings','./api/screenRecording','/api/voice/mails','./api/voiceMail','./api/voiceMailMessage','/api/voice/calls/reports','./api/voiceCallReport','/api/voice/dials/reports','./api/voiceDialReport','/api/voice/agents/reports','/api/voice/queues/reports','./api/voiceQueueReport','/api/members/reports','./api/memberReport','/api/trunks','./api/voiceTransferReport','/api/mail/accounts','./api/mailAccount','/api/mail/queues','/api/mail/substatuses','./api/mailSubstatus','/api/mail/interactions','./api/mailInteraction','/api/mail/messages','./api/mailMessage','/api/mail/applications','./api/mailApplication','/api/mail/reports/queue','./api/mailQueueReport','/api/dashboards','./api/dashboard','/api/dashboards/items','./api/dashboardItem','./api/faxAccount','/api/fax/applications','./api/faxApplication','/api/fax/interactions','/api/fax/messages','./api/faxMessage','/api/fax/queues','/api/fax/reports/queue','./api/faxQueueReport','/api/sms/accounts','./api/smsAccount','/api/sms/applications','./api/smsApplication','/api/sms/interactions','./api/smsInteraction','./api/smsMessage','./api/smsQueue','/api/openchannel/accounts','./api/openchannelAccount','/api/openchannel/applications','/api/openchannel/interactions','./api/openchannelInteraction','./api/openchannelMessage','/api/openchannel/queues','./api/openchannelQueue','./api/chatWebsite','/api/openchannel/reports/queue','./api/openchannelQueueReport','./api/chatApplication','/api/chat/interactions','./api/chatInteraction','./api/chatMessage','/api/chat/offline_messages','./api/chatOfflineMessage','/api/chat/queues','./api/chatQueue','./api/chatGroup','/api/chat/proactive_actions','./api/chatProactiveAction','./api/cmCompany','/api/cm/contacts','./api/cmContact','/api/cm/hopper','./api/cmHopper','/api/cm/hopper_black','./api/cmHopperBlack','/api/cm/hopper_final','./api/cmHopperFinal','/api/cm/hopper_history','/api/cm/custom_fields','./api/cmCustomField','/api/actions','./api/action','/api/automations','./api/automation','/api/canned_answers','/api/dispositions','./api/disposition','/api/conditions','./api/condition','/api/intervals','./api/interval','./api/pause','/api/voiceQueuesLog','/api/schedules','./api/schedule','./api/sound','/api/tags','./api/tag','/api/contact_item_types','./api/contactItemType','/api/cm_contact_has_items','./api/cmHopperAdditionalPhone','/api/templates','./api/template','/api/triggers','./api/trigger','/api/variables','./api/variable','/api/integrations','./api/integration','/api/integrations/reports','./api/integrationReport','/api/analytics/custom_reports','./api/analyticCustomReport','/api/analytics/default_reports','./api/analyticDefaultReport','/api/analytics/extracted_reports','./api/analyticExtractedReport','/api/analytics/metrics','./api/analyticMetric','/api/analytics/field_reports','./api/analyticFieldReport','/api/analytics/tree_reports','./api/analyticTreeReport','/api/integrations/salesforce/accounts','./api/intSalesforceAccount','/api/integrations/salesforce/configurations','./api/intSalesforceConfiguration','/api/integrations/salesforce/fields','./api/intSugarcrmConfiguration','/api/integrations/sugarcrm/fields','./api/intSugarcrmField','./api/intDeskAccount','./api/intDeskConfiguration','/api/integrations/desk/fields','./api/intDeskField','/api/integrations/zoho/accounts','./api/intZohoAccount','/api/integrations/zoho/configurations','./api/intZohoConfiguration','/api/integrations/zoho/fields','./api/intZohoField','./api/intZendeskAccount','/api/integrations/zendesk/configurations','./api/intZendeskConfiguration','/api/integrations/zendesk/fields','./api/intZendeskField','/api/integrations/freshdesk/accounts','/api/integrations/freshdesk/configurations','/api/integrations/freshdesk/fields','./api/intVtigerAccount','/api/integrations/vtiger/configurations','/api/integrations/vtiger/fields','./api/intVtigerField','/api/integrations/servicenow/accounts','./api/intServicenowAccount','/api/integrations/servicenow/configurations','/api/integrations/servicenow/fields','./api/intServicenowField','/api/integrations/dynamics365/accounts','./api/intDynamics365Account','/api/integrations/dynamics365/configurations','./api/intDynamics365Configuration','/api/integrations/dynamics365/fields','/api/integrations/freshsales/accounts'];(function(_0x6e1239,_0x3562ac){var _0x418150=function(_0x279f06){while(--_0x279f06){_0x6e1239['push'](_0x6e1239['shift']());}};_0x418150(++_0x3562ac);}(_0x6cdd,0x187));var _0xd6cd=function(_0x58ec18,_0x5616cf){_0x58ec18=_0x58ec18-0x0;var _0x2bf6a3=_0x6cdd[_0x58ec18];return _0x2bf6a3;};'use strict';var path=require(_0xd6cd('0x0'));var express=require('express');var errors=require(_0xd6cd('0x1'));var config=require('./config/environment');var setupLoggers=require('./utils/client-side-logger')[_0xd6cd('0x2')];var clientSideLogs=require(_0xd6cd('0x3'));exports['default']=function(_0x20fffc){return setupLoggers(_0x20fffc)[_0xd6cd('0x4')](function(){_0x20fffc['use'](_0xd6cd('0x5'),require(_0xd6cd('0x6')));_0x20fffc['use'](_0xd6cd('0x7'),require(_0xd6cd('0x8')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xa'),require('./api/voiceContext'));_0x20fffc[_0xd6cd('0x9')]('/api/voice/extensions',require('./api/voiceExtension'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xb'),require('./api/voiceMusicOnHold'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xc'),require(_0xd6cd('0xd')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xe'),require(_0xd6cd('0xf')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x10'),require(_0xd6cd('0x11')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x12'),require(_0xd6cd('0x13')));_0x20fffc[_0xd6cd('0x9')]('/api/voice/mails/messages',require(_0xd6cd('0x14')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x15'),require(_0xd6cd('0x16')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x17'),require(_0xd6cd('0x18')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x19'),require('./api/voiceAgentReport'));_0x20fffc['use'](_0xd6cd('0x1a'),require(_0xd6cd('0x1b')));_0x20fffc['use'](_0xd6cd('0x1c'),require(_0xd6cd('0x1d')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x1e'),require('./api/trunk'));_0x20fffc[_0xd6cd('0x9')]('/api/voice/transfers/reports',require(_0xd6cd('0x1f')));_0x20fffc['use']('/api/mail/out_servers',require('./api/mailServerOut'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x20'),require(_0xd6cd('0x21')));_0x20fffc['use'](_0xd6cd('0x22'),require('./api/mailQueue'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x23'),require(_0xd6cd('0x24')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x25'),require(_0xd6cd('0x26')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x27'),require(_0xd6cd('0x28')));_0x20fffc['use'](_0xd6cd('0x29'),require(_0xd6cd('0x2a')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x2b'),require(_0xd6cd('0x2c')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x2d'),require(_0xd6cd('0x2e')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x2f'),require(_0xd6cd('0x30')));_0x20fffc['use']('/api/fax/accounts',require(_0xd6cd('0x31')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x32'),require(_0xd6cd('0x33')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x34'),require('./api/faxInteraction'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x35'),require(_0xd6cd('0x36')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x37'),require('./api/faxQueue'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x38'),require(_0xd6cd('0x39')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x3a'),require(_0xd6cd('0x3b')));_0x20fffc['use'](_0xd6cd('0x3c'),require(_0xd6cd('0x3d')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x3e'),require(_0xd6cd('0x3f')));_0x20fffc[_0xd6cd('0x9')]('/api/sms/messages',require(_0xd6cd('0x40')));_0x20fffc[_0xd6cd('0x9')]('/api/sms/queues',require(_0xd6cd('0x41')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x42'),require(_0xd6cd('0x43')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x44'),require('./api/openchannelApplication'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x45'),require(_0xd6cd('0x46')));_0x20fffc['use']('/api/openchannel/messages',require(_0xd6cd('0x47')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x48'),require(_0xd6cd('0x49')));_0x20fffc['use']('/api/chat/websites',require(_0xd6cd('0x4a')));_0x20fffc['use'](_0xd6cd('0x4b'),require(_0xd6cd('0x4c')));_0x20fffc[_0xd6cd('0x9')]('/api/chat/applications',require(_0xd6cd('0x4d')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x4e'),require(_0xd6cd('0x4f')));_0x20fffc[_0xd6cd('0x9')]('/api/chat/messages',require(_0xd6cd('0x50')));_0x20fffc['use'](_0xd6cd('0x51'),require(_0xd6cd('0x52')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x53'),require(_0xd6cd('0x54')));_0x20fffc[_0xd6cd('0x9')]('/api/chat/groups',require(_0xd6cd('0x55')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x56'),require(_0xd6cd('0x57')));_0x20fffc['use']('/api/cm/companies',require(_0xd6cd('0x58')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x59'),require(_0xd6cd('0x5a')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x5b'),require(_0xd6cd('0x5c')));_0x20fffc['use'](_0xd6cd('0x5d'),require(_0xd6cd('0x5e')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x5f'),require(_0xd6cd('0x60')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x61'),require('./api/cmHopperHistory'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x62'),require(_0xd6cd('0x63')));_0x20fffc['use'](_0xd6cd('0x64'),require(_0xd6cd('0x65')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x66'),require(_0xd6cd('0x67')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x68'),require('./api/cannedAnswer'));_0x20fffc['use'](_0xd6cd('0x69'),require(_0xd6cd('0x6a')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x6b'),require(_0xd6cd('0x6c')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x6d'),require(_0xd6cd('0x6e')));_0x20fffc[_0xd6cd('0x9')]('/api/pauses',require(_0xd6cd('0x6f')));_0x20fffc[_0xd6cd('0x9')]('/api/cdr',require('./api/cdr'));_0x20fffc['use'](_0xd6cd('0x70'),require('./api/voiceQueuesLog'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x71'),require(_0xd6cd('0x72')));_0x20fffc[_0xd6cd('0x9')]('/api/sounds',require(_0xd6cd('0x73')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x74'),require(_0xd6cd('0x75')));_0x20fffc['use'](_0xd6cd('0x76'),require(_0xd6cd('0x77')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x78'),require('./api/cmContactHasItem'));_0x20fffc['use']('/api/cm_hopper_additional_phones',require(_0xd6cd('0x79')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x7a'),require(_0xd6cd('0x7b')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x7c'),require(_0xd6cd('0x7d')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x7e'),require(_0xd6cd('0x7f')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x80'),require(_0xd6cd('0x81')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x82'),require(_0xd6cd('0x83')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x84'),require(_0xd6cd('0x85')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x86'),require(_0xd6cd('0x87')));_0x20fffc['use'](_0xd6cd('0x88'),require(_0xd6cd('0x89')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x8a'),require(_0xd6cd('0x8b')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x8c'),require(_0xd6cd('0x8d')));_0x20fffc['use'](_0xd6cd('0x8e'),require(_0xd6cd('0x8f')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x90'),require(_0xd6cd('0x91')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x92'),require(_0xd6cd('0x93')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x94'),require('./api/intSalesforceField'));_0x20fffc[_0xd6cd('0x9')]('/api/integrations/sugarcrm/accounts',require('./api/intSugarcrmAccount'));_0x20fffc[_0xd6cd('0x9')]('/api/integrations/sugarcrm/configurations',require(_0xd6cd('0x95')));_0x20fffc['use'](_0xd6cd('0x96'),require(_0xd6cd('0x97')));_0x20fffc[_0xd6cd('0x9')]('/api/integrations/desk/accounts',require(_0xd6cd('0x98')));_0x20fffc[_0xd6cd('0x9')]('/api/integrations/desk/configurations',require(_0xd6cd('0x99')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x9a'),require(_0xd6cd('0x9b')));_0x20fffc['use'](_0xd6cd('0x9c'),require(_0xd6cd('0x9d')));_0x20fffc['use'](_0xd6cd('0x9e'),require(_0xd6cd('0x9f')));_0x20fffc['use'](_0xd6cd('0xa0'),require(_0xd6cd('0xa1')));_0x20fffc[_0xd6cd('0x9')]('/api/integrations/zendesk/accounts',require(_0xd6cd('0xa2')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xa3'),require(_0xd6cd('0xa4')));_0x20fffc['use'](_0xd6cd('0xa5'),require(_0xd6cd('0xa6')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xa7'),require('./api/intFreshdeskAccount'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xa8'),require('./api/intFreshdeskConfiguration'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xa9'),require('./api/intFreshdeskField'));_0x20fffc[_0xd6cd('0x9')]('/api/integrations/vtiger/accounts',require(_0xd6cd('0xaa')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xab'),require('./api/intVtigerConfiguration'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xac'),require(_0xd6cd('0xad')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xae'),require(_0xd6cd('0xaf')));_0x20fffc['use'](_0xd6cd('0xb0'),require('./api/intServicenowConfiguration'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xb1'),require(_0xd6cd('0xb2')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xb3'),require(_0xd6cd('0xb4')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xb5'),require(_0xd6cd('0xb6')));_0x20fffc['use'](_0xd6cd('0xb7'),require('./api/intDynamics365Field'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xb8'),require(_0xd6cd('0xb9')));_0x20fffc['use']('/api/integrations/freshsales/configurations',require(_0xd6cd('0xba')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xbb'),require(_0xd6cd('0xbc')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xbd'),require(_0xd6cd('0xbe')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xbf'),require(_0xd6cd('0xc0')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xc1'),require(_0xd6cd('0xc2')));_0x20fffc[_0xd6cd('0x9')]('/api/jscripty/answers/reports',require(_0xd6cd('0xc3')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xc4'),require('./api/jscriptyQuestionReport'));_0x20fffc['use'](_0xd6cd('0xc5'),require(_0xd6cd('0xc6')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xc7'),require('./api/smsQueueReport'));_0x20fffc[_0xd6cd('0x9')]('/api/square/reports',require(_0xd6cd('0xc8')));_0x20fffc['use'](_0xd6cd('0xc9'),require(_0xd6cd('0xca')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xcb'),require(_0xd6cd('0xcc')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xcd'),require('./api/setting'));_0x20fffc[_0xd6cd('0x9')]('/api/square/odbc',require('./api/squareOdbc'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xce'),require(_0xd6cd('0xcf')));_0x20fffc['use']('/api/square/recordings',require(_0xd6cd('0xd0')));_0x20fffc['use'](_0xd6cd('0xd1'),require(_0xd6cd('0xd2')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xd3'),require(_0xd6cd('0xd4')));_0x20fffc['use'](_0xd6cd('0xd5'),require(_0xd6cd('0xd6')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xd7'),require(_0xd6cd('0xd8')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xd9'),require('./api/migration'));_0x20fffc[_0xd6cd('0x9')]('/api/attachments',require(_0xd6cd('0xda')));_0x20fffc['use'](_0xd6cd('0xdb'),require(_0xd6cd('0xdc')));_0x20fffc['use'](_0xd6cd('0xdd'),require(_0xd6cd('0xde')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xdf'),require(_0xd6cd('0xe0')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xe1'),require(_0xd6cd('0xe2')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xe3'),require(_0xd6cd('0xe4')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xe5'),require(_0xd6cd('0xe6')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xe7'),require('./api/cmList'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xe8'),require(_0xd6cd('0xe9')));_0x20fffc['use'](_0xd6cd('0xea'),require('./api/userProfile'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xeb'),require(_0xd6cd('0xec')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xed'),require(_0xd6cd('0xee')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xef'),require(_0xd6cd('0xf0')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xf1'),require(_0xd6cd('0xf2')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xf3'),require(_0xd6cd('0xf4')));_0x20fffc['use'](_0xd6cd('0xf5'),require(_0xd6cd('0xf6')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xf7'),require(_0xd6cd('0xf8')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xf9'),require(_0xd6cd('0xfa')));_0x20fffc['use']('/api/whatsapp/reports/transfer',require(_0xd6cd('0xfb')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xfc'),require(_0xd6cd('0xfd')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0xfe'),require('./api/cloudProvider'));_0x20fffc['use'](_0xd6cd('0xff'),require(_0xd6cd('0x100')));_0x20fffc['use'](_0xd6cd('0x101'),require(_0xd6cd('0x102')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x103'),require(_0xd6cd('0x104')));_0x20fffc[_0xd6cd('0x9')]('/api/auth/google',require(_0xd6cd('0x105')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x106'),require(_0xd6cd('0x107')));_0x20fffc[_0xd6cd('0x9')]('/api/jira',require(_0xd6cd('0x108')));_0x20fffc[_0xd6cd('0x9')]('/api/rpc',require('./api/rpc'));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x109'),require(_0xd6cd('0x10a')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x10b'),require(_0xd6cd('0x10c')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x10d'),require(_0xd6cd('0x10e')));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x10f'),require(_0xd6cd('0x110')));_0x20fffc[_0xd6cd('0x9')]('/api/logs',clientSideLogs);_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x111'),express[_0xd6cd('0x112')](path[_0xd6cd('0x113')](config[_0xd6cd('0x114')],_0xd6cd('0x111'))));_0x20fffc['use'](_0xd6cd('0x115'),express[_0xd6cd('0x112')](path['join'](config[_0xd6cd('0x114')],_0xd6cd('0x115'))));_0x20fffc['use'](_0xd6cd('0x116'),express[_0xd6cd('0x112')](path[_0xd6cd('0x113')](config['root'],_0xd6cd('0x116'))));_0x20fffc['use']('/snippet',express[_0xd6cd('0x112')](path[_0xd6cd('0x113')](config[_0xd6cd('0x114')],'snippet',_0xd6cd('0x117'))));_0x20fffc[_0xd6cd('0x9')](_0xd6cd('0x118'),express[_0xd6cd('0x112')](path['join'](config[_0xd6cd('0x114')],_0xd6cd('0x119'))));_0x20fffc['route'](_0xd6cd('0x11a'))[_0xd6cd('0x11b')](errors[0x194]);_0x20fffc[_0xd6cd('0x11c')]('/*')[_0xd6cd('0x11b')](function(_0x519016,_0xd9689c){_0xd9689c[_0xd6cd('0x11d')](path[_0xd6cd('0x11e')](_0x20fffc[_0xd6cd('0x11b')]('appPath')+_0xd6cd('0x11f')));});return _0x20fffc;});};