5c1246f296a7537900b87d58ff730cab298e2012
[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 _0xbdeb=['rrmemory','beepall','roundrobin','exports','name','ENUM'];(function(_0x25501d,_0x90e0ce){var _0x277c99=function(_0x353642){while(--_0x353642){_0x25501d['push'](_0x25501d['shift']());}};_0x277c99(++_0x90e0ce);}(_0xbdeb,0x6f));var _0xbbde=function(_0x4a8b72,_0xb54e90){_0x4a8b72=_0x4a8b72-0x0;var _0x217237=_0xbdeb[_0x4a8b72];return _0x217237;};'use strict';var Sequelize=require('sequelize');module[_0xbbde('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0xbbde('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xbbde('0x2')](_0xbbde('0x3'),_0xbbde('0x4'),_0xbbde('0x5'))},'description':{'type':Sequelize['STRING']}};