Built motion from commit a61a4a20.|2.5.46
[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 _0x39ed=['rrmemory','beepall','roundrobin','sequelize','exports','STRING','name','INTEGER'];(function(_0x31831d,_0x4a341f){var _0x26597a=function(_0x236bdf){while(--_0x236bdf){_0x31831d['push'](_0x31831d['shift']());}};_0x26597a(++_0x4a341f);}(_0x39ed,0x193));var _0xd39e=function(_0x446331,_0x18b61a){_0x446331=_0x446331-0x0;var _0x43e5bf=_0x39ed[_0x446331];return _0x43e5bf;};'use strict';var Sequelize=require(_0xd39e('0x0'));module[_0xd39e('0x1')]={'name':{'type':Sequelize[_0xd39e('0x2')],'unique':_0xd39e('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0xd39e('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0xd39e('0x5'),_0xd39e('0x6'),_0xd39e('0x7'))}};