Built motion from commit 82a371561bcdbc7605c801e5e414f4032ba9e7ad. Version 3.0.0...
[motion-next.git] / server / mysqldb / index.js
index eb26aaf..fa1aecd 100644 (file)
@@ -1 +1 @@
-const a1021_0x3a84=['ToId','../api/userOpenchannelQueue/userOpenchannelQueue.model','../api/chatInteraction/chatInteraction.model','SmsQueues','UserMailInteractions','TrunkBackupId','FreshsalesAccount','ChatInternalMessage','WhatsappInteraction','../api/network/network.model','cm_user_has_lists','MailQueueReport','WhatsappInteractionId','WhatsappQueue','ZendeskField','../api/mailQueue/mailQueue.model','../api/intFreshdeskAccount/intFreshdeskAccount.model','ChatWebsites','mail_interaction_has_tags','AllCondition','SmsMessage','../api/userVoiceQueueRt/userVoiceQueueRt.model','FaxMessage','TriggerAllId','JscriptySessions','FaxQueue','HopperFinals','MailServerOut','Action','team_has_sms_queues','Queue','../api/openchannelInteraction/openchannelInteraction.model','AgentReports','Dispositions','FaxQueueReport','../api/intFreshdeskField/intFreshdeskField.model','UserWhatsappInteractions','../api/faxTransferReport/faxTransferReport.model','../api/whatsappAccount/whatsappAccount.model','MailApplication','ParentId','ChatInteractions','FreshsalesField','int_freshdesk_configuration_has_tags','JscriptyAnswerReport','CmCompany','../api/intZendeskAccount/intZendeskAccount.model','../api/intDynamics365Configuration/intDynamics365Configuration.model','../api/whatsappQueueReport/whatsappQueueReport.model','CustomReportId','../api/voiceAgentReport/voiceAgentReport.model','WhatsappAccountId','Subject','VoiceCallReport','../api/openchannelQueue/openchannelQueue.model','FreshdeskField','ToWhatsappAccountId','../api/smsMessage/smsMessage.model','AutomationAllId','Notifications','../api/squareReport/squareReport.model','UserProfileResource','HopperBlacks','../api/schedule/schedule.model','ServicenowConfiguration','ChatWebsite','../api/screenRecording/screenRecording.model','OpenchannelQueueId','FromFaxAccountId','FromAgent','Dashboard','AnyConditions','OpenchannelQueueReport','ToQueueId','../api/intFreshsalesConfiguration/intFreshsalesConfiguration.model','sms_interaction_has_tags','ContactId','FaxInteractions','DeskConfiguration','TriggerAnyId','../api/openchannelMessage/openchannelMessage.model','CmContact','../api/voiceQueuesLog/voiceQueuesLog.model','ToOpenchannelAccountId','OpenchannelTransferReport','FreshdeskConfiguration','VoiceQueueId','ChatQueueReport','../api/intDeskConfiguration/intDeskConfiguration.model','SmsAccounts','WhatsappAccount','../api/intSugarcrmConfiguration/intSugarcrmConfiguration.model','Agents','FromAccount','../api/analyticFieldReport/analyticFieldReport.model','SmsQueueId','ToSmsQueueId','AutomationId','SenderId','../api/chatQueueReport/chatQueueReport.model','Team','UserProfileSections','UserId','../api/faxInteraction/faxInteraction.model','Teams','../api/analyticCustomReport/analyticCustomReport.model','ThroughTags','MailQueues','ServicenowAccount','SmsApplications','../api/userMailQueue/userMailQueue.model','AnyCondition','chat_interaction_has_tags','dbHost','DefaultReportId','int_desk_configuration_has_tags','SugarcrmAccount','MailApplications','ToAccount','mandatoryDispositionPause','ChatTransferReport','ToQueue','team_has_voice_queues','voice_queues_has_cm_blacklists','AnalyticTreeReport','user_has_whatsapp_accounts','exports','VoiceQueues','Queues','ZendeskAccount','openchannel_interaction_has_tags','SugarcrmConfiguration','BlackLists','ToOpenchannelQueueId','cm_contact_has_tags','MailAccount','../api/mailQueueReport/mailQueueReport.model','Notification','team_has_chat_queues','FaxInteractionId','int_zendesk_configuration_has_tags','Dynamics365Field','ToFaxAccountId','../api/chatQueue/chatQueue.model','name','utf8_general_ci','../api/intServicenowConfiguration/intServicenowConfiguration.model','ChatProactiveAction','campaigns_has_cm_blacklists','User','CompanyId','../api/intSalesforceConfiguration/intSalesforceConfiguration.model','ChatInteractionId','VoiceMail','FaxApplication','../api/setting/setting.model','../api/interval/interval.model','SquareProject','SmsTransferReport','ChatWebsiteId','OpenchannelQueue','ToMailAccountId','../api/template/template.model','MailInteraction','AccountId','ZohoAccount','VoiceContext','ChatQueues','AnalyticCustomReport','HopperHistory','SpiedAgents','WhatsappMessage','user_has_whatsapp_interactions','SmsAccountId','../api/voiceDialReport/voiceDialReport.model','VtigerField','Imap','user_has_sms_accounts','Contacts','Tags','FromUserId','../api/userFaxQueue/userFaxQueue.model','Interval','team_has_fax_queues','chat_group_has_users','lodash','../api/faxMessage/faxMessage.model','../api/analyticExtractedReport/analyticExtractedReport.model','VoicePrefix','ChatGroup','../api/openchannelTransferReport/openchannelTransferReport.model','SalesforceField','../api/intZohoField/intZohoField.model','../api/cmCustomField/cmCustomField.model','SugarcrmField','OwnerId','../api/cmContact/cmContact.model','ZohoField','CmHopperFinal','../api/trigger/trigger.model','ProjectId','ScreenRecording','SalesforceConfiguration','Resources','FromSmsAccountId','ZohoConfiguration','belongsTo','../api/jscriptySessionReport/jscriptySessionReport.model','ChatOfflineMessage','utf8mb4','VoiceQueue','../api/integration/integration.model','VoiceQueuesLog','Campaign','Recordings','Intervals','DescriptionId','ToChatWebsiteId','SessionId','FaxQueues','../api/smsAccount/smsAccount.model','Descriptions','Actions','Contact','../api/dashboardItem/dashboardItem.model','SmsQueue','user_has_chat_websites','CmCustomField','../api/squareRecording/squareRecording.model','SmsInteractions','../config/environment','../api/mailMessage/mailMessage.model','ChatMessage','CloudProvider','user_has_voice_prefixes','UserWhatsappQueue','Field','TriggerId','Integration','MailAccountId','List','../api/mailAccount/mailAccount.model','../api/voiceTransferReport/voiceTransferReport.model','restrict','../api/memberReport/memberReport.model','ChatGroupId','AutomationAnyId','../api/squareReportDetail/squareReportDetail.model','moh_has_sounds','../api/chatGroup/chatGroup.model','ZendeskConfiguration','../api/faxQueue/faxQueue.model','Account','../api/dashboard/dashboard.model','FreshsalesConfiguration','../api/chatOfflineMessage/chatOfflineMessage.model','Messages','uniqueid','CmHopperBlack','Dynamics365Configuration','../api/mailSubstatus/mailSubstatus.model','Agent','../api/intZohoConfiguration/intZohoConfiguration.model','../api/sound/sound.model','ChatInteraction','OpenchannelApplication','MailSubstatus','SmsApplication','All','FaxTransferReport','FromId','OneAll','MailInteractions','ServicenowField','WhatsappTransferReport','VoiceExtension','cm_user_has_contacts','Pause','AnalyticFieldReport','../api/intDeskField/intDeskField.model','../api/whatsappInteraction/whatsappInteraction.model','VariableId','Users','../api/userWhatsappQueue/userWhatsappQueue.model','CampaignId','../api/notification/notification.model','VtigerConfiguration','Answers','UserMailQueue','Description','user_has_teams','CustomFields','../api/voiceContext/voiceContext.model','Tag','SmsQueueReport','user_has_fax_interactions','AnalyticMetric','../api/whatsappApplication/whatsappApplication.model','../api/faxQueueReport/faxQueueReport.model','../api/mailTransferReport/mailTransferReport.model','Members','FreshdeskAccount','ToChatQueueId','IntegrationReport','OpenchannelAccounts','whatsapp_interaction_has_tags','DeskField','UserOpenchannelInteractions','../api/analyticDefaultReport/analyticDefaultReport.model','SmsInteraction','mailbox','Any','../api/smsApplication/smsApplication.model','Condition','password','DashboardItem','Trigger','../api/chatInternalMessage/chatInternalMessage.model','Trunk','../api/openchannelQueueReport/openchannelQueueReport.model','../api/userChatQueue/userChatQueue.model','user_has_sms_interactions','Sounds','CmHopper','../api/chatWebsite/chatWebsite.model','Configurations','../api/squareProject/squareProject.model','../api/voiceExtension/voiceExtension.model','../api/userVoiceQueue/userVoiceQueue.model','../api/intSalesforceAccount/intSalesforceAccount.model','Disposition','DataTypes','Template','JscriptySessionReport','AnalyticExtractedReport','user_has_openchannel_interactions','options','OpenchannelInteractionId','../api/cdr/cdr.model','Hoppers','MetricId','CmHopperHistory','ToUserId','WhatsappApplication','ListId','FromWhatsappAccountId','../api/intFreshsalesField/intFreshsalesField.model','mandatoryDispositionPauseId','user_has_fax_accounts','../api/faxAccount/faxAccount.model','team_has_mail_queues','mysqlPassword','JscriptyQuestionReport','../api/action/action.model','MailTransferReport','../config/config.service','../api/voiceMail/voiceMail.model','Items','../api/intZohoAccount/intZohoAccount.model','OpenchannelMessage','../api/voiceMusicOnHold/voiceMusicOnHold.model','../api/smsQueue/smsQueue.model','UserChatQueue','Interactions','ChanSpyId','fax_interaction_has_tags','../api/analyticMetric/analyticMetric.model','UserVoiceQueueRt','user_has_square_projects','WhatsappQueueReport','UserFaxQueue','../api/license/license.model','MemberReport','Plugin','../api/cmHopper/cmHopper.model','determine','ChatQueue','../api/intFreshsalesAccount/intFreshsalesAccount.model','../api/cloudProvider/cloudProvider.model','../api/user/user.model','FaxAccountId','TrunkBackup','VoicePrefixes','Owner','../api/intVtigerField/intVtigerField.model','FaxInteraction','Extensions','TemplateId','../api/smsInteraction/smsInteraction.model','Attachment','IntervalId','MailAccounts','Fields','TrunkId','Interaction','Website','hasMany','VoiceMailMessage','WhatsappInteractions','Lists','../api/mailInteraction/mailInteraction.model','ToFaxQueueId','ToMailQueueId','AttachmentId','sequelize','getConfigService','OpenchannelAccountId','belongsToMany','Sound','Automation','FieldId','Dynamics365Account','username','UserProfileSection','team_has_openchannel_queues','FromOpenchannelAccountId','../api/cmHopperFinal/cmHopperFinal.model','../api/tag/tag.model','VoiceAgentReport','MailServerIn','defaultsDeep','campaigns_has_cm_lists','AnalyticDefaultReport','Applications','Exntensions','SalesforceAccount','UserVoiceQueue','SquareReport','UserOpenchannelQueue','VtigerAccount','ChatQueueId','../api/jscriptyProject/jscriptyProject.model','cascade','Migration','../api/integrationReport/integrationReport.model','SquareDetailsReport','../api/reportAgentPreview/reportAgentPreview.model','../api/intServicenowField/intServicenowField.model','../api/userProfileSection/userProfileSection.model','DeskAccount','../api/cmHopperBlack/cmHopperBlack.model','../api/openchannelApplication/openchannelApplication.model','UserSmsQueue','mysql','team_has_whatsapp_queues','../api/intDeskAccount/intDeskAccount.model','OpenchannelInteraction','SquareRecording','../api/squareOdbc/squareOdbc.model','user_has_mail_accounts','CmList','JscriptyProject','../api/chatApplication/chatApplication.model','../api/intSugarcrmAccount/intSugarcrmAccount.model','user_has_openchannel_accounts','../api/intZendeskConfiguration/intZendeskConfiguration.model','TagId','VoiceMusicOnHold','../api/cannedAnswer/cannedAnswer.model','VoiceChanSpy','user_has_mail_interactions','UserProfile','MailInteractionId','VoiceQueuesRt','../api/voiceQueue/voiceQueue.model','ToAgent','../api/intFreshdeskConfiguration/intFreshdeskConfiguration.model','../api/variable/variable.model','../api/mailServerOut/mailServerOut.model','../api/migration/migration.model','../api/userSmsQueue/userSmsQueue.model','jstz','ChatApplication','SmsInteractionId','OpenchannelInteractions','SubjectId','CannedAnswer','Variable','FaxAccount','../api/disposition/disposition.model','MailMessage','UserChatInteractions','SmsAccount','ReportAgentPreview','Schedule','WhatsappQueues','sequelizeHistory','../api/userProfile/userProfile.model','SquareMessage','OpenchannelAccount','../api/campaign/campaign.model','database','VoiceTransferReport','Subjects','../api/pause/pause.model','hasOne','../api/cmHopperHistory/cmHopperHistory.model','../api/voiceMailMessage/voiceMailMessage.model','mailboxuser','../api/whatsappQueue/whatsappQueue.model','SquareProjects','../api/userProfileResource/userProfileResource.model','HopperHistories','Attachments','MailQueue','../api/analyticTreeReport/analyticTreeReport.model','user_has_chat_interactions','userProfileId','../api/chatProactiveAction/chatProactiveAction.model'];(function(_0x174de1,_0x3a8457){const _0x20feb7=function(_0x44abf1){while(--_0x44abf1){_0x174de1['push'](_0x174de1['shift']());}};_0x20feb7(++_0x3a8457);}(a1021_0x3a84,0x1d8));const a1021_0x20fe=function(_0x174de1,_0x3a8457){_0x174de1=_0x174de1-0x0;let _0x20feb7=a1021_0x3a84[_0x174de1];return _0x20feb7;};const _0xa45690=a1021_0x20fe;'use strict';const config=require(_0xa45690('0x10b')),cs=require(_0xa45690('0x188'))[_0xa45690('0x1ba')](),Sequelize=require(_0xa45690('0x1b9')),_=require(_0xa45690('0xde')),jstz=require(_0xa45690('0x1fc')),timezone=jstz[_0xa45690('0x19c')](),DEFAULTS={'database':cs['mysqlDatabase'],'username':cs['mysqlUser'],'password':cs[_0xa45690('0x184')],'options':{'host':cs[_0xa45690('0x96')],'port':cs['dbPort'],'dialect':_0xa45690('0x1e0'),'dialectOptions':{'charset':_0xa45690('0xf6')},'logging':![],'timezone':timezone[_0xa45690('0xb5')](),'define':{'charset':'utf8','collate':_0xa45690('0xb6')}}};config[_0xa45690('0x1b9')]=_[_0xa45690('0x1c9')](config['sequelize'],DEFAULTS),config[_0xa45690('0xe')]=_[_0xa45690('0x1c9')](config[_0xa45690('0xe')],DEFAULTS);const db={'Sequelize':Sequelize,'sequelize':new Sequelize(config[_0xa45690('0x1b9')][_0xa45690('0x13')],config[_0xa45690('0x1b9')][_0xa45690('0x1c1')],config['sequelize'][_0xa45690('0x15f')],config['sequelize'][_0xa45690('0x175')])},dbH={'Sequelize':Sequelize,'sequelize':new Sequelize(config[_0xa45690('0xe')][_0xa45690('0x13')],config['sequelizeHistory'][_0xa45690('0x1c1')],config['sequelizeHistory']['password'],config['sequelizeHistory'][_0xa45690('0x175')])};db[_0xa45690('0xba')]=require(_0xa45690('0x1a0'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1f0')]=require('../api/voiceChanSpy/voiceChanSpy.model')(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0xcb')]=require(_0xa45690('0x149'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x138')]=require(_0xa45690('0x16c'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1ee')]=require(_0xa45690('0x18d'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xf7')]=require(_0xa45690('0x1f5'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db['VoiceRecording']=require('../api/voiceRecording/voiceRecording.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xee')]=require(_0xa45690('0x67'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xbe')]=require(_0xa45690('0x189'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db['VoiceMailMessage']=require(_0xa45690('0x19'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['VoiceCallReport']=require('../api/voiceCallReport/voiceCallReport.model')(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db['VoiceDialReport']=require(_0xa45690('0xd3'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x1c7')]=require(_0xa45690('0x57'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db['VoiceQueueReport']=require('../api/voiceQueueReport/voiceQueueReport.model')(db['sequelize'],Sequelize['DataTypes']),db[_0xa45690('0x199')]=require(_0xa45690('0x119'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['Trunk']=require('../api/trunk/trunk.model')(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x14')]=require(_0xa45690('0x117'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x194')]=require(_0xa45690('0x3a'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1cf')]=require(_0xa45690('0x16d'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['UserChatQueue']=require(_0xa45690('0x165'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x145')]=require(_0xa45690('0x93'))(db['sequelize'],Sequelize['DataTypes']),db[_0xa45690('0x197')]=require(_0xa45690('0xda'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1df')]=require(_0xa45690('0x1fb'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x1d1')]=require(_0xa45690('0x26'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x110')]=require(_0xa45690('0x140'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x1c8')]=require('../api/mailServerIn/mailServerIn.model')(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x40')]=require(_0xa45690('0x1f9'))(db['sequelize'],Sequelize['DataTypes']),db[_0xa45690('0xac')]=require(_0xa45690('0x116'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x20')]=require(_0xa45690('0x34'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x12f')]=require(_0xa45690('0x129'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xc8')]=require(_0xa45690('0x1b5'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db['MailMessage']=require(_0xa45690('0x10c'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x4c')]=require('../api/mailApplication/mailApplication.model')(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x30')]=require(_0xa45690('0xad'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['Dashboard']=require(_0xa45690('0x122'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x160')]=require(_0xa45690('0x105'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x6')]=require(_0xa45690('0x182'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0xbf')]=require('../api/faxApplication/faxApplication.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1a6')]=require(_0xa45690('0x8c'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x3b')]=require(_0xa45690('0xdf'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x3e')]=require(_0xa45690('0x120'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db['FaxQueueReport']=require(_0xa45690('0x14f'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['SmsAccount']=require(_0xa45690('0x101'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x130')]=require(_0xa45690('0x15d'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x15a')]=require(_0xa45690('0x1a9'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db['SmsMessage']=require(_0xa45690('0x5e'))(db['sequelize'],Sequelize['DataTypes']),db[_0xa45690('0x106')]=require(_0xa45690('0x18e'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x11')]=require('../api/openchannelAccount/openchannelAccount.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x12e')]=require(_0xa45690('0x1de'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1e3')]=require(_0xa45690('0x44'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x18c')]=require(_0xa45690('0x75'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xc5')]=require(_0xa45690('0x5b'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x66')]=require(_0xa45690('0x169'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x6d')]=require(_0xa45690('0x164'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x0')]=require(_0xa45690('0x1e9'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x12d')]=require(_0xa45690('0x27'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x10d')]=require('../api/chatMessage/chatMessage.model')(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0xf5')]=require(_0xa45690('0x124'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['ChatQueue']=require(_0xa45690('0xb4'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xe2')]=require(_0xa45690('0x11e'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['ChatProactiveAction']=require(_0xa45690('0x24'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x52')]=require('../api/cmCompany/cmCompany.model')(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x76')]=require(_0xa45690('0xe9'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x168')]=require(_0xa45690('0x19b'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x127')]=require(_0xa45690('0x1dd'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xeb')]=require(_0xa45690('0x1c5'))(db['sequelize'],Sequelize['DataTypes']),db[_0xa45690('0x17a')]=require(_0xa45690('0x18'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db['ReportAgentPreview']=require(_0xa45690('0x1d9'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x108')]=require(_0xa45690('0xe6'))(db['sequelize'],Sequelize['DataTypes']),db['Action']=require(_0xa45690('0x186'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1be')]=require('../api/automation/automation.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x4')]=require(_0xa45690('0x1ef'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x16f')]=require(_0xa45690('0x7'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x15e')]=require('../api/condition/condition.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['Interval']=require(_0xa45690('0xc1'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x13a')]=require(_0xa45690('0x16'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['Cdr']=require(_0xa45690('0x177'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xf9')]=require(_0xa45690('0x77'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xc')]=require(_0xa45690('0x64'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1bd')]=require(_0xa45690('0x12c'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['Tag']=require(_0xa45690('0x1c6'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x171')]=require(_0xa45690('0xc7'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db['Trigger']=require(_0xa45690('0xec'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x5')]=require(_0xa45690('0x1f8'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x113')]=require('../api/integration/integration.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x154')]=require(_0xa45690('0x1d7'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0xcd')]=require(_0xa45690('0x8e'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1cb')]=require(_0xa45690('0x159'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x173')]=require(_0xa45690('0xe0'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db['AnalyticMetric']=require(_0xa45690('0x193'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x13b')]=require(_0xa45690('0x83'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0xa1')]=require(_0xa45690('0x21'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db['SalesforceAccount']=require(_0xa45690('0x16e'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0xef')]=require(_0xa45690('0xbc'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xe4')]=require('../api/intSalesforceField/intSalesforceField.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['SugarcrmAccount']=require(_0xa45690('0x1ea'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['SugarcrmConfiguration']=require(_0xa45690('0x80'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['SugarcrmField']=require('../api/intSugarcrmField/intSugarcrmField.model')(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x1dc')]=require(_0xa45690('0x1e2'))(db['sequelize'],Sequelize['DataTypes']),db[_0xa45690('0x73')]=require(_0xa45690('0x7d'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['DeskField']=require(_0xa45690('0x13c'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xca')]=require(_0xa45690('0x18b'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xf2')]=require(_0xa45690('0x12b'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xea')]=require(_0xa45690('0xe5'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['ZendeskAccount']=require(_0xa45690('0x53'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db['ZendeskConfiguration']=require(_0xa45690('0x1ec'))(db['sequelize'],Sequelize['DataTypes']),db[_0xa45690('0x33')]=require('../api/intZendeskField/intZendeskField.model')(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x152')]=require(_0xa45690('0x35'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x7a')]=require(_0xa45690('0x1f7'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x5c')]=require(_0xa45690('0x48'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1d2')]=require('../api/intVtigerAccount/intVtigerAccount.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x143')]=require('../api/intVtigerConfiguration/intVtigerConfiguration.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xd4')]=require(_0xa45690('0x1a5'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x91')]=require('../api/intServicenowAccount/intServicenowAccount.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x65')]=require(_0xa45690('0xb7'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x136')]=require(_0xa45690('0x1da'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x1c0')]=require('../api/intDynamics365Account/intDynamics365Account.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x128')]=require(_0xa45690('0x54'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xb2')]=require('../api/intDynamics365Field/intDynamics365Field.model')(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x2b')]=require(_0xa45690('0x19e'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x123')]=require(_0xa45690('0x6f'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x4f')]=require(_0xa45690('0x17f'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x113')]=require(_0xa45690('0xf8'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db['Network']=require(_0xa45690('0x2e'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x7c')]=require(_0xa45690('0x88'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['ChatInternalMessage']=require(_0xa45690('0x162'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x51')]=require('../api/jscriptyAnswerReport/jscriptyAnswerReport.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x185')]=require('../api/jscriptyQuestionReport/jscriptyQuestionReport.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['JscriptySessionReport']=require(_0xa45690('0xf4'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x14b')]=require('../api/smsQueueReport/smsQueueReport.model')(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1d0')]=require(_0xa45690('0x61'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1d8')]=require(_0xa45690('0x11c'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['JscriptyProject']=require(_0xa45690('0x1d4'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['Setting']=require(_0xa45690('0xc0'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db['SquareOdbc']=require(_0xa45690('0x1e5'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db['SquareProject']=require(_0xa45690('0x16b'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1e4')]=require(_0xa45690('0x109'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x10')]=require('../api/squareMessage/squareMessage.model')(db['sequelize'],Sequelize[_0xa45690('0x170')]),db['Team']=require('../api/team/team.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['License']=require(_0xa45690('0x198'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['Campaign']=require(_0xa45690('0x12'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1d6')]=require(_0xa45690('0x1fa'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1aa')]=require('../api/attachment/attachment.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x19a')]=require('../api/plugin/plugin.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x187')]=require(_0xa45690('0x150'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x9d')]=require('../api/chatTransferReport/chatTransferReport.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x132')]=require(_0xa45690('0x4a'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db['OpenchannelTransferReport']=require(_0xa45690('0xe3'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xc3')]=require('../api/smsTransferReport/smsTransferReport.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1e7')]=require('../api/cmList/cmList.model')(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0xe1')]=require('../api/voicePrefix/voicePrefix.model')(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1f2')]=require(_0xa45690('0xf'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x1c2')]=require(_0xa45690('0x1db'))(db['sequelize'],Sequelize['DataTypes']),db[_0xa45690('0x62')]=require(_0xa45690('0x1d'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0xae')]=require(_0xa45690('0x142'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x7f')]=require(_0xa45690('0x4b'))(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db[_0xa45690('0x17c')]=require(_0xa45690('0x14e'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x2d')]=require(_0xa45690('0x13d'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xd0')]=require('../api/whatsappMessage/whatsappMessage.model')(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x196')]=require(_0xa45690('0x55'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x137')]=require('../api/whatsappTransferReport/whatsappTransferReport.model')(db[_0xa45690('0x1b9')],Sequelize['DataTypes']),db['WhatsappQueue']=require(_0xa45690('0x1b'))(db[_0xa45690('0x1b9')],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0x10e')]=require(_0xa45690('0x19f'))(db['sequelize'],Sequelize[_0xa45690('0x170')]),db[_0xa45690('0xba')][_0xa45690('0x17')](db[_0xa45690('0xbe')],{'as':'VoiceMail','onDelete':'cascade','foreignKey':_0xa45690('0x8b')}),db[_0xa45690('0xba')][_0xa45690('0x1b1')](db['VoiceRecording'],{'as':_0xa45690('0xfb'),'foreignKey':_0xa45690('0x8b')}),db['User'][_0xa45690('0x1b1')](db['UserVoiceQueueRt'],{'as':_0xa45690('0x1f4'),'foreignKey':_0xa45690('0x8b')}),db[_0xa45690('0xba')][_0xa45690('0x1b1')](db['VoiceExtension'],{'as':_0xa45690('0x1a7'),'onDelete':_0xa45690('0x1d5'),'hooks':!![]}),db[_0xa45690('0xba')][_0xa45690('0x1b1')](db['CmHopperFinal'],{'as':'HopperFinals','foreignKey':_0xa45690('0x8b')}),db[_0xa45690('0xba')][_0xa45690('0x1b1')](db[_0xa45690('0x17a')],{'as':_0xa45690('0xce'),'foreignKey':'UserId'}),db['User'][_0xa45690('0x1b1')](db['ReportAgentPreview'],{'as':_0xa45690('0xb'),'foreignKey':_0xa45690('0x8b')}),db[_0xa45690('0xba')][_0xa45690('0x1b1')](db['OpenchannelInteraction'],{'as':'OpenchannelInteractions','foreignKey':_0xa45690('0x8b')}),db[_0xa45690('0xba')]['hasMany'](db[_0xa45690('0x12d')],{'as':_0xa45690('0x4e'),'foreignKey':_0xa45690('0x8b')}),db[_0xa45690('0xba')]['hasMany'](db[_0xa45690('0x15a')],{'as':_0xa45690('0x10a'),'foreignKey':_0xa45690('0x8b')}),db[_0xa45690('0xba')]['hasMany'](db[_0xa45690('0x1a6')],{'as':_0xa45690('0x72'),'foreignKey':_0xa45690('0x8b')}),db[_0xa45690('0xba')][_0xa45690('0x1b1')](db[_0xa45690('0xc8')],{'as':_0xa45690('0x135'),'foreignKey':_0xa45690('0x8b')}),db['User'][_0xa45690('0x1b1')](db['WhatsappInteraction'],{'as':_0xa45690('0x1b3'),'foreignKey':_0xa45690('0x8b')}),db[_0xa45690('0xba')][_0xa45690('0x1b1')](db[_0xa45690('0xae')],{'as':_0xa45690('0x60'),'foreignKey':_0xa45690('0x87')}),db[_0xa45690('0xba')][_0xa45690('0xf3')](db['UserProfile'],{'as':_0xa45690('0x1f2'),'foreignKey':_0xa45690('0x23'),'onDelete':'restrict'}),db[_0xa45690('0xba')][_0xa45690('0x1bc')](db[_0xa45690('0xe2')],{'as':'Groups','through':_0xa45690('0xdd')}),db['User'][_0xa45690('0x1bc')](db[_0xa45690('0x76')],{'as':_0xa45690('0xd7'),'through':_0xa45690('0x139')}),db[_0xa45690('0xba')][_0xa45690('0x1bc')](db['CmList'],{'as':_0xa45690('0x1b4'),'through':_0xa45690('0x2f')}),db['User'][_0xa45690('0x1bc')](db[_0xa45690('0x89')],{'through':_0xa45690('0x147')}),db[_0xa45690('0xba')][_0xa45690('0x1bc')](db[_0xa45690('0xc8')],{'as':_0xa45690('0x29'),'through':_0xa45690('0x1f1')}),db[_0xa45690('0xba')][_0xa45690('0x1bc')](db[_0xa45690('0x12d')],{'as':_0xa45690('0x9'),'through':'user_has_chat_interactions'}),db[_0xa45690('0xba')][_0xa45690('0x1bc')](db[_0xa45690('0x1a6')],{'as':'UserFaxInteractions','through':_0xa45690('0x14c')}),db[_0xa45690('0xba')][_0xa45690('0x1bc')](db[_0xa45690('0x15a')],{'as':'UserSmsInteractions','through':_0xa45690('0x166')}),db['User'][_0xa45690('0x1bc')](db[_0xa45690('0x1e3')],{'as':_0xa45690('0x158'),'through':'user_has_openchannel_interactions'}),db[_0xa45690('0xba')][_0xa45690('0x1bc')](db['WhatsappInteraction'],{'as':_0xa45690('0x49'),'through':_0xa45690('0xd1')}),db[_0xa45690('0xba')][_0xa45690('0x1bc')](db[_0xa45690('0xf7')],{'as':'VoiceQueues','through':'UserVoiceQueue','required':![]}),db['User'][_0xa45690('0x1bc')](db[_0xa45690('0x20')],{'as':_0xa45690('0x90'),'through':_0xa45690('0x145'),'required':![]}),db[_0xa45690('0xba')][_0xa45690('0x1bc')](db['ChatQueue'],{'as':_0xa45690('0xcc'),'through':_0xa45690('0x18f'),'required':![],'hooks':!![]}),db['User'][_0xa45690('0x1bc')](db[_0xa45690('0x3e')],{'as':_0xa45690('0x100'),'through':_0xa45690('0x197'),'required':![]}),db[_0xa45690('0xba')]['belongsToMany'](db['SmsQueue'],{'as':_0xa45690('0x28'),'through':_0xa45690('0x1df'),'required':![]}),db[_0xa45690('0xba')]['belongsToMany'](db[_0xa45690('0xc5')],{'as':'OpenchannelQueues','through':_0xa45690('0x1d1'),'required':![]}),db['User'][_0xa45690('0x1bc')](db[_0xa45690('0x32')],{'as':_0xa45690('0xd'),'through':_0xa45690('0x110'),'required':![]}),db[_0xa45690('0xba')][_0xa45690('0x1bc')](db[_0xa45690('0x1e7')],{'through':_0xa45690('0x2f')}),db['User'][_0xa45690('0x1bc')](db[_0xa45690('0xe1')],{'as':_0xa45690('0x1a3'),'through':_0xa45690('0x10f'),'required':![]}),db[_0xa45690('0xba')][_0xa45690('0x1bc')](db[_0xa45690('0x66')],{'as':_0xa45690('0x36'),'through':'user_has_chat_websites'}),db[_0xa45690('0xba')][_0xa45690('0x1bc')](db[_0xa45690('0x6')],{'as':'FaxAccounts','through':'user_has_fax_accounts'}),db['User']['belongsToMany'](db[_0xa45690('0xac')],{'as':_0xa45690('0x1ac'),'through':'user_has_mail_accounts'}),db['User'][_0xa45690('0x1bc')](db[_0xa45690('0x11')],{'as':_0xa45690('0x155'),'through':'user_has_openchannel_accounts'}),db[_0xa45690('0xba')][_0xa45690('0x1bc')](db[_0xa45690('0xa')],{'as':_0xa45690('0x7e'),'through':'user_has_sms_accounts'}),db[_0xa45690('0xba')][_0xa45690('0x1bc')](db[_0xa45690('0x7f')],{'as':'WhatsappAccounts','through':_0xa45690('0xa2')}),db[_0xa45690('0xba')][_0xa45690('0x1bc')](db[_0xa45690('0xc2')],{'as':_0xa45690('0x1c'),'through':_0xa45690('0x195')}),db['VoiceChanSpy'][_0xa45690('0x1b1')](db['VoiceExtension'],{'as':_0xa45690('0xcf'),'onDelete':'cascade','foreignKey':_0xa45690('0x191')}),db[_0xa45690('0xcb')][_0xa45690('0x1b1')](db['VoiceExtension'],{'onDelete':_0xa45690('0x1d5')}),db[_0xa45690('0x138')]['hasMany'](db[_0xa45690('0x138')],{'as':_0xa45690('0x1cc'),'onDelete':_0xa45690('0x1d5')}),db[_0xa45690('0x1ee')][_0xa45690('0x1bc')](db[_0xa45690('0x1bd')],{'as':_0xa45690('0x167'),'through':_0xa45690('0x11d')}),db[_0xa45690('0xf7')][_0xa45690('0x1b1')](db[_0xa45690('0x194')],{'as':_0xa45690('0x151'),'foreignKey':'VoiceQueueId'}),db[_0xa45690('0xf7')][_0xa45690('0x1b1')](db[_0xa45690('0x168')],{'as':_0xa45690('0x178'),'foreignKey':'VoiceQueueId'}),db['VoiceQueue']['hasMany'](db[_0xa45690('0xeb')],{'as':_0xa45690('0x3f'),'foreignKey':'VoiceQueueId'}),db[_0xa45690('0xf7')][_0xa45690('0x1b1')](db[_0xa45690('0x17a')],{'as':'HopperHistories','foreignKey':_0xa45690('0x7b')}),db[_0xa45690('0xf7')][_0xa45690('0x1b1')](db['ReportAgentPreview'],{'as':_0xa45690('0xb'),'foreignKey':'VoiceQueueId'}),db[_0xa45690('0xf7')]['hasMany'](db['CmHopperBlack'],{'as':_0xa45690('0x63'),'foreignKey':_0xa45690('0x7b')}),db[_0xa45690('0xf7')][_0xa45690('0x1b1')](db['JscriptySessionReport'],{'as':_0xa45690('0x3d'),'foreignKey':_0xa45690('0x7b')}),db[_0xa45690('0xf7')][_0xa45690('0xf3')](db['Trunk'],{'as':'Trunk','foreignKey':_0xa45690('0x1ae')}),db['VoiceQueue'][_0xa45690('0xf3')](db[_0xa45690('0x163')],{'as':_0xa45690('0x1a2'),'foreignKey':'TrunkBackupId'}),db[_0xa45690('0xf7')]['belongsTo'](db[_0xa45690('0xdb')],{'as':_0xa45690('0xdb'),'foreignKey':_0xa45690('0x1ab')}),db[_0xa45690('0xf7')][_0xa45690('0xf3')](db[_0xa45690('0x13a')],{'as':_0xa45690('0x9c'),'foreignKey':_0xa45690('0x180')}),db[_0xa45690('0xf7')][_0xa45690('0x1bc')](db[_0xa45690('0x1e7')],{'as':'Lists','through':'voice_queues_has_cm_lists'}),db[_0xa45690('0xf7')]['belongsToMany'](db[_0xa45690('0xba')],{'as':'Agents','through':_0xa45690('0x1cf')}),db[_0xa45690('0xf7')][_0xa45690('0x1bc')](db[_0xa45690('0x89')],{'as':'Teams','through':_0xa45690('0x9f')}),db['VoiceQueue'][_0xa45690('0x1bc')](db['CmList'],{'as':_0xa45690('0xa9'),'through':_0xa45690('0xa0')}),db['VoiceRecording']['belongsTo'](db[_0xa45690('0xba')],{'as':_0xa45690('0xba'),'foreignKey':_0xa45690('0x8b')}),db[_0xa45690('0xee')][_0xa45690('0xf3')](db['User'],{'as':_0xa45690('0xba'),'foreignKey':_0xa45690('0x8b')}),db[_0xa45690('0xbe')][_0xa45690('0x1b1')](db[_0xa45690('0x1b2')],{'as':_0xa45690('0x125'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0x1a'),'sourceKey':_0xa45690('0x15b')}),db[_0xa45690('0x1b2')][_0xa45690('0xf3')](db[_0xa45690('0xbe')],{'foreignKey':'mailboxuser','targetKey':_0xa45690('0x15b')}),db[_0xa45690('0x5a')][_0xa45690('0x1b1')](db['VoiceQueueReport'],{'as':'QueueCalls','foreignKey':_0xa45690('0x126'),'constraints':![]}),db['VoiceCallReport'][_0xa45690('0x1b1')](db['VoiceAgentReport'],{'as':_0xa45690('0x45'),'foreignKey':_0xa45690('0x126'),'constraints':![]}),db[_0xa45690('0x5a')][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'as':_0xa45690('0xba'),'foreignKey':_0xa45690('0x8b')}),db[_0xa45690('0x5a')]['belongsTo'](db[_0xa45690('0x76')],{'as':_0xa45690('0x104'),'foreignKey':_0xa45690('0x71')}),db['MailAccount'][_0xa45690('0x17')](db[_0xa45690('0x1c8')],{'as':_0xa45690('0xd5'),'foreignKey':_0xa45690('0x114'),'onDelete':_0xa45690('0x1d5')}),db['MailAccount'][_0xa45690('0x17')](db[_0xa45690('0x40')],{'as':'Smtp','foreignKey':_0xa45690('0x114'),'onDelete':'cascade'}),db[_0xa45690('0xac')][_0xa45690('0x1b1')](db[_0xa45690('0x16f')],{'as':'Dispositions','foreignKey':'MailAccountId'}),db[_0xa45690('0xac')][_0xa45690('0x1b1')](db['CannedAnswer'],{'as':_0xa45690('0x144'),'foreignKey':_0xa45690('0x114')}),db[_0xa45690('0xac')]['hasMany'](db[_0xa45690('0x8')],{'as':_0xa45690('0x125'),'foreignKey':'MailAccountId'}),db[_0xa45690('0xac')]['hasMany'](db[_0xa45690('0xc8')],{'as':_0xa45690('0x190')}),db['MailAccount'][_0xa45690('0x1b1')](db[_0xa45690('0x4c')],{'as':_0xa45690('0x1cc')}),db[_0xa45690('0xac')]['belongsTo'](db[_0xa45690('0x1e7')],{'as':'List','foreignKey':_0xa45690('0x17d')}),db['MailAccount'][_0xa45690('0xf3')](db[_0xa45690('0x171')],{'as':'Template','foreignKey':_0xa45690('0x1a8')}),db[_0xa45690('0xac')]['belongsTo'](db[_0xa45690('0x13a')],{'as':_0xa45690('0x9c'),'foreignKey':_0xa45690('0x180')}),db['MailAccount']['belongsToMany'](db[_0xa45690('0xba')],{'as':_0xa45690('0x81'),'through':_0xa45690('0x1e6')}),db[_0xa45690('0x20')][_0xa45690('0x1bc')](db[_0xa45690('0xba')],{'as':_0xa45690('0x81'),'through':_0xa45690('0x145')}),db[_0xa45690('0x20')]['belongsToMany'](db[_0xa45690('0x89')],{'through':'team_has_mail_queues','as':_0xa45690('0x8d')}),db[_0xa45690('0xc8')][_0xa45690('0x1b1')](db[_0xa45690('0x8')],{'as':_0xa45690('0x125'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0x1f3')}),db[_0xa45690('0xc8')][_0xa45690('0xf3')](db[_0xa45690('0xac')],{'as':_0xa45690('0x121'),'foreignKey':_0xa45690('0x114')}),db['MailInteraction'][_0xa45690('0xf3')](db[_0xa45690('0x76')],{'as':_0xa45690('0x104'),'foreignKey':'ContactId'}),db[_0xa45690('0xc8')][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'as':_0xa45690('0x1a4'),'foreignKey':'UserId'}),db['MailInteraction']['belongsToMany'](db[_0xa45690('0x14a')],{'through':_0xa45690('0x37'),'as':_0xa45690('0xd8')}),db[_0xa45690('0xc8')][_0xa45690('0x1bc')](db[_0xa45690('0x14a')],{'through':'mail_interaction_has_tags','as':_0xa45690('0x8f')}),db[_0xa45690('0xc8')][_0xa45690('0x1bc')](db['User'],{'as':_0xa45690('0x13f'),'through':_0xa45690('0x1f1'),'foreignKey':_0xa45690('0x1f3')}),db['MailMessage'][_0xa45690('0x1b1')](db[_0xa45690('0x1aa')],{'as':_0xa45690('0x1f'),'onDelete':_0xa45690('0x1d5')}),db[_0xa45690('0x8')][_0xa45690('0xf3')](db['User'],{'as':_0xa45690('0xba')}),db['MailMessage'][_0xa45690('0xf3')](db['CmContact'],{'onDelete':_0xa45690('0x1d5'),'as':_0xa45690('0x104')}),db[_0xa45690('0x8')][_0xa45690('0xf3')](db[_0xa45690('0xc8')],{'as':_0xa45690('0x1af'),'foreignKey':_0xa45690('0x1f3')}),db['MailMessage'][_0xa45690('0xf3')](db['MailAccount'],{'as':_0xa45690('0x121'),'foreignKey':_0xa45690('0x114')}),db[_0xa45690('0x4c')][_0xa45690('0xf3')](db['User'],{'onDelete':'restrict'}),db['MailApplication'][_0xa45690('0xf3')](db[_0xa45690('0x20')],{'onDelete':_0xa45690('0x118')}),db[_0xa45690('0x4c')][_0xa45690('0xf3')](db[_0xa45690('0xac')],{'onDelete':_0xa45690('0x118')}),db['MailApplication']['belongsTo'](db[_0xa45690('0xdb')],{'onDelete':_0xa45690('0x118'),'foreignKey':_0xa45690('0x1ab')}),db[_0xa45690('0x4c')][_0xa45690('0xf3')](db['Tag'],{'onDelete':_0xa45690('0x118'),'foreignKey':_0xa45690('0x1ed')}),db[_0xa45690('0x30')]['belongsTo'](db[_0xa45690('0xac')],{}),db[_0xa45690('0x30')]['belongsTo'](db[_0xa45690('0x1e7')],{'as':_0xa45690('0x115'),'foreignKey':_0xa45690('0x17d')}),db[_0xa45690('0x30')][_0xa45690('0xf3')](db['CmContact'],{'as':_0xa45690('0x104'),'foreignKey':_0xa45690('0x71')}),db['MailQueueReport'][_0xa45690('0xf3')](db[_0xa45690('0xc8')],{}),db[_0xa45690('0x30')][_0xa45690('0xf3')](db[_0xa45690('0x8')],{}),db[_0xa45690('0x30')][_0xa45690('0xf3')](db[_0xa45690('0xba')],{}),db[_0xa45690('0x30')]['belongsTo'](db['MailQueue'],{}),db[_0xa45690('0x6b')][_0xa45690('0x1b1')](db[_0xa45690('0x160')],{'as':_0xa45690('0x18a'),'onDelete':'cascade'}),db[_0xa45690('0x6')][_0xa45690('0x1b1')](db[_0xa45690('0x16f')],{'as':_0xa45690('0x46'),'foreignKey':_0xa45690('0x1a1')}),db[_0xa45690('0x6')][_0xa45690('0x1b1')](db['CannedAnswer'],{'as':_0xa45690('0x144'),'foreignKey':_0xa45690('0x1a1')}),db[_0xa45690('0x6')]['hasMany'](db[_0xa45690('0x1a6')],{'as':_0xa45690('0x190')}),db[_0xa45690('0x6')][_0xa45690('0x1b1')](db[_0xa45690('0xbf')],{'as':_0xa45690('0x1cc')}),db[_0xa45690('0x6')][_0xa45690('0x1b1')](db[_0xa45690('0x138')],{'as':_0xa45690('0x1cd'),'onDelete':_0xa45690('0x1d5')}),db['FaxAccount'][_0xa45690('0x1b1')](db[_0xa45690('0x3b')],{'as':_0xa45690('0x125')}),db[_0xa45690('0x6')][_0xa45690('0xf3')](db['Trunk'],{'as':_0xa45690('0x163')}),db[_0xa45690('0x6')][_0xa45690('0xf3')](db[_0xa45690('0x1e7')],{'as':_0xa45690('0x115'),'foreignKey':_0xa45690('0x17d')}),db['FaxAccount'][_0xa45690('0xf3')](db[_0xa45690('0x13a')],{'as':_0xa45690('0x9c'),'foreignKey':'mandatoryDispositionPauseId'}),db[_0xa45690('0x6')][_0xa45690('0x1bc')](db[_0xa45690('0xba')],{'as':_0xa45690('0x81'),'through':_0xa45690('0x181')}),db['FaxApplication'][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'onDelete':_0xa45690('0x118')}),db['FaxApplication'][_0xa45690('0xf3')](db[_0xa45690('0x3e')],{'onDelete':'restrict'}),db['FaxApplication'][_0xa45690('0xf3')](db['FaxAccount'],{'onDelete':_0xa45690('0x118')}),db['FaxApplication'][_0xa45690('0xf3')](db['Tag'],{'onDelete':_0xa45690('0x118'),'foreignKey':_0xa45690('0x1ed')}),db[_0xa45690('0x1a6')][_0xa45690('0x1b1')](db[_0xa45690('0x3b')],{'as':'Messages','onDelete':_0xa45690('0x1d5'),'foreignKey':'FaxInteractionId'}),db[_0xa45690('0x1a6')]['belongsTo'](db[_0xa45690('0x6')],{'as':_0xa45690('0x121'),'foreignKey':'FaxAccountId'}),db[_0xa45690('0x1a6')]['belongsTo'](db[_0xa45690('0x76')],{'as':_0xa45690('0x104'),'foreignKey':_0xa45690('0x71')}),db[_0xa45690('0x1a6')][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'as':'Owner','foreignKey':'UserId'}),db[_0xa45690('0x1a6')][_0xa45690('0x1bc')](db[_0xa45690('0x14a')],{'through':_0xa45690('0x192'),'as':_0xa45690('0xd8')}),db[_0xa45690('0x1a6')][_0xa45690('0x1bc')](db[_0xa45690('0x14a')],{'through':_0xa45690('0x192'),'as':_0xa45690('0x8f')}),db[_0xa45690('0x1a6')][_0xa45690('0x1bc')](db[_0xa45690('0xba')],{'as':'Users','through':'user_has_fax_interactions','foreignKey':_0xa45690('0xb0')}),db[_0xa45690('0x3b')][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'onDelete':'cascade','as':_0xa45690('0xba')}),db['FaxMessage'][_0xa45690('0xf3')](db['FaxInteraction'],{'as':_0xa45690('0x1af'),'foreignKey':_0xa45690('0xb0')}),db['FaxMessage']['belongsTo'](db['CmContact'],{'onDelete':_0xa45690('0x1d5'),'as':'Contact'}),db[_0xa45690('0x3b')][_0xa45690('0xf3')](db[_0xa45690('0x1aa')],{'as':'Attachment','foreignKey':_0xa45690('0x1b8')}),db[_0xa45690('0x3b')]['belongsTo'](db[_0xa45690('0x6')],{'as':_0xa45690('0x121'),'foreignKey':'FaxAccountId'}),db[_0xa45690('0x3e')][_0xa45690('0x1bc')](db[_0xa45690('0xba')],{'as':'Agents','through':'UserFaxQueue'}),db[_0xa45690('0x3e')][_0xa45690('0x1bc')](db[_0xa45690('0x89')],{'through':'team_has_fax_queues','as':'Teams'}),db[_0xa45690('0x47')][_0xa45690('0xf3')](db['FaxAccount'],{}),db[_0xa45690('0x47')][_0xa45690('0xf3')](db['CmList'],{'as':'List','foreignKey':'ListId'}),db[_0xa45690('0x47')][_0xa45690('0xf3')](db['CmContact'],{'as':'Contact','foreignKey':_0xa45690('0x71')}),db['FaxQueueReport'][_0xa45690('0xf3')](db['FaxInteraction'],{}),db[_0xa45690('0x47')][_0xa45690('0xf3')](db[_0xa45690('0x3b')],{}),db[_0xa45690('0x47')][_0xa45690('0xf3')](db['User'],{}),db[_0xa45690('0x47')][_0xa45690('0xf3')](db['FaxQueue'],{}),db['SmsAccount']['hasMany'](db[_0xa45690('0x16f')],{'as':_0xa45690('0x46'),'foreignKey':_0xa45690('0xd2')}),db[_0xa45690('0xa')]['hasMany'](db[_0xa45690('0x4')],{'as':_0xa45690('0x144'),'foreignKey':_0xa45690('0xd2')}),db[_0xa45690('0xa')][_0xa45690('0x1b1')](db[_0xa45690('0x39')],{'as':_0xa45690('0x125'),'foreignKey':_0xa45690('0xd2')}),db['SmsAccount']['hasMany'](db['SmsInteraction'],{'as':_0xa45690('0x190')}),db[_0xa45690('0xa')]['hasMany'](db[_0xa45690('0x130')],{'as':'Applications'}),db[_0xa45690('0xa')][_0xa45690('0xf3')](db[_0xa45690('0x1e7')],{'as':_0xa45690('0x115'),'foreignKey':_0xa45690('0x17d')}),db[_0xa45690('0xa')][_0xa45690('0xf3')](db['Pause'],{'as':_0xa45690('0x9c'),'foreignKey':'mandatoryDispositionPauseId'}),db[_0xa45690('0xa')][_0xa45690('0x1bc')](db[_0xa45690('0xba')],{'as':_0xa45690('0x81'),'through':_0xa45690('0xd6')}),db['SmsApplication'][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'onDelete':_0xa45690('0x118')}),db['SmsApplication'][_0xa45690('0xf3')](db[_0xa45690('0x106')],{'onDelete':_0xa45690('0x118')}),db[_0xa45690('0x130')][_0xa45690('0xf3')](db[_0xa45690('0xa')],{'onDelete':_0xa45690('0x118')}),db[_0xa45690('0x130')][_0xa45690('0xf3')](db['Interval'],{'onDelete':'restrict','foreignKey':_0xa45690('0x1ab')}),db[_0xa45690('0x130')]['belongsTo'](db[_0xa45690('0x14a')],{'onDelete':'restrict','foreignKey':'TagId'}),db['SmsInteraction']['hasMany'](db['SmsMessage'],{'as':_0xa45690('0x125'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0x1')}),db[_0xa45690('0x15a')][_0xa45690('0xf3')](db[_0xa45690('0xa')],{'as':_0xa45690('0x121'),'foreignKey':_0xa45690('0xd2')}),db[_0xa45690('0x15a')][_0xa45690('0xf3')](db['CmContact'],{'as':'Contact','foreignKey':_0xa45690('0x71')}),db[_0xa45690('0x15a')][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'as':'Owner','foreignKey':_0xa45690('0x8b')}),db[_0xa45690('0x15a')][_0xa45690('0x1bc')](db[_0xa45690('0x14a')],{'through':_0xa45690('0x70'),'as':_0xa45690('0xd8')}),db['SmsInteraction'][_0xa45690('0x1bc')](db[_0xa45690('0x14a')],{'through':_0xa45690('0x70'),'as':_0xa45690('0x8f')}),db['SmsInteraction']['belongsToMany'](db['User'],{'as':'Users','through':_0xa45690('0x166'),'foreignKey':'SmsInteractionId'}),db[_0xa45690('0x39')]['belongsTo'](db['User'],{'as':_0xa45690('0xba')}),db[_0xa45690('0x39')][_0xa45690('0xf3')](db[_0xa45690('0x76')],{'onDelete':_0xa45690('0x1d5'),'as':_0xa45690('0x104')}),db[_0xa45690('0x39')][_0xa45690('0xf3')](db[_0xa45690('0x15a')],{'onDelete':_0xa45690('0x1d5'),'as':'Interaction','foreignKey':'SmsInteractionId'}),db['SmsMessage'][_0xa45690('0xf3')](db[_0xa45690('0xa')],{'as':'Account','foreignKey':_0xa45690('0xd2')}),db[_0xa45690('0x106')][_0xa45690('0x1bc')](db[_0xa45690('0xba')],{'as':_0xa45690('0x81'),'through':_0xa45690('0x1df'),'foreignKey':_0xa45690('0x84')}),db[_0xa45690('0x106')][_0xa45690('0x1bc')](db['Team'],{'through':_0xa45690('0x42'),'as':_0xa45690('0x8d')}),db[_0xa45690('0x11')][_0xa45690('0x1b1')](db[_0xa45690('0x16f')],{'as':_0xa45690('0x46'),'foreignKey':_0xa45690('0x1bb')}),db[_0xa45690('0x11')]['hasMany'](db[_0xa45690('0x4')],{'as':_0xa45690('0x144'),'foreignKey':_0xa45690('0x1bb')}),db[_0xa45690('0x11')]['hasMany'](db[_0xa45690('0x1e3')],{'as':'Interactions','foreignKey':_0xa45690('0x1bb')}),db[_0xa45690('0x11')]['hasMany'](db[_0xa45690('0x18c')],{'as':_0xa45690('0x125'),'foreignKey':'OpenchannelAccountId'}),db['OpenchannelAccount'][_0xa45690('0x1b1')](db[_0xa45690('0x12e')],{'as':_0xa45690('0x1cc'),'foreignKey':_0xa45690('0x1bb')}),db[_0xa45690('0x11')]['belongsTo'](db[_0xa45690('0x1e7')],{'as':_0xa45690('0x115'),'foreignKey':'ListId'}),db[_0xa45690('0x11')][_0xa45690('0xf3')](db[_0xa45690('0x13a')],{'as':_0xa45690('0x9c'),'foreignKey':'mandatoryDispositionPauseId'}),db['OpenchannelAccount'][_0xa45690('0x1bc')](db[_0xa45690('0xba')],{'as':_0xa45690('0x81'),'through':_0xa45690('0x1eb')}),db[_0xa45690('0x12e')]['belongsTo'](db[_0xa45690('0xba')],{'onDelete':_0xa45690('0x118')}),db[_0xa45690('0x12e')][_0xa45690('0xf3')](db['OpenchannelQueue'],{'onDelete':_0xa45690('0x118'),'foreignKey':_0xa45690('0x68')}),db[_0xa45690('0x12e')]['belongsTo'](db['OpenchannelAccount'],{'onDelete':_0xa45690('0x118'),'foreignKey':'OpenchannelAccountId'}),db['OpenchannelApplication']['belongsTo'](db[_0xa45690('0xdb')],{'onDelete':_0xa45690('0x118'),'foreignKey':_0xa45690('0x1ab')}),db[_0xa45690('0x12e')][_0xa45690('0xf3')](db[_0xa45690('0x14a')],{'onDelete':_0xa45690('0x118'),'foreignKey':_0xa45690('0x1ed')}),db[_0xa45690('0x1e3')]['hasMany'](db[_0xa45690('0x18c')],{'as':_0xa45690('0x125'),'onDelete':_0xa45690('0x1d5'),'foreignKey':'OpenchannelInteractionId'}),db[_0xa45690('0x1e3')][_0xa45690('0xf3')](db[_0xa45690('0x11')],{'as':'Account','foreignKey':_0xa45690('0x1bb')}),db['OpenchannelInteraction'][_0xa45690('0xf3')](db['CmContact'],{'as':_0xa45690('0x104'),'foreignKey':'ContactId'}),db['OpenchannelInteraction'][_0xa45690('0xf3')](db['User'],{'as':_0xa45690('0x1a4'),'foreignKey':_0xa45690('0x8b')}),db[_0xa45690('0x1e3')][_0xa45690('0x1bc')](db[_0xa45690('0x14a')],{'through':_0xa45690('0xa7'),'as':_0xa45690('0xd8')}),db['OpenchannelInteraction'][_0xa45690('0x1bc')](db['Tag'],{'through':_0xa45690('0xa7'),'as':_0xa45690('0x8f')}),db[_0xa45690('0x1e3')][_0xa45690('0x1bc')](db[_0xa45690('0xba')],{'as':_0xa45690('0x13f'),'through':_0xa45690('0x174'),'foreignKey':_0xa45690('0x176')}),db['OpenchannelMessage']['belongsTo'](db[_0xa45690('0xba')],{'onDelete':_0xa45690('0x1d5'),'as':_0xa45690('0xba')}),db[_0xa45690('0x18c')][_0xa45690('0xf3')](db['CmContact'],{'onDelete':'cascade','as':_0xa45690('0x104')}),db[_0xa45690('0x18c')]['belongsTo'](db['OpenchannelInteraction'],{'onDelete':_0xa45690('0x1d5'),'as':_0xa45690('0x1af'),'foreignKey':_0xa45690('0x176')}),db[_0xa45690('0x18c')][_0xa45690('0xf3')](db[_0xa45690('0x1aa')],{'as':_0xa45690('0x1aa'),'foreignKey':_0xa45690('0x1b8')}),db['OpenchannelMessage']['belongsTo'](db[_0xa45690('0x11')],{'as':'Account','foreignKey':_0xa45690('0x1bb')}),db[_0xa45690('0xc5')]['belongsToMany'](db[_0xa45690('0xba')],{'as':_0xa45690('0x81'),'through':'UserOpenchannelQueue','foreignKey':_0xa45690('0x68')}),db[_0xa45690('0xc5')][_0xa45690('0x1bc')](db['Team'],{'through':_0xa45690('0x1c3'),'as':_0xa45690('0x8d')}),db[_0xa45690('0x66')][_0xa45690('0x1b1')](db[_0xa45690('0x16f')],{'as':'Dispositions','foreignKey':'ChatWebsiteId'}),db['ChatWebsite']['hasMany'](db[_0xa45690('0x4')],{'as':_0xa45690('0x144'),'foreignKey':_0xa45690('0xc4')}),db[_0xa45690('0x66')][_0xa45690('0x1b1')](db[_0xa45690('0xb8')],{'as':'ProactiveActions'}),db[_0xa45690('0x66')][_0xa45690('0x1b1')](db[_0xa45690('0x12d')],{'as':_0xa45690('0x190')}),db['ChatWebsite'][_0xa45690('0x1b1')](db[_0xa45690('0x0')],{'as':'Applications'}),db[_0xa45690('0x66')][_0xa45690('0x1b1')](db[_0xa45690('0x10d')],{'as':'Messages'}),db[_0xa45690('0x66')][_0xa45690('0xf3')](db[_0xa45690('0x1e7')],{'as':'List','foreignKey':_0xa45690('0x17d')}),db['ChatWebsite'][_0xa45690('0xf3')](db['Interval'],{'as':_0xa45690('0xdb'),'foreignKey':'IntervalId'}),db[_0xa45690('0x66')][_0xa45690('0xf3')](db[_0xa45690('0x13a')],{'as':'mandatoryDispositionPause','foreignKey':_0xa45690('0x180')}),db[_0xa45690('0x66')][_0xa45690('0x1bc')](db[_0xa45690('0xba')],{'as':_0xa45690('0x81'),'through':_0xa45690('0x107')}),db[_0xa45690('0x6d')]['belongsTo'](db[_0xa45690('0x11')],{}),db[_0xa45690('0x6d')]['belongsTo'](db[_0xa45690('0x1e7')],{'as':'List','foreignKey':_0xa45690('0x17d')}),db[_0xa45690('0x6d')][_0xa45690('0xf3')](db['CmContact'],{'as':_0xa45690('0x104'),'foreignKey':'ContactId'}),db[_0xa45690('0x6d')]['belongsTo'](db[_0xa45690('0x1e3')],{}),db[_0xa45690('0x6d')][_0xa45690('0xf3')](db['OpenchannelMessage'],{}),db[_0xa45690('0x6d')]['belongsTo'](db['User'],{}),db[_0xa45690('0x6d')]['belongsTo'](db[_0xa45690('0xc5')],{}),db[_0xa45690('0x0')][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'as':_0xa45690('0x12a'),'foreignKey':_0xa45690('0x8b'),'onDelete':_0xa45690('0x118')}),db['ChatApplication'][_0xa45690('0xf3')](db[_0xa45690('0x19d')],{'as':_0xa45690('0x43'),'foreignKey':_0xa45690('0x1d3'),'onDelete':_0xa45690('0x118')}),db['ChatApplication'][_0xa45690('0xf3')](db[_0xa45690('0x66')],{'as':_0xa45690('0x1b0'),'foreignKey':'ChatWebsiteId','onDelete':_0xa45690('0x118')}),db[_0xa45690('0x0')][_0xa45690('0xf3')](db[_0xa45690('0x14a')],{'onDelete':_0xa45690('0x118'),'foreignKey':_0xa45690('0x1ed')}),db[_0xa45690('0x12d')][_0xa45690('0x1b1')](db[_0xa45690('0x10d')],{'as':'Messages','onDelete':'cascade','foreignKey':'ChatInteractionId'}),db[_0xa45690('0x12d')]['belongsTo'](db[_0xa45690('0x66')],{'as':_0xa45690('0x121'),'foreignKey':'ChatWebsiteId'}),db['ChatInteraction']['belongsTo'](db[_0xa45690('0x76')],{'as':_0xa45690('0x104'),'foreignKey':'ContactId'}),db['ChatInteraction'][_0xa45690('0xf3')](db['User'],{'as':_0xa45690('0x1a4'),'foreignKey':_0xa45690('0x8b')}),db['ChatInteraction'][_0xa45690('0x1bc')](db['Tag'],{'through':_0xa45690('0x95'),'as':'Tags'}),db[_0xa45690('0x12d')][_0xa45690('0x1bc')](db[_0xa45690('0x14a')],{'through':_0xa45690('0x95'),'as':_0xa45690('0x8f')}),db[_0xa45690('0x12d')][_0xa45690('0x1bc')](db['User'],{'as':'Users','through':_0xa45690('0x22'),'foreignKey':_0xa45690('0xbd')}),db[_0xa45690('0x10d')][_0xa45690('0xf3')](db['User'],{'onDelete':_0xa45690('0x1d5'),'as':_0xa45690('0xba')}),db[_0xa45690('0x10d')]['belongsTo'](db['CmContact'],{'onDelete':'cascade','as':_0xa45690('0x104'),'foreignKey':_0xa45690('0x71')}),db[_0xa45690('0x10d')][_0xa45690('0xf3')](db[_0xa45690('0x12d')],{'onDelete':'cascade','as':_0xa45690('0x1af'),'foreignKey':_0xa45690('0xbd')}),db['ChatMessage'][_0xa45690('0xf3')](db[_0xa45690('0x1aa')],{'as':_0xa45690('0x1aa'),'foreignKey':_0xa45690('0x1b8')}),db[_0xa45690('0x10d')][_0xa45690('0xf3')](db['ChatWebsite'],{'as':'Account','foreignKey':_0xa45690('0xc4')}),db[_0xa45690('0xf5')][_0xa45690('0xf3')](db[_0xa45690('0x76')],{'onDelete':'cascade','as':_0xa45690('0x104'),'foreignKey':_0xa45690('0x71')}),db[_0xa45690('0xf5')]['belongsTo'](db['ChatWebsite'],{'as':'Account','foreignKey':'ChatWebsiteId'}),db['ChatQueue'][_0xa45690('0x1bc')](db[_0xa45690('0xba')],{'as':_0xa45690('0x81'),'through':'UserChatQueue','hooks':!![]}),db[_0xa45690('0x19d')][_0xa45690('0x1bc')](db[_0xa45690('0x89')],{'through':_0xa45690('0xaf'),'as':_0xa45690('0x8d')}),db[_0xa45690('0xe2')][_0xa45690('0x1b1')](db['ChatInternalMessage'],{'as':_0xa45690('0x125'),'foreignKey':_0xa45690('0x11a'),'onDelete':_0xa45690('0x1d5')}),db[_0xa45690('0xe2')]['belongsToMany'](db[_0xa45690('0xba')],{'as':'Members','through':_0xa45690('0xdd')}),db[_0xa45690('0xb8')][_0xa45690('0xf3')](db[_0xa45690('0x66')],{'as':_0xa45690('0x1b0'),'foreignKey':_0xa45690('0xc4')}),db['CmCompany']['hasMany'](db['CmContact'],{'as':_0xa45690('0xd7'),'foreignKey':_0xa45690('0xbb')}),db[_0xa45690('0x76')]['hasMany'](db[_0xa45690('0x168')],{'as':'Hoppers','foreignKey':'ContactId'}),db[_0xa45690('0x76')][_0xa45690('0x1b1')](db[_0xa45690('0xeb')],{'as':'HopperFinals','foreignKey':_0xa45690('0x71')}),db[_0xa45690('0x76')][_0xa45690('0x1b1')](db[_0xa45690('0x17a')],{'as':_0xa45690('0x1e'),'foreignKey':_0xa45690('0x71')}),db[_0xa45690('0x76')][_0xa45690('0x1b1')](db[_0xa45690('0xb')],{'as':_0xa45690('0xb'),'foreignKey':_0xa45690('0x71')}),db[_0xa45690('0x76')][_0xa45690('0x1b1')](db[_0xa45690('0x172')],{'as':_0xa45690('0x3d'),'foreignKey':_0xa45690('0x71')}),db[_0xa45690('0x76')][_0xa45690('0x1b1')](db[_0xa45690('0x1e3')],{'as':_0xa45690('0x2'),'foreignKey':_0xa45690('0x71'),'onDelete':_0xa45690('0x118')}),db[_0xa45690('0x76')][_0xa45690('0x1b1')](db[_0xa45690('0x12d')],{'as':_0xa45690('0x4e'),'foreignKey':_0xa45690('0x71'),'onDelete':'restrict'}),db[_0xa45690('0x76')]['hasMany'](db[_0xa45690('0x15a')],{'as':_0xa45690('0x10a'),'foreignKey':_0xa45690('0x71'),'onDelete':_0xa45690('0x118')}),db['CmContact'][_0xa45690('0x1b1')](db[_0xa45690('0x1a6')],{'as':'FaxInteractions','foreignKey':_0xa45690('0x71'),'onDelete':_0xa45690('0x118')}),db[_0xa45690('0x76')][_0xa45690('0x1b1')](db[_0xa45690('0xc8')],{'as':_0xa45690('0x135'),'foreignKey':_0xa45690('0x71'),'onDelete':_0xa45690('0x118')}),db[_0xa45690('0x76')]['belongsTo'](db['CmCompany'],{'as':'Company','foreignKey':_0xa45690('0xbb')}),db[_0xa45690('0x76')][_0xa45690('0xf3')](db[_0xa45690('0x1e7')],{'as':_0xa45690('0x115'),'foreignKey':_0xa45690('0x17d'),'onDelete':'cascade'}),db[_0xa45690('0x76')][_0xa45690('0x1bc')](db[_0xa45690('0xba')],{'as':'Users','through':_0xa45690('0x139')}),db[_0xa45690('0x76')][_0xa45690('0x1bc')](db[_0xa45690('0x14a')],{'as':'Tags','through':_0xa45690('0xab')}),db[_0xa45690('0x76')][_0xa45690('0x1bc')](db[_0xa45690('0x14a')],{'through':_0xa45690('0xab'),'as':_0xa45690('0x8f')}),db[_0xa45690('0x168')]['belongsTo'](db[_0xa45690('0x76')],{'as':'Contact','foreignKey':'ContactId','onDelete':_0xa45690('0x1d5')}),db[_0xa45690('0x168')][_0xa45690('0xf3')](db[_0xa45690('0x1e7')],{'as':_0xa45690('0x115'),'foreignKey':'ListId','onDelete':_0xa45690('0x1d5')}),db['CmHopper'][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'as':_0xa45690('0x12a'),'foreignKey':_0xa45690('0x8b')}),db['CmHopper'][_0xa45690('0xf3')](db[_0xa45690('0xf7')],{'as':_0xa45690('0x43'),'foreignKey':_0xa45690('0x7b'),'onDelete':'cascade'}),db[_0xa45690('0x168')]['belongsTo'](db[_0xa45690('0xfa')],{'as':'Campaign','foreignKey':_0xa45690('0x141'),'onDelete':_0xa45690('0x1d5')}),db[_0xa45690('0x168')]['belongsTo'](db['User'],{'as':_0xa45690('0x1a4'),'foreignKey':_0xa45690('0xe8')}),db[_0xa45690('0x127')]['belongsTo'](db[_0xa45690('0x76')],{'as':_0xa45690('0x104'),'foreignKey':_0xa45690('0x71'),'onDelete':_0xa45690('0x1d5')}),db[_0xa45690('0x127')][_0xa45690('0xf3')](db[_0xa45690('0x1e7')],{'as':'List','foreignKey':_0xa45690('0x17d'),'onDelete':_0xa45690('0x1d5')}),db[_0xa45690('0x127')][_0xa45690('0xf3')](db['VoiceQueue'],{'as':_0xa45690('0x43'),'foreignKey':_0xa45690('0x7b'),'onDelete':'cascade'}),db[_0xa45690('0x127')][_0xa45690('0xf3')](db[_0xa45690('0xfa')],{'as':_0xa45690('0xfa'),'foreignKey':'CampaignId','onDelete':_0xa45690('0x1d5')}),db[_0xa45690('0x1be')][_0xa45690('0x1b1')](db[_0xa45690('0x15e')],{'as':{'plural':_0xa45690('0x131'),'singular':_0xa45690('0x134')},'foreignKey':_0xa45690('0x5f'),'onDelete':_0xa45690('0x1d5'),'hooks':!![]}),db[_0xa45690('0x1be')]['hasMany'](db[_0xa45690('0x15e')],{'as':{'plural':_0xa45690('0x15c'),'singular':'OneAny'},'foreignKey':_0xa45690('0x11b'),'onDelete':_0xa45690('0x1d5'),'hooks':!![]}),db[_0xa45690('0x1be')][_0xa45690('0x1b1')](db[_0xa45690('0x41')],{'as':_0xa45690('0x103'),'foreignKey':_0xa45690('0x86'),'onDelete':_0xa45690('0x1d5'),'hooks':!![]}),db[_0xa45690('0x16f')]['hasMany'](db[_0xa45690('0x16f')],{'as':_0xa45690('0x46'),'foreignKey':_0xa45690('0x4d'),'onDelete':_0xa45690('0x1d5')}),db[_0xa45690('0xdb')][_0xa45690('0x1b1')](db[_0xa45690('0xdb')],{'as':_0xa45690('0xfc'),'foreignKey':_0xa45690('0x1ab'),'onDelete':_0xa45690('0x1d5'),'hooks':!![],'required':![]}),db[_0xa45690('0xdb')][_0xa45690('0x1b1')](db[_0xa45690('0x138')],{'as':'Extensions','foreignKey':'IntervalId','onDelete':_0xa45690('0x118')}),db[_0xa45690('0xdb')][_0xa45690('0x1b1')](db[_0xa45690('0x4c')],{'as':_0xa45690('0x9a'),'foreignKey':_0xa45690('0x1ab')}),db[_0xa45690('0xdb')][_0xa45690('0x1b1')](db[_0xa45690('0x0')],{'as':'ChatApplications','foreignKey':_0xa45690('0x1ab')}),db[_0xa45690('0xdb')][_0xa45690('0x1b1')](db['FaxApplication'],{'as':'FaxApplications','foreignKey':_0xa45690('0x1ab')}),db[_0xa45690('0xdb')]['hasMany'](db[_0xa45690('0x130')],{'as':_0xa45690('0x92'),'foreignKey':'IntervalId'}),db[_0xa45690('0xc')][_0xa45690('0xf3')](db[_0xa45690('0xac')],{}),db[_0xa45690('0xc')][_0xa45690('0xf3')](db[_0xa45690('0x1cb')],{'foreignKey':'DefaultReportId'}),db[_0xa45690('0xc')]['belongsTo'](db[_0xa45690('0xcd')],{'foreignKey':_0xa45690('0x56')}),db[_0xa45690('0x1bd')][_0xa45690('0x1bc')](db[_0xa45690('0x1ee')],{'as':'Mohs','through':_0xa45690('0x11d'),'onDelete':_0xa45690('0x118')}),db[_0xa45690('0x14a')][_0xa45690('0x1bc')](db[_0xa45690('0x76')],{'through':_0xa45690('0xab')}),db[_0xa45690('0x14a')]['belongsToMany'](db[_0xa45690('0x12d')],{'through':_0xa45690('0x95')}),db[_0xa45690('0x14a')]['belongsToMany'](db[_0xa45690('0xc8')],{'through':'mail_interaction_has_tags'}),db[_0xa45690('0x14a')][_0xa45690('0x1bc')](db[_0xa45690('0x15a')],{'through':_0xa45690('0x70')}),db[_0xa45690('0x14a')][_0xa45690('0x1bc')](db[_0xa45690('0x1a6')],{'through':_0xa45690('0x192')}),db[_0xa45690('0x14a')][_0xa45690('0x1bc')](db[_0xa45690('0x1e3')],{'through':_0xa45690('0xa7')}),db[_0xa45690('0x14a')][_0xa45690('0x1bc')](db['WhatsappInteraction'],{'through':_0xa45690('0x156')}),db['Trigger']['hasMany'](db[_0xa45690('0x15e')],{'as':{'plural':'AllConditions','singular':_0xa45690('0x38')},'foreignKey':_0xa45690('0x3c'),'onDelete':_0xa45690('0x1d5'),'hooks':!![]}),db[_0xa45690('0x161')][_0xa45690('0x1b1')](db[_0xa45690('0x15e')],{'as':{'plural':_0xa45690('0x6c'),'singular':_0xa45690('0x94')},'foreignKey':_0xa45690('0x74'),'onDelete':_0xa45690('0x1d5'),'hooks':!![]}),db[_0xa45690('0x161')][_0xa45690('0x1b1')](db[_0xa45690('0x41')],{'as':_0xa45690('0x103'),'foreignKey':_0xa45690('0x112'),'onDelete':_0xa45690('0x1d5'),'hooks':!![]}),db[_0xa45690('0xcd')][_0xa45690('0x1b1')](db[_0xa45690('0x13b')],{'as':_0xa45690('0x1ad'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0x56'),'hooks':!![]}),db['AnalyticDefaultReport'][_0xa45690('0x1b1')](db[_0xa45690('0x13b')],{'as':'Fields','onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0x97')}),db[_0xa45690('0x14d')][_0xa45690('0x1b1')](db[_0xa45690('0x13b')],{'as':_0xa45690('0x1ad'),'onDelete':'cascade','foreignKey':_0xa45690('0x179')}),db[_0xa45690('0x13b')][_0xa45690('0xf3')](db[_0xa45690('0x14d')],{'foreignKey':_0xa45690('0x179')}),db['SalesforceAccount'][_0xa45690('0x1b1')](db['SalesforceConfiguration'],{'as':_0xa45690('0x16a'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0xc9')}),db['SalesforceConfiguration'][_0xa45690('0x1b1')](db[_0xa45690('0xe4')],{'as':'Subjects','onDelete':'cascade','foreignKey':_0xa45690('0x3')}),db['SalesforceConfiguration'][_0xa45690('0x1b1')](db[_0xa45690('0xe4')],{'as':_0xa45690('0x102'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0xfd')}),db[_0xa45690('0xef')][_0xa45690('0x1b1')](db[_0xa45690('0xe4')],{'as':_0xa45690('0x1ad'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0x1bf')}),db[_0xa45690('0xef')][_0xa45690('0xf3')](db[_0xa45690('0x1ce')],{'as':_0xa45690('0x121'),'foreignKey':_0xa45690('0xc9')}),db['SalesforceField'][_0xa45690('0x1b1')](db['SalesforceField'],{'as':_0xa45690('0x59'),'foreignKey':'SubjectId'}),db[_0xa45690('0xe4')][_0xa45690('0x1b1')](db[_0xa45690('0xe4')],{'as':_0xa45690('0x146'),'foreignKey':_0xa45690('0xfd')}),db[_0xa45690('0xe4')][_0xa45690('0x1b1')](db[_0xa45690('0xe4')],{'as':_0xa45690('0x111'),'foreignKey':_0xa45690('0x1bf')}),db[_0xa45690('0xe4')][_0xa45690('0xf3')](db[_0xa45690('0x5')],{'as':_0xa45690('0x5'),'foreignKey':_0xa45690('0x13e')}),db[_0xa45690('0x99')]['hasMany'](db[_0xa45690('0xa8')],{'as':_0xa45690('0x16a'),'onDelete':_0xa45690('0x1d5'),'foreignKey':'AccountId'}),db[_0xa45690('0xa8')][_0xa45690('0x1b1')](db[_0xa45690('0xe7')],{'as':_0xa45690('0x15'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0x3')}),db[_0xa45690('0xa8')][_0xa45690('0x1b1')](db[_0xa45690('0xe7')],{'as':_0xa45690('0x102'),'onDelete':'cascade','foreignKey':_0xa45690('0xfd')}),db[_0xa45690('0xa8')][_0xa45690('0x1b1')](db['SugarcrmField'],{'as':_0xa45690('0x1ad'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0x1bf')}),db[_0xa45690('0xa8')][_0xa45690('0xf3')](db[_0xa45690('0x99')],{'as':'Account','foreignKey':_0xa45690('0xc9')}),db['SugarcrmField'][_0xa45690('0x1b1')](db[_0xa45690('0xe7')],{'as':'Subject','foreignKey':_0xa45690('0x3')}),db['SugarcrmField'][_0xa45690('0x1b1')](db['SugarcrmField'],{'as':_0xa45690('0x146'),'foreignKey':'DescriptionId'}),db['SugarcrmField'][_0xa45690('0x1b1')](db[_0xa45690('0xe7')],{'as':_0xa45690('0x111'),'foreignKey':_0xa45690('0x1bf')}),db[_0xa45690('0xe7')][_0xa45690('0xf3')](db[_0xa45690('0x5')],{'as':'Variable','foreignKey':_0xa45690('0x13e')}),db[_0xa45690('0x1dc')][_0xa45690('0x1b1')](db['DeskConfiguration'],{'as':_0xa45690('0x16a'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0xc9')}),db[_0xa45690('0x73')]['hasMany'](db[_0xa45690('0x157')],{'as':'Subjects','onDelete':_0xa45690('0x1d5'),'foreignKey':'SubjectId'}),db[_0xa45690('0x73')][_0xa45690('0x1b1')](db[_0xa45690('0x157')],{'as':_0xa45690('0x102'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0xfd')}),db[_0xa45690('0x73')]['hasMany'](db[_0xa45690('0x157')],{'as':_0xa45690('0x1ad'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0x1bf')}),db[_0xa45690('0x73')][_0xa45690('0xf3')](db[_0xa45690('0x1dc')],{'as':_0xa45690('0x121'),'foreignKey':_0xa45690('0xc9')}),db[_0xa45690('0x73')][_0xa45690('0x1bc')](db[_0xa45690('0x14a')],{'through':_0xa45690('0x98')}),db[_0xa45690('0x157')][_0xa45690('0x1b1')](db[_0xa45690('0x157')],{'as':'Subject','foreignKey':_0xa45690('0x3')}),db['DeskField'][_0xa45690('0x1b1')](db['DeskField'],{'as':_0xa45690('0x146'),'foreignKey':_0xa45690('0xfd')}),db[_0xa45690('0x157')]['hasMany'](db[_0xa45690('0x157')],{'as':_0xa45690('0x111'),'foreignKey':_0xa45690('0x1bf')}),db[_0xa45690('0x157')][_0xa45690('0xf3')](db[_0xa45690('0x5')],{'as':_0xa45690('0x5'),'foreignKey':_0xa45690('0x13e')}),db[_0xa45690('0xca')][_0xa45690('0x1b1')](db[_0xa45690('0xf2')],{'as':_0xa45690('0x16a'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0xc9')}),db['ZohoConfiguration'][_0xa45690('0x1b1')](db[_0xa45690('0xea')],{'as':_0xa45690('0x15'),'onDelete':'cascade','foreignKey':_0xa45690('0x3')}),db['ZohoConfiguration'][_0xa45690('0x1b1')](db['ZohoField'],{'as':_0xa45690('0x102'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0xfd')}),db[_0xa45690('0xf2')][_0xa45690('0x1b1')](db[_0xa45690('0xea')],{'as':'Fields','onDelete':_0xa45690('0x1d5'),'foreignKey':'FieldId'}),db[_0xa45690('0xf2')][_0xa45690('0xf3')](db[_0xa45690('0xca')],{'as':'Account','foreignKey':_0xa45690('0xc9')}),db[_0xa45690('0xea')][_0xa45690('0x1b1')](db['ZohoField'],{'as':_0xa45690('0x59'),'foreignKey':_0xa45690('0x3')}),db[_0xa45690('0xea')]['hasMany'](db[_0xa45690('0xea')],{'as':'Description','foreignKey':'DescriptionId'}),db[_0xa45690('0xea')][_0xa45690('0x1b1')](db[_0xa45690('0xea')],{'as':_0xa45690('0x111'),'foreignKey':_0xa45690('0x1bf')}),db['ZohoField'][_0xa45690('0xf3')](db[_0xa45690('0x5')],{'as':_0xa45690('0x5'),'foreignKey':_0xa45690('0x13e')}),db[_0xa45690('0xa6')][_0xa45690('0x1b1')](db['ZendeskConfiguration'],{'as':'Configurations','onDelete':'cascade','foreignKey':_0xa45690('0xc9')}),db[_0xa45690('0x11f')][_0xa45690('0x1b1')](db[_0xa45690('0x33')],{'as':_0xa45690('0x15'),'foreignKey':'SubjectId'}),db[_0xa45690('0x11f')]['hasMany'](db['ZendeskField'],{'as':_0xa45690('0x102'),'foreignKey':'DescriptionId'}),db['ZendeskConfiguration']['hasMany'](db[_0xa45690('0x33')],{'as':_0xa45690('0x1ad'),'foreignKey':_0xa45690('0x1bf')}),db['ZendeskConfiguration'][_0xa45690('0xf3')](db[_0xa45690('0xa6')],{'as':'Account','foreignKey':_0xa45690('0xc9')}),db['ZendeskConfiguration'][_0xa45690('0x1bc')](db[_0xa45690('0x14a')],{'through':_0xa45690('0xb1')}),db['ZendeskField']['hasMany'](db[_0xa45690('0x33')],{'as':_0xa45690('0x59'),'foreignKey':_0xa45690('0x3')}),db[_0xa45690('0x33')][_0xa45690('0x1b1')](db[_0xa45690('0x33')],{'as':_0xa45690('0x146'),'foreignKey':_0xa45690('0xfd')}),db[_0xa45690('0x33')][_0xa45690('0x1b1')](db[_0xa45690('0x33')],{'as':_0xa45690('0x111'),'foreignKey':_0xa45690('0x1bf')}),db[_0xa45690('0x33')][_0xa45690('0xf3')](db[_0xa45690('0x5')],{'as':_0xa45690('0x5'),'foreignKey':_0xa45690('0x13e')}),db['FreshdeskAccount'][_0xa45690('0x1b1')](db[_0xa45690('0x7a')],{'as':_0xa45690('0x16a'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0xc9')}),db[_0xa45690('0x7a')][_0xa45690('0x1b1')](db[_0xa45690('0x5c')],{'as':_0xa45690('0x15'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0x3')}),db[_0xa45690('0x7a')][_0xa45690('0x1b1')](db[_0xa45690('0x5c')],{'as':_0xa45690('0x102'),'onDelete':'cascade','foreignKey':_0xa45690('0xfd')}),db[_0xa45690('0x7a')][_0xa45690('0x1b1')](db[_0xa45690('0x5c')],{'as':'Fields','onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0x1bf')}),db[_0xa45690('0x7a')][_0xa45690('0xf3')](db['FreshdeskAccount'],{'as':'Account','foreignKey':'AccountId'}),db['FreshdeskConfiguration']['belongsToMany'](db[_0xa45690('0x14a')],{'through':_0xa45690('0x50')}),db[_0xa45690('0x5c')][_0xa45690('0x1b1')](db['FreshdeskField'],{'as':_0xa45690('0x59'),'foreignKey':'SubjectId'}),db['FreshdeskField'][_0xa45690('0x1b1')](db[_0xa45690('0x5c')],{'as':_0xa45690('0x146'),'foreignKey':_0xa45690('0xfd')}),db['FreshdeskField'][_0xa45690('0x1b1')](db['FreshdeskField'],{'as':_0xa45690('0x111'),'foreignKey':_0xa45690('0x1bf')}),db['FreshdeskField'][_0xa45690('0xf3')](db[_0xa45690('0x5')],{'as':_0xa45690('0x5'),'foreignKey':'VariableId'}),db[_0xa45690('0x1d2')][_0xa45690('0x1b1')](db[_0xa45690('0x143')],{'as':'Configurations','onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0xc9')}),db['VtigerConfiguration'][_0xa45690('0x1b1')](db[_0xa45690('0xd4')],{'as':_0xa45690('0x15'),'foreignKey':'SubjectId'}),db[_0xa45690('0x143')][_0xa45690('0x1b1')](db[_0xa45690('0xd4')],{'as':_0xa45690('0x102'),'foreignKey':_0xa45690('0xfd')}),db[_0xa45690('0x143')]['hasMany'](db[_0xa45690('0xd4')],{'as':'Fields','foreignKey':_0xa45690('0x1bf')}),db[_0xa45690('0x143')]['belongsTo'](db['VtigerAccount'],{'as':'Account','foreignKey':_0xa45690('0xc9')}),db['VtigerField'][_0xa45690('0x1b1')](db[_0xa45690('0xd4')],{'as':_0xa45690('0x59'),'foreignKey':_0xa45690('0x3')}),db[_0xa45690('0xd4')]['hasMany'](db[_0xa45690('0xd4')],{'as':_0xa45690('0x146'),'foreignKey':_0xa45690('0xfd')}),db[_0xa45690('0xd4')][_0xa45690('0x1b1')](db['VtigerField'],{'as':'Field','foreignKey':_0xa45690('0x1bf')}),db[_0xa45690('0xd4')][_0xa45690('0xf3')](db[_0xa45690('0x5')],{'as':_0xa45690('0x5'),'foreignKey':'VariableId'}),db[_0xa45690('0x91')]['hasMany'](db[_0xa45690('0x65')],{'as':_0xa45690('0x16a'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0xc9')}),db[_0xa45690('0x65')][_0xa45690('0x1b1')](db[_0xa45690('0x136')],{'as':_0xa45690('0x15'),'foreignKey':_0xa45690('0x3')}),db[_0xa45690('0x65')][_0xa45690('0x1b1')](db[_0xa45690('0x136')],{'as':'Descriptions','foreignKey':'DescriptionId'}),db[_0xa45690('0x65')][_0xa45690('0x1b1')](db['ServicenowField'],{'as':_0xa45690('0x1ad'),'foreignKey':_0xa45690('0x1bf')}),db[_0xa45690('0x65')][_0xa45690('0xf3')](db[_0xa45690('0x91')],{'as':_0xa45690('0x121'),'foreignKey':_0xa45690('0xc9')}),db[_0xa45690('0x136')][_0xa45690('0x1b1')](db[_0xa45690('0x136')],{'as':_0xa45690('0x59'),'foreignKey':'SubjectId'}),db[_0xa45690('0x136')]['hasMany'](db[_0xa45690('0x136')],{'as':'Description','foreignKey':_0xa45690('0xfd')}),db[_0xa45690('0x136')]['hasMany'](db[_0xa45690('0x136')],{'as':_0xa45690('0x111'),'foreignKey':_0xa45690('0x1bf')}),db[_0xa45690('0x136')][_0xa45690('0xf3')](db[_0xa45690('0x5')],{'as':_0xa45690('0x5'),'foreignKey':_0xa45690('0x13e')}),db[_0xa45690('0x1c0')]['hasMany'](db[_0xa45690('0x128')],{'as':_0xa45690('0x16a'),'onDelete':'cascade','foreignKey':_0xa45690('0xc9')}),db[_0xa45690('0x128')][_0xa45690('0x1b1')](db['Dynamics365Field'],{'as':'Subjects','onDelete':'cascade','foreignKey':_0xa45690('0x3')}),db[_0xa45690('0x128')][_0xa45690('0x1b1')](db[_0xa45690('0xb2')],{'as':_0xa45690('0x102'),'onDelete':'cascade','foreignKey':_0xa45690('0xfd')}),db[_0xa45690('0x128')]['hasMany'](db[_0xa45690('0xb2')],{'as':'Fields','onDelete':_0xa45690('0x1d5'),'foreignKey':'FieldId'}),db['Dynamics365Configuration'][_0xa45690('0xf3')](db[_0xa45690('0x1c0')],{'as':'Account','foreignKey':_0xa45690('0xc9')}),db['Dynamics365Field']['hasMany'](db[_0xa45690('0xb2')],{'as':'Subject','foreignKey':_0xa45690('0x3')}),db[_0xa45690('0xb2')]['hasMany'](db[_0xa45690('0xb2')],{'as':'Description','foreignKey':_0xa45690('0xfd')}),db[_0xa45690('0xb2')]['hasMany'](db[_0xa45690('0xb2')],{'as':_0xa45690('0x111'),'foreignKey':_0xa45690('0x1bf')}),db[_0xa45690('0xb2')][_0xa45690('0xf3')](db[_0xa45690('0x5')],{'as':_0xa45690('0x5'),'foreignKey':_0xa45690('0x13e')}),db[_0xa45690('0x2b')][_0xa45690('0x1b1')](db[_0xa45690('0x123')],{'as':_0xa45690('0x16a'),'onDelete':_0xa45690('0x1d5'),'foreignKey':'AccountId'}),db[_0xa45690('0x123')][_0xa45690('0x1b1')](db[_0xa45690('0x4f')],{'as':_0xa45690('0x15'),'foreignKey':_0xa45690('0x3')}),db[_0xa45690('0x123')][_0xa45690('0x1b1')](db[_0xa45690('0x4f')],{'as':_0xa45690('0x102'),'foreignKey':_0xa45690('0xfd')}),db[_0xa45690('0x123')][_0xa45690('0x1b1')](db[_0xa45690('0x4f')],{'as':_0xa45690('0x1ad'),'foreignKey':_0xa45690('0x1bf')}),db[_0xa45690('0x123')]['belongsTo'](db[_0xa45690('0x2b')],{'as':_0xa45690('0x121'),'foreignKey':_0xa45690('0xc9')}),db[_0xa45690('0x4f')][_0xa45690('0x1b1')](db[_0xa45690('0x4f')],{'as':_0xa45690('0x59'),'foreignKey':_0xa45690('0x3')}),db[_0xa45690('0x4f')][_0xa45690('0x1b1')](db['FreshsalesField'],{'as':_0xa45690('0x146'),'foreignKey':_0xa45690('0xfd')}),db[_0xa45690('0x4f')][_0xa45690('0x1b1')](db[_0xa45690('0x4f')],{'as':_0xa45690('0x111'),'foreignKey':_0xa45690('0x1bf')}),db[_0xa45690('0x4f')][_0xa45690('0xf3')](db[_0xa45690('0x5')],{'as':_0xa45690('0x5'),'foreignKey':'VariableId'}),db[_0xa45690('0x7c')]['belongsTo'](db[_0xa45690('0x66')],{}),db[_0xa45690('0x7c')][_0xa45690('0xf3')](db[_0xa45690('0x1e7')],{'as':_0xa45690('0x115'),'foreignKey':_0xa45690('0x17d')}),db[_0xa45690('0x7c')][_0xa45690('0xf3')](db['CmContact'],{'as':_0xa45690('0x104'),'foreignKey':_0xa45690('0x71')}),db[_0xa45690('0x7c')][_0xa45690('0xf3')](db['ChatInteraction'],{}),db[_0xa45690('0x7c')][_0xa45690('0xf3')](db[_0xa45690('0x10d')],{}),db[_0xa45690('0x7c')][_0xa45690('0xf3')](db[_0xa45690('0xba')],{}),db[_0xa45690('0x7c')][_0xa45690('0xf3')](db[_0xa45690('0x19d')],{}),db[_0xa45690('0x2c')][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0x133')}),db[_0xa45690('0x2c')][_0xa45690('0xf3')](db['User'],{'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0x25')}),db[_0xa45690('0x172')][_0xa45690('0x1b1')](db[_0xa45690('0x185')],{'foreignKey':_0xa45690('0xff'),'onDelete':_0xa45690('0x1d5')}),db[_0xa45690('0x172')][_0xa45690('0x1b1')](db[_0xa45690('0x51')],{'foreignKey':'SessionId','onDelete':'cascade'}),db[_0xa45690('0x14b')][_0xa45690('0xf3')](db['SmsAccount'],{}),db['SmsQueueReport']['belongsTo'](db['CmList'],{'as':'List','foreignKey':_0xa45690('0x17d')}),db['SmsQueueReport'][_0xa45690('0xf3')](db[_0xa45690('0x76')],{'as':'Contact','foreignKey':_0xa45690('0x71')}),db[_0xa45690('0x14b')][_0xa45690('0xf3')](db[_0xa45690('0x15a')],{}),db['SmsQueueReport']['belongsTo'](db[_0xa45690('0x39')],{}),db[_0xa45690('0x14b')][_0xa45690('0xf3')](db[_0xa45690('0xba')],{}),db[_0xa45690('0x14b')][_0xa45690('0xf3')](db[_0xa45690('0x106')],{}),db[_0xa45690('0x1e8')][_0xa45690('0x1b1')](db[_0xa45690('0x172')],{'foreignKey':_0xa45690('0xed')}),db[_0xa45690('0x1e8')]['hasMany'](db[_0xa45690('0x185')],{'foreignKey':_0xa45690('0xed')}),db['JscriptyProject'][_0xa45690('0x1b1')](db[_0xa45690('0x51')],{'foreignKey':_0xa45690('0xed')}),db[_0xa45690('0xc2')]['belongsToMany'](db[_0xa45690('0xba')],{'as':_0xa45690('0x13f'),'through':_0xa45690('0x195')}),db[_0xa45690('0x89')][_0xa45690('0x1bc')](db['User'],{'as':_0xa45690('0x81'),'through':'user_has_teams'}),db[_0xa45690('0x89')][_0xa45690('0x1bc')](db['VoiceQueue'],{'through':'team_has_voice_queues','as':_0xa45690('0xa4')}),db['Team']['belongsToMany'](db[_0xa45690('0x20')],{'through':_0xa45690('0x183'),'as':_0xa45690('0x90')}),db['Team'][_0xa45690('0x1bc')](db[_0xa45690('0x19d')],{'through':'team_has_chat_queues','as':_0xa45690('0xcc')}),db['Team'][_0xa45690('0x1bc')](db[_0xa45690('0x3e')],{'through':_0xa45690('0xdc'),'as':_0xa45690('0x100')}),db[_0xa45690('0x89')][_0xa45690('0x1bc')](db[_0xa45690('0x106')],{'through':_0xa45690('0x42'),'as':_0xa45690('0x28')}),db['Team'][_0xa45690('0x1bc')](db[_0xa45690('0xc5')],{'through':_0xa45690('0x1c3'),'as':'OpenchannelQueues'}),db[_0xa45690('0x89')][_0xa45690('0x1bc')](db[_0xa45690('0x32')],{'through':_0xa45690('0x1e1'),'as':_0xa45690('0xd')}),db[_0xa45690('0xfa')]['hasMany'](db[_0xa45690('0x168')],{'as':_0xa45690('0x178'),'foreignKey':_0xa45690('0x141')}),db[_0xa45690('0xfa')][_0xa45690('0x1b1')](db[_0xa45690('0xeb')],{'as':'HopperFinals','foreignKey':'CampaignId'}),db['Campaign'][_0xa45690('0x1b1')](db['CmHopperHistory'],{'as':'HopperHistories','foreignKey':'CampaignId'}),db['Campaign'][_0xa45690('0x1b1')](db[_0xa45690('0x127')],{'as':_0xa45690('0x63'),'foreignKey':_0xa45690('0x141')}),db[_0xa45690('0xfa')][_0xa45690('0xf3')](db[_0xa45690('0x163')],{'as':'Trunk','foreignKey':_0xa45690('0x1ae')}),db[_0xa45690('0xfa')]['belongsTo'](db['Trunk'],{'as':_0xa45690('0x1a2'),'foreignKey':_0xa45690('0x2a')}),db['Campaign'][_0xa45690('0xf3')](db['Interval'],{'as':'Interval','foreignKey':_0xa45690('0x1ab')}),db[_0xa45690('0xfa')][_0xa45690('0xf3')](db['SquareProject'],{'as':_0xa45690('0xc2'),'foreignKey':'SquareProjectId'}),db[_0xa45690('0xfa')]['belongsToMany'](db[_0xa45690('0x1e7')],{'as':_0xa45690('0x1b4'),'through':_0xa45690('0x1ca')}),db[_0xa45690('0xfa')][_0xa45690('0x1bc')](db['CmList'],{'as':_0xa45690('0xa9'),'through':_0xa45690('0xb9')}),db['MailTransferReport']['belongsTo'](db[_0xa45690('0x8')],{}),db[_0xa45690('0x187')][_0xa45690('0xf3')](db['MailInteraction'],{}),db[_0xa45690('0x187')][_0xa45690('0xf3')](db[_0xa45690('0xac')],{'foreignKey':'FromMailAccountId','as':_0xa45690('0x82')}),db[_0xa45690('0x187')]['belongsTo'](db[_0xa45690('0xba')],{'foreignKey':_0xa45690('0xd9'),'as':_0xa45690('0x6a')}),db[_0xa45690('0x187')][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'foreignKey':_0xa45690('0x17b'),'as':_0xa45690('0x1f6')}),db[_0xa45690('0x187')][_0xa45690('0xf3')](db[_0xa45690('0x20')],{'foreignKey':_0xa45690('0x1b7'),'as':_0xa45690('0x9e')}),db['MailTransferReport']['belongsTo'](db['MailAccount'],{'foreignKey':_0xa45690('0xc6'),'as':'ToAccount'}),db[_0xa45690('0x9d')][_0xa45690('0xf3')](db[_0xa45690('0x10d')],{}),db['ChatTransferReport'][_0xa45690('0xf3')](db[_0xa45690('0x12d')],{}),db[_0xa45690('0x9d')]['belongsTo'](db[_0xa45690('0x66')],{'foreignKey':'FromChatWebsiteId','as':_0xa45690('0x82')}),db[_0xa45690('0x9d')]['belongsTo'](db[_0xa45690('0xba')],{'foreignKey':_0xa45690('0xd9'),'as':_0xa45690('0x6a')}),db['ChatTransferReport'][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'foreignKey':'ToUserId','as':_0xa45690('0x1f6')}),db['ChatTransferReport'][_0xa45690('0xf3')](db['ChatQueue'],{'foreignKey':_0xa45690('0x153'),'as':_0xa45690('0x9e')}),db[_0xa45690('0x9d')]['belongsTo'](db[_0xa45690('0x66')],{'foreignKey':_0xa45690('0xfe'),'as':'ToAccount'}),db[_0xa45690('0x132')][_0xa45690('0xf3')](db[_0xa45690('0x3b')],{}),db[_0xa45690('0x132')]['belongsTo'](db[_0xa45690('0x1a6')],{}),db[_0xa45690('0x132')]['belongsTo'](db[_0xa45690('0x6')],{'foreignKey':_0xa45690('0x69'),'as':_0xa45690('0x82')}),db['FaxTransferReport'][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'foreignKey':_0xa45690('0xd9'),'as':_0xa45690('0x6a')}),db[_0xa45690('0x132')]['belongsTo'](db[_0xa45690('0xba')],{'foreignKey':_0xa45690('0x17b'),'as':_0xa45690('0x1f6')}),db[_0xa45690('0x132')]['belongsTo'](db['FaxQueue'],{'foreignKey':_0xa45690('0x1b6'),'as':_0xa45690('0x9e')}),db[_0xa45690('0x132')][_0xa45690('0xf3')](db['FaxAccount'],{'foreignKey':_0xa45690('0xb3'),'as':_0xa45690('0x9b')}),db['OpenchannelTransferReport'][_0xa45690('0xf3')](db['OpenchannelMessage'],{}),db[_0xa45690('0x79')][_0xa45690('0xf3')](db[_0xa45690('0x1e3')],{}),db[_0xa45690('0x79')][_0xa45690('0xf3')](db[_0xa45690('0x11')],{'foreignKey':_0xa45690('0x1c4'),'as':_0xa45690('0x82')}),db[_0xa45690('0x79')][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'foreignKey':_0xa45690('0xd9'),'as':_0xa45690('0x6a')}),db[_0xa45690('0x79')][_0xa45690('0xf3')](db['User'],{'foreignKey':_0xa45690('0x17b'),'as':'ToAgent'}),db[_0xa45690('0x79')][_0xa45690('0xf3')](db[_0xa45690('0xc5')],{'foreignKey':_0xa45690('0xaa'),'as':'ToQueue'}),db['OpenchannelTransferReport']['belongsTo'](db[_0xa45690('0x11')],{'foreignKey':_0xa45690('0x78'),'as':'ToAccount'}),db[_0xa45690('0xc3')][_0xa45690('0xf3')](db[_0xa45690('0x39')],{}),db['SmsTransferReport'][_0xa45690('0xf3')](db[_0xa45690('0x15a')],{}),db[_0xa45690('0xc3')][_0xa45690('0xf3')](db[_0xa45690('0xa')],{'foreignKey':_0xa45690('0xf1'),'as':'FromAccount'}),db[_0xa45690('0xc3')][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'foreignKey':_0xa45690('0xd9'),'as':_0xa45690('0x6a')}),db[_0xa45690('0xc3')][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'foreignKey':_0xa45690('0x17b'),'as':_0xa45690('0x1f6')}),db[_0xa45690('0xc3')]['belongsTo'](db[_0xa45690('0x106')],{'foreignKey':_0xa45690('0x85'),'as':_0xa45690('0x9e')}),db['SmsTransferReport']['belongsTo'](db[_0xa45690('0xa')],{'foreignKey':'ToSmsAccountId','as':_0xa45690('0x9b')}),db[_0xa45690('0x1e7')][_0xa45690('0x1b1')](db['Disposition'],{'as':_0xa45690('0x46'),'foreignKey':_0xa45690('0x17d')}),db['CmList'][_0xa45690('0x1b1')](db['CmCustomField'],{'as':_0xa45690('0x148'),'foreignKey':_0xa45690('0x17d')}),db[_0xa45690('0x1e7')][_0xa45690('0x1b1')](db['CmContact'],{'as':_0xa45690('0xd7'),'onDelete':_0xa45690('0x1d5'),'foreignKey':_0xa45690('0x17d')}),db['CmList'][_0xa45690('0x1b1')](db[_0xa45690('0xeb')],{'as':'HopperFinals','foreignKey':_0xa45690('0x17d')}),db[_0xa45690('0x1e7')]['hasMany'](db['CmHopperHistory'],{'as':_0xa45690('0xce'),'foreignKey':_0xa45690('0x17d')}),db[_0xa45690('0x1e7')][_0xa45690('0x1b1')](db[_0xa45690('0xb')],{'as':_0xa45690('0xb'),'foreignKey':'ListId'}),db['CmList'][_0xa45690('0x1bc')](db['VoiceQueue'],{'as':_0xa45690('0xa5'),'through':'voice_queues_has_cm_lists'}),db[_0xa45690('0x1e7')]['belongsToMany'](db[_0xa45690('0xba')],{'as':_0xa45690('0x81'),'through':_0xa45690('0x2f')}),db[_0xa45690('0xe1')][_0xa45690('0x1b1')](db['VoiceExtension'],{'as':_0xa45690('0x1a7'),'onDelete':'cascade'}),db['VoicePrefix'][_0xa45690('0x1bc')](db['User'],{'as':_0xa45690('0x81'),'through':_0xa45690('0x10f')}),db[_0xa45690('0x1f2')][_0xa45690('0x1b1')](db['User'],{'as':_0xa45690('0x13f'),'foreignKey':_0xa45690('0x23')}),db[_0xa45690('0x1f2')]['hasMany'](db[_0xa45690('0x1c2')],{'as':_0xa45690('0x8a'),'foreignKey':_0xa45690('0x23'),'onDelete':_0xa45690('0x1d5')}),db['UserProfileSection']['hasMany'](db['UserProfileResource'],{'as':_0xa45690('0xf0'),'foreignKey':'sectionId','onDelete':_0xa45690('0x1d5')}),db[_0xa45690('0x7f')][_0xa45690('0x1b1')](db[_0xa45690('0x16f')],{'as':_0xa45690('0x46'),'foreignKey':_0xa45690('0x58')}),db[_0xa45690('0x7f')]['hasMany'](db[_0xa45690('0x4')],{'as':_0xa45690('0x144'),'foreignKey':'WhatsappAccountId'}),db[_0xa45690('0x7f')][_0xa45690('0x1b1')](db[_0xa45690('0xd0')],{'as':'Messages','foreignKey':'WhatsappAccountId'}),db[_0xa45690('0x7f')][_0xa45690('0x1b1')](db[_0xa45690('0x2d')],{'as':_0xa45690('0x190')}),db[_0xa45690('0x7f')][_0xa45690('0x1b1')](db[_0xa45690('0x17c')],{'as':'Applications'}),db[_0xa45690('0x7f')][_0xa45690('0xf3')](db['CmList'],{'as':_0xa45690('0x115'),'foreignKey':_0xa45690('0x17d')}),db[_0xa45690('0x7f')][_0xa45690('0xf3')](db[_0xa45690('0x13a')],{'as':_0xa45690('0x9c'),'foreignKey':_0xa45690('0x180')}),db[_0xa45690('0x7f')]['belongsToMany'](db['User'],{'as':'Agents','through':_0xa45690('0xa2')}),db[_0xa45690('0x17c')]['belongsTo'](db['User'],{'onDelete':_0xa45690('0x118')}),db[_0xa45690('0x17c')][_0xa45690('0xf3')](db[_0xa45690('0x32')],{'onDelete':_0xa45690('0x118')}),db['WhatsappApplication'][_0xa45690('0xf3')](db[_0xa45690('0x7f')],{'onDelete':_0xa45690('0x118')}),db[_0xa45690('0x17c')][_0xa45690('0xf3')](db[_0xa45690('0xdb')],{'onDelete':'restrict','foreignKey':_0xa45690('0x1ab')}),db[_0xa45690('0x17c')][_0xa45690('0xf3')](db[_0xa45690('0x14a')],{'onDelete':_0xa45690('0x118'),'foreignKey':'TagId'}),db[_0xa45690('0x2d')][_0xa45690('0x1b1')](db['WhatsappMessage'],{'as':_0xa45690('0x125'),'onDelete':'cascade','foreignKey':_0xa45690('0x31')}),db['WhatsappInteraction']['belongsTo'](db[_0xa45690('0x7f')],{'as':_0xa45690('0x121'),'foreignKey':_0xa45690('0x58')}),db[_0xa45690('0x2d')]['belongsTo'](db['CmContact'],{'as':_0xa45690('0x104'),'foreignKey':_0xa45690('0x71')}),db[_0xa45690('0x2d')][_0xa45690('0xf3')](db[_0xa45690('0xba')],{'as':_0xa45690('0x1a4'),'foreignKey':_0xa45690('0x8b')}),db['WhatsappInteraction'][_0xa45690('0x1bc')](db[_0xa45690('0x14a')],{'through':_0xa45690('0x156'),'as':_0xa45690('0xd8')}),db[_0xa45690('0x2d')][_0xa45690('0x1bc')](db[_0xa45690('0x14a')],{'through':_0xa45690('0x156'),'as':_0xa45690('0x8f')}),db['WhatsappInteraction']['belongsToMany'](db['User'],{'as':_0xa45690('0x13f'),'through':_0xa45690('0xd1'),'foreignKey':_0xa45690('0x31')}),db[_0xa45690('0xd0')]['belongsTo'](db[_0xa45690('0xba')],{'as':_0xa45690('0xba')}),db['WhatsappMessage'][_0xa45690('0xf3')](db['CmContact'],{'onDelete':_0xa45690('0x1d5'),'as':_0xa45690('0x104')}),db[_0xa45690('0xd0')][_0xa45690('0xf3')](db[_0xa45690('0x2d')],{'onDelete':_0xa45690('0x1d5'),'as':'Interaction','foreignKey':_0xa45690('0x31')}),db[_0xa45690('0xd0')][_0xa45690('0xf3')](db[_0xa45690('0x7f')],{'as':_0xa45690('0x121'),'foreignKey':_0xa45690('0x58')}),db[_0xa45690('0x196')][_0xa45690('0xf3')](db[_0xa45690('0x7f')],{}),db['WhatsappQueueReport'][_0xa45690('0xf3')](db[_0xa45690('0x1e7')],{'as':'List','foreignKey':'ListId'}),db[_0xa45690('0x196')]['belongsTo'](db[_0xa45690('0x76')],{'as':_0xa45690('0x104'),'foreignKey':_0xa45690('0x71')}),db[_0xa45690('0x196')][_0xa45690('0xf3')](db[_0xa45690('0x2d')],{}),db[_0xa45690('0x196')][_0xa45690('0xf3')](db[_0xa45690('0x32')],{}),db['WhatsappQueueReport'][_0xa45690('0xf3')](db['WhatsappMessage'],{}),db[_0xa45690('0x196')]['belongsTo'](db[_0xa45690('0xba')],{}),db['WhatsappTransferReport']['belongsTo'](db['WhatsappMessage'],{}),db[_0xa45690('0x137')][_0xa45690('0xf3')](db[_0xa45690('0x2d')],{}),db['WhatsappTransferReport'][_0xa45690('0xf3')](db[_0xa45690('0x7f')],{'foreignKey':_0xa45690('0x17e'),'as':_0xa45690('0x82')}),db[_0xa45690('0x137')][_0xa45690('0xf3')](db[_0xa45690('0x7f')],{'foreignKey':_0xa45690('0x5d'),'as':'ToAccount'}),db[_0xa45690('0x137')][_0xa45690('0xf3')](db[_0xa45690('0x32')],{'foreignKey':_0xa45690('0x6e'),'as':_0xa45690('0x9e')}),db[_0xa45690('0x137')]['belongsTo'](db[_0xa45690('0xba')],{'foreignKey':'FromUserId','as':'FromAgent'}),db[_0xa45690('0x137')]['belongsTo'](db[_0xa45690('0xba')],{'foreignKey':_0xa45690('0x17b'),'as':_0xa45690('0x1f6')}),db[_0xa45690('0x32')][_0xa45690('0x1bc')](db[_0xa45690('0xba')],{'as':_0xa45690('0x81'),'through':_0xa45690('0x110'),'foreignKey':'WhatsappQueueId'}),db['WhatsappQueue'][_0xa45690('0x1bc')](db[_0xa45690('0x89')],{'through':'team_has_whatsapp_queues','as':_0xa45690('0x8d')}),module[_0xa45690('0xa3')]={'db':db,'dbH':dbH};
\ No newline at end of file
+const a1021_0x4da0=['ToOpenchannelAccountId','dbHost','FreshdeskField','MemberReport','../api/jscriptySessionReport/jscriptySessionReport.model','ChatMessage','AccountId','FaxQueueReport','Campaign','WhatsappInteractionId','UserId','Intervals','Interval','../api/cdr/cdr.model','user_has_chat_interactions','Configurations','hasMany','../api/migration/migration.model','ChatWebsite','ServicenowField','../api/openchannelInteraction/openchannelInteraction.model','MailInteraction','MailServerOut','VoiceMail','ChatInteraction','../api/voiceTransferReport/voiceTransferReport.model','JscriptySessionReport','License','../api/interval/interval.model','cm_contact_has_tags','../api/userProfileSection/userProfileSection.model','determine','../api/schedule/schedule.model','mandatoryDispositionPauseId','database','Dynamics365Configuration','../api/memberReport/memberReport.model','SenderId','OpenchannelAccount','../api/whatsappQueueReport/whatsappQueueReport.model','SugarcrmAccount','user_has_mail_accounts','ToAgent','campaigns_has_cm_lists','OpenchannelInteraction','ChatQueue','IntervalId','Variable','../api/intFreshdeskConfiguration/intFreshdeskConfiguration.model','Owner','../api/voiceQueueReport/voiceQueueReport.model','ZohoConfiguration','AnalyticCustomReport','SubjectId','Action','sectionId','../api/whatsappTransferReport/whatsappTransferReport.model','../api/intDynamics365Field/intDynamics365Field.model','Contact','../api/smsInteraction/smsInteraction.model','Trigger','../api/whatsappQueue/whatsappQueue.model','Migration','Groups','TriggerAnyId','FaxInteractionId','ToMailAccountId','Users','../api/faxInteraction/faxInteraction.model','SalesforceConfiguration','MailAccountId','../api/voiceCallReport/voiceCallReport.model','../api/faxMessage/faxMessage.model','../api/integrationReport/integrationReport.model','UserVoiceQueueRt','../api/mailServerIn/mailServerIn.model','../api/sound/sound.model','Tags','DescriptionId','CompanyId','VtigerField','../api/whatsappApplication/whatsappApplication.model','../api/intZohoConfiguration/intZohoConfiguration.model','ServicenowConfiguration','Dynamics365Field','MailQueueReport','belongsToMany','../api/analyticTreeReport/analyticTreeReport.model','../api/intSugarcrmField/intSugarcrmField.model','OpenchannelInteractions','../api/integration/integration.model','Integration','../api/whatsappAccount/whatsappAccount.model','FaxMessage','VoiceDialReport','CustomReportId','Applications','../api/cmHopperBlack/cmHopperBlack.model','../api/intDeskField/intDeskField.model','ZendeskAccount','SmsQueueReport','../api/cmHopper/cmHopper.model','../api/intFreshdeskAccount/intFreshdeskAccount.model','MailApplication','user_has_teams','DeskField','Team','ChatTransferReport','fax_interaction_has_tags','Agent','VoiceAgentReport','../api/action/action.model','../api/user/user.model','TrunkId','../api/intZohoAccount/intZohoAccount.model','ZendeskConfiguration','MailAccount','../api/intZendeskAccount/intZendeskAccount.model','../api/intDeskConfiguration/intDeskConfiguration.model','mailbox','ChatApplications','../api/openchannelAccount/openchannelAccount.model','FaxAccountId','../api/analyticMetric/analyticMetric.model','FaxAccount','Interactions','hasOne','Items','utf8_general_ci','Exntensions','../api/jscriptyAnswerReport/jscriptyAnswerReport.model','AnalyticMetric','SquareDetailsReport','JscriptyProject','ToId','Any','SmsMessage','HopperFinals','password','../api/squareMessage/squareMessage.model','VoiceTransferReport','ZohoAccount','Imap','Lists','../api/intDeskAccount/intDeskAccount.model','Mohs','FaxAccounts','../api/smsTransferReport/smsTransferReport.model','Attachment','ChatGroup','AnalyticFieldReport','MailInteractionId','VoiceContext','Notifications','../api/userVoiceQueueRt/userVoiceQueueRt.model','../api/intZohoField/intZohoField.model','SmsInteractionId','UserWhatsappQueue','user_has_sms_accounts','Tag','../api/variable/variable.model','int_zendesk_configuration_has_tags','HopperHistory','../api/squareReport/squareReport.model','SmsApplication','FaxApplication','../api/tag/tag.model','cm_user_has_lists','ChatInternalMessage','../api/mailAccount/mailAccount.model','../api/cmCompany/cmCompany.model','../api/voiceChanSpy/voiceChanSpy.model','FieldId','WhatsappApplication','FreshsalesConfiguration','CmContact','FromUserId','user_has_chat_websites','TagId','user_has_voice_prefixes','DeskConfiguration','ToOpenchannelQueueId','username','Recordings','TemplateId','Field','../api/network/network.model','ThroughTags','Automation','FaxInteraction','ZohoField','team_has_fax_queues','moh_has_sounds','VoiceQueue','ChatOfflineMessage','../api/chatMessage/chatMessage.model','Disposition','../api/chatProactiveAction/chatProactiveAction.model','mandatoryDispositionPause','SmsInteraction','MetricId','ToWhatsappAccountId','UserProfileSections','lodash','SessionId','AttachmentId','UserSmsQueue','VoiceChanSpy','team_has_openchannel_queues','team_has_chat_queues','Setting','SalesforceField','JscriptyQuestionReport','MailSubstatus','User','../api/intFreshsalesAccount/intFreshsalesAccount.model','ChatWebsiteId','Website','../api/intFreshsalesField/intFreshsalesField.model','UserSmsInteractions','SmsAccounts','ProjectId','../api/analyticCustomReport/analyticCustomReport.model','VoicePrefix','UserChatQueue','../api/userVoiceQueue/userVoiceQueue.model','ToAccount','HopperHistories','../api/cloudProvider/cloudProvider.model','OpenchannelAccounts','../api/cannedAnswer/cannedAnswer.model','ToFaxQueueId','ToSmsQueueId','options','../api/squareReportDetail/squareReportDetail.model','ToFaxAccountId','../api/mailTransferReport/mailTransferReport.model','../api/userProfile/userProfile.model','UserWhatsappInteractions','VoiceMailMessage','../api/chatTransferReport/chatTransferReport.model','AnalyticTreeReport','Messages','user_has_sms_interactions','../api/intSugarcrmAccount/intSugarcrmAccount.model','CmHopper','../api/openchannelQueueReport/openchannelQueueReport.model','../api/squareRecording/squareRecording.model','Teams','OpenchannelQueueReport','../api/userChatQueue/userChatQueue.model','FromAgent','OpenchannelQueue','../api/intSalesforceAccount/intSalesforceAccount.model','AgentReports','ChatQueues','SquareRecording','All','SugarcrmField','cascade','UserChatInteractions','VoiceRecording','ZendeskField','ServicenowAccount','restrict','../api/plugin/plugin.model','../api/cmCustomField/cmCustomField.model','ToChatWebsiteId','FreshdeskAccount','ContactId','../api/userFaxQueue/userFaxQueue.model','mysql','ToUserId','OpenchannelAccountId','../api/intServicenowAccount/intServicenowAccount.model','FreshsalesAccount','FromWhatsappAccountId','voice_queues_has_cm_lists','VariableId','../api/voiceDialReport/voiceDialReport.model','user_has_fax_accounts','../api/chatApplication/chatApplication.model','FreshsalesField','../api/openchannelQueue/openchannelQueue.model','ChatApplication','user_has_square_projects','MailInteractions','../config/config.service','Sounds','sms_interaction_has_tags','ReportAgentPreview','SquareProjects','SmsAccountId','AnyCondition','UserProfileResource','belongsTo','int_desk_configuration_has_tags','ToQueue','UserFaxQueue','SmsQueues','ToSmsAccountId','user_has_openchannel_accounts','WhatsappQueue','../api/mailMessage/mailMessage.model','TrunkBackupId','Schedule','../api/voiceQueue/voiceQueue.model','../api/cmContact/cmContact.model','../api/voicePrefix/voicePrefix.model','Cdr','../api/cmList/cmList.model','OpenchannelInteractionId','VoiceQueueReport','SquareReport','SugarcrmConfiguration','utf8','WhatsappTransferReport','../api/smsAccount/smsAccount.model','Fields','SquareProject','uniqueid','ListId','OpenchannelMessage','TrunkBackup','AnalyticDefaultReport','../api/analyticFieldReport/analyticFieldReport.model','UserOpenchannelQueue','chat_interaction_has_tags','CmCustomField','Descriptions','../api/faxTransferReport/faxTransferReport.model','ChatInteractionId','whatsapp_interaction_has_tags','ToQueueId','cm_user_has_contacts','../api/trigger/trigger.model','FromChatWebsiteId','../api/license/license.model','../api/setting/setting.model','../api/disposition/disposition.model','SalesforceAccount','Condition','../api/voiceQueuesLog/voiceQueuesLog.model','user_has_mail_interactions','../api/userProfileResource/userProfileResource.model','../api/faxQueueReport/faxQueueReport.model','campaigns_has_cm_blacklists','OpenchannelQueueId','../api/analyticDefaultReport/analyticDefaultReport.model','../api/intVtigerAccount/intVtigerAccount.model','JscriptySessions','team_has_sms_queues','MailQueue','utf8mb4','OneAny','ChanSpyId','dbPort','Trunk','../api/mailQueueReport/mailQueueReport.model','VoiceQueuesRt','chat_group_has_users','WhatsappAccountId','../api/intFreshsalesConfiguration/intFreshsalesConfiguration.model','AutomationId','../api/openchannelApplication/openchannelApplication.model','../api/voiceMailMessage/voiceMailMessage.model','CmCompany','../api/chatQueueReport/chatQueueReport.model','FromOpenchannelAccountId','sequelizeHistory','Subjects','CmList','Template','FreshdeskConfiguration','TriggerId','ChatInteractions','WhatsappQueueReport','../api/jscriptyQuestionReport/jscriptyQuestionReport.model','VoiceMusicOnHold','Description','FromSmsAccountId','DataTypes','FaxApplications','../api/jscriptyProject/jscriptyProject.model','../api/cmHopperHistory/cmHopperHistory.model','team_has_voice_queues','FromFaxAccountId','int_freshdesk_configuration_has_tags','AnyConditions','IntegrationReport','Subject','Hoppers','../api/automation/automation.model','DefaultReportId','Dynamics365Account','../api/intDynamics365Configuration/intDynamics365Configuration.model','MailTransferReport','ScreenRecording','HopperBlacks','CmHopperBlack','OpenchannelQueues','Interaction','OpenchannelTransferReport','UserProfile','../api/pause/pause.model','../api/campaign/campaign.model','../api/smsQueueReport/smsQueueReport.model','Extensions','../api/intZendeskConfiguration/intZendeskConfiguration.model','mysqlDatabase','FaxInteractions','../api/squareProject/squareProject.model','user_has_fax_interactions','../api/notification/notification.model','CloudProvider','FaxQueue','Dispositions','SmsQueue','sequelize','Contacts','WhatsappInteraction','Resources','CustomFields','CampaignId','../api/squareOdbc/squareOdbc.model','CannedAnswer','UserProfileSection','../api/chatQueue/chatQueue.model','TriggerAllId','user_has_openchannel_interactions','../api/chatWebsite/chatWebsite.model','VtigerAccount','SmsAccount','VoiceExtension','SmsTransferReport','../api/userMailQueue/userMailQueue.model','../api/chatInteraction/chatInteraction.model','FaxTransferReport','MailServerIn','VoiceQueuesLog','user_has_whatsapp_accounts','DeskAccount','VtigerConfiguration','mysqlUser','ToMailQueueId','../api/userOpenchannelQueue/userOpenchannelQueue.model','MailMessage','team_has_whatsapp_queues','user_has_whatsapp_interactions','FromAccount','SpiedAgents','../api/intServicenowField/intServicenowField.model','team_has_mail_queues','Answers','../api/intVtigerConfiguration/intVtigerConfiguration.model','../api/trunk/trunk.model','WhatsappMessage','CmHopperFinal','Account','../api/voiceRecording/voiceRecording.model','Sound','Pause','SquareProjectId','../api/smsQueue/smsQueue.model','UserMailQueue','Queues','../api/chatOfflineMessage/chatOfflineMessage.model','openchannel_interaction_has_tags','../api/template/template.model','VoiceQueueId','../api/mailServerOut/mailServerOut.model','List','Notification','VoiceCallReport','ChatProactiveAction','ChatQueueReport','JscriptyAnswerReport','Queue','OpenchannelApplication','SquareOdbc','../api/openchannelTransferReport/openchannelTransferReport.model','../api/faxQueue/faxQueue.model','../api/condition/condition.model','Agents','WhatsappAccount','Smtp','../api/intSalesforceConfiguration/intSalesforceConfiguration.model','Dashboard','../api/userWhatsappQueue/userWhatsappQueue.model','AutomationAllId','userProfileId','UserVoiceQueue','ChatWebsites','UserMailInteractions','SmsInteractions','SquareMessage','CmHopperHistory','../api/faxApplication/faxApplication.model','SmsApplications','../api/intSugarcrmConfiguration/intSugarcrmConfiguration.model','../api/analyticExtractedReport/analyticExtractedReport.model','../api/mailInteraction/mailInteraction.model'];(function(_0x33590c,_0x4da05f){const _0x5d935b=function(_0x4b07c2){while(--_0x4b07c2){_0x33590c['push'](_0x33590c['shift']());}};_0x5d935b(++_0x4da05f);}(a1021_0x4da0,0x18a));const a1021_0x5d93=function(_0x33590c,_0x4da05f){_0x33590c=_0x33590c-0x0;let _0x5d935b=a1021_0x4da0[_0x33590c];return _0x5d935b;};const _0x87f728=a1021_0x5d93;'use strict';const config=require('../config/environment'),cs=require(_0x87f728('0x18b'))['getConfigService'](),Sequelize=require(_0x87f728('0x18')),_=require(_0x87f728('0x137')),jstz=require('jstz'),timezone=jstz[_0x87f728('0x8b')](),DEFAULTS={'database':cs[_0x87f728('0xf')],'username':cs[_0x87f728('0x31')],'password':cs['mysqlPassword'],'options':{'host':cs[_0x87f728('0x6d')],'port':cs[_0x87f728('0x1d0')],'dialect':_0x87f728('0x17b'),'dialectOptions':{'charset':_0x87f728('0x1cd')},'logging':![],'timezone':timezone['name'](),'define':{'charset':_0x87f728('0x1a7'),'collate':_0x87f728('0xec')}}};config[_0x87f728('0x18')]=_['defaultsDeep'](config['sequelize'],DEFAULTS),config[_0x87f728('0x1dd')]=_['defaultsDeep'](config['sequelizeHistory'],DEFAULTS);const db={'Sequelize':Sequelize,'sequelize':new Sequelize(config[_0x87f728('0x18')][_0x87f728('0x8e')],config[_0x87f728('0x18')]['username'],config[_0x87f728('0x18')][_0x87f728('0xf6')],config[_0x87f728('0x18')][_0x87f728('0x155')])},dbH={'Sequelize':Sequelize,'sequelize':new Sequelize(config[_0x87f728('0x1dd')]['database'],config[_0x87f728('0x1dd')][_0x87f728('0x122')],config[_0x87f728('0x1dd')][_0x87f728('0xf6')],config[_0x87f728('0x1dd')]['options'])};db[_0x87f728('0x142')]=require(_0x87f728('0xdc'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['VoiceChanSpy']=require(_0x87f728('0x117'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db['VoiceContext']=require('../api/voiceContext/voiceContext.model')(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['VoiceExtension']=require('../api/voiceExtension/voiceExtension.model')(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db['VoiceMusicOnHold']=require('../api/voiceMusicOnHold/voiceMusicOnHold.model')(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['VoiceQueue']=require(_0x87f728('0x19e'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0x171')]=require(_0x87f728('0x41'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x3')]=require('../api/screenRecording/screenRecording.model')(db['sequelize'],Sequelize['DataTypes']),db[_0x87f728('0x83')]=require('../api/voiceMail/voiceMail.model')(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x15b')]=require(_0x87f728('0x1d9'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x4f')]=require(_0x87f728('0xb3'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xca')]=require(_0x87f728('0x183'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xda')]=require('../api/voiceAgentReport/voiceAgentReport.model')(db[_0x87f728('0x18')],Sequelize['DataTypes']),db['VoiceQueueReport']=require(_0x87f728('0x9e'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x6f')]=require(_0x87f728('0x90'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x1d1')]=require(_0x87f728('0x3d'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xf8')]=require(_0x87f728('0x85'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xb6')]=require(_0x87f728('0x106'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x61')]=require(_0x87f728('0x14d'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db['UserChatQueue']=require(_0x87f728('0x166'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db['UserMailQueue']=require(_0x87f728('0x29'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['UserFaxQueue']=require(_0x87f728('0x17a'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x13a')]=require('../api/userSmsQueue/userSmsQueue.model')(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0x1b2')]=require(_0x87f728('0x33'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x109')]=require(_0x87f728('0x5e'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0x2c')]=require(_0x87f728('0xb7'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x82')]=require(_0x87f728('0x4c'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0xe0')]=require(_0x87f728('0x115'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x1cc')]=require('../api/mailQueue/mailQueue.model')(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x141')]=require('../api/mailSubstatus/mailSubstatus.model')(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db['MailInteraction']=require(_0x87f728('0x6b'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db['MailMessage']=require(_0x87f728('0x19b'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xd3')]=require('../api/mailApplication/mailApplication.model')(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xc1')]=require(_0x87f728('0x1d2'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x5d')]=require('../api/dashboard/dashboard.model')(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['DashboardItem']=require('../api/dashboardItem/dashboardItem.model')(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xe8')]=require('../api/faxAccount/faxAccount.model')(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x111')]=require(_0x87f728('0x67'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db['FaxInteraction']=require(_0x87f728('0xb0'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db['FaxMessage']=require(_0x87f728('0xb4'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['FaxQueue']=require(_0x87f728('0x57'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0x73')]=require(_0x87f728('0x1c5'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x26')]=require(_0x87f728('0x1a9'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x110')]=require('../api/smsApplication/smsApplication.model')(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x133')]=require(_0x87f728('0xa7'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xf4')]=require('../api/smsMessage/smsMessage.model')(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x17')]=require(_0x87f728('0x45'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x92')]=require(_0x87f728('0xe5'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['OpenchannelApplication']=require(_0x87f728('0x1d8'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x98')]=require(_0x87f728('0x80'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['OpenchannelMessage']=require('../api/openchannelMessage/openchannelMessage.model')(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x168')]=require(_0x87f728('0x187'))(db['sequelize'],Sequelize['DataTypes']),db[_0x87f728('0x7e')]=require(_0x87f728('0x24'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x165')]=require(_0x87f728('0x162'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x188')]=require(_0x87f728('0x185'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x84')]=require(_0x87f728('0x2a'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x71')]=require(_0x87f728('0x12f'))(db['sequelize'],Sequelize['DataTypes']),db[_0x87f728('0x12e')]=require(_0x87f728('0x48'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x99')]=require(_0x87f728('0x21'))(db['sequelize'],Sequelize['DataTypes']),db[_0x87f728('0x101')]=require('../api/chatGroup/chatGroup.model')(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x50')]=require(_0x87f728('0x131'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x1da')]=require(_0x87f728('0x116'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x11b')]=require(_0x87f728('0x19f'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x161')]=require(_0x87f728('0xd1'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x5')]=require(_0x87f728('0xcd'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x3f')]=require('../api/cmHopperFinal/cmHopperFinal.model')(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x66')]=require(_0x87f728('0x1ec'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0x18e')]=require('../api/reportAgentPreview/reportAgentPreview.model')(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x1b4')]=require(_0x87f728('0x176'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xa2')]=require(_0x87f728('0xdb'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['Automation']=require(_0x87f728('0x1f4'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x1f')]=require(_0x87f728('0x152'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x130')]=require(_0x87f728('0x1bf'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x1c1')]=require(_0x87f728('0x58'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x78')]=require(_0x87f728('0x88'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x43')]=require(_0x87f728('0xa'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x1a1')]=require(_0x87f728('0x79'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x2d')]=require(_0x87f728('0x1c2'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x19d')]=require(_0x87f728('0x8c'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x42')]=require(_0x87f728('0xb8'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x10b')]=require(_0x87f728('0x112'))(db['sequelize'],Sequelize['DataTypes']),db['Template']=require(_0x87f728('0x4a'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xa8')]=require(_0x87f728('0x1bb'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0x9b')]=require(_0x87f728('0x10c'))(db['sequelize'],Sequelize['DataTypes']),db[_0x87f728('0xc7')]=require(_0x87f728('0xc6'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x1f1')]=require(_0x87f728('0xb5'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0xa0')]=require(_0x87f728('0x14a'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db['AnalyticDefaultReport']=require(_0x87f728('0x1c8'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['AnalyticExtractedReport']=require(_0x87f728('0x6a'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xef')]=require(_0x87f728('0xe7'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x102')]=require(_0x87f728('0x1b1'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x15d')]=require(_0x87f728('0xc3'))(db['sequelize'],Sequelize['DataTypes']),db[_0x87f728('0x1c0')]=require(_0x87f728('0x169'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xb1')]=require(_0x87f728('0x5c'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x13f')]=require('../api/intSalesforceField/intSalesforceField.model')(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0x94')]=require(_0x87f728('0x160'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x1a6')]=require(_0x87f728('0x69'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x16e')]=require(_0x87f728('0xc4'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x2f')]=require(_0x87f728('0xfc'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x120')]=require(_0x87f728('0xe2'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xd5')]=require(_0x87f728('0xce'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xf9')]=require(_0x87f728('0xde'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x9f')]=require(_0x87f728('0xbe'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x12a')]=require(_0x87f728('0x107'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xcf')]=require(_0x87f728('0xe1'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xdf')]=require(_0x87f728('0xe'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db['ZendeskField']=require('../api/intZendeskField/intZendeskField.model')(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['FreshdeskAccount']=require(_0x87f728('0xd2'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db['FreshdeskConfiguration']=require(_0x87f728('0x9c'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x6e')]=require('../api/intFreshdeskField/intFreshdeskField.model')(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x25')]=require(_0x87f728('0x1c9'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['VtigerConfiguration']=require(_0x87f728('0x3c'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0xbc')]=require('../api/intVtigerField/intVtigerField.model')(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x173')]=require(_0x87f728('0x17e'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['ServicenowConfiguration']=require('../api/intServicenowConfiguration/intServicenowConfiguration.model')(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x7f')]=require(_0x87f728('0x39'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0x0')]=require('../api/intDynamics365Account/intDynamics365Account.model')(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['Dynamics365Configuration']=require(_0x87f728('0x1'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db['Dynamics365Field']=require(_0x87f728('0xa5'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0x17f')]=require(_0x87f728('0x143'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x11a')]=require(_0x87f728('0x1d6'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['FreshsalesField']=require(_0x87f728('0x146'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0xc7')]=require(_0x87f728('0xc6'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['Network']=require(_0x87f728('0x126'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x51')]=require(_0x87f728('0x1db'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x114')]=require('../api/chatInternalMessage/chatInternalMessage.model')(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x52')]=require(_0x87f728('0xee'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x140')]=require(_0x87f728('0x1e5'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0x86')]=require(_0x87f728('0x70'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xd0')]=require(_0x87f728('0xc'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x1a5')]=require(_0x87f728('0x10f'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xf0')]=require(_0x87f728('0x156'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xf1')]=require(_0x87f728('0x1eb'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x13e')]=require(_0x87f728('0x1be'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x55')]=require(_0x87f728('0x1e'))(db['sequelize'],Sequelize['DataTypes']),db[_0x87f728('0x1ab')]=require(_0x87f728('0x11'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x16c')]=require(_0x87f728('0x163'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x65')]=require(_0x87f728('0xf7'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['Team']=require('../api/team/team.model')(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x87')]=require(_0x87f728('0x1bd'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0x74')]=require(_0x87f728('0xb'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xaa')]=require(_0x87f728('0x7d'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db['Attachment']=require('../api/attachment/attachment.model')(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['Plugin']=require(_0x87f728('0x175'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0x2')]=require(_0x87f728('0x158'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0xd7')]=require(_0x87f728('0x15c'))(db['sequelize'],Sequelize['DataTypes']),db['FaxTransferReport']=require(_0x87f728('0x1b6'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['OpenchannelTransferReport']=require(_0x87f728('0x56'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['SmsTransferReport']=require(_0x87f728('0xff'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['CmList']=require(_0x87f728('0x1a2'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x14b')]=require(_0x87f728('0x1a0'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x9')]=require(_0x87f728('0x159'))(db['sequelize'],Sequelize['DataTypes']),db[_0x87f728('0x20')]=require(_0x87f728('0x8a'))(db['sequelize'],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x192')]=require(_0x87f728('0x1c4'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x4e')]=require(_0x87f728('0x13'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x5a')]=require(_0x87f728('0xc8'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x119')]=require(_0x87f728('0xbd'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x1a')]=require('../api/whatsappInteraction/whatsappInteraction.model')(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0x3e')]=require('../api/whatsappMessage/whatsappMessage.model')(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0x1e4')]=require(_0x87f728('0x93'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db['WhatsappTransferReport']=require(_0x87f728('0xa4'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0x19a')]=require(_0x87f728('0xa9'))(db[_0x87f728('0x18')],Sequelize[_0x87f728('0x1e9')]),db[_0x87f728('0x14')]=require(_0x87f728('0x150'))(db[_0x87f728('0x18')],Sequelize['DataTypes']),db[_0x87f728('0x142')][_0x87f728('0xea')](db['VoiceMail'],{'as':_0x87f728('0x83'),'onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0x76')}),db[_0x87f728('0x142')][_0x87f728('0x7c')](db[_0x87f728('0x171')],{'as':_0x87f728('0x123'),'foreignKey':_0x87f728('0x76')}),db[_0x87f728('0x142')][_0x87f728('0x7c')](db[_0x87f728('0xb6')],{'as':_0x87f728('0x1d3'),'foreignKey':_0x87f728('0x76')}),db[_0x87f728('0x142')][_0x87f728('0x7c')](db[_0x87f728('0x27')],{'as':'Extensions','onDelete':_0x87f728('0x16f'),'hooks':!![]}),db[_0x87f728('0x142')][_0x87f728('0x7c')](db[_0x87f728('0x3f')],{'as':'HopperFinals','foreignKey':_0x87f728('0x76')}),db['User'][_0x87f728('0x7c')](db[_0x87f728('0x66')],{'as':_0x87f728('0x10e'),'foreignKey':_0x87f728('0x76')}),db[_0x87f728('0x142')][_0x87f728('0x7c')](db[_0x87f728('0x18e')],{'as':_0x87f728('0x18e'),'foreignKey':_0x87f728('0x76')}),db[_0x87f728('0x142')][_0x87f728('0x7c')](db[_0x87f728('0x98')],{'as':'OpenchannelInteractions','foreignKey':_0x87f728('0x76')}),db[_0x87f728('0x142')]['hasMany'](db[_0x87f728('0x84')],{'as':_0x87f728('0x1e3'),'foreignKey':_0x87f728('0x76')}),db['User'][_0x87f728('0x7c')](db[_0x87f728('0x133')],{'as':_0x87f728('0x64'),'foreignKey':_0x87f728('0x76')}),db[_0x87f728('0x142')][_0x87f728('0x7c')](db[_0x87f728('0x129')],{'as':_0x87f728('0x10'),'foreignKey':'UserId'}),db[_0x87f728('0x142')][_0x87f728('0x7c')](db['MailInteraction'],{'as':'MailInteractions','foreignKey':_0x87f728('0x76')}),db[_0x87f728('0x142')][_0x87f728('0x7c')](db[_0x87f728('0x1a')],{'as':'WhatsappInteractions','foreignKey':_0x87f728('0x76')}),db[_0x87f728('0x142')][_0x87f728('0x7c')](db[_0x87f728('0x4e')],{'as':_0x87f728('0x105'),'foreignKey':_0x87f728('0x91')}),db['User'][_0x87f728('0x193')](db[_0x87f728('0x9')],{'as':_0x87f728('0x9'),'foreignKey':'userProfileId','onDelete':'restrict'}),db[_0x87f728('0x142')][_0x87f728('0xc2')](db[_0x87f728('0x101')],{'as':_0x87f728('0xab'),'through':_0x87f728('0x1d4')}),db[_0x87f728('0x142')][_0x87f728('0xc2')](db['CmContact'],{'as':_0x87f728('0x19'),'through':'cm_user_has_contacts'}),db[_0x87f728('0x142')][_0x87f728('0xc2')](db[_0x87f728('0x1df')],{'as':_0x87f728('0xfb'),'through':'cm_user_has_lists'}),db[_0x87f728('0x142')][_0x87f728('0xc2')](db[_0x87f728('0xd6')],{'through':_0x87f728('0xd4')}),db[_0x87f728('0x142')]['belongsToMany'](db[_0x87f728('0x81')],{'as':_0x87f728('0x63'),'through':_0x87f728('0x1c3')}),db[_0x87f728('0x142')]['belongsToMany'](db[_0x87f728('0x84')],{'as':_0x87f728('0x170'),'through':_0x87f728('0x7a')}),db[_0x87f728('0x142')]['belongsToMany'](db[_0x87f728('0x129')],{'as':'UserFaxInteractions','through':_0x87f728('0x12')}),db[_0x87f728('0x142')][_0x87f728('0xc2')](db[_0x87f728('0x133')],{'as':_0x87f728('0x147'),'through':_0x87f728('0x15f')}),db[_0x87f728('0x142')][_0x87f728('0xc2')](db['OpenchannelInteraction'],{'as':'UserOpenchannelInteractions','through':_0x87f728('0x23')}),db[_0x87f728('0x142')][_0x87f728('0xc2')](db[_0x87f728('0x1a')],{'as':_0x87f728('0x15a'),'through':_0x87f728('0x36')}),db[_0x87f728('0x142')][_0x87f728('0xc2')](db[_0x87f728('0x12d')],{'as':'VoiceQueues','through':_0x87f728('0x61'),'required':![]}),db['User'][_0x87f728('0xc2')](db[_0x87f728('0x1cc')],{'as':'MailQueues','through':_0x87f728('0x46'),'required':![]}),db[_0x87f728('0x142')][_0x87f728('0xc2')](db[_0x87f728('0x99')],{'as':_0x87f728('0x16b'),'through':_0x87f728('0x14c'),'required':![],'hooks':!![]}),db[_0x87f728('0x142')][_0x87f728('0xc2')](db[_0x87f728('0x15')],{'as':'FaxQueues','through':'UserFaxQueue','required':![]}),db[_0x87f728('0x142')]['belongsToMany'](db[_0x87f728('0x17')],{'as':_0x87f728('0x197'),'through':'UserSmsQueue','required':![]}),db[_0x87f728('0x142')]['belongsToMany'](db[_0x87f728('0x168')],{'as':'OpenchannelQueues','through':_0x87f728('0x1b2'),'required':![]}),db[_0x87f728('0x142')][_0x87f728('0xc2')](db[_0x87f728('0x19a')],{'as':'WhatsappQueues','through':'UserWhatsappQueue','required':![]}),db['User'][_0x87f728('0xc2')](db['CmList'],{'through':_0x87f728('0x113')}),db[_0x87f728('0x142')][_0x87f728('0xc2')](db[_0x87f728('0x14b')],{'as':'VoicePrefixes','through':'user_has_voice_prefixes','required':![]}),db[_0x87f728('0x142')][_0x87f728('0xc2')](db[_0x87f728('0x7e')],{'as':_0x87f728('0x62'),'through':_0x87f728('0x11d')}),db[_0x87f728('0x142')][_0x87f728('0xc2')](db['FaxAccount'],{'as':_0x87f728('0xfe'),'through':_0x87f728('0x184')}),db[_0x87f728('0x142')][_0x87f728('0xc2')](db[_0x87f728('0xe0')],{'as':'MailAccounts','through':'user_has_mail_accounts'}),db[_0x87f728('0x142')]['belongsToMany'](db[_0x87f728('0x92')],{'as':_0x87f728('0x151'),'through':_0x87f728('0x199')}),db[_0x87f728('0x142')]['belongsToMany'](db[_0x87f728('0x26')],{'as':_0x87f728('0x148'),'through':'user_has_sms_accounts'}),db['User'][_0x87f728('0xc2')](db[_0x87f728('0x5a')],{'as':'WhatsappAccounts','through':_0x87f728('0x2e')}),db[_0x87f728('0x142')][_0x87f728('0xc2')](db[_0x87f728('0x1ab')],{'as':_0x87f728('0x18f'),'through':_0x87f728('0x189')}),db[_0x87f728('0x13b')][_0x87f728('0x7c')](db[_0x87f728('0x27')],{'as':_0x87f728('0x38'),'onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0x1cf')}),db[_0x87f728('0x104')][_0x87f728('0x7c')](db[_0x87f728('0x27')],{'onDelete':_0x87f728('0x16f')}),db[_0x87f728('0x27')][_0x87f728('0x7c')](db['VoiceExtension'],{'as':_0x87f728('0xcc'),'onDelete':_0x87f728('0x16f')}),db[_0x87f728('0x1e6')]['belongsToMany'](db[_0x87f728('0x42')],{'as':_0x87f728('0x18c'),'through':'moh_has_sounds'}),db[_0x87f728('0x12d')][_0x87f728('0x7c')](db[_0x87f728('0xb6')],{'as':'Members','foreignKey':_0x87f728('0x4b')}),db[_0x87f728('0x12d')]['hasMany'](db[_0x87f728('0x161')],{'as':_0x87f728('0x1f3'),'foreignKey':'VoiceQueueId'}),db[_0x87f728('0x12d')][_0x87f728('0x7c')](db[_0x87f728('0x3f')],{'as':_0x87f728('0xf5'),'foreignKey':_0x87f728('0x4b')}),db[_0x87f728('0x12d')][_0x87f728('0x7c')](db[_0x87f728('0x66')],{'as':_0x87f728('0x14f'),'foreignKey':_0x87f728('0x4b')}),db[_0x87f728('0x12d')][_0x87f728('0x7c')](db[_0x87f728('0x18e')],{'as':_0x87f728('0x18e'),'foreignKey':'VoiceQueueId'}),db[_0x87f728('0x12d')][_0x87f728('0x7c')](db['CmHopperBlack'],{'as':_0x87f728('0x4'),'foreignKey':_0x87f728('0x4b')}),db[_0x87f728('0x12d')]['hasMany'](db[_0x87f728('0x86')],{'as':_0x87f728('0x1ca'),'foreignKey':'VoiceQueueId'}),db['VoiceQueue'][_0x87f728('0x193')](db[_0x87f728('0x1d1')],{'as':'Trunk','foreignKey':_0x87f728('0xdd')}),db[_0x87f728('0x12d')]['belongsTo'](db[_0x87f728('0x1d1')],{'as':_0x87f728('0x1af'),'foreignKey':'TrunkBackupId'}),db[_0x87f728('0x12d')]['belongsTo'](db[_0x87f728('0x78')],{'as':_0x87f728('0x78'),'foreignKey':_0x87f728('0x9a')}),db[_0x87f728('0x12d')][_0x87f728('0x193')](db['Pause'],{'as':'mandatoryDispositionPause','foreignKey':_0x87f728('0x8d')}),db[_0x87f728('0x12d')][_0x87f728('0xc2')](db[_0x87f728('0x1df')],{'as':_0x87f728('0xfb'),'through':_0x87f728('0x181')}),db[_0x87f728('0x12d')][_0x87f728('0xc2')](db[_0x87f728('0x142')],{'as':_0x87f728('0x59'),'through':_0x87f728('0x61')}),db[_0x87f728('0x12d')][_0x87f728('0xc2')](db[_0x87f728('0xd6')],{'as':_0x87f728('0x164'),'through':_0x87f728('0x1ed')}),db[_0x87f728('0x12d')][_0x87f728('0xc2')](db[_0x87f728('0x1df')],{'as':'BlackLists','through':'voice_queues_has_cm_blacklists'}),db[_0x87f728('0x171')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'as':_0x87f728('0x142'),'foreignKey':'UserId'}),db[_0x87f728('0x3')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'as':_0x87f728('0x142'),'foreignKey':'UserId'}),db['VoiceMail']['hasMany'](db[_0x87f728('0x15b')],{'as':_0x87f728('0x15e'),'onDelete':'cascade','foreignKey':'mailboxuser','sourceKey':_0x87f728('0xe3')}),db[_0x87f728('0x15b')][_0x87f728('0x193')](db[_0x87f728('0x83')],{'foreignKey':'mailboxuser','targetKey':'mailbox'}),db['VoiceCallReport']['hasMany'](db[_0x87f728('0x1a4')],{'as':'QueueCalls','foreignKey':_0x87f728('0x1ac'),'constraints':![]}),db[_0x87f728('0x4f')]['hasMany'](db['VoiceAgentReport'],{'as':_0x87f728('0x16a'),'foreignKey':_0x87f728('0x1ac'),'constraints':![]}),db[_0x87f728('0x4f')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'as':_0x87f728('0x142'),'foreignKey':_0x87f728('0x76')}),db['VoiceCallReport'][_0x87f728('0x193')](db[_0x87f728('0x11b')],{'as':_0x87f728('0xa6'),'foreignKey':'ContactId'}),db[_0x87f728('0xe0')][_0x87f728('0xea')](db[_0x87f728('0x2c')],{'as':_0x87f728('0xfa'),'foreignKey':_0x87f728('0xb2'),'onDelete':'cascade'}),db[_0x87f728('0xe0')][_0x87f728('0xea')](db[_0x87f728('0x82')],{'as':_0x87f728('0x5b'),'foreignKey':_0x87f728('0xb2'),'onDelete':_0x87f728('0x16f')}),db[_0x87f728('0xe0')][_0x87f728('0x7c')](db['Disposition'],{'as':_0x87f728('0x16'),'foreignKey':_0x87f728('0xb2')}),db[_0x87f728('0xe0')][_0x87f728('0x7c')](db[_0x87f728('0x1f')],{'as':_0x87f728('0x3b'),'foreignKey':_0x87f728('0xb2')}),db['MailAccount'][_0x87f728('0x7c')](db[_0x87f728('0x34')],{'as':_0x87f728('0x15e'),'foreignKey':_0x87f728('0xb2')}),db['MailAccount'][_0x87f728('0x7c')](db[_0x87f728('0x81')],{'as':'Interactions'}),db[_0x87f728('0xe0')][_0x87f728('0x7c')](db[_0x87f728('0xd3')],{'as':'Applications'}),db[_0x87f728('0xe0')][_0x87f728('0x193')](db[_0x87f728('0x1df')],{'as':_0x87f728('0x4d'),'foreignKey':_0x87f728('0x1ad')}),db[_0x87f728('0xe0')][_0x87f728('0x193')](db[_0x87f728('0x1e0')],{'as':_0x87f728('0x1e0'),'foreignKey':_0x87f728('0x124')}),db['MailAccount'][_0x87f728('0x193')](db[_0x87f728('0x43')],{'as':_0x87f728('0x132'),'foreignKey':_0x87f728('0x8d')}),db[_0x87f728('0xe0')][_0x87f728('0xc2')](db[_0x87f728('0x142')],{'as':_0x87f728('0x59'),'through':_0x87f728('0x95')}),db['MailQueue'][_0x87f728('0xc2')](db['User'],{'as':_0x87f728('0x59'),'through':_0x87f728('0x46')}),db['MailQueue'][_0x87f728('0xc2')](db['Team'],{'through':_0x87f728('0x3a'),'as':'Teams'}),db[_0x87f728('0x81')][_0x87f728('0x7c')](db['MailMessage'],{'as':_0x87f728('0x15e'),'onDelete':_0x87f728('0x16f'),'foreignKey':'MailInteractionId'}),db[_0x87f728('0x81')][_0x87f728('0x193')](db[_0x87f728('0xe0')],{'as':_0x87f728('0x40'),'foreignKey':_0x87f728('0xb2')}),db[_0x87f728('0x81')][_0x87f728('0x193')](db[_0x87f728('0x11b')],{'as':_0x87f728('0xa6'),'foreignKey':_0x87f728('0x179')}),db[_0x87f728('0x81')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'as':_0x87f728('0x9d'),'foreignKey':_0x87f728('0x76')}),db[_0x87f728('0x81')]['belongsToMany'](db[_0x87f728('0x10b')],{'through':'mail_interaction_has_tags','as':'Tags'}),db[_0x87f728('0x81')][_0x87f728('0xc2')](db['Tag'],{'through':'mail_interaction_has_tags','as':'ThroughTags'}),db['MailInteraction'][_0x87f728('0xc2')](db['User'],{'as':_0x87f728('0xaf'),'through':_0x87f728('0x1c3'),'foreignKey':_0x87f728('0x103')}),db[_0x87f728('0x34')][_0x87f728('0x7c')](db[_0x87f728('0x100')],{'as':'Attachments','onDelete':'cascade'}),db['MailMessage'][_0x87f728('0x193')](db[_0x87f728('0x142')],{'as':'User'}),db[_0x87f728('0x34')]['belongsTo'](db[_0x87f728('0x11b')],{'onDelete':_0x87f728('0x16f'),'as':'Contact'}),db['MailMessage'][_0x87f728('0x193')](db[_0x87f728('0x81')],{'as':_0x87f728('0x7'),'foreignKey':_0x87f728('0x103')}),db[_0x87f728('0x34')][_0x87f728('0x193')](db[_0x87f728('0xe0')],{'as':_0x87f728('0x40'),'foreignKey':'MailAccountId'}),db['MailApplication'][_0x87f728('0x193')](db[_0x87f728('0x142')],{'onDelete':_0x87f728('0x174')}),db[_0x87f728('0xd3')]['belongsTo'](db['MailQueue'],{'onDelete':'restrict'}),db[_0x87f728('0xd3')][_0x87f728('0x193')](db[_0x87f728('0xe0')],{'onDelete':_0x87f728('0x174')}),db['MailApplication'][_0x87f728('0x193')](db[_0x87f728('0x78')],{'onDelete':_0x87f728('0x174'),'foreignKey':_0x87f728('0x9a')}),db['MailApplication'][_0x87f728('0x193')](db[_0x87f728('0x10b')],{'onDelete':'restrict','foreignKey':'TagId'}),db[_0x87f728('0xc1')][_0x87f728('0x193')](db[_0x87f728('0xe0')],{}),db['MailQueueReport']['belongsTo'](db[_0x87f728('0x1df')],{'as':_0x87f728('0x4d'),'foreignKey':'ListId'}),db[_0x87f728('0xc1')][_0x87f728('0x193')](db[_0x87f728('0x11b')],{'as':_0x87f728('0xa6'),'foreignKey':_0x87f728('0x179')}),db[_0x87f728('0xc1')][_0x87f728('0x193')](db[_0x87f728('0x81')],{}),db[_0x87f728('0xc1')]['belongsTo'](db[_0x87f728('0x34')],{}),db['MailQueueReport'][_0x87f728('0x193')](db[_0x87f728('0x142')],{}),db[_0x87f728('0xc1')][_0x87f728('0x193')](db['MailQueue'],{}),db[_0x87f728('0x5d')]['hasMany'](db['DashboardItem'],{'as':_0x87f728('0xeb'),'onDelete':_0x87f728('0x16f')}),db['FaxAccount'][_0x87f728('0x7c')](db['Disposition'],{'as':'Dispositions','foreignKey':_0x87f728('0xe6')}),db[_0x87f728('0xe8')][_0x87f728('0x7c')](db['CannedAnswer'],{'as':'Answers','foreignKey':_0x87f728('0xe6')}),db[_0x87f728('0xe8')][_0x87f728('0x7c')](db['FaxInteraction'],{'as':_0x87f728('0xe9')}),db[_0x87f728('0xe8')]['hasMany'](db['FaxApplication'],{'as':_0x87f728('0xcc')}),db['FaxAccount'][_0x87f728('0x7c')](db[_0x87f728('0x27')],{'as':_0x87f728('0xed'),'onDelete':'cascade'}),db['FaxAccount'][_0x87f728('0x7c')](db[_0x87f728('0xc9')],{'as':_0x87f728('0x15e')}),db[_0x87f728('0xe8')][_0x87f728('0x193')](db['Trunk'],{'as':_0x87f728('0x1d1')}),db[_0x87f728('0xe8')]['belongsTo'](db[_0x87f728('0x1df')],{'as':'List','foreignKey':'ListId'}),db[_0x87f728('0xe8')][_0x87f728('0x193')](db['Pause'],{'as':_0x87f728('0x132'),'foreignKey':_0x87f728('0x8d')}),db[_0x87f728('0xe8')]['belongsToMany'](db[_0x87f728('0x142')],{'as':'Agents','through':_0x87f728('0x184')}),db['FaxApplication']['belongsTo'](db['User'],{'onDelete':_0x87f728('0x174')}),db[_0x87f728('0x111')][_0x87f728('0x193')](db['FaxQueue'],{'onDelete':'restrict'}),db[_0x87f728('0x111')][_0x87f728('0x193')](db[_0x87f728('0xe8')],{'onDelete':_0x87f728('0x174')}),db[_0x87f728('0x111')][_0x87f728('0x193')](db[_0x87f728('0x10b')],{'onDelete':_0x87f728('0x174'),'foreignKey':_0x87f728('0x11e')}),db['FaxInteraction'][_0x87f728('0x7c')](db[_0x87f728('0xc9')],{'as':_0x87f728('0x15e'),'onDelete':'cascade','foreignKey':_0x87f728('0xad')}),db[_0x87f728('0x129')]['belongsTo'](db[_0x87f728('0xe8')],{'as':_0x87f728('0x40'),'foreignKey':_0x87f728('0xe6')}),db[_0x87f728('0x129')][_0x87f728('0x193')](db[_0x87f728('0x11b')],{'as':_0x87f728('0xa6'),'foreignKey':_0x87f728('0x179')}),db[_0x87f728('0x129')][_0x87f728('0x193')](db['User'],{'as':_0x87f728('0x9d'),'foreignKey':_0x87f728('0x76')}),db[_0x87f728('0x129')][_0x87f728('0xc2')](db[_0x87f728('0x10b')],{'through':_0x87f728('0xd8'),'as':_0x87f728('0xb9')}),db['FaxInteraction'][_0x87f728('0xc2')](db[_0x87f728('0x10b')],{'through':_0x87f728('0xd8'),'as':_0x87f728('0x127')}),db[_0x87f728('0x129')][_0x87f728('0xc2')](db[_0x87f728('0x142')],{'as':_0x87f728('0xaf'),'through':_0x87f728('0x12'),'foreignKey':_0x87f728('0xad')}),db[_0x87f728('0xc9')][_0x87f728('0x193')](db['User'],{'onDelete':_0x87f728('0x16f'),'as':_0x87f728('0x142')}),db['FaxMessage'][_0x87f728('0x193')](db['FaxInteraction'],{'as':_0x87f728('0x7'),'foreignKey':'FaxInteractionId'}),db[_0x87f728('0xc9')][_0x87f728('0x193')](db[_0x87f728('0x11b')],{'onDelete':_0x87f728('0x16f'),'as':_0x87f728('0xa6')}),db[_0x87f728('0xc9')][_0x87f728('0x193')](db[_0x87f728('0x100')],{'as':'Attachment','foreignKey':_0x87f728('0x139')}),db[_0x87f728('0xc9')][_0x87f728('0x193')](db[_0x87f728('0xe8')],{'as':'Account','foreignKey':_0x87f728('0xe6')}),db[_0x87f728('0x15')][_0x87f728('0xc2')](db[_0x87f728('0x142')],{'as':_0x87f728('0x59'),'through':_0x87f728('0x196')}),db['FaxQueue'][_0x87f728('0xc2')](db[_0x87f728('0xd6')],{'through':_0x87f728('0x12b'),'as':'Teams'}),db[_0x87f728('0x73')][_0x87f728('0x193')](db[_0x87f728('0xe8')],{}),db['FaxQueueReport']['belongsTo'](db[_0x87f728('0x1df')],{'as':_0x87f728('0x4d'),'foreignKey':_0x87f728('0x1ad')}),db[_0x87f728('0x73')]['belongsTo'](db[_0x87f728('0x11b')],{'as':'Contact','foreignKey':_0x87f728('0x179')}),db[_0x87f728('0x73')][_0x87f728('0x193')](db[_0x87f728('0x129')],{}),db[_0x87f728('0x73')][_0x87f728('0x193')](db[_0x87f728('0xc9')],{}),db[_0x87f728('0x73')][_0x87f728('0x193')](db[_0x87f728('0x142')],{}),db[_0x87f728('0x73')][_0x87f728('0x193')](db[_0x87f728('0x15')],{}),db['SmsAccount'][_0x87f728('0x7c')](db[_0x87f728('0x130')],{'as':'Dispositions','foreignKey':_0x87f728('0x190')}),db[_0x87f728('0x26')][_0x87f728('0x7c')](db[_0x87f728('0x1f')],{'as':_0x87f728('0x3b'),'foreignKey':_0x87f728('0x190')}),db[_0x87f728('0x26')]['hasMany'](db[_0x87f728('0xf4')],{'as':'Messages','foreignKey':_0x87f728('0x190')}),db[_0x87f728('0x26')][_0x87f728('0x7c')](db[_0x87f728('0x133')],{'as':'Interactions'}),db['SmsAccount']['hasMany'](db['SmsApplication'],{'as':'Applications'}),db[_0x87f728('0x26')][_0x87f728('0x193')](db[_0x87f728('0x1df')],{'as':_0x87f728('0x4d'),'foreignKey':_0x87f728('0x1ad')}),db[_0x87f728('0x26')][_0x87f728('0x193')](db['Pause'],{'as':_0x87f728('0x132'),'foreignKey':_0x87f728('0x8d')}),db[_0x87f728('0x26')][_0x87f728('0xc2')](db[_0x87f728('0x142')],{'as':_0x87f728('0x59'),'through':_0x87f728('0x10a')}),db[_0x87f728('0x110')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'onDelete':_0x87f728('0x174')}),db['SmsApplication'][_0x87f728('0x193')](db['SmsQueue'],{'onDelete':_0x87f728('0x174')}),db[_0x87f728('0x110')][_0x87f728('0x193')](db[_0x87f728('0x26')],{'onDelete':_0x87f728('0x174')}),db[_0x87f728('0x110')]['belongsTo'](db[_0x87f728('0x78')],{'onDelete':'restrict','foreignKey':_0x87f728('0x9a')}),db[_0x87f728('0x110')][_0x87f728('0x193')](db[_0x87f728('0x10b')],{'onDelete':'restrict','foreignKey':'TagId'}),db[_0x87f728('0x133')]['hasMany'](db[_0x87f728('0xf4')],{'as':'Messages','onDelete':'cascade','foreignKey':'SmsInteractionId'}),db[_0x87f728('0x133')]['belongsTo'](db['SmsAccount'],{'as':_0x87f728('0x40'),'foreignKey':_0x87f728('0x190')}),db[_0x87f728('0x133')][_0x87f728('0x193')](db[_0x87f728('0x11b')],{'as':_0x87f728('0xa6'),'foreignKey':_0x87f728('0x179')}),db[_0x87f728('0x133')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'as':'Owner','foreignKey':_0x87f728('0x76')}),db[_0x87f728('0x133')]['belongsToMany'](db['Tag'],{'through':_0x87f728('0x18d'),'as':_0x87f728('0xb9')}),db['SmsInteraction'][_0x87f728('0xc2')](db[_0x87f728('0x10b')],{'through':_0x87f728('0x18d'),'as':_0x87f728('0x127')}),db['SmsInteraction'][_0x87f728('0xc2')](db['User'],{'as':_0x87f728('0xaf'),'through':_0x87f728('0x15f'),'foreignKey':_0x87f728('0x108')}),db[_0x87f728('0xf4')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'as':_0x87f728('0x142')}),db[_0x87f728('0xf4')][_0x87f728('0x193')](db[_0x87f728('0x11b')],{'onDelete':_0x87f728('0x16f'),'as':'Contact'}),db[_0x87f728('0xf4')][_0x87f728('0x193')](db[_0x87f728('0x133')],{'onDelete':_0x87f728('0x16f'),'as':'Interaction','foreignKey':'SmsInteractionId'}),db[_0x87f728('0xf4')][_0x87f728('0x193')](db[_0x87f728('0x26')],{'as':_0x87f728('0x40'),'foreignKey':_0x87f728('0x190')}),db[_0x87f728('0x17')]['belongsToMany'](db[_0x87f728('0x142')],{'as':_0x87f728('0x59'),'through':_0x87f728('0x13a'),'foreignKey':'SmsQueueId'}),db[_0x87f728('0x17')][_0x87f728('0xc2')](db[_0x87f728('0xd6')],{'through':_0x87f728('0x1cb'),'as':_0x87f728('0x164')}),db['OpenchannelAccount'][_0x87f728('0x7c')](db['Disposition'],{'as':_0x87f728('0x16'),'foreignKey':_0x87f728('0x17d')}),db[_0x87f728('0x92')][_0x87f728('0x7c')](db[_0x87f728('0x1f')],{'as':_0x87f728('0x3b'),'foreignKey':_0x87f728('0x17d')}),db[_0x87f728('0x92')][_0x87f728('0x7c')](db[_0x87f728('0x98')],{'as':_0x87f728('0xe9'),'foreignKey':_0x87f728('0x17d')}),db[_0x87f728('0x92')][_0x87f728('0x7c')](db[_0x87f728('0x1ae')],{'as':_0x87f728('0x15e'),'foreignKey':_0x87f728('0x17d')}),db['OpenchannelAccount'][_0x87f728('0x7c')](db[_0x87f728('0x54')],{'as':_0x87f728('0xcc'),'foreignKey':_0x87f728('0x17d')}),db[_0x87f728('0x92')][_0x87f728('0x193')](db[_0x87f728('0x1df')],{'as':_0x87f728('0x4d'),'foreignKey':'ListId'}),db[_0x87f728('0x92')][_0x87f728('0x193')](db['Pause'],{'as':_0x87f728('0x132'),'foreignKey':_0x87f728('0x8d')}),db[_0x87f728('0x92')][_0x87f728('0xc2')](db[_0x87f728('0x142')],{'as':_0x87f728('0x59'),'through':_0x87f728('0x199')}),db[_0x87f728('0x54')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'onDelete':'restrict'}),db[_0x87f728('0x54')]['belongsTo'](db['OpenchannelQueue'],{'onDelete':_0x87f728('0x174'),'foreignKey':'OpenchannelQueueId'}),db[_0x87f728('0x54')][_0x87f728('0x193')](db[_0x87f728('0x92')],{'onDelete':_0x87f728('0x174'),'foreignKey':_0x87f728('0x17d')}),db[_0x87f728('0x54')][_0x87f728('0x193')](db[_0x87f728('0x78')],{'onDelete':'restrict','foreignKey':_0x87f728('0x9a')}),db[_0x87f728('0x54')][_0x87f728('0x193')](db[_0x87f728('0x10b')],{'onDelete':'restrict','foreignKey':_0x87f728('0x11e')}),db[_0x87f728('0x98')][_0x87f728('0x7c')](db[_0x87f728('0x1ae')],{'as':'Messages','onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0x1a3')}),db[_0x87f728('0x98')][_0x87f728('0x193')](db[_0x87f728('0x92')],{'as':_0x87f728('0x40'),'foreignKey':_0x87f728('0x17d')}),db[_0x87f728('0x98')][_0x87f728('0x193')](db[_0x87f728('0x11b')],{'as':_0x87f728('0xa6'),'foreignKey':_0x87f728('0x179')}),db[_0x87f728('0x98')]['belongsTo'](db[_0x87f728('0x142')],{'as':_0x87f728('0x9d'),'foreignKey':'UserId'}),db[_0x87f728('0x98')]['belongsToMany'](db[_0x87f728('0x10b')],{'through':'openchannel_interaction_has_tags','as':_0x87f728('0xb9')}),db[_0x87f728('0x98')][_0x87f728('0xc2')](db[_0x87f728('0x10b')],{'through':'openchannel_interaction_has_tags','as':_0x87f728('0x127')}),db[_0x87f728('0x98')][_0x87f728('0xc2')](db['User'],{'as':'Users','through':_0x87f728('0x23'),'foreignKey':_0x87f728('0x1a3')}),db[_0x87f728('0x1ae')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'onDelete':_0x87f728('0x16f'),'as':'User'}),db['OpenchannelMessage'][_0x87f728('0x193')](db[_0x87f728('0x11b')],{'onDelete':_0x87f728('0x16f'),'as':'Contact'}),db[_0x87f728('0x1ae')]['belongsTo'](db[_0x87f728('0x98')],{'onDelete':_0x87f728('0x16f'),'as':_0x87f728('0x7'),'foreignKey':_0x87f728('0x1a3')}),db['OpenchannelMessage'][_0x87f728('0x193')](db['Attachment'],{'as':_0x87f728('0x100'),'foreignKey':_0x87f728('0x139')}),db[_0x87f728('0x1ae')][_0x87f728('0x193')](db['OpenchannelAccount'],{'as':'Account','foreignKey':_0x87f728('0x17d')}),db['OpenchannelQueue'][_0x87f728('0xc2')](db['User'],{'as':'Agents','through':_0x87f728('0x1b2'),'foreignKey':_0x87f728('0x1c7')}),db[_0x87f728('0x168')]['belongsToMany'](db[_0x87f728('0xd6')],{'through':'team_has_openchannel_queues','as':_0x87f728('0x164')}),db[_0x87f728('0x7e')]['hasMany'](db[_0x87f728('0x130')],{'as':_0x87f728('0x16'),'foreignKey':_0x87f728('0x144')}),db[_0x87f728('0x7e')][_0x87f728('0x7c')](db[_0x87f728('0x1f')],{'as':_0x87f728('0x3b'),'foreignKey':_0x87f728('0x144')}),db[_0x87f728('0x7e')][_0x87f728('0x7c')](db[_0x87f728('0x50')],{'as':'ProactiveActions'}),db['ChatWebsite'][_0x87f728('0x7c')](db['ChatInteraction'],{'as':'Interactions'}),db['ChatWebsite'][_0x87f728('0x7c')](db[_0x87f728('0x188')],{'as':_0x87f728('0xcc')}),db['ChatWebsite'][_0x87f728('0x7c')](db[_0x87f728('0x71')],{'as':'Messages'}),db[_0x87f728('0x7e')][_0x87f728('0x193')](db[_0x87f728('0x1df')],{'as':_0x87f728('0x4d'),'foreignKey':_0x87f728('0x1ad')}),db[_0x87f728('0x7e')][_0x87f728('0x193')](db[_0x87f728('0x78')],{'as':_0x87f728('0x78'),'foreignKey':_0x87f728('0x9a')}),db[_0x87f728('0x7e')][_0x87f728('0x193')](db[_0x87f728('0x43')],{'as':'mandatoryDispositionPause','foreignKey':_0x87f728('0x8d')}),db[_0x87f728('0x7e')][_0x87f728('0xc2')](db['User'],{'as':_0x87f728('0x59'),'through':_0x87f728('0x11d')}),db[_0x87f728('0x165')][_0x87f728('0x193')](db[_0x87f728('0x92')],{}),db[_0x87f728('0x165')][_0x87f728('0x193')](db[_0x87f728('0x1df')],{'as':_0x87f728('0x4d'),'foreignKey':_0x87f728('0x1ad')}),db[_0x87f728('0x165')][_0x87f728('0x193')](db[_0x87f728('0x11b')],{'as':_0x87f728('0xa6'),'foreignKey':'ContactId'}),db[_0x87f728('0x165')][_0x87f728('0x193')](db['OpenchannelInteraction'],{}),db[_0x87f728('0x165')][_0x87f728('0x193')](db['OpenchannelMessage'],{}),db[_0x87f728('0x165')]['belongsTo'](db['User'],{}),db[_0x87f728('0x165')][_0x87f728('0x193')](db['OpenchannelQueue'],{}),db[_0x87f728('0x188')]['belongsTo'](db[_0x87f728('0x142')],{'as':_0x87f728('0xd9'),'foreignKey':_0x87f728('0x76'),'onDelete':_0x87f728('0x174')}),db['ChatApplication'][_0x87f728('0x193')](db['ChatQueue'],{'as':_0x87f728('0x53'),'foreignKey':'ChatQueueId','onDelete':'restrict'}),db[_0x87f728('0x188')][_0x87f728('0x193')](db['ChatWebsite'],{'as':_0x87f728('0x145'),'foreignKey':_0x87f728('0x144'),'onDelete':_0x87f728('0x174')}),db['ChatApplication'][_0x87f728('0x193')](db['Tag'],{'onDelete':_0x87f728('0x174'),'foreignKey':'TagId'}),db['ChatInteraction'][_0x87f728('0x7c')](db[_0x87f728('0x71')],{'as':_0x87f728('0x15e'),'onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0x1b7')}),db[_0x87f728('0x84')][_0x87f728('0x193')](db[_0x87f728('0x7e')],{'as':_0x87f728('0x40'),'foreignKey':_0x87f728('0x144')}),db[_0x87f728('0x84')]['belongsTo'](db['CmContact'],{'as':'Contact','foreignKey':_0x87f728('0x179')}),db['ChatInteraction'][_0x87f728('0x193')](db[_0x87f728('0x142')],{'as':_0x87f728('0x9d'),'foreignKey':_0x87f728('0x76')}),db[_0x87f728('0x84')][_0x87f728('0xc2')](db[_0x87f728('0x10b')],{'through':_0x87f728('0x1b3'),'as':'Tags'}),db[_0x87f728('0x84')][_0x87f728('0xc2')](db[_0x87f728('0x10b')],{'through':_0x87f728('0x1b3'),'as':_0x87f728('0x127')}),db[_0x87f728('0x84')][_0x87f728('0xc2')](db[_0x87f728('0x142')],{'as':_0x87f728('0xaf'),'through':_0x87f728('0x7a'),'foreignKey':_0x87f728('0x1b7')}),db['ChatMessage'][_0x87f728('0x193')](db['User'],{'onDelete':_0x87f728('0x16f'),'as':'User'}),db[_0x87f728('0x71')][_0x87f728('0x193')](db[_0x87f728('0x11b')],{'onDelete':_0x87f728('0x16f'),'as':'Contact','foreignKey':_0x87f728('0x179')}),db[_0x87f728('0x71')]['belongsTo'](db['ChatInteraction'],{'onDelete':_0x87f728('0x16f'),'as':_0x87f728('0x7'),'foreignKey':_0x87f728('0x1b7')}),db[_0x87f728('0x71')][_0x87f728('0x193')](db[_0x87f728('0x100')],{'as':_0x87f728('0x100'),'foreignKey':_0x87f728('0x139')}),db[_0x87f728('0x71')][_0x87f728('0x193')](db[_0x87f728('0x7e')],{'as':_0x87f728('0x40'),'foreignKey':_0x87f728('0x144')}),db[_0x87f728('0x12e')][_0x87f728('0x193')](db[_0x87f728('0x11b')],{'onDelete':_0x87f728('0x16f'),'as':_0x87f728('0xa6'),'foreignKey':_0x87f728('0x179')}),db['ChatOfflineMessage'][_0x87f728('0x193')](db[_0x87f728('0x7e')],{'as':_0x87f728('0x40'),'foreignKey':'ChatWebsiteId'}),db['ChatQueue'][_0x87f728('0xc2')](db['User'],{'as':_0x87f728('0x59'),'through':'UserChatQueue','hooks':!![]}),db[_0x87f728('0x99')]['belongsToMany'](db[_0x87f728('0xd6')],{'through':_0x87f728('0x13d'),'as':'Teams'}),db[_0x87f728('0x101')][_0x87f728('0x7c')](db[_0x87f728('0x114')],{'as':'Messages','foreignKey':'ChatGroupId','onDelete':'cascade'}),db[_0x87f728('0x101')][_0x87f728('0xc2')](db['User'],{'as':'Members','through':_0x87f728('0x1d4')}),db[_0x87f728('0x50')][_0x87f728('0x193')](db[_0x87f728('0x7e')],{'as':_0x87f728('0x145'),'foreignKey':_0x87f728('0x144')}),db['CmCompany'][_0x87f728('0x7c')](db[_0x87f728('0x11b')],{'as':_0x87f728('0x19'),'foreignKey':_0x87f728('0xbb')}),db['CmContact'][_0x87f728('0x7c')](db[_0x87f728('0x161')],{'as':_0x87f728('0x1f3'),'foreignKey':_0x87f728('0x179')}),db[_0x87f728('0x11b')][_0x87f728('0x7c')](db[_0x87f728('0x3f')],{'as':'HopperFinals','foreignKey':_0x87f728('0x179')}),db[_0x87f728('0x11b')][_0x87f728('0x7c')](db[_0x87f728('0x66')],{'as':'HopperHistories','foreignKey':_0x87f728('0x179')}),db['CmContact'][_0x87f728('0x7c')](db[_0x87f728('0x18e')],{'as':'ReportAgentPreview','foreignKey':'ContactId'}),db['CmContact'][_0x87f728('0x7c')](db[_0x87f728('0x86')],{'as':'JscriptySessions','foreignKey':'ContactId'}),db[_0x87f728('0x11b')][_0x87f728('0x7c')](db[_0x87f728('0x98')],{'as':_0x87f728('0xc5'),'foreignKey':_0x87f728('0x179'),'onDelete':_0x87f728('0x174')}),db['CmContact'][_0x87f728('0x7c')](db[_0x87f728('0x84')],{'as':'ChatInteractions','foreignKey':'ContactId','onDelete':_0x87f728('0x174')}),db['CmContact'][_0x87f728('0x7c')](db[_0x87f728('0x133')],{'as':_0x87f728('0x64'),'foreignKey':_0x87f728('0x179'),'onDelete':_0x87f728('0x174')}),db[_0x87f728('0x11b')][_0x87f728('0x7c')](db['FaxInteraction'],{'as':_0x87f728('0x10'),'foreignKey':_0x87f728('0x179'),'onDelete':_0x87f728('0x174')}),db[_0x87f728('0x11b')][_0x87f728('0x7c')](db[_0x87f728('0x81')],{'as':_0x87f728('0x18a'),'foreignKey':_0x87f728('0x179'),'onDelete':'restrict'}),db[_0x87f728('0x11b')][_0x87f728('0x193')](db[_0x87f728('0x1da')],{'as':'Company','foreignKey':_0x87f728('0xbb')}),db[_0x87f728('0x11b')]['belongsTo'](db[_0x87f728('0x1df')],{'as':_0x87f728('0x4d'),'foreignKey':_0x87f728('0x1ad'),'onDelete':_0x87f728('0x16f')}),db['CmContact']['belongsToMany'](db['User'],{'as':'Users','through':_0x87f728('0x1ba')}),db[_0x87f728('0x11b')][_0x87f728('0xc2')](db[_0x87f728('0x10b')],{'as':_0x87f728('0xb9'),'through':_0x87f728('0x89')}),db[_0x87f728('0x11b')][_0x87f728('0xc2')](db['Tag'],{'through':_0x87f728('0x89'),'as':_0x87f728('0x127')}),db[_0x87f728('0x161')][_0x87f728('0x193')](db[_0x87f728('0x11b')],{'as':'Contact','foreignKey':_0x87f728('0x179'),'onDelete':_0x87f728('0x16f')}),db[_0x87f728('0x161')][_0x87f728('0x193')](db[_0x87f728('0x1df')],{'as':_0x87f728('0x4d'),'foreignKey':_0x87f728('0x1ad'),'onDelete':_0x87f728('0x16f')}),db['CmHopper'][_0x87f728('0x193')](db[_0x87f728('0x142')],{'as':_0x87f728('0xd9'),'foreignKey':'UserId'}),db[_0x87f728('0x161')][_0x87f728('0x193')](db[_0x87f728('0x12d')],{'as':'Queue','foreignKey':_0x87f728('0x4b'),'onDelete':'cascade'}),db[_0x87f728('0x161')][_0x87f728('0x193')](db[_0x87f728('0x74')],{'as':_0x87f728('0x74'),'foreignKey':_0x87f728('0x1d'),'onDelete':_0x87f728('0x16f')}),db[_0x87f728('0x161')][_0x87f728('0x193')](db['User'],{'as':_0x87f728('0x9d'),'foreignKey':'OwnerId'}),db[_0x87f728('0x5')][_0x87f728('0x193')](db['CmContact'],{'as':_0x87f728('0xa6'),'foreignKey':_0x87f728('0x179'),'onDelete':_0x87f728('0x16f')}),db[_0x87f728('0x5')][_0x87f728('0x193')](db[_0x87f728('0x1df')],{'as':_0x87f728('0x4d'),'foreignKey':_0x87f728('0x1ad'),'onDelete':_0x87f728('0x16f')}),db['CmHopperBlack'][_0x87f728('0x193')](db['VoiceQueue'],{'as':'Queue','foreignKey':_0x87f728('0x4b'),'onDelete':_0x87f728('0x16f')}),db[_0x87f728('0x5')]['belongsTo'](db['Campaign'],{'as':_0x87f728('0x74'),'foreignKey':'CampaignId','onDelete':_0x87f728('0x16f')}),db[_0x87f728('0x128')]['hasMany'](db[_0x87f728('0x1c1')],{'as':{'plural':_0x87f728('0x16d'),'singular':'OneAll'},'foreignKey':_0x87f728('0x5f'),'onDelete':_0x87f728('0x16f'),'hooks':!![]}),db[_0x87f728('0x128')][_0x87f728('0x7c')](db['Condition'],{'as':{'plural':_0x87f728('0xf3'),'singular':_0x87f728('0x1ce')},'foreignKey':'AutomationAnyId','onDelete':_0x87f728('0x16f'),'hooks':!![]}),db[_0x87f728('0x128')]['hasMany'](db['Action'],{'as':'Actions','foreignKey':_0x87f728('0x1d7'),'onDelete':_0x87f728('0x16f'),'hooks':!![]}),db['Disposition'][_0x87f728('0x7c')](db[_0x87f728('0x130')],{'as':_0x87f728('0x16'),'foreignKey':'ParentId','onDelete':'cascade'}),db[_0x87f728('0x78')][_0x87f728('0x7c')](db[_0x87f728('0x78')],{'as':_0x87f728('0x77'),'foreignKey':_0x87f728('0x9a'),'onDelete':'cascade','hooks':!![],'required':![]}),db[_0x87f728('0x78')]['hasMany'](db['VoiceExtension'],{'as':_0x87f728('0xd'),'foreignKey':_0x87f728('0x9a'),'onDelete':_0x87f728('0x174')}),db['Interval']['hasMany'](db['MailApplication'],{'as':'MailApplications','foreignKey':_0x87f728('0x9a')}),db[_0x87f728('0x78')][_0x87f728('0x7c')](db[_0x87f728('0x188')],{'as':_0x87f728('0xe4'),'foreignKey':'IntervalId'}),db[_0x87f728('0x78')]['hasMany'](db[_0x87f728('0x111')],{'as':_0x87f728('0x1ea'),'foreignKey':_0x87f728('0x9a')}),db[_0x87f728('0x78')]['hasMany'](db[_0x87f728('0x110')],{'as':_0x87f728('0x68'),'foreignKey':'IntervalId'}),db['Schedule'][_0x87f728('0x193')](db[_0x87f728('0xe0')],{}),db['Schedule']['belongsTo'](db[_0x87f728('0x1b0')],{'foreignKey':_0x87f728('0x1f5')}),db[_0x87f728('0x19d')][_0x87f728('0x193')](db[_0x87f728('0xa0')],{'foreignKey':'CustomReportId'}),db[_0x87f728('0x42')]['belongsToMany'](db[_0x87f728('0x1e6')],{'as':_0x87f728('0xfd'),'through':_0x87f728('0x12c'),'onDelete':'restrict'}),db['Tag'][_0x87f728('0xc2')](db[_0x87f728('0x11b')],{'through':_0x87f728('0x89')}),db[_0x87f728('0x10b')]['belongsToMany'](db['ChatInteraction'],{'through':_0x87f728('0x1b3')}),db[_0x87f728('0x10b')][_0x87f728('0xc2')](db[_0x87f728('0x81')],{'through':'mail_interaction_has_tags'}),db['Tag'][_0x87f728('0xc2')](db['SmsInteraction'],{'through':_0x87f728('0x18d')}),db[_0x87f728('0x10b')][_0x87f728('0xc2')](db[_0x87f728('0x129')],{'through':_0x87f728('0xd8')}),db[_0x87f728('0x10b')][_0x87f728('0xc2')](db[_0x87f728('0x98')],{'through':_0x87f728('0x49')}),db[_0x87f728('0x10b')]['belongsToMany'](db[_0x87f728('0x1a')],{'through':_0x87f728('0x1b8')}),db[_0x87f728('0xa8')][_0x87f728('0x7c')](db[_0x87f728('0x1c1')],{'as':{'plural':'AllConditions','singular':'AllCondition'},'foreignKey':_0x87f728('0x22'),'onDelete':_0x87f728('0x16f'),'hooks':!![]}),db[_0x87f728('0xa8')]['hasMany'](db['Condition'],{'as':{'plural':_0x87f728('0x1f0'),'singular':_0x87f728('0x191')},'foreignKey':_0x87f728('0xac'),'onDelete':_0x87f728('0x16f'),'hooks':!![]}),db[_0x87f728('0xa8')][_0x87f728('0x7c')](db['Action'],{'as':'Actions','foreignKey':_0x87f728('0x1e2'),'onDelete':'cascade','hooks':!![]}),db[_0x87f728('0xa0')][_0x87f728('0x7c')](db['AnalyticFieldReport'],{'as':_0x87f728('0x1aa'),'onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0xcb'),'hooks':!![]}),db[_0x87f728('0x1b0')][_0x87f728('0x7c')](db[_0x87f728('0x102')],{'as':_0x87f728('0x1aa'),'onDelete':'cascade','foreignKey':'DefaultReportId'}),db[_0x87f728('0xef')]['hasMany'](db[_0x87f728('0x102')],{'as':_0x87f728('0x1aa'),'onDelete':'cascade','foreignKey':_0x87f728('0x134')}),db[_0x87f728('0x102')][_0x87f728('0x193')](db['AnalyticMetric'],{'foreignKey':_0x87f728('0x134')}),db[_0x87f728('0x1c0')][_0x87f728('0x7c')](db[_0x87f728('0xb1')],{'as':_0x87f728('0x7b'),'onDelete':'cascade','foreignKey':_0x87f728('0x72')}),db['SalesforceConfiguration'][_0x87f728('0x7c')](db[_0x87f728('0x13f')],{'as':_0x87f728('0x1de'),'onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0xa1')}),db[_0x87f728('0xb1')][_0x87f728('0x7c')](db[_0x87f728('0x13f')],{'as':_0x87f728('0x1b5'),'onDelete':_0x87f728('0x16f'),'foreignKey':'DescriptionId'}),db[_0x87f728('0xb1')][_0x87f728('0x7c')](db['SalesforceField'],{'as':'Fields','onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0x118')}),db[_0x87f728('0xb1')][_0x87f728('0x193')](db[_0x87f728('0x1c0')],{'as':'Account','foreignKey':_0x87f728('0x72')}),db[_0x87f728('0x13f')][_0x87f728('0x7c')](db[_0x87f728('0x13f')],{'as':_0x87f728('0x1f2'),'foreignKey':_0x87f728('0xa1')}),db[_0x87f728('0x13f')][_0x87f728('0x7c')](db[_0x87f728('0x13f')],{'as':_0x87f728('0x1e7'),'foreignKey':'DescriptionId'}),db[_0x87f728('0x13f')][_0x87f728('0x7c')](db[_0x87f728('0x13f')],{'as':'Field','foreignKey':_0x87f728('0x118')}),db['SalesforceField'][_0x87f728('0x193')](db[_0x87f728('0x9b')],{'as':_0x87f728('0x9b'),'foreignKey':_0x87f728('0x182')}),db[_0x87f728('0x94')][_0x87f728('0x7c')](db[_0x87f728('0x1a6')],{'as':'Configurations','onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0x72')}),db['SugarcrmConfiguration'][_0x87f728('0x7c')](db['SugarcrmField'],{'as':_0x87f728('0x1de'),'onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0xa1')}),db[_0x87f728('0x1a6')]['hasMany'](db[_0x87f728('0x16e')],{'as':'Descriptions','onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0xba')}),db['SugarcrmConfiguration']['hasMany'](db[_0x87f728('0x16e')],{'as':_0x87f728('0x1aa'),'onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0x118')}),db['SugarcrmConfiguration'][_0x87f728('0x193')](db[_0x87f728('0x94')],{'as':'Account','foreignKey':_0x87f728('0x72')}),db[_0x87f728('0x16e')][_0x87f728('0x7c')](db[_0x87f728('0x16e')],{'as':'Subject','foreignKey':_0x87f728('0xa1')}),db[_0x87f728('0x16e')][_0x87f728('0x7c')](db[_0x87f728('0x16e')],{'as':_0x87f728('0x1e7'),'foreignKey':'DescriptionId'}),db[_0x87f728('0x16e')][_0x87f728('0x7c')](db[_0x87f728('0x16e')],{'as':'Field','foreignKey':_0x87f728('0x118')}),db['SugarcrmField']['belongsTo'](db[_0x87f728('0x9b')],{'as':'Variable','foreignKey':_0x87f728('0x182')}),db[_0x87f728('0x2f')][_0x87f728('0x7c')](db['DeskConfiguration'],{'as':_0x87f728('0x7b'),'onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0x72')}),db['DeskConfiguration'][_0x87f728('0x7c')](db['DeskField'],{'as':_0x87f728('0x1de'),'onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0xa1')}),db[_0x87f728('0x120')][_0x87f728('0x7c')](db[_0x87f728('0xd5')],{'as':_0x87f728('0x1b5'),'onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0xba')}),db['DeskConfiguration'][_0x87f728('0x7c')](db[_0x87f728('0xd5')],{'as':'Fields','onDelete':'cascade','foreignKey':_0x87f728('0x118')}),db['DeskConfiguration'][_0x87f728('0x193')](db[_0x87f728('0x2f')],{'as':'Account','foreignKey':_0x87f728('0x72')}),db[_0x87f728('0x120')]['belongsToMany'](db[_0x87f728('0x10b')],{'through':_0x87f728('0x194')}),db[_0x87f728('0xd5')][_0x87f728('0x7c')](db['DeskField'],{'as':_0x87f728('0x1f2'),'foreignKey':_0x87f728('0xa1')}),db[_0x87f728('0xd5')][_0x87f728('0x7c')](db[_0x87f728('0xd5')],{'as':_0x87f728('0x1e7'),'foreignKey':_0x87f728('0xba')}),db['DeskField'][_0x87f728('0x7c')](db[_0x87f728('0xd5')],{'as':_0x87f728('0x125'),'foreignKey':_0x87f728('0x118')}),db[_0x87f728('0xd5')]['belongsTo'](db[_0x87f728('0x9b')],{'as':_0x87f728('0x9b'),'foreignKey':'VariableId'}),db['ZohoAccount'][_0x87f728('0x7c')](db['ZohoConfiguration'],{'as':'Configurations','onDelete':_0x87f728('0x16f'),'foreignKey':'AccountId'}),db[_0x87f728('0x9f')]['hasMany'](db[_0x87f728('0x12a')],{'as':_0x87f728('0x1de'),'onDelete':'cascade','foreignKey':_0x87f728('0xa1')}),db[_0x87f728('0x9f')][_0x87f728('0x7c')](db[_0x87f728('0x12a')],{'as':_0x87f728('0x1b5'),'onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0xba')}),db['ZohoConfiguration'][_0x87f728('0x7c')](db[_0x87f728('0x12a')],{'as':_0x87f728('0x1aa'),'onDelete':_0x87f728('0x16f'),'foreignKey':'FieldId'}),db['ZohoConfiguration']['belongsTo'](db[_0x87f728('0xf9')],{'as':_0x87f728('0x40'),'foreignKey':_0x87f728('0x72')}),db[_0x87f728('0x12a')][_0x87f728('0x7c')](db['ZohoField'],{'as':_0x87f728('0x1f2'),'foreignKey':_0x87f728('0xa1')}),db[_0x87f728('0x12a')][_0x87f728('0x7c')](db[_0x87f728('0x12a')],{'as':'Description','foreignKey':_0x87f728('0xba')}),db[_0x87f728('0x12a')][_0x87f728('0x7c')](db['ZohoField'],{'as':_0x87f728('0x125'),'foreignKey':_0x87f728('0x118')}),db['ZohoField'][_0x87f728('0x193')](db[_0x87f728('0x9b')],{'as':_0x87f728('0x9b'),'foreignKey':_0x87f728('0x182')}),db[_0x87f728('0xcf')][_0x87f728('0x7c')](db[_0x87f728('0xdf')],{'as':_0x87f728('0x7b'),'onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0x72')}),db[_0x87f728('0xdf')][_0x87f728('0x7c')](db[_0x87f728('0x172')],{'as':_0x87f728('0x1de'),'foreignKey':_0x87f728('0xa1')}),db['ZendeskConfiguration'][_0x87f728('0x7c')](db['ZendeskField'],{'as':_0x87f728('0x1b5'),'foreignKey':_0x87f728('0xba')}),db[_0x87f728('0xdf')][_0x87f728('0x7c')](db['ZendeskField'],{'as':'Fields','foreignKey':'FieldId'}),db[_0x87f728('0xdf')][_0x87f728('0x193')](db[_0x87f728('0xcf')],{'as':'Account','foreignKey':'AccountId'}),db[_0x87f728('0xdf')][_0x87f728('0xc2')](db['Tag'],{'through':_0x87f728('0x10d')}),db[_0x87f728('0x172')][_0x87f728('0x7c')](db[_0x87f728('0x172')],{'as':_0x87f728('0x1f2'),'foreignKey':'SubjectId'}),db[_0x87f728('0x172')][_0x87f728('0x7c')](db[_0x87f728('0x172')],{'as':'Description','foreignKey':_0x87f728('0xba')}),db[_0x87f728('0x172')][_0x87f728('0x7c')](db[_0x87f728('0x172')],{'as':_0x87f728('0x125'),'foreignKey':'FieldId'}),db[_0x87f728('0x172')][_0x87f728('0x193')](db[_0x87f728('0x9b')],{'as':_0x87f728('0x9b'),'foreignKey':'VariableId'}),db['FreshdeskAccount'][_0x87f728('0x7c')](db[_0x87f728('0x1e1')],{'as':_0x87f728('0x7b'),'onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0x72')}),db['FreshdeskConfiguration'][_0x87f728('0x7c')](db[_0x87f728('0x6e')],{'as':_0x87f728('0x1de'),'onDelete':'cascade','foreignKey':_0x87f728('0xa1')}),db['FreshdeskConfiguration']['hasMany'](db['FreshdeskField'],{'as':'Descriptions','onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0xba')}),db[_0x87f728('0x1e1')][_0x87f728('0x7c')](db[_0x87f728('0x6e')],{'as':_0x87f728('0x1aa'),'onDelete':_0x87f728('0x16f'),'foreignKey':'FieldId'}),db[_0x87f728('0x1e1')][_0x87f728('0x193')](db[_0x87f728('0x178')],{'as':_0x87f728('0x40'),'foreignKey':_0x87f728('0x72')}),db[_0x87f728('0x1e1')][_0x87f728('0xc2')](db['Tag'],{'through':_0x87f728('0x1ef')}),db[_0x87f728('0x6e')][_0x87f728('0x7c')](db[_0x87f728('0x6e')],{'as':_0x87f728('0x1f2'),'foreignKey':'SubjectId'}),db['FreshdeskField'][_0x87f728('0x7c')](db[_0x87f728('0x6e')],{'as':_0x87f728('0x1e7'),'foreignKey':_0x87f728('0xba')}),db[_0x87f728('0x6e')][_0x87f728('0x7c')](db[_0x87f728('0x6e')],{'as':_0x87f728('0x125'),'foreignKey':_0x87f728('0x118')}),db[_0x87f728('0x6e')]['belongsTo'](db[_0x87f728('0x9b')],{'as':_0x87f728('0x9b'),'foreignKey':'VariableId'}),db['VtigerAccount']['hasMany'](db[_0x87f728('0x30')],{'as':_0x87f728('0x7b'),'onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0x72')}),db[_0x87f728('0x30')][_0x87f728('0x7c')](db['VtigerField'],{'as':_0x87f728('0x1de'),'foreignKey':_0x87f728('0xa1')}),db[_0x87f728('0x30')][_0x87f728('0x7c')](db[_0x87f728('0xbc')],{'as':'Descriptions','foreignKey':_0x87f728('0xba')}),db[_0x87f728('0x30')]['hasMany'](db['VtigerField'],{'as':_0x87f728('0x1aa'),'foreignKey':_0x87f728('0x118')}),db[_0x87f728('0x30')]['belongsTo'](db[_0x87f728('0x25')],{'as':_0x87f728('0x40'),'foreignKey':_0x87f728('0x72')}),db[_0x87f728('0xbc')]['hasMany'](db[_0x87f728('0xbc')],{'as':'Subject','foreignKey':'SubjectId'}),db[_0x87f728('0xbc')]['hasMany'](db[_0x87f728('0xbc')],{'as':_0x87f728('0x1e7'),'foreignKey':_0x87f728('0xba')}),db[_0x87f728('0xbc')][_0x87f728('0x7c')](db[_0x87f728('0xbc')],{'as':'Field','foreignKey':'FieldId'}),db[_0x87f728('0xbc')][_0x87f728('0x193')](db['Variable'],{'as':_0x87f728('0x9b'),'foreignKey':_0x87f728('0x182')}),db[_0x87f728('0x173')]['hasMany'](db[_0x87f728('0xbf')],{'as':'Configurations','onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0x72')}),db[_0x87f728('0xbf')][_0x87f728('0x7c')](db[_0x87f728('0x7f')],{'as':'Subjects','foreignKey':_0x87f728('0xa1')}),db[_0x87f728('0xbf')]['hasMany'](db[_0x87f728('0x7f')],{'as':_0x87f728('0x1b5'),'foreignKey':_0x87f728('0xba')}),db[_0x87f728('0xbf')][_0x87f728('0x7c')](db['ServicenowField'],{'as':_0x87f728('0x1aa'),'foreignKey':'FieldId'}),db[_0x87f728('0xbf')]['belongsTo'](db['ServicenowAccount'],{'as':_0x87f728('0x40'),'foreignKey':_0x87f728('0x72')}),db[_0x87f728('0x7f')]['hasMany'](db[_0x87f728('0x7f')],{'as':_0x87f728('0x1f2'),'foreignKey':_0x87f728('0xa1')}),db[_0x87f728('0x7f')][_0x87f728('0x7c')](db[_0x87f728('0x7f')],{'as':_0x87f728('0x1e7'),'foreignKey':_0x87f728('0xba')}),db[_0x87f728('0x7f')][_0x87f728('0x7c')](db['ServicenowField'],{'as':_0x87f728('0x125'),'foreignKey':'FieldId'}),db[_0x87f728('0x7f')][_0x87f728('0x193')](db[_0x87f728('0x9b')],{'as':'Variable','foreignKey':_0x87f728('0x182')}),db[_0x87f728('0x0')][_0x87f728('0x7c')](db[_0x87f728('0x8f')],{'as':'Configurations','onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0x72')}),db[_0x87f728('0x8f')][_0x87f728('0x7c')](db[_0x87f728('0xc0')],{'as':'Subjects','onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0xa1')}),db[_0x87f728('0x8f')][_0x87f728('0x7c')](db['Dynamics365Field'],{'as':_0x87f728('0x1b5'),'onDelete':'cascade','foreignKey':_0x87f728('0xba')}),db[_0x87f728('0x8f')][_0x87f728('0x7c')](db['Dynamics365Field'],{'as':'Fields','onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0x118')}),db[_0x87f728('0x8f')][_0x87f728('0x193')](db['Dynamics365Account'],{'as':_0x87f728('0x40'),'foreignKey':_0x87f728('0x72')}),db[_0x87f728('0xc0')][_0x87f728('0x7c')](db['Dynamics365Field'],{'as':'Subject','foreignKey':_0x87f728('0xa1')}),db['Dynamics365Field'][_0x87f728('0x7c')](db[_0x87f728('0xc0')],{'as':_0x87f728('0x1e7'),'foreignKey':'DescriptionId'}),db[_0x87f728('0xc0')][_0x87f728('0x7c')](db['Dynamics365Field'],{'as':_0x87f728('0x125'),'foreignKey':_0x87f728('0x118')}),db[_0x87f728('0xc0')]['belongsTo'](db['Variable'],{'as':_0x87f728('0x9b'),'foreignKey':_0x87f728('0x182')}),db[_0x87f728('0x17f')][_0x87f728('0x7c')](db[_0x87f728('0x11a')],{'as':_0x87f728('0x7b'),'onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0x72')}),db[_0x87f728('0x11a')][_0x87f728('0x7c')](db[_0x87f728('0x186')],{'as':'Subjects','foreignKey':'SubjectId'}),db[_0x87f728('0x11a')][_0x87f728('0x7c')](db[_0x87f728('0x186')],{'as':_0x87f728('0x1b5'),'foreignKey':_0x87f728('0xba')}),db[_0x87f728('0x11a')]['hasMany'](db[_0x87f728('0x186')],{'as':_0x87f728('0x1aa'),'foreignKey':_0x87f728('0x118')}),db[_0x87f728('0x11a')][_0x87f728('0x193')](db['FreshsalesAccount'],{'as':_0x87f728('0x40'),'foreignKey':_0x87f728('0x72')}),db[_0x87f728('0x186')][_0x87f728('0x7c')](db[_0x87f728('0x186')],{'as':_0x87f728('0x1f2'),'foreignKey':_0x87f728('0xa1')}),db[_0x87f728('0x186')][_0x87f728('0x7c')](db[_0x87f728('0x186')],{'as':_0x87f728('0x1e7'),'foreignKey':'DescriptionId'}),db['FreshsalesField'][_0x87f728('0x7c')](db[_0x87f728('0x186')],{'as':_0x87f728('0x125'),'foreignKey':_0x87f728('0x118')}),db[_0x87f728('0x186')][_0x87f728('0x193')](db['Variable'],{'as':_0x87f728('0x9b'),'foreignKey':_0x87f728('0x182')}),db[_0x87f728('0x51')][_0x87f728('0x193')](db[_0x87f728('0x7e')],{}),db[_0x87f728('0x51')][_0x87f728('0x193')](db[_0x87f728('0x1df')],{'as':_0x87f728('0x4d'),'foreignKey':_0x87f728('0x1ad')}),db[_0x87f728('0x51')][_0x87f728('0x193')](db[_0x87f728('0x11b')],{'as':_0x87f728('0xa6'),'foreignKey':_0x87f728('0x179')}),db['ChatQueueReport'][_0x87f728('0x193')](db[_0x87f728('0x84')],{}),db[_0x87f728('0x51')][_0x87f728('0x193')](db[_0x87f728('0x71')],{}),db['ChatQueueReport']['belongsTo'](db['User'],{}),db['ChatQueueReport'][_0x87f728('0x193')](db[_0x87f728('0x99')],{}),db[_0x87f728('0x114')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'onDelete':_0x87f728('0x16f'),'foreignKey':'FromId'}),db[_0x87f728('0x114')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'onDelete':_0x87f728('0x16f'),'foreignKey':_0x87f728('0xf2')}),db[_0x87f728('0x86')][_0x87f728('0x7c')](db[_0x87f728('0x140')],{'foreignKey':_0x87f728('0x138'),'onDelete':'cascade'}),db[_0x87f728('0x86')]['hasMany'](db[_0x87f728('0x52')],{'foreignKey':_0x87f728('0x138'),'onDelete':'cascade'}),db[_0x87f728('0xd0')]['belongsTo'](db['SmsAccount'],{}),db['SmsQueueReport'][_0x87f728('0x193')](db[_0x87f728('0x1df')],{'as':_0x87f728('0x4d'),'foreignKey':_0x87f728('0x1ad')}),db[_0x87f728('0xd0')][_0x87f728('0x193')](db['CmContact'],{'as':_0x87f728('0xa6'),'foreignKey':_0x87f728('0x179')}),db[_0x87f728('0xd0')][_0x87f728('0x193')](db['SmsInteraction'],{}),db[_0x87f728('0xd0')]['belongsTo'](db[_0x87f728('0xf4')],{}),db['SmsQueueReport'][_0x87f728('0x193')](db['User'],{}),db[_0x87f728('0xd0')][_0x87f728('0x193')](db['SmsQueue'],{}),db[_0x87f728('0xf1')][_0x87f728('0x7c')](db['JscriptySessionReport'],{'foreignKey':_0x87f728('0x149')}),db['JscriptyProject']['hasMany'](db[_0x87f728('0x140')],{'foreignKey':'ProjectId'}),db[_0x87f728('0xf1')][_0x87f728('0x7c')](db[_0x87f728('0x52')],{'foreignKey':_0x87f728('0x149')}),db[_0x87f728('0x1ab')][_0x87f728('0xc2')](db['User'],{'as':_0x87f728('0xaf'),'through':'user_has_square_projects'}),db[_0x87f728('0xd6')][_0x87f728('0xc2')](db[_0x87f728('0x142')],{'as':_0x87f728('0x59'),'through':_0x87f728('0xd4')}),db[_0x87f728('0xd6')][_0x87f728('0xc2')](db[_0x87f728('0x12d')],{'through':_0x87f728('0x1ed'),'as':'VoiceQueues'}),db[_0x87f728('0xd6')]['belongsToMany'](db['MailQueue'],{'through':'team_has_mail_queues','as':'MailQueues'}),db['Team'][_0x87f728('0xc2')](db[_0x87f728('0x99')],{'through':_0x87f728('0x13d'),'as':_0x87f728('0x16b')}),db[_0x87f728('0xd6')]['belongsToMany'](db[_0x87f728('0x15')],{'through':_0x87f728('0x12b'),'as':'FaxQueues'}),db[_0x87f728('0xd6')][_0x87f728('0xc2')](db[_0x87f728('0x17')],{'through':_0x87f728('0x1cb'),'as':'SmsQueues'}),db['Team'][_0x87f728('0xc2')](db[_0x87f728('0x168')],{'through':_0x87f728('0x13c'),'as':_0x87f728('0x6')}),db[_0x87f728('0xd6')][_0x87f728('0xc2')](db[_0x87f728('0x19a')],{'through':_0x87f728('0x35'),'as':'WhatsappQueues'}),db[_0x87f728('0x74')][_0x87f728('0x7c')](db[_0x87f728('0x161')],{'as':_0x87f728('0x1f3'),'foreignKey':_0x87f728('0x1d')}),db[_0x87f728('0x74')][_0x87f728('0x7c')](db[_0x87f728('0x3f')],{'as':_0x87f728('0xf5'),'foreignKey':_0x87f728('0x1d')}),db[_0x87f728('0x74')][_0x87f728('0x7c')](db[_0x87f728('0x66')],{'as':_0x87f728('0x14f'),'foreignKey':_0x87f728('0x1d')}),db[_0x87f728('0x74')][_0x87f728('0x7c')](db[_0x87f728('0x5')],{'as':_0x87f728('0x4'),'foreignKey':_0x87f728('0x1d')}),db[_0x87f728('0x74')][_0x87f728('0x193')](db['Trunk'],{'as':'Trunk','foreignKey':_0x87f728('0xdd')}),db[_0x87f728('0x74')][_0x87f728('0x193')](db[_0x87f728('0x1d1')],{'as':_0x87f728('0x1af'),'foreignKey':_0x87f728('0x19c')}),db[_0x87f728('0x74')][_0x87f728('0x193')](db[_0x87f728('0x78')],{'as':_0x87f728('0x78'),'foreignKey':_0x87f728('0x9a')}),db[_0x87f728('0x74')][_0x87f728('0x193')](db['SquareProject'],{'as':_0x87f728('0x1ab'),'foreignKey':_0x87f728('0x44')}),db[_0x87f728('0x74')][_0x87f728('0xc2')](db['CmList'],{'as':_0x87f728('0xfb'),'through':_0x87f728('0x97')}),db[_0x87f728('0x74')]['belongsToMany'](db['CmList'],{'as':'BlackLists','through':_0x87f728('0x1c6')}),db[_0x87f728('0x2')][_0x87f728('0x193')](db[_0x87f728('0x34')],{}),db[_0x87f728('0x2')][_0x87f728('0x193')](db[_0x87f728('0x81')],{}),db[_0x87f728('0x2')][_0x87f728('0x193')](db['MailAccount'],{'foreignKey':'FromMailAccountId','as':_0x87f728('0x37')}),db[_0x87f728('0x2')][_0x87f728('0x193')](db['User'],{'foreignKey':'FromUserId','as':_0x87f728('0x167')}),db[_0x87f728('0x2')][_0x87f728('0x193')](db['User'],{'foreignKey':_0x87f728('0x17c'),'as':'ToAgent'}),db[_0x87f728('0x2')][_0x87f728('0x193')](db[_0x87f728('0x1cc')],{'foreignKey':_0x87f728('0x32'),'as':_0x87f728('0x195')}),db[_0x87f728('0x2')][_0x87f728('0x193')](db[_0x87f728('0xe0')],{'foreignKey':_0x87f728('0xae'),'as':_0x87f728('0x14e')}),db['ChatTransferReport']['belongsTo'](db[_0x87f728('0x71')],{}),db[_0x87f728('0xd7')]['belongsTo'](db[_0x87f728('0x84')],{}),db[_0x87f728('0xd7')][_0x87f728('0x193')](db[_0x87f728('0x7e')],{'foreignKey':_0x87f728('0x1bc'),'as':_0x87f728('0x37')}),db[_0x87f728('0xd7')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'foreignKey':_0x87f728('0x11c'),'as':'FromAgent'}),db['ChatTransferReport'][_0x87f728('0x193')](db[_0x87f728('0x142')],{'foreignKey':_0x87f728('0x17c'),'as':_0x87f728('0x96')}),db[_0x87f728('0xd7')][_0x87f728('0x193')](db[_0x87f728('0x99')],{'foreignKey':'ToChatQueueId','as':_0x87f728('0x195')}),db[_0x87f728('0xd7')][_0x87f728('0x193')](db[_0x87f728('0x7e')],{'foreignKey':_0x87f728('0x177'),'as':'ToAccount'}),db[_0x87f728('0x2b')][_0x87f728('0x193')](db[_0x87f728('0xc9')],{}),db[_0x87f728('0x2b')][_0x87f728('0x193')](db[_0x87f728('0x129')],{}),db[_0x87f728('0x2b')][_0x87f728('0x193')](db[_0x87f728('0xe8')],{'foreignKey':_0x87f728('0x1ee'),'as':_0x87f728('0x37')}),db[_0x87f728('0x2b')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'foreignKey':_0x87f728('0x11c'),'as':_0x87f728('0x167')}),db[_0x87f728('0x2b')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'foreignKey':_0x87f728('0x17c'),'as':_0x87f728('0x96')}),db[_0x87f728('0x2b')][_0x87f728('0x193')](db['FaxQueue'],{'foreignKey':_0x87f728('0x153'),'as':_0x87f728('0x195')}),db[_0x87f728('0x2b')][_0x87f728('0x193')](db[_0x87f728('0xe8')],{'foreignKey':_0x87f728('0x157'),'as':_0x87f728('0x14e')}),db['OpenchannelTransferReport'][_0x87f728('0x193')](db[_0x87f728('0x1ae')],{}),db[_0x87f728('0x8')][_0x87f728('0x193')](db[_0x87f728('0x98')],{}),db[_0x87f728('0x8')][_0x87f728('0x193')](db[_0x87f728('0x92')],{'foreignKey':_0x87f728('0x1dc'),'as':_0x87f728('0x37')}),db['OpenchannelTransferReport'][_0x87f728('0x193')](db['User'],{'foreignKey':_0x87f728('0x11c'),'as':_0x87f728('0x167')}),db[_0x87f728('0x8')]['belongsTo'](db[_0x87f728('0x142')],{'foreignKey':_0x87f728('0x17c'),'as':_0x87f728('0x96')}),db[_0x87f728('0x8')]['belongsTo'](db[_0x87f728('0x168')],{'foreignKey':_0x87f728('0x121'),'as':_0x87f728('0x195')}),db[_0x87f728('0x8')]['belongsTo'](db[_0x87f728('0x92')],{'foreignKey':_0x87f728('0x6c'),'as':_0x87f728('0x14e')}),db[_0x87f728('0x28')][_0x87f728('0x193')](db[_0x87f728('0xf4')],{}),db[_0x87f728('0x28')][_0x87f728('0x193')](db[_0x87f728('0x133')],{}),db[_0x87f728('0x28')][_0x87f728('0x193')](db['SmsAccount'],{'foreignKey':_0x87f728('0x1e8'),'as':_0x87f728('0x37')}),db[_0x87f728('0x28')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'foreignKey':_0x87f728('0x11c'),'as':'FromAgent'}),db[_0x87f728('0x28')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'foreignKey':'ToUserId','as':_0x87f728('0x96')}),db[_0x87f728('0x28')][_0x87f728('0x193')](db[_0x87f728('0x17')],{'foreignKey':_0x87f728('0x154'),'as':_0x87f728('0x195')}),db['SmsTransferReport'][_0x87f728('0x193')](db[_0x87f728('0x26')],{'foreignKey':_0x87f728('0x198'),'as':_0x87f728('0x14e')}),db[_0x87f728('0x1df')][_0x87f728('0x7c')](db[_0x87f728('0x130')],{'as':_0x87f728('0x16'),'foreignKey':'ListId'}),db[_0x87f728('0x1df')][_0x87f728('0x7c')](db[_0x87f728('0x1b4')],{'as':_0x87f728('0x1c'),'foreignKey':_0x87f728('0x1ad')}),db[_0x87f728('0x1df')][_0x87f728('0x7c')](db[_0x87f728('0x11b')],{'as':_0x87f728('0x19'),'onDelete':_0x87f728('0x16f'),'foreignKey':'ListId'}),db[_0x87f728('0x1df')][_0x87f728('0x7c')](db['CmHopperFinal'],{'as':'HopperFinals','foreignKey':_0x87f728('0x1ad')}),db[_0x87f728('0x1df')][_0x87f728('0x7c')](db[_0x87f728('0x66')],{'as':'HopperHistory','foreignKey':_0x87f728('0x1ad')}),db[_0x87f728('0x1df')][_0x87f728('0x7c')](db[_0x87f728('0x18e')],{'as':'ReportAgentPreview','foreignKey':_0x87f728('0x1ad')}),db[_0x87f728('0x1df')][_0x87f728('0xc2')](db[_0x87f728('0x12d')],{'as':_0x87f728('0x47'),'through':_0x87f728('0x181')}),db[_0x87f728('0x1df')][_0x87f728('0xc2')](db[_0x87f728('0x142')],{'as':_0x87f728('0x59'),'through':_0x87f728('0x113')}),db[_0x87f728('0x14b')][_0x87f728('0x7c')](db[_0x87f728('0x27')],{'as':_0x87f728('0xd'),'onDelete':_0x87f728('0x16f')}),db[_0x87f728('0x14b')][_0x87f728('0xc2')](db[_0x87f728('0x142')],{'as':'Agents','through':_0x87f728('0x11f')}),db[_0x87f728('0x9')][_0x87f728('0x7c')](db[_0x87f728('0x142')],{'as':_0x87f728('0xaf'),'foreignKey':_0x87f728('0x60'),'onDelete':_0x87f728('0x174')}),db[_0x87f728('0x9')][_0x87f728('0x7c')](db[_0x87f728('0x20')],{'as':_0x87f728('0x136'),'foreignKey':_0x87f728('0x60'),'onDelete':_0x87f728('0x16f')}),db[_0x87f728('0x20')][_0x87f728('0x7c')](db['UserProfileResource'],{'as':_0x87f728('0x1b'),'foreignKey':_0x87f728('0xa3'),'onDelete':_0x87f728('0x16f')}),db[_0x87f728('0x5a')]['hasMany'](db[_0x87f728('0x130')],{'as':_0x87f728('0x16'),'foreignKey':_0x87f728('0x1d5')}),db[_0x87f728('0x5a')][_0x87f728('0x7c')](db[_0x87f728('0x1f')],{'as':'Answers','foreignKey':'WhatsappAccountId'}),db[_0x87f728('0x5a')][_0x87f728('0x7c')](db[_0x87f728('0x3e')],{'as':_0x87f728('0x15e'),'foreignKey':'WhatsappAccountId'}),db[_0x87f728('0x5a')][_0x87f728('0x7c')](db[_0x87f728('0x1a')],{'as':_0x87f728('0xe9')}),db[_0x87f728('0x5a')][_0x87f728('0x7c')](db[_0x87f728('0x119')],{'as':_0x87f728('0xcc')}),db[_0x87f728('0x5a')]['belongsTo'](db[_0x87f728('0x1df')],{'as':_0x87f728('0x4d'),'foreignKey':_0x87f728('0x1ad')}),db['WhatsappAccount'][_0x87f728('0x193')](db['Pause'],{'as':_0x87f728('0x132'),'foreignKey':_0x87f728('0x8d')}),db[_0x87f728('0x5a')][_0x87f728('0xc2')](db[_0x87f728('0x142')],{'as':_0x87f728('0x59'),'through':'user_has_whatsapp_accounts'}),db[_0x87f728('0x119')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'onDelete':_0x87f728('0x174')}),db[_0x87f728('0x119')][_0x87f728('0x193')](db[_0x87f728('0x19a')],{'onDelete':_0x87f728('0x174')}),db[_0x87f728('0x119')][_0x87f728('0x193')](db[_0x87f728('0x5a')],{'onDelete':_0x87f728('0x174')}),db[_0x87f728('0x119')][_0x87f728('0x193')](db[_0x87f728('0x78')],{'onDelete':_0x87f728('0x174'),'foreignKey':_0x87f728('0x9a')}),db[_0x87f728('0x119')]['belongsTo'](db['Tag'],{'onDelete':'restrict','foreignKey':_0x87f728('0x11e')}),db[_0x87f728('0x1a')][_0x87f728('0x7c')](db[_0x87f728('0x3e')],{'as':_0x87f728('0x15e'),'onDelete':'cascade','foreignKey':_0x87f728('0x75')}),db[_0x87f728('0x1a')]['belongsTo'](db[_0x87f728('0x5a')],{'as':'Account','foreignKey':'WhatsappAccountId'}),db[_0x87f728('0x1a')][_0x87f728('0x193')](db[_0x87f728('0x11b')],{'as':_0x87f728('0xa6'),'foreignKey':_0x87f728('0x179')}),db[_0x87f728('0x1a')][_0x87f728('0x193')](db['User'],{'as':_0x87f728('0x9d'),'foreignKey':'UserId'}),db[_0x87f728('0x1a')][_0x87f728('0xc2')](db[_0x87f728('0x10b')],{'through':'whatsapp_interaction_has_tags','as':_0x87f728('0xb9')}),db[_0x87f728('0x1a')][_0x87f728('0xc2')](db[_0x87f728('0x10b')],{'through':_0x87f728('0x1b8'),'as':'ThroughTags'}),db['WhatsappInteraction'][_0x87f728('0xc2')](db[_0x87f728('0x142')],{'as':_0x87f728('0xaf'),'through':_0x87f728('0x36'),'foreignKey':_0x87f728('0x75')}),db[_0x87f728('0x3e')][_0x87f728('0x193')](db[_0x87f728('0x142')],{'as':_0x87f728('0x142')}),db['WhatsappMessage'][_0x87f728('0x193')](db['CmContact'],{'onDelete':_0x87f728('0x16f'),'as':_0x87f728('0xa6')}),db[_0x87f728('0x3e')][_0x87f728('0x193')](db[_0x87f728('0x1a')],{'onDelete':_0x87f728('0x16f'),'as':_0x87f728('0x7'),'foreignKey':_0x87f728('0x75')}),db[_0x87f728('0x3e')][_0x87f728('0x193')](db['WhatsappAccount'],{'as':'Account','foreignKey':_0x87f728('0x1d5')}),db[_0x87f728('0x1e4')][_0x87f728('0x193')](db[_0x87f728('0x5a')],{}),db[_0x87f728('0x1e4')]['belongsTo'](db[_0x87f728('0x1df')],{'as':_0x87f728('0x4d'),'foreignKey':_0x87f728('0x1ad')}),db[_0x87f728('0x1e4')][_0x87f728('0x193')](db[_0x87f728('0x11b')],{'as':'Contact','foreignKey':_0x87f728('0x179')}),db[_0x87f728('0x1e4')][_0x87f728('0x193')](db[_0x87f728('0x1a')],{}),db[_0x87f728('0x1e4')][_0x87f728('0x193')](db['WhatsappQueue'],{}),db[_0x87f728('0x1e4')][_0x87f728('0x193')](db['WhatsappMessage'],{}),db['WhatsappQueueReport'][_0x87f728('0x193')](db[_0x87f728('0x142')],{}),db[_0x87f728('0x1a8')][_0x87f728('0x193')](db[_0x87f728('0x3e')],{}),db[_0x87f728('0x1a8')][_0x87f728('0x193')](db[_0x87f728('0x1a')],{}),db[_0x87f728('0x1a8')][_0x87f728('0x193')](db[_0x87f728('0x5a')],{'foreignKey':_0x87f728('0x180'),'as':_0x87f728('0x37')}),db['WhatsappTransferReport'][_0x87f728('0x193')](db['WhatsappAccount'],{'foreignKey':_0x87f728('0x135'),'as':'ToAccount'}),db[_0x87f728('0x1a8')][_0x87f728('0x193')](db['WhatsappQueue'],{'foreignKey':_0x87f728('0x1b9'),'as':_0x87f728('0x195')}),db[_0x87f728('0x1a8')][_0x87f728('0x193')](db['User'],{'foreignKey':'FromUserId','as':'FromAgent'}),db[_0x87f728('0x1a8')][_0x87f728('0x193')](db['User'],{'foreignKey':_0x87f728('0x17c'),'as':'ToAgent'}),db['WhatsappQueue']['belongsToMany'](db[_0x87f728('0x142')],{'as':_0x87f728('0x59'),'through':_0x87f728('0x109'),'foreignKey':'WhatsappQueueId'}),db[_0x87f728('0x19a')]['belongsToMany'](db[_0x87f728('0xd6')],{'through':_0x87f728('0x35'),'as':_0x87f728('0x164')}),module['exports']={'db':db,'dbH':dbH};
\ No newline at end of file