0cfd7a39f04f8b8f1561f201aa335af3e187d229
[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 _0x3ef8=['INTEGER','rrmemory','roundrobin','exports','STRING'];(function(_0x4b9c83,_0x3e6e05){var _0x2ee121=function(_0x5d7572){while(--_0x5d7572){_0x4b9c83['push'](_0x4b9c83['shift']());}};_0x2ee121(++_0x3e6e05);}(_0x3ef8,0xc6));var _0x83ef=function(_0x21a9d9,_0x4d5ac8){_0x21a9d9=_0x21a9d9-0x0;var _0x46adce=_0x3ef8[_0x21a9d9];return _0x46adce;};'use strict';var Sequelize=require('sequelize');module[_0x83ef('0x0')]={'name':{'type':Sequelize[_0x83ef('0x1')],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'description':{'type':Sequelize['STRING']},'timeout':{'type':Sequelize[_0x83ef('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0x83ef('0x3'),'beepall',_0x83ef('0x4'))}};