f624ad22c3ec3e0cf10f3f48f32c62c7d2367c25
[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 _0xcff8=['beepall','roundrobin','sequelize','STRING','name','ENUM','rrmemory'];(function(_0x2307fa,_0x266e5e){var _0x496486=function(_0x53466e){while(--_0x53466e){_0x2307fa['push'](_0x2307fa['shift']());}};_0x496486(++_0x266e5e);}(_0xcff8,0x14b));var _0x8cff=function(_0x34260d,_0x401ebb){_0x34260d=_0x34260d-0x0;var _0x174c68=_0xcff8[_0x34260d];return _0x174c68;};'use strict';var Sequelize=require(_0x8cff('0x0'));module['exports']={'name':{'type':Sequelize[_0x8cff('0x1')],'unique':_0x8cff('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0x8cff('0x3')](_0x8cff('0x4'),_0x8cff('0x5'),_0x8cff('0x6'))},'description':{'type':Sequelize['STRING']}};