936cf15ec546797fbbbb2b87e06c30ef016a6015
[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 _0xe551=['INTEGER','ENUM','roundrobin','sequelize','exports','STRING','name'];(function(_0x42c3ea,_0x2cae04){var _0x294a04=function(_0x265626){while(--_0x265626){_0x42c3ea['push'](_0x42c3ea['shift']());}};_0x294a04(++_0x2cae04);}(_0xe551,0xc0));var _0x1e55=function(_0x514fe4,_0x51556a){_0x514fe4=_0x514fe4-0x0;var _0x525df9=_0xe551[_0x514fe4];return _0x525df9;};'use strict';var Sequelize=require(_0x1e55('0x0'));module[_0x1e55('0x1')]={'name':{'type':Sequelize[_0x1e55('0x2')],'unique':_0x1e55('0x3'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x1e55('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x1e55('0x5')]('rrmemory','beepall',_0x1e55('0x6'))}};