33d204d4b4626e4e3bb0acefd9febeb25549a49b
[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 _0xcb86=['name','INTEGER','rrmemory','roundrobin','exports','STRING'];(function(_0x5bfc72,_0x959e59){var _0x11fe83=function(_0x51cbb9){while(--_0x51cbb9){_0x5bfc72['push'](_0x5bfc72['shift']());}};_0x11fe83(++_0x959e59);}(_0xcb86,0xac));var _0x6cb8=function(_0x13b762,_0x9c16ee){_0x13b762=_0x13b762-0x0;var _0x344406=_0xcb86[_0x13b762];return _0x344406;};'use strict';var Sequelize=require('sequelize');module[_0x6cb8('0x0')]={'name':{'type':Sequelize[_0x6cb8('0x1')],'unique':_0x6cb8('0x2'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x6cb8('0x1')]},'timeout':{'type':Sequelize[_0x6cb8('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0x6cb8('0x4'),'beepall',_0x6cb8('0x5'))}};