c11904195468aa878bb2a1b9a754920bf90786ae
[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 _0x4377=['put','/:id','update','delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappTransferReport.controller','get','isAuthenticated','index','post','create'];(function(_0x494cc3,_0x443ff1){var _0x5e815d=function(_0x5d3306){while(--_0x5d3306){_0x494cc3['push'](_0x494cc3['shift']());}};_0x5e815d(++_0x443ff1);}(_0x4377,0xba));var _0x7437=function(_0x5a6644,_0x19eb04){_0x5a6644=_0x5a6644-0x0;var _0x2d7f3f=_0x4377[_0x5a6644];return _0x2d7f3f;};'use strict';var multer=require('multer');var util=require(_0x7437('0x0'));var path=require('path');var timeout=require(_0x7437('0x1'));var express=require(_0x7437('0x2'));var router=express[_0x7437('0x3')]();var fs_extra=require(_0x7437('0x4'));var auth=require(_0x7437('0x5'));var interaction=require(_0x7437('0x6'));var config=require(_0x7437('0x7'));var controller=require(_0x7437('0x8'));router[_0x7437('0x9')]('/',auth[_0x7437('0xa')](),controller[_0x7437('0xb')]);router['get']('/describe',auth[_0x7437('0xa')](),controller['describe']);router['get']('/:id',auth[_0x7437('0xa')](),controller['show']);router[_0x7437('0xc')]('/',auth[_0x7437('0xa')](),controller[_0x7437('0xd')]);router[_0x7437('0xe')](_0x7437('0xf'),auth[_0x7437('0xa')](),controller[_0x7437('0x10')]);router[_0x7437('0x11')](_0x7437('0xf'),auth[_0x7437('0xa')](),controller[_0x7437('0x12')]);module[_0x7437('0x13')]=router;