e78a40381319142356fc32f5a7041cd6bd95186a
[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 _0xddb6=['exports','STRING','name','ENUM','rrmemory','beepall','roundrobin'];(function(_0x2ce444,_0x4924dd){var _0x8f4d15=function(_0x378883){while(--_0x378883){_0x2ce444['push'](_0x2ce444['shift']());}};_0x8f4d15(++_0x4924dd);}(_0xddb6,0xa1));var _0x6ddb=function(_0x2640da,_0x412ceb){_0x2640da=_0x2640da-0x0;var _0x5460ab=_0xddb6[_0x2640da];return _0x5460ab;};'use strict';var Sequelize=require('sequelize');module[_0x6ddb('0x0')]={'name':{'type':Sequelize[_0x6ddb('0x1')],'unique':_0x6ddb('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x6ddb('0x1')]},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x6ddb('0x3')](_0x6ddb('0x4'),_0x6ddb('0x5'),_0x6ddb('0x6'))}};