Built motion from commit 85328c08.|2.5.50
[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 _0xb95b=['ENUM','rrmemory','beepall','roundrobin','exports','STRING','INTEGER'];(function(_0x5dcab1,_0x1c42b2){var _0x35709c=function(_0x1ff082){while(--_0x1ff082){_0x5dcab1['push'](_0x5dcab1['shift']());}};_0x35709c(++_0x1c42b2);}(_0xb95b,0x18c));var _0xbb95=function(_0x334428,_0x17a59b){_0x334428=_0x334428-0x0;var _0x2f88a5=_0xb95b[_0x334428];return _0x2f88a5;};'use strict';var Sequelize=require('sequelize');module[_0xbb95('0x0')]={'name':{'type':Sequelize[_0xbb95('0x1')],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0xbb95('0x1')]},'timeout':{'type':Sequelize[_0xbb95('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xbb95('0x3')](_0xbb95('0x4'),_0xbb95('0x5'),_0xbb95('0x6'))}};