5dca9d0a1ca89894b54c3aac98f9e86a5ed908ff
[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 _0x3c7e=['delete','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./whatsappTransferReport.controller','index','/describe','isAuthenticated','describe','get','/:id','show','create','put','update'];(function(_0x454e6d,_0x1e1f38){var _0x4bc294=function(_0x2c803a){while(--_0x2c803a){_0x454e6d['push'](_0x454e6d['shift']());}};_0x4bc294(++_0x1e1f38);}(_0x3c7e,0xbf));var _0xe3c7=function(_0x1bc089,_0x5ab38){_0x1bc089=_0x1bc089-0x0;var _0x5382be=_0x3c7e[_0x1bc089];return _0x5382be;};'use strict';var multer=require(_0xe3c7('0x0'));var util=require(_0xe3c7('0x1'));var path=require('path');var timeout=require(_0xe3c7('0x2'));var express=require(_0xe3c7('0x3'));var router=express[_0xe3c7('0x4')]();var auth=require(_0xe3c7('0x5'));var interaction=require(_0xe3c7('0x6'));var config=require('../../config/environment');var controller=require(_0xe3c7('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0xe3c7('0x8')]);router['get'](_0xe3c7('0x9'),auth[_0xe3c7('0xa')](),controller[_0xe3c7('0xb')]);router[_0xe3c7('0xc')](_0xe3c7('0xd'),auth[_0xe3c7('0xa')](),controller[_0xe3c7('0xe')]);router['post']('/',auth[_0xe3c7('0xa')](),controller[_0xe3c7('0xf')]);router[_0xe3c7('0x10')]('/:id',auth['isAuthenticated'](),controller[_0xe3c7('0x11')]);router[_0xe3c7('0x12')]('/:id',auth[_0xe3c7('0xa')](),controller['destroy']);module['exports']=router;