6d9b741430e0062bfd77873a89281c4c30e3e2f5
[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 _0xf985=['multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./whatsappTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete','destroy','exports'];(function(_0x4c3296,_0x262566){var _0x5260de=function(_0x2543c6){while(--_0x2543c6){_0x4c3296['push'](_0x4c3296['shift']());}};_0x5260de(++_0x262566);}(_0xf985,0xa1));var _0x5f98=function(_0x5df1d9,_0x53237e){_0x5df1d9=_0x5df1d9-0x0;var _0x27d24d=_0xf985[_0x5df1d9];return _0x27d24d;};'use strict';var multer=require(_0x5f98('0x0'));var util=require(_0x5f98('0x1'));var path=require('path');var timeout=require(_0x5f98('0x2'));var express=require(_0x5f98('0x3'));var router=express[_0x5f98('0x4')]();var fs_extra=require(_0x5f98('0x5'));var auth=require(_0x5f98('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x5f98('0x7'));var controller=require(_0x5f98('0x8'));router[_0x5f98('0x9')]('/',auth[_0x5f98('0xa')](),controller[_0x5f98('0xb')]);router['get'](_0x5f98('0xc'),auth[_0x5f98('0xa')](),controller[_0x5f98('0xd')]);router['get'](_0x5f98('0xe'),auth['isAuthenticated'](),controller[_0x5f98('0xf')]);router[_0x5f98('0x10')]('/',auth['isAuthenticated'](),controller[_0x5f98('0x11')]);router[_0x5f98('0x12')](_0x5f98('0xe'),auth[_0x5f98('0xa')](),controller[_0x5f98('0x13')]);router[_0x5f98('0x14')]('/:id',auth[_0x5f98('0xa')](),controller[_0x5f98('0x15')]);module[_0x5f98('0x16')]=router;