Built motion from commit (unavailable).|2.5.4
[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 _0x4ad5=['exports','name','STRING','INTEGER','ENUM','rrmemory'];(function(_0x5df3cc,_0x4d1126){var _0x5ce18f=function(_0x2820eb){while(--_0x2820eb){_0x5df3cc['push'](_0x5df3cc['shift']());}};_0x5ce18f(++_0x4d1126);}(_0x4ad5,0xc6));var _0x54ad=function(_0x5043ae,_0x36c283){_0x5043ae=_0x5043ae-0x0;var _0x59572f=_0x4ad5[_0x5043ae];return _0x59572f;};'use strict';var Sequelize=require('sequelize');module[_0x54ad('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0x54ad('0x1'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x54ad('0x2')]},'timeout':{'type':Sequelize[_0x54ad('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x54ad('0x4')](_0x54ad('0x5'),'beepall','roundrobin')}};