0a2c6ab7c033e4d58b238d46641b21d0cd7573f0
[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 _0xf7ad=['INTEGER','rrmemory','beepall','sequelize','STRING','name'];(function(_0x2a16cb,_0x3d646e){var _0x379416=function(_0x8503e4){while(--_0x8503e4){_0x2a16cb['push'](_0x2a16cb['shift']());}};_0x379416(++_0x3d646e);}(_0xf7ad,0x17d));var _0xdf7a=function(_0x16c5a0,_0x253b66){_0x16c5a0=_0x16c5a0-0x0;var _0xc380b5=_0xf7ad[_0x16c5a0];return _0xc380b5;};'use strict';var Sequelize=require(_0xdf7a('0x0'));module['exports']={'name':{'type':Sequelize[_0xdf7a('0x1')],'unique':_0xdf7a('0x2'),'allowNull':![],'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0xdf7a('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0xdf7a('0x4'),_0xdf7a('0x5'),'roundrobin')}};