27ef7aa54b36ccf95ce4b421e78169195e4aefb3
[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 _0xd3d3=['INTEGER','rrmemory','beepall','roundrobin','sequelize','STRING'];(function(_0xba7490,_0x3d65aa){var _0x5ad46a=function(_0x3b2ea4){while(--_0x3b2ea4){_0xba7490['push'](_0xba7490['shift']());}};_0x5ad46a(++_0x3d65aa);}(_0xd3d3,0x130));var _0x3d3d=function(_0x2dea24,_0x2fc021){_0x2dea24=_0x2dea24-0x0;var _0x309d58=_0xd3d3[_0x2dea24];return _0x309d58;};'use strict';var Sequelize=require(_0x3d3d('0x0'));module['exports']={'name':{'type':Sequelize[_0x3d3d('0x1')],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize[_0x3d3d('0x1')]},'timeout':{'type':Sequelize[_0x3d3d('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0x3d3d('0x3'),_0x3d3d('0x4'),_0x3d3d('0x5'))}};