c9d504aea3521d719c3c18f64fbb571ea939fe32
[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 _0x3b63=['exports','STRING','INTEGER','ENUM','beepall','roundrobin'];(function(_0x5bce35,_0xd22b6e){var _0x5e6dc3=function(_0x13582a){while(--_0x13582a){_0x5bce35['push'](_0x5bce35['shift']());}};_0x5e6dc3(++_0xd22b6e);}(_0x3b63,0xf0));var _0x33b6=function(_0x6131cd,_0x4c26a1){_0x6131cd=_0x6131cd-0x0;var _0x47e916=_0x3b63[_0x6131cd];return _0x47e916;};'use strict';var Sequelize=require('sequelize');module[_0x33b6('0x0')]={'name':{'type':Sequelize[_0x33b6('0x1')],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x33b6('0x1')]},'timeout':{'type':Sequelize[_0x33b6('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x33b6('0x3')]('rrmemory',_0x33b6('0x4'),_0x33b6('0x5'))}};