7add57c0fc032e16a718f241c8fd83a728eb9954
[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 _0x9e9b=['rrmemory','roundrobin','STRING','sequelize','name','INTEGER','ENUM'];(function(_0x1141ca,_0x55550c){var _0x54c9df=function(_0x490211){while(--_0x490211){_0x1141ca['push'](_0x1141ca['shift']());}};_0x54c9df(++_0x55550c);}(_0x9e9b,0x1a7));var _0xb9e9=function(_0x326d35,_0x4f65b3){_0x326d35=_0x326d35-0x0;var _0xd3f8f3=_0x9e9b[_0x326d35];return _0xd3f8f3;};'use strict';var Sequelize=require(_0xb9e9('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xb9e9('0x1'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'timeout':{'type':Sequelize[_0xb9e9('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xb9e9('0x3')](_0xb9e9('0x4'),'beepall',_0xb9e9('0x5'))},'description':{'type':Sequelize[_0xb9e9('0x6')]}};