62445e6daa2be47e71b18887fbdc002168b4f27a
[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 _0xe222=['roundrobin','sequelize','STRING','name','INTEGER','ENUM','rrmemory','beepall'];(function(_0xcb77b8,_0x23b2ee){var _0x4186fb=function(_0x24dc4a){while(--_0x24dc4a){_0xcb77b8['push'](_0xcb77b8['shift']());}};_0x4186fb(++_0x23b2ee);}(_0xe222,0x159));var _0x2e22=function(_0x96b6a,_0x12471d){_0x96b6a=_0x96b6a-0x0;var _0x3e16f3=_0xe222[_0x96b6a];return _0x3e16f3;};'use strict';var Sequelize=require(_0x2e22('0x0'));module['exports']={'name':{'type':Sequelize[_0x2e22('0x1')],'unique':_0x2e22('0x2'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x2e22('0x1')]},'timeout':{'type':Sequelize[_0x2e22('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x2e22('0x4')](_0x2e22('0x5'),_0x2e22('0x6'),_0x2e22('0x7'))}};