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 _0x2a8b=['STRING','INTEGER','sequelize','exports'];(function(_0x5f286c,_0x524169){var _0x2fafa0=function(_0x24461b){while(--_0x24461b){_0x5f286c['push'](_0x5f286c['shift']());}};_0x2fafa0(++_0x524169);}(_0x2a8b,0x10a));var _0xb2a8=function(_0x6131cd,_0x4c26a1){_0x6131cd=_0x6131cd-0x0;var _0x47e916=_0x2a8b[_0x6131cd];return _0x47e916;};'use strict';var Sequelize=require(_0xb2a8('0x0'));module[_0xb2a8('0x1')]={'name':{'type':Sequelize[_0xb2a8('0x2')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xb2a8('0x2')]},'timeout':{'type':Sequelize[_0xb2a8('0x3')],'allowNull':![],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM']('rrmemory','beepall','roundrobin'),'allowNull':![]},'lastAgent':{'type':Sequelize[_0xb2a8('0x3')],'defaultValue':0x0}};