99b4a18d831ddb44e540ecf7460c1a6579891234
[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 _0xe6c7=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./whatsappTransferReport.controller','isAuthenticated','get','/:id','show','post','create','put','update','destroy','exports','util'];(function(_0x1d51a4,_0x3fb2fd){var _0x398bd4=function(_0x4aa931){while(--_0x4aa931){_0x1d51a4['push'](_0x1d51a4['shift']());}};_0x398bd4(++_0x3fb2fd);}(_0xe6c7,0x7d));var _0x7e6c=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0xe6c7[_0x2c91e9];return _0x13f0ff;};'use strict';var multer=require('multer');var util=require(_0x7e6c('0x0'));var path=require('path');var timeout=require(_0x7e6c('0x1'));var express=require(_0x7e6c('0x2'));var router=express[_0x7e6c('0x3')]();var fs_extra=require(_0x7e6c('0x4'));var auth=require(_0x7e6c('0x5'));var interaction=require(_0x7e6c('0x6'));var config=require('../../config/environment');var controller=require(_0x7e6c('0x7'));router['get']('/',auth[_0x7e6c('0x8')](),controller['index']);router['get']('/describe',auth[_0x7e6c('0x8')](),controller['describe']);router[_0x7e6c('0x9')](_0x7e6c('0xa'),auth[_0x7e6c('0x8')](),controller[_0x7e6c('0xb')]);router[_0x7e6c('0xc')]('/',auth['isAuthenticated'](),controller[_0x7e6c('0xd')]);router[_0x7e6c('0xe')](_0x7e6c('0xa'),auth['isAuthenticated'](),controller[_0x7e6c('0xf')]);router['delete'](_0x7e6c('0xa'),auth['isAuthenticated'](),controller[_0x7e6c('0x10')]);module[_0x7e6c('0x11')]=router;