c0445e348686803ea9858492fd1f2586f433bf1d
[motion2.git] / server / api / whatsappTransferReport / 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 _0xedc2=['show','post','create','update','delete','destroy','exports','util','express','../../components/auth/service','../../components/interaction/service','./whatsappTransferReport.controller','get','index','/describe','isAuthenticated','describe','/:id'];(function(_0x5c3ba6,_0x2fd25a){var _0x45a873=function(_0x4d99de){while(--_0x4d99de){_0x5c3ba6['push'](_0x5c3ba6['shift']());}};_0x45a873(++_0x2fd25a);}(_0xedc2,0x1db));var _0x2edc=function(_0x5f5722,_0x551a99){_0x5f5722=_0x5f5722-0x0;var _0x48d673=_0xedc2[_0x5f5722];return _0x48d673;};'use strict';var multer=require('multer');var util=require(_0x2edc('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x2edc('0x1'));var router=express['Router']();var auth=require(_0x2edc('0x2'));var interaction=require(_0x2edc('0x3'));var config=require('../../config/environment');var controller=require(_0x2edc('0x4'));router[_0x2edc('0x5')]('/',auth['isAuthenticated'](),controller[_0x2edc('0x6')]);router[_0x2edc('0x5')](_0x2edc('0x7'),auth[_0x2edc('0x8')](),controller[_0x2edc('0x9')]);router[_0x2edc('0x5')](_0x2edc('0xa'),auth[_0x2edc('0x8')](),controller[_0x2edc('0xb')]);router[_0x2edc('0xc')]('/',auth[_0x2edc('0x8')](),controller[_0x2edc('0xd')]);router['put'](_0x2edc('0xa'),auth[_0x2edc('0x8')](),controller[_0x2edc('0xe')]);router[_0x2edc('0xf')](_0x2edc('0xa'),auth[_0x2edc('0x8')](),controller[_0x2edc('0x10')]);module[_0x2edc('0x11')]=router;