Built motion from commit 0900f080.|2.5.45
[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 _0xad18=['exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./whatsappTransferReport.controller','get','index','/describe','isAuthenticated','describe','/:id','post','create','put','update','destroy'];(function(_0x2cec07,_0x495906){var _0x5210a8=function(_0x59816b){while(--_0x59816b){_0x2cec07['push'](_0x2cec07['shift']());}};_0x5210a8(++_0x495906);}(_0xad18,0xdd));var _0x8ad1=function(_0x469f02,_0x880250){_0x469f02=_0x469f02-0x0;var _0x1a2a30=_0xad18[_0x469f02];return _0x1a2a30;};'use strict';var multer=require(_0x8ad1('0x0'));var util=require('util');var path=require(_0x8ad1('0x1'));var timeout=require(_0x8ad1('0x2'));var express=require(_0x8ad1('0x3'));var router=express[_0x8ad1('0x4')]();var fs_extra=require(_0x8ad1('0x5'));var auth=require(_0x8ad1('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x8ad1('0x7'));router[_0x8ad1('0x8')]('/',auth['isAuthenticated'](),controller[_0x8ad1('0x9')]);router[_0x8ad1('0x8')](_0x8ad1('0xa'),auth[_0x8ad1('0xb')](),controller[_0x8ad1('0xc')]);router['get'](_0x8ad1('0xd'),auth[_0x8ad1('0xb')](),controller['show']);router[_0x8ad1('0xe')]('/',auth[_0x8ad1('0xb')](),controller[_0x8ad1('0xf')]);router[_0x8ad1('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x8ad1('0x11')]);router['delete'](_0x8ad1('0xd'),auth['isAuthenticated'](),controller[_0x8ad1('0x12')]);module[_0x8ad1('0x13')]=router;