ffc7bc13881f1b6df2b5ac8b0f89089565ecb6eb
[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 _0xc6c0=['STRING','name','ENUM','rrmemory','beepall','roundrobin','exports'];(function(_0x2db982,_0x5e18d7){var _0x582927=function(_0x3acec8){while(--_0x3acec8){_0x2db982['push'](_0x2db982['shift']());}};_0x582927(++_0x5e18d7);}(_0xc6c0,0x1b1));var _0x0c6c=function(_0x4914ad,_0x551a18){_0x4914ad=_0x4914ad-0x0;var _0x3cd61f=_0xc6c0[_0x4914ad];return _0x3cd61f;};'use strict';var Sequelize=require('sequelize');module[_0x0c6c('0x0')]={'name':{'type':Sequelize[_0x0c6c('0x1')],'unique':_0x0c6c('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x0c6c('0x1')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x0c6c('0x3')](_0x0c6c('0x4'),_0x0c6c('0x5'),_0x0c6c('0x6'))}};