2521ad3a61a662d6e8a233d11f5e5447095199f2
[motion2.git] / server / api / whatsappQueue / whatsappQueue.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 _0xce47=['STRING','name','INTEGER','rrmemory','beepall','sequelize','exports'];(function(_0x3a0fdb,_0x50a397){var _0x4b9ee0=function(_0x5722cc){while(--_0x5722cc){_0x3a0fdb['push'](_0x3a0fdb['shift']());}};_0x4b9ee0(++_0x50a397);}(_0xce47,0x91));var _0x7ce4=function(_0x54a729,_0x2f3489){_0x54a729=_0x54a729-0x0;var _0x4f3ee2=_0xce47[_0x54a729];return _0x4f3ee2;};'use strict';var Sequelize=require(_0x7ce4('0x0'));module[_0x7ce4('0x1')]={'name':{'type':Sequelize[_0x7ce4('0x2')],'unique':_0x7ce4('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'timeout':{'type':Sequelize[_0x7ce4('0x4')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0x7ce4('0x5'),_0x7ce4('0x6'),'roundrobin')},'description':{'type':Sequelize[_0x7ce4('0x2')]}};