Built motion from commit 953226e6.|2.6.32
[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 _0xaec6=['../../config/environment','get','index','/describe','isAuthenticated','describe','post','put','update','delete','/:id','destroy','multer','util','path','connect-timeout','fs-extra','../../components/auth/service'];(function(_0x2f6ae4,_0x1a41cb){var _0x3b3e40=function(_0x210516){while(--_0x210516){_0x2f6ae4['push'](_0x2f6ae4['shift']());}};_0x3b3e40(++_0x1a41cb);}(_0xaec6,0x1e0));var _0x6aec=function(_0x44b7a7,_0x5cf981){_0x44b7a7=_0x44b7a7-0x0;var _0x3e9a8c=_0xaec6[_0x44b7a7];return _0x3e9a8c;};'use strict';var multer=require(_0x6aec('0x0'));var util=require(_0x6aec('0x1'));var path=require(_0x6aec('0x2'));var timeout=require(_0x6aec('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x6aec('0x4'));var auth=require(_0x6aec('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x6aec('0x6'));var controller=require('./whatsappTransferReport.controller');router[_0x6aec('0x7')]('/',auth['isAuthenticated'](),controller[_0x6aec('0x8')]);router[_0x6aec('0x7')](_0x6aec('0x9'),auth[_0x6aec('0xa')](),controller[_0x6aec('0xb')]);router[_0x6aec('0x7')]('/:id',auth[_0x6aec('0xa')](),controller['show']);router[_0x6aec('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0x6aec('0xd')]('/:id',auth[_0x6aec('0xa')](),controller[_0x6aec('0xe')]);router[_0x6aec('0xf')](_0x6aec('0x10'),auth[_0x6aec('0xa')](),controller[_0x6aec('0x11')]);module['exports']=router;