Built motion from commit 5b761a7b.|2.5.36
[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 _0x2a0d=['rrmemory','beepall','sequelize','exports','STRING','INTEGER','ENUM'];(function(_0x5cb4e1,_0x273581){var _0x4c8612=function(_0x5019b2){while(--_0x5019b2){_0x5cb4e1['push'](_0x5cb4e1['shift']());}};_0x4c8612(++_0x273581);}(_0x2a0d,0x113));var _0xd2a0=function(_0x3beea6,_0x14493c){_0x3beea6=_0x3beea6-0x0;var _0x160dcb=_0x2a0d[_0x3beea6];return _0x160dcb;};'use strict';var Sequelize=require(_0xd2a0('0x0'));module[_0xd2a0('0x1')]={'name':{'type':Sequelize[_0xd2a0('0x2')],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xd2a0('0x2')]},'timeout':{'type':Sequelize[_0xd2a0('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xd2a0('0x4')](_0xd2a0('0x5'),_0xd2a0('0x6'),'roundrobin')}};