e64ac6679cbe0dcc24088a783971a36b027495b1
[motion2.git] / server / api / chatQueue / chatQueue.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 _0x7a18=['beepall','roundrobin','sequelize','exports','STRING','ENUM','rrmemory'];(function(_0x304b81,_0x7a90f9){var _0x5af7c1=function(_0x3e978e){while(--_0x3e978e){_0x304b81['push'](_0x304b81['shift']());}};_0x5af7c1(++_0x7a90f9);}(_0x7a18,0x13d));var _0x87a1=function(_0x15c421,_0x6366f7){_0x15c421=_0x15c421-0x0;var _0x5e5ed5=_0x7a18[_0x15c421];return _0x5e5ed5;};'use strict';var Sequelize=require(_0x87a1('0x0'));module[_0x87a1('0x1')]={'name':{'type':Sequelize[_0x87a1('0x2')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x87a1('0x3')](_0x87a1('0x4'),_0x87a1('0x5'),_0x87a1('0x6'))}};