13099ccc82b75472837a2fbf415f315a7b7ec6bf
[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 _0xef4d=['STRING','ENUM','rrmemory','beepall','roundrobin','exports','name'];(function(_0x7160c6,_0x7acbec){var _0x1b19bb=function(_0x37f540){while(--_0x37f540){_0x7160c6['push'](_0x7160c6['shift']());}};_0x1b19bb(++_0x7acbec);}(_0xef4d,0x147));var _0xdef4=function(_0x39d544,_0x35c14f){_0x39d544=_0x39d544-0x0;var _0x5a5ff2=_0xef4d[_0x39d544];return _0x5a5ff2;};'use strict';var Sequelize=require('sequelize');module[_0xdef4('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0xdef4('0x1'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xdef4('0x2')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xdef4('0x3')](_0xdef4('0x4'),_0xdef4('0x5'),_0xdef4('0x6'))}};