3cc9acf4e229d8fe448c86c58ca37a1e8ac0d27e
[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 _0xb575=['name','beepall','roundrobin','sequelize','exports'];(function(_0x50e2bb,_0x99114d){var _0x37b30c=function(_0x4b4271){while(--_0x4b4271){_0x50e2bb['push'](_0x50e2bb['shift']());}};_0x37b30c(++_0x99114d);}(_0xb575,0xda));var _0x5b57=function(_0x13ef79,_0x8daf99){_0x13ef79=_0x13ef79-0x0;var _0x37da04=_0xb575[_0x13ef79];return _0x37da04;};'use strict';var Sequelize=require(_0x5b57('0x0'));module[_0x5b57('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x5b57('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'timeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize['ENUM']('rrmemory',_0x5b57('0x3'),_0x5b57('0x4'))},'description':{'type':Sequelize['STRING']}};