Built motion from commit efa66e19.|2.6.22
[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 _0xe600=['STRING','exports','name','INTEGER','ENUM','rrmemory','beepall','roundrobin'];(function(_0x23d3eb,_0x3f42da){var _0x45a1b7=function(_0x4fd8d7){while(--_0x4fd8d7){_0x23d3eb['push'](_0x23d3eb['shift']());}};_0x45a1b7(++_0x3f42da);}(_0xe600,0x159));var _0x0e60=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xe600[_0x321bb2];return _0x9c12ed;};'use strict';var Sequelize=require('sequelize');module[_0x0e60('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0x0e60('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'timeout':{'type':Sequelize[_0x0e60('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x0e60('0x3')](_0x0e60('0x4'),_0x0e60('0x5'),_0x0e60('0x6'))},'description':{'type':Sequelize[_0x0e60('0x7')]}};