Built motion from commit 355702c8.|2.5.41
[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 _0xcbd2=['/:id','isAuthenticated','show','post','put','delete','destroy','exports','multer','path','express','Router','../../config/environment','./whatsappTransferReport.controller','get','index','/describe','describe'];(function(_0xf8f788,_0x55af73){var _0x5669a7=function(_0x1f38bf){while(--_0x1f38bf){_0xf8f788['push'](_0xf8f788['shift']());}};_0x5669a7(++_0x55af73);}(_0xcbd2,0xce));var _0x2cbd=function(_0x515283,_0x813dea){_0x515283=_0x515283-0x0;var _0x38f836=_0xcbd2[_0x515283];return _0x38f836;};'use strict';var multer=require(_0x2cbd('0x0'));var util=require('util');var path=require(_0x2cbd('0x1'));var timeout=require('connect-timeout');var express=require(_0x2cbd('0x2'));var router=express[_0x2cbd('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x2cbd('0x4'));var controller=require(_0x2cbd('0x5'));router[_0x2cbd('0x6')]('/',auth['isAuthenticated'](),controller[_0x2cbd('0x7')]);router[_0x2cbd('0x6')](_0x2cbd('0x8'),auth['isAuthenticated'](),controller[_0x2cbd('0x9')]);router[_0x2cbd('0x6')](_0x2cbd('0xa'),auth[_0x2cbd('0xb')](),controller[_0x2cbd('0xc')]);router[_0x2cbd('0xd')]('/',auth[_0x2cbd('0xb')](),controller['create']);router[_0x2cbd('0xe')](_0x2cbd('0xa'),auth[_0x2cbd('0xb')](),controller['update']);router[_0x2cbd('0xf')]('/:id',auth[_0x2cbd('0xb')](),controller[_0x2cbd('0x10')]);module[_0x2cbd('0x11')]=router;