09cf69adfa201d3927f33c1a5569c9bd2ab158a8
[motion2.git] / server / api / openchannelQueue / openchannelQueue.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 _0xa353=['STRING','name','INTEGER','ENUM','beepall','sequelize','exports'];(function(_0x34636c,_0x5d41ea){var _0x735dd1=function(_0xf66efd){while(--_0xf66efd){_0x34636c['push'](_0x34636c['shift']());}};_0x735dd1(++_0x5d41ea);}(_0xa353,0xd7));var _0x3a35=function(_0x1e7581,_0x25526e){_0x1e7581=_0x1e7581-0x0;var _0x51ad01=_0xa353[_0x1e7581];return _0x51ad01;};'use strict';var Sequelize=require(_0x3a35('0x0'));module[_0x3a35('0x1')]={'name':{'type':Sequelize[_0x3a35('0x2')],'unique':_0x3a35('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x3a35('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x3a35('0x5')]('rrmemory',_0x3a35('0x6'),'roundrobin')}};