Built motion from commit f0b1811d.|2.6.6
[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 _0xd055=['describe','/:id','show','post','create','put','update','delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe'];(function(_0x56e612,_0xb30b48){var _0xa5ca04=function(_0x3521e8){while(--_0x3521e8){_0x56e612['push'](_0x56e612['shift']());}};_0xa5ca04(++_0xb30b48);}(_0xd055,0x88));var _0x5d05=function(_0x43a485,_0x336240){_0x43a485=_0x43a485-0x0;var _0x10ffa6=_0xd055[_0x43a485];return _0x10ffa6;};'use strict';var multer=require('multer');var util=require(_0x5d05('0x0'));var path=require('path');var timeout=require(_0x5d05('0x1'));var express=require(_0x5d05('0x2'));var router=express[_0x5d05('0x3')]();var fs_extra=require(_0x5d05('0x4'));var auth=require(_0x5d05('0x5'));var interaction=require(_0x5d05('0x6'));var config=require(_0x5d05('0x7'));var controller=require('./whatsappTransferReport.controller');router[_0x5d05('0x8')]('/',auth[_0x5d05('0x9')](),controller['index']);router[_0x5d05('0x8')](_0x5d05('0xa'),auth[_0x5d05('0x9')](),controller[_0x5d05('0xb')]);router[_0x5d05('0x8')](_0x5d05('0xc'),auth[_0x5d05('0x9')](),controller[_0x5d05('0xd')]);router[_0x5d05('0xe')]('/',auth[_0x5d05('0x9')](),controller[_0x5d05('0xf')]);router[_0x5d05('0x10')](_0x5d05('0xc'),auth[_0x5d05('0x9')](),controller[_0x5d05('0x11')]);router[_0x5d05('0x12')](_0x5d05('0xc'),auth[_0x5d05('0x9')](),controller[_0x5d05('0x13')]);module[_0x5d05('0x14')]=router;