88c76c425b3996d0fcaff1237ed52c190756a441
[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 _0x8a3c=['rrmemory','beepall','roundrobin','sequelize','exports','STRING','name','INTEGER'];(function(_0x428531,_0x1f2858){var _0x2ac3f2=function(_0x3fa6e0){while(--_0x3fa6e0){_0x428531['push'](_0x428531['shift']());}};_0x2ac3f2(++_0x1f2858);}(_0x8a3c,0x9b));var _0xc8a3=function(_0xba0da5,_0x2ac024){_0xba0da5=_0xba0da5-0x0;var _0x3a5f98=_0x8a3c[_0xba0da5];return _0x3a5f98;};'use strict';var Sequelize=require(_0xc8a3('0x0'));module[_0xc8a3('0x1')]={'name':{'type':Sequelize[_0xc8a3('0x2')],'unique':_0xc8a3('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xc8a3('0x2')]},'timeout':{'type':Sequelize[_0xc8a3('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0xc8a3('0x5'),_0xc8a3('0x6'),_0xc8a3('0x7'))}};