35a2bb9a9e2ee093c9d555c09b4bc69f4449f666
[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 _0xc8a4=['sequelize','exports','STRING','name','INTEGER','ENUM','rrmemory','beepall','roundrobin'];(function(_0x389195,_0x2a42fa){var _0x4b8211=function(_0x49dc4a){while(--_0x49dc4a){_0x389195['push'](_0x389195['shift']());}};_0x4b8211(++_0x2a42fa);}(_0xc8a4,0x99));var _0x4c8a=function(_0x37335b,_0x3f0cf1){_0x37335b=_0x37335b-0x0;var _0x492149=_0xc8a4[_0x37335b];return _0x492149;};'use strict';var Sequelize=require(_0x4c8a('0x0'));module[_0x4c8a('0x1')]={'name':{'type':Sequelize[_0x4c8a('0x2')],'unique':_0x4c8a('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x4c8a('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x4c8a('0x5')](_0x4c8a('0x6'),_0x4c8a('0x7'),_0x4c8a('0x8'))}};