e84da47019e9b14fb469a0b51feb680f5540e97a
[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 _0x97dc=['name','ENUM','rrmemory','beepall','roundrobin','sequelize','exports','STRING'];(function(_0x1b82e2,_0x224d33){var _0x33c4b9=function(_0x20646a){while(--_0x20646a){_0x1b82e2['push'](_0x1b82e2['shift']());}};_0x33c4b9(++_0x224d33);}(_0x97dc,0xcd));var _0xc97d=function(_0x4e2d80,_0x3db6ae){_0x4e2d80=_0x4e2d80-0x0;var _0x3b5bb3=_0x97dc[_0x4e2d80];return _0x3b5bb3;};'use strict';var Sequelize=require(_0xc97d('0x0'));module[_0xc97d('0x1')]={'name':{'type':Sequelize[_0xc97d('0x2')],'unique':_0xc97d('0x3'),'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[_0xc97d('0x4')](_0xc97d('0x5'),_0xc97d('0x6'),_0xc97d('0x7'))}};