Built motion from commit 639a1a7f.|2.6.19
[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 _0xe6a0=['ENUM','beepall','roundrobin','exports','STRING','INTEGER'];(function(_0xa01c9a,_0x543429){var _0x48fff9=function(_0xe8911d){while(--_0xe8911d){_0xa01c9a['push'](_0xa01c9a['shift']());}};_0x48fff9(++_0x543429);}(_0xe6a0,0xc3));var _0x0e6a=function(_0x176aac,_0x5ebc5f){_0x176aac=_0x176aac-0x0;var _0xbabab6=_0xe6a0[_0x176aac];return _0xbabab6;};'use strict';var Sequelize=require('sequelize');module[_0x0e6a('0x0')]={'name':{'type':Sequelize[_0x0e6a('0x1')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x0e6a('0x1')]},'timeout':{'type':Sequelize[_0x0e6a('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x0e6a('0x3')]('rrmemory',_0x0e6a('0x4'),_0x0e6a('0x5'))}};