Built motion from commit da617fac.|2.6.6
[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 _0xd22e=['beepall','sequelize','exports','name','INTEGER','rrmemory'];(function(_0x5459f2,_0x23a7c4){var _0xe906c6=function(_0x1f94ae){while(--_0x1f94ae){_0x5459f2['push'](_0x5459f2['shift']());}};_0xe906c6(++_0x23a7c4);}(_0xd22e,0x1d5));var _0xed22=function(_0x3cd54d,_0x3755a4){_0x3cd54d=_0x3cd54d-0x0;var _0x469017=_0xd22e[_0x3cd54d];return _0x469017;};'use strict';var Sequelize=require(_0xed22('0x0'));module[_0xed22('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0xed22('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0xed22('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0xed22('0x4'),_0xed22('0x5'),'roundrobin')}};