b6924b3a81114244ef641f6c3e47d272fec7642c
[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 _0xf62e=['beepall','roundrobin','sequelize','STRING','name','INTEGER','rrmemory'];(function(_0x1676ef,_0x275f73){var _0x22beab=function(_0x3316aa){while(--_0x3316aa){_0x1676ef['push'](_0x1676ef['shift']());}};_0x22beab(++_0x275f73);}(_0xf62e,0xa3));var _0xef62=function(_0x284c24,_0xeae29){_0x284c24=_0x284c24-0x0;var _0x3da44d=_0xf62e[_0x284c24];return _0x3da44d;};'use strict';var Sequelize=require(_0xef62('0x0'));module['exports']={'name':{'type':Sequelize[_0xef62('0x1')],'unique':_0xef62('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'timeout':{'type':Sequelize[_0xef62('0x3')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0xef62('0x4'),_0xef62('0x5'),_0xef62('0x6'))},'description':{'type':Sequelize['STRING']}};