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 _0xb854=['rrmemory','beepall','roundrobin','sequelize','exports','STRING','name','INTEGER','ENUM'];(function(_0x2ce566,_0x3ce369){var _0x5d5400=function(_0x3baaa3){while(--_0x3baaa3){_0x2ce566['push'](_0x2ce566['shift']());}};_0x5d5400(++_0x3ce369);}(_0xb854,0x11a));var _0x4b85=function(_0xe4d5a8,_0x5e7ae6){_0xe4d5a8=_0xe4d5a8-0x0;var _0x788e99=_0xb854[_0xe4d5a8];return _0x788e99;};'use strict';var Sequelize=require(_0x4b85('0x0'));module[_0x4b85('0x1')]={'name':{'type':Sequelize[_0x4b85('0x2')],'unique':_0x4b85('0x3'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x4b85('0x4')],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x4b85('0x5')](_0x4b85('0x6'),_0x4b85('0x7'),_0x4b85('0x8')),'allowNull':![]},'lastAgent':{'type':Sequelize[_0x4b85('0x4')],'defaultValue':0x0}};