eae2b006d65fb664ce30d13d5de7aa75b54efed6
[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 _0x7638=['show','post','put','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueueReport.controller','get','index','/describe','isAuthenticated','describe','/:id'];(function(_0x16a6bf,_0x3fe7f7){var _0x58f9d4=function(_0x33108c){while(--_0x33108c){_0x16a6bf['push'](_0x16a6bf['shift']());}};_0x58f9d4(++_0x3fe7f7);}(_0x7638,0x18f));var _0x8763=function(_0x5f59ff,_0x116aa0){_0x5f59ff=_0x5f59ff-0x0;var _0x5bd895=_0x7638[_0x5f59ff];return _0x5bd895;};'use strict';var multer=require('multer');var util=require(_0x8763('0x0'));var path=require(_0x8763('0x1'));var timeout=require('connect-timeout');var express=require(_0x8763('0x2'));var router=express[_0x8763('0x3')]();var fs_extra=require(_0x8763('0x4'));var auth=require(_0x8763('0x5'));var interaction=require(_0x8763('0x6'));var config=require(_0x8763('0x7'));var controller=require(_0x8763('0x8'));router[_0x8763('0x9')]('/',auth['isAuthenticated'](),controller[_0x8763('0xa')]);router[_0x8763('0x9')](_0x8763('0xb'),auth[_0x8763('0xc')](),controller[_0x8763('0xd')]);router[_0x8763('0x9')](_0x8763('0xe'),auth[_0x8763('0xc')](),controller[_0x8763('0xf')]);router[_0x8763('0x10')]('/',auth[_0x8763('0xc')](),controller['create']);router[_0x8763('0x11')](_0x8763('0xe'),auth[_0x8763('0xc')](),controller['update']);router['delete'](_0x8763('0xe'),auth[_0x8763('0xc')](),controller['destroy']);module['exports']=router;