bf1e409d0aeb8960f9ae806b77de70efc88e1746
[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 _0xd741=['ENUM','rrmemory','beepall','roundrobin','exports','name','INTEGER'];(function(_0x3dfa60,_0xcfc2e3){var _0x5bad3b=function(_0x1cf770){while(--_0x1cf770){_0x3dfa60['push'](_0x3dfa60['shift']());}};_0x5bad3b(++_0xcfc2e3);}(_0xd741,0x1e0));var _0x1d74=function(_0x4e48c1,_0x45bffd){_0x4e48c1=_0x4e48c1-0x0;var _0x146060=_0xd741[_0x4e48c1];return _0x146060;};'use strict';var Sequelize=require('sequelize');module[_0x1d74('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0x1d74('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x1d74('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x1d74('0x3')](_0x1d74('0x4'),_0x1d74('0x5'),_0x1d74('0x6'))}};