be4e0b3c5ac3a9668861e94cbdb8d97948e06d4d
[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 _0x737c=['sequelize','exports','STRING','INTEGER','rrmemory'];(function(_0x377a6e,_0x59b99d){var _0x37f751=function(_0x2ed25c){while(--_0x2ed25c){_0x377a6e['push'](_0x377a6e['shift']());}};_0x37f751(++_0x59b99d);}(_0x737c,0x64));var _0xc737=function(_0x464e1f,_0x2aa86f){_0x464e1f=_0x464e1f-0x0;var _0x1c1ce2=_0x737c[_0x464e1f];return _0x1c1ce2;};'use strict';var Sequelize=require(_0xc737('0x0'));module[_0xc737('0x1')]={'name':{'type':Sequelize[_0xc737('0x2')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xc737('0x2')]},'timeout':{'type':Sequelize[_0xc737('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0xc737('0x4'),'beepall','roundrobin')}};