Built motion from commit (unavailable).|2.5.4
[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 _0xa5c5=['express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappTransferReport.controller','get','isAuthenticated','index','describe','/:id','show','post','create','put','update','delete','destroy','multer','util','path'];(function(_0x1d7037,_0x57dd95){var _0x4d6568=function(_0x5c64c5){while(--_0x5c64c5){_0x1d7037['push'](_0x1d7037['shift']());}};_0x4d6568(++_0x57dd95);}(_0xa5c5,0xba));var _0x5a5c=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0xa5c5[_0x502c7d];return _0x30b7ed;};'use strict';var multer=require(_0x5a5c('0x0'));var util=require(_0x5a5c('0x1'));var path=require(_0x5a5c('0x2'));var timeout=require('connect-timeout');var express=require(_0x5a5c('0x3'));var router=express[_0x5a5c('0x4')]();var auth=require(_0x5a5c('0x5'));var interaction=require(_0x5a5c('0x6'));var config=require(_0x5a5c('0x7'));var controller=require(_0x5a5c('0x8'));router[_0x5a5c('0x9')]('/',auth[_0x5a5c('0xa')](),controller[_0x5a5c('0xb')]);router[_0x5a5c('0x9')]('/describe',auth[_0x5a5c('0xa')](),controller[_0x5a5c('0xc')]);router[_0x5a5c('0x9')](_0x5a5c('0xd'),auth['isAuthenticated'](),controller[_0x5a5c('0xe')]);router[_0x5a5c('0xf')]('/',auth[_0x5a5c('0xa')](),controller[_0x5a5c('0x10')]);router[_0x5a5c('0x11')](_0x5a5c('0xd'),auth[_0x5a5c('0xa')](),controller[_0x5a5c('0x12')]);router[_0x5a5c('0x13')](_0x5a5c('0xd'),auth[_0x5a5c('0xa')](),controller[_0x5a5c('0x14')]);module['exports']=router;