Built motion from commit (unavailable).|2.5.24
[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 _0xc1b3=['/describe','describe','/:id','show','create','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','./whatsappTransferReport.controller','get','isAuthenticated','index'];(function(_0x369899,_0x1acacd){var _0x327f4a=function(_0x5aef49){while(--_0x5aef49){_0x369899['push'](_0x369899['shift']());}};_0x327f4a(++_0x1acacd);}(_0xc1b3,0x1d5));var _0x3c1b=function(_0x4a7bda,_0xec8a44){_0x4a7bda=_0x4a7bda-0x0;var _0x1d783f=_0xc1b3[_0x4a7bda];return _0x1d783f;};'use strict';var multer=require(_0x3c1b('0x0'));var util=require(_0x3c1b('0x1'));var path=require(_0x3c1b('0x2'));var timeout=require(_0x3c1b('0x3'));var express=require(_0x3c1b('0x4'));var router=express[_0x3c1b('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x3c1b('0x6'));var config=require('../../config/environment');var controller=require(_0x3c1b('0x7'));router[_0x3c1b('0x8')]('/',auth[_0x3c1b('0x9')](),controller[_0x3c1b('0xa')]);router[_0x3c1b('0x8')](_0x3c1b('0xb'),auth[_0x3c1b('0x9')](),controller[_0x3c1b('0xc')]);router[_0x3c1b('0x8')](_0x3c1b('0xd'),auth[_0x3c1b('0x9')](),controller[_0x3c1b('0xe')]);router['post']('/',auth[_0x3c1b('0x9')](),controller[_0x3c1b('0xf')]);router['put'](_0x3c1b('0xd'),auth[_0x3c1b('0x9')](),controller[_0x3c1b('0x10')]);router[_0x3c1b('0x11')](_0x3c1b('0xd'),auth['isAuthenticated'](),controller[_0x3c1b('0x12')]);module[_0x3c1b('0x13')]=router;