3fda637d425ce0b9fde8757200c28e45591577b6
[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 _0xe2d0=['name','STRING','INTEGER','ENUM','rrmemory','exports'];(function(_0x5219c0,_0x2fa7ea){var _0x1a4b35=function(_0x3606f5){while(--_0x3606f5){_0x5219c0['push'](_0x5219c0['shift']());}};_0x1a4b35(++_0x2fa7ea);}(_0xe2d0,0xcb));var _0x0e2d=function(_0x27c7df,_0xa21fc0){_0x27c7df=_0x27c7df-0x0;var _0x19851a=_0xe2d0[_0x27c7df];return _0x19851a;};'use strict';var Sequelize=require('sequelize');module[_0x0e2d('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0x0e2d('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x0e2d('0x2')]},'timeout':{'type':Sequelize[_0x0e2d('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x0e2d('0x4')](_0x0e2d('0x5'),'beepall','roundrobin')}};