Built motion from commit (unavailable).|2.5.31
[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 _0xe3aa=['fs-extra','../../config/environment','./whatsappTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','update','destroy','exports','multer','path','connect-timeout','express'];(function(_0x4f8f0a,_0x3169c6){var _0x59f5dc=function(_0x2a3a7b){while(--_0x2a3a7b){_0x4f8f0a['push'](_0x4f8f0a['shift']());}};_0x59f5dc(++_0x3169c6);}(_0xe3aa,0x176));var _0xae3a=function(_0x23b4d0,_0x163f90){_0x23b4d0=_0x23b4d0-0x0;var _0x5423f4=_0xe3aa[_0x23b4d0];return _0x5423f4;};'use strict';var multer=require(_0xae3a('0x0'));var util=require('util');var path=require(_0xae3a('0x1'));var timeout=require(_0xae3a('0x2'));var express=require(_0xae3a('0x3'));var router=express['Router']();var fs_extra=require(_0xae3a('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xae3a('0x5'));var controller=require(_0xae3a('0x6'));router[_0xae3a('0x7')]('/',auth[_0xae3a('0x8')](),controller[_0xae3a('0x9')]);router[_0xae3a('0x7')](_0xae3a('0xa'),auth['isAuthenticated'](),controller[_0xae3a('0xb')]);router[_0xae3a('0x7')](_0xae3a('0xc'),auth[_0xae3a('0x8')](),controller[_0xae3a('0xd')]);router[_0xae3a('0xe')]('/',auth[_0xae3a('0x8')](),controller['create']);router['put'](_0xae3a('0xc'),auth['isAuthenticated'](),controller[_0xae3a('0xf')]);router['delete'](_0xae3a('0xc'),auth['isAuthenticated'](),controller[_0xae3a('0x10')]);module[_0xae3a('0x11')]=router;