Built motion from commit (unavailable).|2.5.28
[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 _0xe126=['Router','fs-extra','../../components/auth/service','./whatsappTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','destroy','exports','util','path','connect-timeout','express'];(function(_0x57b450,_0x219c98){var _0x222b5e=function(_0x53b43d){while(--_0x53b43d){_0x57b450['push'](_0x57b450['shift']());}};_0x222b5e(++_0x219c98);}(_0xe126,0x65));var _0x6e12=function(_0x580647,_0x43d2c3){_0x580647=_0x580647-0x0;var _0x5f0792=_0xe126[_0x580647];return _0x5f0792;};'use strict';var multer=require('multer');var util=require(_0x6e12('0x0'));var path=require(_0x6e12('0x1'));var timeout=require(_0x6e12('0x2'));var express=require(_0x6e12('0x3'));var router=express[_0x6e12('0x4')]();var fs_extra=require(_0x6e12('0x5'));var auth=require(_0x6e12('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x6e12('0x7'));router[_0x6e12('0x8')]('/',auth[_0x6e12('0x9')](),controller[_0x6e12('0xa')]);router['get'](_0x6e12('0xb'),auth[_0x6e12('0x9')](),controller[_0x6e12('0xc')]);router[_0x6e12('0x8')](_0x6e12('0xd'),auth['isAuthenticated'](),controller[_0x6e12('0xe')]);router[_0x6e12('0xf')]('/',auth[_0x6e12('0x9')](),controller[_0x6e12('0x10')]);router[_0x6e12('0x11')](_0x6e12('0xd'),auth[_0x6e12('0x9')](),controller[_0x6e12('0x12')]);router['delete'](_0x6e12('0xd'),auth[_0x6e12('0x9')](),controller[_0x6e12('0x13')]);module[_0x6e12('0x14')]=router;