18a8eeba4c137908475acb763d9f10ce0dd231de
[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 _0xaba5=['beepall','roundrobin','STRING','sequelize','exports','name','rrmemory'];(function(_0x44e2a7,_0x4249c0){var _0x5aa74e=function(_0x16f07e){while(--_0x16f07e){_0x44e2a7['push'](_0x44e2a7['shift']());}};_0x5aa74e(++_0x4249c0);}(_0xaba5,0x106));var _0x5aba=function(_0x102f2e,_0x48d01e){_0x102f2e=_0x102f2e-0x0;var _0x1ef359=_0xaba5[_0x102f2e];return _0x1ef359;};'use strict';var Sequelize=require(_0x5aba('0x0'));module[_0x5aba('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x5aba('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM'](_0x5aba('0x3'),_0x5aba('0x4'),_0x5aba('0x5'))},'description':{'type':Sequelize[_0x5aba('0x6')]}};