Built motion from commit f67b3b02.|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 _0x8e0d=['rrmemory','beepall','roundrobin','STRING','sequelize','name','INTEGER'];(function(_0x123d3d,_0x114ea5){var _0x5707bf=function(_0x9e1a39){while(--_0x9e1a39){_0x123d3d['push'](_0x123d3d['shift']());}};_0x5707bf(++_0x114ea5);}(_0x8e0d,0x82));var _0xd8e0=function(_0x548627,_0x4ec392){_0x548627=_0x548627-0x0;var _0x844a84=_0x8e0d[_0x548627];return _0x844a84;};'use strict';var Sequelize=require(_0xd8e0('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xd8e0('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'timeout':{'type':Sequelize[_0xd8e0('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0xd8e0('0x3'),_0xd8e0('0x4'),_0xd8e0('0x5'))},'description':{'type':Sequelize[_0xd8e0('0x6')]}};