Built motion from commit 3e059bc2.|2.5.32
[motion2.git] / server / api / chatQueue / chatQueue.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x7ff2=['ENUM','rrmemory','beepall','roundrobin','sequelize','exports','STRING','name','INTEGER'];(function(_0x4c7fb5,_0x2548ef){var _0x2e10ac=function(_0xf7e27c){while(--_0xf7e27c){_0x4c7fb5['push'](_0x4c7fb5['shift']());}};_0x2e10ac(++_0x2548ef);}(_0x7ff2,0x1d8));var _0x27ff=function(_0x24ecdc,_0x398672){_0x24ecdc=_0x24ecdc-0x0;var _0x5b9e9e=_0x7ff2[_0x24ecdc];return _0x5b9e9e;};'use strict';var Sequelize=require(_0x27ff('0x0'));module[_0x27ff('0x1')]={'name':{'type':Sequelize[_0x27ff('0x2')],'unique':_0x27ff('0x3'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x27ff('0x2')]},'timeout':{'type':Sequelize[_0x27ff('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x27ff('0x5')](_0x27ff('0x6'),_0x27ff('0x7'),_0x27ff('0x8'))}};