c01414b3b8b54f9904dc12e9cbd4efaf7aff44b5
[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 _0xe3e3=['INTEGER','beepall','roundrobin','exports','name','STRING'];(function(_0x452259,_0x580308){var _0x192c46=function(_0x4bd83c){while(--_0x4bd83c){_0x452259['push'](_0x452259['shift']());}};_0x192c46(++_0x580308);}(_0xe3e3,0x1e3));var _0x3e3e=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0xe3e3[_0x3ab51d];return _0x29a04e;};'use strict';var Sequelize=require('sequelize');module[_0x3e3e('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0x3e3e('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x3e3e('0x2')]},'timeout':{'type':Sequelize[_0x3e3e('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM']('rrmemory',_0x3e3e('0x4'),_0x3e3e('0x5'))}};