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 _0x65c5=['twilio','sinch','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','randomstring','exports','STRING','name','ENUM'];(function(_0x289187,_0x5b6795){var _0x5c4db4=function(_0x1e4618){while(--_0x1e4618){_0x289187['push'](_0x289187['shift']());}};_0x5c4db4(++_0x5b6795);}(_0x65c5,0x17a));var _0x565c=function(_0x3e4380,_0x550acd){_0x3e4380=_0x3e4380-0x0;var _0x5d5f29=_0x65c5[_0x3e4380];return _0x5d5f29;};'use strict';var Sequelize=require(_0x565c('0x0'));var rs=require(_0x565c('0x1'));module[_0x565c('0x2')]={'name':{'type':Sequelize[_0x565c('0x3')],'unique':_0x565c('0x4'),'allowNull':![]},'key':{'type':Sequelize[_0x565c('0x3')],'allowNull':![]},'remote':{'type':Sequelize[_0x565c('0x3')],'allowNull':![]},'token':{'type':Sequelize[_0x565c('0x3')],'defaultValue':function(){return rs['generate']();}},'phone':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x565c('0x5')](_0x565c('0x6'),_0x565c('0x7'))},'accountSid':{'type':Sequelize[_0x565c('0x3')]},'baseUrl':{'type':Sequelize[_0x565c('0x3')]},'authToken':{'type':Sequelize[_0x565c('0x3')]},'notificationTemplate':{'type':Sequelize[_0x565c('0x8')],'defaultValue':function(){return _0x565c('0x9');}},'notificationSound':{'type':Sequelize[_0x565c('0xa')],'defaultValue':![]},'notificationShake':{'type':Sequelize[_0x565c('0xa')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x565c('0xb')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x565c('0xa')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x565c('0xb')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x565c('0xa')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x565c('0xb')],'comment':_0x565c('0xc')},'mandatoryDisposition':{'type':Sequelize[_0x565c('0xa')],'defaultValue':![],'comment':_0x565c('0xd'),'set':function(_0x4e63df){if(!_0x4e63df){this[_0x565c('0xe')]('mandatoryDispositionPauseId',null);}this['setDataValue'](_0x565c('0xf'),_0x4e63df);}},'description':{'type':Sequelize['STRING']}};