4f81c6b026b261604b787f292e7fb588d99f73af
[motion2.git] / server / api / mailQueue / mailQueue.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 _0x2d67=['INTEGER','ENUM','rrmemory','beepall','sequelize','exports','STRING','name'];(function(_0x1f0a9d,_0x500453){var _0xec7b82=function(_0x2b732b){while(--_0x2b732b){_0x1f0a9d['push'](_0x1f0a9d['shift']());}};_0xec7b82(++_0x500453);}(_0x2d67,0x1b4));var _0x72d6=function(_0x4cd14a,_0x3c08b4){_0x4cd14a=_0x4cd14a-0x0;var _0x59ac6a=_0x2d67[_0x4cd14a];return _0x59ac6a;};'use strict';var Sequelize=require(_0x72d6('0x0'));module[_0x72d6('0x1')]={'name':{'type':Sequelize[_0x72d6('0x2')],'unique':_0x72d6('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x72d6('0x2')]},'timeout':{'type':Sequelize[_0x72d6('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x72d6('0x5')](_0x72d6('0x6'),_0x72d6('0x7'),'roundrobin')}};