0cf5e62bf759954356cc6f9aaff72e7a4313e332
[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 _0xef0f=['sequelize','STRING','name','ENUM','rrmemory','beepall'];(function(_0x1bdad6,_0x1084d6){var _0x3a2009=function(_0x56f20b){while(--_0x56f20b){_0x1bdad6['push'](_0x1bdad6['shift']());}};_0x3a2009(++_0x1084d6);}(_0xef0f,0x168));var _0xfef0=function(_0x580256,_0x3110ed){_0x580256=_0x580256-0x0;var _0x34e885=_0xef0f[_0x580256];return _0x34e885;};'use strict';var Sequelize=require(_0xfef0('0x0'));module['exports']={'name':{'type':Sequelize[_0xfef0('0x1')],'unique':_0xfef0('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xfef0('0x1')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xfef0('0x3')](_0xfef0('0x4'),_0xfef0('0x5'),'roundrobin')}};