Built motion from commit (unavailable).|2.5.21
[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 _0xe725=['create','put','update','destroy','exports','multer','util','path','express','Router','../../components/auth/service','./whatsappTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post'];(function(_0x1a68dd,_0x168fdd){var _0x564bc7=function(_0x36b497){while(--_0x36b497){_0x1a68dd['push'](_0x1a68dd['shift']());}};_0x564bc7(++_0x168fdd);}(_0xe725,0xe1));var _0x5e72=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0xe725[_0x4b369d];return _0x571a98;};'use strict';var multer=require(_0x5e72('0x0'));var util=require(_0x5e72('0x1'));var path=require(_0x5e72('0x2'));var timeout=require('connect-timeout');var express=require(_0x5e72('0x3'));var router=express[_0x5e72('0x4')]();var auth=require(_0x5e72('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x5e72('0x6'));router[_0x5e72('0x7')]('/',auth[_0x5e72('0x8')](),controller[_0x5e72('0x9')]);router[_0x5e72('0x7')](_0x5e72('0xa'),auth[_0x5e72('0x8')](),controller[_0x5e72('0xb')]);router[_0x5e72('0x7')](_0x5e72('0xc'),auth[_0x5e72('0x8')](),controller[_0x5e72('0xd')]);router[_0x5e72('0xe')]('/',auth[_0x5e72('0x8')](),controller[_0x5e72('0xf')]);router[_0x5e72('0x10')](_0x5e72('0xc'),auth['isAuthenticated'](),controller[_0x5e72('0x11')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x5e72('0x12')]);module[_0x5e72('0x13')]=router;