Built motion from commit a61a4a20.|2.5.46
[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 _0x01bf=['roundrobin','exports','STRING','name','INTEGER','ENUM','rrmemory','beepall'];(function(_0x26f71c,_0x5df3dd){var _0x1aa55e=function(_0x1b63b9){while(--_0x1b63b9){_0x26f71c['push'](_0x26f71c['shift']());}};_0x1aa55e(++_0x5df3dd);}(_0x01bf,0xe1));var _0xf01b=function(_0x47ee00,_0x256539){_0x47ee00=_0x47ee00-0x0;var _0x3d35f9=_0x01bf[_0x47ee00];return _0x3d35f9;};'use strict';var Sequelize=require('sequelize');module[_0xf01b('0x0')]={'name':{'type':Sequelize[_0xf01b('0x1')],'unique':_0xf01b('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xf01b('0x1')]},'timeout':{'type':Sequelize[_0xf01b('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xf01b('0x4')](_0xf01b('0x5'),_0xf01b('0x6'),_0xf01b('0x7'))}};