Built motion from commit 97153652.|2.6.26
[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 _0x2e85=['name','ENUM','exports'];(function(_0x42ac2c,_0x1a0103){var _0x2dfbb4=function(_0x375c1d){while(--_0x375c1d){_0x42ac2c['push'](_0x42ac2c['shift']());}};_0x2dfbb4(++_0x1a0103);}(_0x2e85,0x71));var _0x52e8=function(_0x1d305a,_0x397380){_0x1d305a=_0x1d305a-0x0;var _0x7d247c=_0x2e85[_0x1d305a];return _0x7d247c;};'use strict';var Sequelize=require('sequelize');module[_0x52e8('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0x52e8('0x1'),'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[_0x52e8('0x2')]('rrmemory','beepall','roundrobin')}};