1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x1fb5=['UNSIGNED','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDispositionPauseId','sequelize','exports','STRING','BOOLEAN','TEXT','Arial,Helvetica,sans-serif','INTEGER'];(function(_0x277721,_0x46971e){var _0x286051=function(_0x130c98){while(--_0x130c98){_0x277721['push'](_0x277721['shift']());}};_0x286051(++_0x46971e);}(_0x1fb5,0x1a9));var _0x51fb=function(_0x1c85c3,_0x1f287d){_0x1c85c3=_0x1c85c3-0x0;var _0x308074=_0x1fb5[_0x1c85c3];return _0x308074;};'use strict';var Sequelize=require(_0x51fb('0x0'));module[_0x51fb('0x1')]={'description':{'type':Sequelize[_0x51fb('0x2')]},'name':{'type':Sequelize['STRING'],'allowNull':![]},'service':{'type':Sequelize[_0x51fb('0x3')],'defaultValue':![]},'email':{'type':Sequelize[_0x51fb('0x2')],'validate':{'isEmail':!![]}},'active':{'type':Sequelize[_0x51fb('0x3')],'defaultValue':!![]},'key':{'type':Sequelize[_0x51fb('0x2')],'allowNull':![]},'template':{'type':Sequelize[_0x51fb('0x4')]},'markAsUnread':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'fontFamily':{'type':Sequelize[_0x51fb('0x2')],'allowNull':![],'defaultValue':_0x51fb('0x5')},'fontSize':{'type':Sequelize[_0x51fb('0x6')](0x2)[_0x51fb('0x7')],'defaultValue':0xd,'validate':{'min':0x8,'max':0x48}},'notificationTemplate':{'type':Sequelize[_0x51fb('0x4')],'defaultValue':function(){return'Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}<br/>Subject\x20:\x20{{message.subject}}';}},'notificationSound':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x51fb('0x3')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x51fb('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x51fb('0x3')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x51fb('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x51fb('0x6')],'allowNull':!![],'defaultValue':null,'comment':_0x51fb('0x8')},'mandatoryDisposition':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'comment':_0x51fb('0x9'),'set':function(_0x484642){if(!_0x484642)this[_0x51fb('0xa')](_0x51fb('0xb'),null);this[_0x51fb('0xa')]('mandatoryDisposition',_0x484642);}}};