9a7ad3f70aafb8a94ba4d724d938732626745fa5
[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 _0x811d=['INTEGER','roundrobin','sequelize','exports','STRING','name'];(function(_0x500d3a,_0x57ded9){var _0x17e4a8=function(_0x83e988){while(--_0x83e988){_0x500d3a['push'](_0x500d3a['shift']());}};_0x17e4a8(++_0x57ded9);}(_0x811d,0xb6));var _0xd811=function(_0x501c77,_0x4ab0e5){_0x501c77=_0x501c77-0x0;var _0x5265eb=_0x811d[_0x501c77];return _0x5265eb;};'use strict';var Sequelize=require(_0xd811('0x0'));module[_0xd811('0x1')]={'name':{'type':Sequelize[_0xd811('0x2')],'unique':_0xd811('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xd811('0x2')]},'timeout':{'type':Sequelize[_0xd811('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM']('rrmemory','beepall',_0xd811('0x5'))}};