4ea54518a0a3ca95632bbb08f91a5b11af2f20d6
[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 _0x9262=['../../components/interaction/service','../../config/environment','./whatsappTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','post','create','update','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x59b163,_0x42f9ca){var _0x2b9fdf=function(_0x4d7935){while(--_0x4d7935){_0x59b163['push'](_0x59b163['shift']());}};_0x2b9fdf(++_0x42f9ca);}(_0x9262,0x134));var _0x2926=function(_0x264cd8,_0x34271f){_0x264cd8=_0x264cd8-0x0;var _0xa2b598=_0x9262[_0x264cd8];return _0xa2b598;};'use strict';var multer=require(_0x2926('0x0'));var util=require(_0x2926('0x1'));var path=require(_0x2926('0x2'));var timeout=require(_0x2926('0x3'));var express=require(_0x2926('0x4'));var router=express[_0x2926('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x2926('0x6'));var interaction=require(_0x2926('0x7'));var config=require(_0x2926('0x8'));var controller=require(_0x2926('0x9'));router[_0x2926('0xa')]('/',auth[_0x2926('0xb')](),controller[_0x2926('0xc')]);router[_0x2926('0xa')](_0x2926('0xd'),auth[_0x2926('0xb')](),controller[_0x2926('0xe')]);router[_0x2926('0xa')](_0x2926('0xf'),auth[_0x2926('0xb')](),controller['show']);router[_0x2926('0x10')]('/',auth[_0x2926('0xb')](),controller[_0x2926('0x11')]);router['put'](_0x2926('0xf'),auth[_0x2926('0xb')](),controller[_0x2926('0x12')]);router['delete']('/:id',auth[_0x2926('0xb')](),controller[_0x2926('0x13')]);module[_0x2926('0x14')]=router;