Built motion from commit 85328c08.|2.5.50
[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 _0x746e=['path','connect-timeout','Router','fs-extra','../../config/environment','./whatsappTransferReport.controller','get','isAuthenticated','/describe','describe','/:id','show','create','put','update','delete','destroy','exports','util'];(function(_0x1863a8,_0x3b70e1){var _0x5e17f0=function(_0x152b7a){while(--_0x152b7a){_0x1863a8['push'](_0x1863a8['shift']());}};_0x5e17f0(++_0x3b70e1);}(_0x746e,0x1a1));var _0xe746=function(_0x673722,_0x275d7e){_0x673722=_0x673722-0x0;var _0x21249c=_0x746e[_0x673722];return _0x21249c;};'use strict';var multer=require('multer');var util=require(_0xe746('0x0'));var path=require(_0xe746('0x1'));var timeout=require(_0xe746('0x2'));var express=require('express');var router=express[_0xe746('0x3')]();var fs_extra=require(_0xe746('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xe746('0x5'));var controller=require(_0xe746('0x6'));router[_0xe746('0x7')]('/',auth[_0xe746('0x8')](),controller['index']);router[_0xe746('0x7')](_0xe746('0x9'),auth['isAuthenticated'](),controller[_0xe746('0xa')]);router['get'](_0xe746('0xb'),auth[_0xe746('0x8')](),controller[_0xe746('0xc')]);router['post']('/',auth[_0xe746('0x8')](),controller[_0xe746('0xd')]);router[_0xe746('0xe')]('/:id',auth[_0xe746('0x8')](),controller[_0xe746('0xf')]);router[_0xe746('0x10')](_0xe746('0xb'),auth[_0xe746('0x8')](),controller[_0xe746('0x11')]);module[_0xe746('0x12')]=router;