52979bd3b2567a13770af0378456ef8b10b90f09
[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 _0xdafc=['beepall','roundrobin','sequelize','name','ENUM','rrmemory'];(function(_0x5b40de,_0x11725e){var _0x3ef665=function(_0x14f9f3){while(--_0x14f9f3){_0x5b40de['push'](_0x5b40de['shift']());}};_0x3ef665(++_0x11725e);}(_0xdafc,0x1a6));var _0xcdaf=function(_0x41c7bf,_0x5f2b75){_0x41c7bf=_0x41c7bf-0x0;var _0x50e829=_0xdafc[_0x41c7bf];return _0x50e829;};'use strict';var Sequelize=require(_0xcdaf('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xcdaf('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xcdaf('0x2')](_0xcdaf('0x3'),_0xcdaf('0x4'),_0xcdaf('0x5'))}};