Built motion from commit 3c2ce842.|2.6.31
[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 _0xaf1d=['STRING','name','ENUM','rrmemory','roundrobin','sequelize','exports'];(function(_0x2cc4cc,_0x365c54){var _0x59b023=function(_0x54e18f){while(--_0x54e18f){_0x2cc4cc['push'](_0x2cc4cc['shift']());}};_0x59b023(++_0x365c54);}(_0xaf1d,0x9f));var _0xdaf1=function(_0x45686b,_0x26d1c9){_0x45686b=_0x45686b-0x0;var _0x35cc00=_0xaf1d[_0x45686b];return _0x35cc00;};'use strict';var Sequelize=require(_0xdaf1('0x0'));module[_0xdaf1('0x1')]={'name':{'type':Sequelize[_0xdaf1('0x2')],'unique':_0xdaf1('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xdaf1('0x4')](_0xdaf1('0x5'),'beepall',_0xdaf1('0x6'))},'description':{'type':Sequelize[_0xdaf1('0x2')]}};