4863414253825a6a820eaef78130cfaae0e6cb28
[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 _0x9b72=['exports','multer','util','connect-timeout','express','fs-extra','../../components/interaction/service','./whatsappTransferReport.controller','get','/describe','isAuthenticated','describe','/:id','post','create','put','delete','destroy'];(function(_0x49da81,_0x4fbe77){var _0xdeea45=function(_0x3c01b2){while(--_0x3c01b2){_0x49da81['push'](_0x49da81['shift']());}};_0xdeea45(++_0x4fbe77);}(_0x9b72,0x1e7));var _0x29b7=function(_0x3dda84,_0x3a2710){_0x3dda84=_0x3dda84-0x0;var _0x1e4982=_0x9b72[_0x3dda84];return _0x1e4982;};'use strict';var multer=require(_0x29b7('0x0'));var util=require(_0x29b7('0x1'));var path=require('path');var timeout=require(_0x29b7('0x2'));var express=require(_0x29b7('0x3'));var router=express['Router']();var fs_extra=require(_0x29b7('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x29b7('0x5'));var config=require('../../config/environment');var controller=require(_0x29b7('0x6'));router[_0x29b7('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x29b7('0x7')](_0x29b7('0x8'),auth[_0x29b7('0x9')](),controller[_0x29b7('0xa')]);router[_0x29b7('0x7')](_0x29b7('0xb'),auth[_0x29b7('0x9')](),controller['show']);router[_0x29b7('0xc')]('/',auth[_0x29b7('0x9')](),controller[_0x29b7('0xd')]);router[_0x29b7('0xe')](_0x29b7('0xb'),auth[_0x29b7('0x9')](),controller['update']);router[_0x29b7('0xf')](_0x29b7('0xb'),auth[_0x29b7('0x9')](),controller[_0x29b7('0x10')]);module[_0x29b7('0x11')]=router;