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