Built motion from commit 0900f080.|2.5.45
[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 _0x617d=['sequelize','name','STRING','INTEGER','ENUM','rrmemory','beepall'];(function(_0x34e343,_0x2f43e3){var _0x468b72=function(_0x128aca){while(--_0x128aca){_0x34e343['push'](_0x34e343['shift']());}};_0x468b72(++_0x2f43e3);}(_0x617d,0x173));var _0xd617=function(_0x4cf98e,_0xba4b79){_0x4cf98e=_0x4cf98e-0x0;var _0x1623ac=_0x617d[_0x4cf98e];return _0x1623ac;};'use strict';var Sequelize=require(_0xd617('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xd617('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xd617('0x2')]},'timeout':{'type':Sequelize[_0xd617('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xd617('0x4')](_0xd617('0x5'),_0xd617('0x6'),'roundrobin')}};