Built motion from commit ab870f9e.|2.5.44
[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 _0xbb95=['name','ENUM','beepall','roundrobin','sequelize','STRING'];(function(_0x4525b5,_0x49471f){var _0x537a7a=function(_0x582687){while(--_0x582687){_0x4525b5['push'](_0x4525b5['shift']());}};_0x537a7a(++_0x49471f);}(_0xbb95,0x1e4));var _0x5bb9=function(_0x5a4d7a,_0x3a566e){_0x5a4d7a=_0x5a4d7a-0x0;var _0x490e8d=_0xbb95[_0x5a4d7a];return _0x490e8d;};'use strict';var Sequelize=require(_0x5bb9('0x0'));module['exports']={'name':{'type':Sequelize[_0x5bb9('0x1')],'unique':_0x5bb9('0x2'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x5bb9('0x1')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x5bb9('0x3')]('rrmemory',_0x5bb9('0x4'),_0x5bb9('0x5'))}};