Built motion from commit e02f907f.|2.6.14
[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 _0x297a=['path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./whatsappTransferReport.controller','get','isAuthenticated','index','/describe','describe','create','put','/:id','update','delete','exports','multer','util'];(function(_0x40186e,_0x11bef0){var _0x360f8f=function(_0x242324){while(--_0x242324){_0x40186e['push'](_0x40186e['shift']());}};_0x360f8f(++_0x11bef0);}(_0x297a,0xbb));var _0xa297=function(_0x57173f,_0x209f1f){_0x57173f=_0x57173f-0x0;var _0x479016=_0x297a[_0x57173f];return _0x479016;};'use strict';var multer=require(_0xa297('0x0'));var util=require(_0xa297('0x1'));var path=require(_0xa297('0x2'));var timeout=require(_0xa297('0x3'));var express=require(_0xa297('0x4'));var router=express[_0xa297('0x5')]();var fs_extra=require(_0xa297('0x6'));var auth=require(_0xa297('0x7'));var interaction=require(_0xa297('0x8'));var config=require('../../config/environment');var controller=require(_0xa297('0x9'));router[_0xa297('0xa')]('/',auth[_0xa297('0xb')](),controller[_0xa297('0xc')]);router[_0xa297('0xa')](_0xa297('0xd'),auth[_0xa297('0xb')](),controller[_0xa297('0xe')]);router[_0xa297('0xa')]('/:id',auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0xa297('0xb')](),controller[_0xa297('0xf')]);router[_0xa297('0x10')](_0xa297('0x11'),auth[_0xa297('0xb')](),controller[_0xa297('0x12')]);router[_0xa297('0x13')](_0xa297('0x11'),auth[_0xa297('0xb')](),controller['destroy']);module[_0xa297('0x14')]=router;