a22b0d599aad5c549023492af2ae2e687782bf08
[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 _0x2ff5=['ENUM','rrmemory','beepall','roundrobin','sequelize','exports','name'];(function(_0x42b9aa,_0x4b8265){var _0x4d0441=function(_0x4cd0da){while(--_0x4cd0da){_0x42b9aa['push'](_0x42b9aa['shift']());}};_0x4d0441(++_0x4b8265);}(_0x2ff5,0x170));var _0x52ff=function(_0x4c6547,_0x5cb0b6){_0x4c6547=_0x4c6547-0x0;var _0x1f0e77=_0x2ff5[_0x4c6547];return _0x1f0e77;};'use strict';var Sequelize=require(_0x52ff('0x0'));module[_0x52ff('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x52ff('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x52ff('0x3')](_0x52ff('0x4'),_0x52ff('0x5'),_0x52ff('0x6'))}};