Built motion from commit efa66e19.|2.6.22
[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 _0x6eef=['name','INTEGER','ENUM','rrmemory','beepall','STRING'];(function(_0x544099,_0x102022){var _0x1e5253=function(_0x3eb26d){while(--_0x3eb26d){_0x544099['push'](_0x544099['shift']());}};_0x1e5253(++_0x102022);}(_0x6eef,0xd7));var _0xf6ee=function(_0x541a67,_0x50728d){_0x541a67=_0x541a67-0x0;var _0x45da2a=_0x6eef[_0x541a67];return _0x45da2a;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0xf6ee('0x0')],'unique':_0xf6ee('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xf6ee('0x0')]},'timeout':{'type':Sequelize[_0xf6ee('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xf6ee('0x3')](_0xf6ee('0x4'),_0xf6ee('0x5'),'roundrobin')}};