a354ed8b2c82bceb2b26456734eaf45167a91cc5
[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 _0xf426=['STRING','name','INTEGER','rrmemory','beepall','roundrobin'];(function(_0x1482e9,_0xaea9d7){var _0x129179=function(_0x581881){while(--_0x581881){_0x1482e9['push'](_0x1482e9['shift']());}};_0x129179(++_0xaea9d7);}(_0xf426,0xa8));var _0x6f42=function(_0x20ae13,_0x2a0c8e){_0x20ae13=_0x20ae13-0x0;var _0x533fd5=_0xf426[_0x20ae13];return _0x533fd5;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0x6f42('0x0')],'unique':_0x6f42('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x6f42('0x0')]},'timeout':{'type':Sequelize[_0x6f42('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0x6f42('0x3'),_0x6f42('0x4'),_0x6f42('0x5'))}};