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 _0xa41a=['TEXT','BOOLEAN','INTEGER','sequelize','randomstring','STRING','name','generate'];(function(_0x1ac595,_0x5d2081){var _0x455fff=function(_0x3043ee){while(--_0x3043ee){_0x1ac595['push'](_0x1ac595['shift']());}};_0x455fff(++_0x5d2081);}(_0xa41a,0x6b));var _0xaa41=function(_0x41df23,_0x5361e3){_0x41df23=_0x41df23-0x0;var _0x54ffba=_0xa41a[_0x41df23];return _0x54ffba;};'use strict';var Sequelize=require(_0xaa41('0x0'));var rs=require(_0xaa41('0x1'));module['exports']={'name':{'type':Sequelize[_0xaa41('0x2')],'unique':_0xaa41('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0xaa41('0x2')]},'token':{'type':Sequelize[_0xaa41('0x2')],'defaultValue':function(){return rs[_0xaa41('0x4')]();}},'replyUri':{'type':Sequelize[_0xaa41('0x2')],'validate':{'isUrl':!![]}},'key':{'type':Sequelize[_0xaa41('0x2')],'allowNull':![]},'notificationTemplate':{'type':Sequelize[_0xaa41('0x5')],'defaultValue':function(){return'Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}';}},'notificationSound':{'type':Sequelize[_0xaa41('0x6')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xaa41('0x6')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'mapKey':{'type':Sequelize['STRING']},'queueTransfer':{'type':Sequelize[_0xaa41('0x6')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xaa41('0x7')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xaa41('0x7')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}};