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 _0xb545=['INTEGER','ENUM','rrmemory','roundrobin','exports','name','STRING'];(function(_0x336ca2,_0x1a813a){var _0xda59a6=function(_0x47caa6){while(--_0x47caa6){_0x336ca2['push'](_0x336ca2['shift']());}};_0xda59a6(++_0x1a813a);}(_0xb545,0xcf));var _0x5b54=function(_0x178247,_0x41c6d3){_0x178247=_0x178247-0x0;var _0x4eb948=_0xb545[_0x178247];return _0x4eb948;};'use strict';var Sequelize=require('sequelize');module[_0x5b54('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0x5b54('0x1'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x5b54('0x2')]},'timeout':{'type':Sequelize[_0x5b54('0x3')],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x5b54('0x4')](_0x5b54('0x5'),'beepall',_0x5b54('0x6')),'allowNull':![]},'lastAgent':{'type':Sequelize[_0x5b54('0x3')],'defaultValue':0x0}};