Built motion from commit 511216ff.|2.6.34
[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 _0x23ac=['beepall','roundrobin','STRING','name','ENUM'];(function(_0x5e0d54,_0x493251){var _0x280def=function(_0x18bf09){while(--_0x18bf09){_0x5e0d54['push'](_0x5e0d54['shift']());}};_0x280def(++_0x493251);}(_0x23ac,0x11f));var _0xc23a=function(_0x261e29,_0x10fffd){_0x261e29=_0x261e29-0x0;var _0x25ef43=_0x23ac[_0x261e29];return _0x25ef43;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0xc23a('0x0')],'unique':_0xc23a('0x1'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xc23a('0x0')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xc23a('0x2')]('rrmemory',_0xc23a('0x3'),_0xc23a('0x4'))}};