Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / whatsappQueueReport / index.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 _0xe2d8=['isAuthenticated','describe','show','post','create','/:id','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','get'];(function(_0x113c41,_0x3666f0){var _0x3d7d33=function(_0x351985){while(--_0x351985){_0x113c41['push'](_0x113c41['shift']());}};_0x3d7d33(++_0x3666f0);}(_0xe2d8,0x1ef));var _0x8e2d=function(_0x4db898,_0x53c18a){_0x4db898=_0x4db898-0x0;var _0x284228=_0xe2d8[_0x4db898];return _0x284228;};'use strict';var multer=require(_0x8e2d('0x0'));var util=require(_0x8e2d('0x1'));var path=require(_0x8e2d('0x2'));var timeout=require(_0x8e2d('0x3'));var express=require(_0x8e2d('0x4'));var router=express[_0x8e2d('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x8e2d('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x8e2d('0x7'));var controller=require('./whatsappQueueReport.controller');router[_0x8e2d('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0x8e2d('0x8')]('/describe',auth[_0x8e2d('0x9')](),controller[_0x8e2d('0xa')]);router[_0x8e2d('0x8')]('/:id',auth['isAuthenticated'](),controller[_0x8e2d('0xb')]);router[_0x8e2d('0xc')]('/',auth[_0x8e2d('0x9')](),controller[_0x8e2d('0xd')]);router['put'](_0x8e2d('0xe'),auth[_0x8e2d('0x9')](),controller['update']);router[_0x8e2d('0xf')](_0x8e2d('0xe'),auth['isAuthenticated'](),controller[_0x8e2d('0x10')]);module[_0x8e2d('0x11')]=router;