32feb18f0603f8b831cb6a0a24d9cb9f22a6e323
[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 _0x9f8d=['roundrobin','sequelize','exports','name','STRING','rrmemory','beepall'];(function(_0x4ff5e0,_0x541a0c){var _0x5ae4fb=function(_0x1044ed){while(--_0x1044ed){_0x4ff5e0['push'](_0x4ff5e0['shift']());}};_0x5ae4fb(++_0x541a0c);}(_0x9f8d,0x1ac));var _0xd9f8=function(_0x154577,_0x1495f8){_0x154577=_0x154577-0x0;var _0x439e38=_0x9f8d[_0x154577];return _0x439e38;};'use strict';var Sequelize=require(_0xd9f8('0x0'));module[_0xd9f8('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0xd9f8('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xd9f8('0x3')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0xd9f8('0x4'),_0xd9f8('0x5'),_0xd9f8('0x6'))}};