Built motion from commit c738b9ac.|2.6.25
[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 _0x20b0=['name','INTEGER','ENUM','rrmemory','beepall','roundrobin','sequelize','STRING'];(function(_0xd760d5,_0x3e2554){var _0x44c091=function(_0x472196){while(--_0x472196){_0xd760d5['push'](_0xd760d5['shift']());}};_0x44c091(++_0x3e2554);}(_0x20b0,0x8e));var _0x020b=function(_0x2d9453,_0x12acdd){_0x2d9453=_0x2d9453-0x0;var _0x7db2fc=_0x20b0[_0x2d9453];return _0x7db2fc;};'use strict';var Sequelize=require(_0x020b('0x0'));module['exports']={'name':{'type':Sequelize[_0x020b('0x1')],'unique':_0x020b('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x020b('0x1')]},'timeout':{'type':Sequelize[_0x020b('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x020b('0x4')](_0x020b('0x5'),_0x020b('0x6'),_0x020b('0x7'))}};