af143f80f1d1ec3190ecd638d552a232c091d4d8
[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 _0x0f97=['roundrobin','sequelize','exports','STRING','name','INTEGER','ENUM','rrmemory','beepall'];(function(_0x4d2c3a,_0x506a93){var _0x480e0d=function(_0x8a9c){while(--_0x8a9c){_0x4d2c3a['push'](_0x4d2c3a['shift']());}};_0x480e0d(++_0x506a93);}(_0x0f97,0x196));var _0x70f9=function(_0xc0a3d3,_0x2c8d00){_0xc0a3d3=_0xc0a3d3-0x0;var _0x3386e8=_0x0f97[_0xc0a3d3];return _0x3386e8;};'use strict';var Sequelize=require(_0x70f9('0x0'));module[_0x70f9('0x1')]={'name':{'type':Sequelize[_0x70f9('0x2')],'unique':_0x70f9('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x70f9('0x2')]},'timeout':{'type':Sequelize[_0x70f9('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x70f9('0x5')](_0x70f9('0x6'),_0x70f9('0x7'),_0x70f9('0x8'))}};