Built motion from commit 639a1a7f.|2.6.19
[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 _0x1491=['post','update','delete','destroy','exports','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappTransferReport.controller','get','index','isAuthenticated','describe','/:id','show'];(function(_0x4c1694,_0x23fd10){var _0x5e4212=function(_0x40fe66){while(--_0x40fe66){_0x4c1694['push'](_0x4c1694['shift']());}};_0x5e4212(++_0x23fd10);}(_0x1491,0x77));var _0x1149=function(_0x387f6d,_0x2f2d93){_0x387f6d=_0x387f6d-0x0;var _0x29d8d5=_0x1491[_0x387f6d];return _0x29d8d5;};'use strict';var multer=require('multer');var util=require(_0x1149('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x1149('0x1'));var router=express[_0x1149('0x2')]();var fs_extra=require(_0x1149('0x3'));var auth=require(_0x1149('0x4'));var interaction=require(_0x1149('0x5'));var config=require(_0x1149('0x6'));var controller=require(_0x1149('0x7'));router[_0x1149('0x8')]('/',auth['isAuthenticated'](),controller[_0x1149('0x9')]);router[_0x1149('0x8')]('/describe',auth[_0x1149('0xa')](),controller[_0x1149('0xb')]);router['get'](_0x1149('0xc'),auth[_0x1149('0xa')](),controller[_0x1149('0xd')]);router[_0x1149('0xe')]('/',auth['isAuthenticated'](),controller['create']);router['put'](_0x1149('0xc'),auth['isAuthenticated'](),controller[_0x1149('0xf')]);router[_0x1149('0x10')](_0x1149('0xc'),auth[_0x1149('0xa')](),controller[_0x1149('0x11')]);module[_0x1149('0x12')]=router;