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 _0x09a7=['roundrobin','sequelize','name','STRING','INTEGER','rrmemory'];(function(_0x2151e1,_0x50b443){var _0xfbeac7=function(_0x263690){while(--_0x263690){_0x2151e1['push'](_0x2151e1['shift']());}};_0xfbeac7(++_0x50b443);}(_0x09a7,0x15d));var _0x709a=function(_0x12cc8c,_0x17ec3a){_0x12cc8c=_0x12cc8c-0x0;var _0x4f79c5=_0x09a7[_0x12cc8c];return _0x4f79c5;};'use strict';var Sequelize=require(_0x709a('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0x709a('0x1'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x709a('0x2')]},'timeout':{'type':Sequelize[_0x709a('0x3')],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0x709a('0x4'),'beepall',_0x709a('0x5')),'allowNull':![]},'lastAgent':{'type':Sequelize['INTEGER'],'defaultValue':0x0}};