7d1637624f0f355d7c2ca4b2618ca2626390e5b9
[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 _0x1c01=['roundrobin','sequelize','exports','STRING','name','INTEGER','beepall'];(function(_0x26d6d9,_0x431cb8){var _0x1b4875=function(_0x41111f){while(--_0x41111f){_0x26d6d9['push'](_0x26d6d9['shift']());}};_0x1b4875(++_0x431cb8);}(_0x1c01,0x190));var _0x11c0=function(_0x52ceb8,_0x1c63ea){_0x52ceb8=_0x52ceb8-0x0;var _0x28a714=_0x1c01[_0x52ceb8];return _0x28a714;};'use strict';var Sequelize=require(_0x11c0('0x0'));module[_0x11c0('0x1')]={'name':{'type':Sequelize[_0x11c0('0x2')],'unique':_0x11c0('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x11c0('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM']('rrmemory',_0x11c0('0x5'),_0x11c0('0x6'))}};