576a35a643ef996a973c5c103f973f39d80f2f7e
[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 _0xae0e=['INTEGER','ENUM','rrmemory','beepall','roundrobin','sequelize','STRING'];(function(_0x587c1b,_0x42c2b6){var _0x42b2d0=function(_0x4abc2f){while(--_0x4abc2f){_0x587c1b['push'](_0x587c1b['shift']());}};_0x42b2d0(++_0x42c2b6);}(_0xae0e,0x7c));var _0xeae0=function(_0x114338,_0x2e1a74){_0x114338=_0x114338-0x0;var _0x3a09ff=_0xae0e[_0x114338];return _0x3a09ff;};'use strict';var Sequelize=require(_0xeae0('0x0'));module['exports']={'name':{'type':Sequelize[_0xeae0('0x1')],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'timeout':{'type':Sequelize[_0xeae0('0x2')],'validate':{'min':0x1,'max':0x20c49b}},'strategy':{'type':Sequelize[_0xeae0('0x3')](_0xeae0('0x4'),_0xeae0('0x5'),_0xeae0('0x6'))},'description':{'type':Sequelize[_0xeae0('0x1')]}};