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 _0x218d=['randomstring','exports','STRING','name','TEXT','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','BOOLEAN','INTEGER','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDisposition','sequelize'];(function(_0x4afca7,_0x14016b){var _0x1c5908=function(_0x1f9a93){while(--_0x1f9a93){_0x4afca7['push'](_0x4afca7['shift']());}};_0x1c5908(++_0x14016b);}(_0x218d,0x192));var _0xd218=function(_0x50cb20,_0x559073){_0x50cb20=_0x50cb20-0x0;var _0x2cba32=_0x218d[_0x50cb20];return _0x2cba32;};'use strict';var Sequelize=require(_0xd218('0x0'));var rs=require(_0xd218('0x1'));module[_0xd218('0x2')]={'name':{'type':Sequelize[_0xd218('0x3')],'unique':_0xd218('0x4'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'token':{'type':Sequelize['STRING'],'defaultValue':function(){return rs['generate']();}},'replyUri':{'type':Sequelize[_0xd218('0x3')],'validate':{'isUrl':!![]}},'key':{'type':Sequelize['STRING'],'allowNull':![]},'notificationTemplate':{'type':Sequelize[_0xd218('0x5')],'defaultValue':function(){return _0xd218('0x6');}},'notificationSound':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xd218('0x7')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xd218('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'mapKey':{'type':Sequelize['STRING']},'queueTransfer':{'type':Sequelize[_0xd218('0x7')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xd218('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xd218('0x7')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xd218('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0xd218('0x8')],'allowNull':!![],'defaultValue':null,'comment':_0xd218('0x9')},'mandatoryDisposition':{'type':Sequelize[_0xd218('0x7')],'defaultValue':![],'comment':_0xd218('0xa'),'set':function(_0x16bf20){if(!_0x16bf20)this[_0xd218('0xb')]('mandatoryDispositionPauseId',null);this[_0xd218('0xb')](_0xd218('0xc'),_0x16bf20);}}};