Built motion from commit bab6f49e.|2.6.17
[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 _0x7332=['isAuthenticated','index','/describe','describe','/:id','post','create','put','destroy','exports','multer','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get'];(function(_0xbff845,_0x4bf15f){var _0x7274e1=function(_0x47daf4){while(--_0x47daf4){_0xbff845['push'](_0xbff845['shift']());}};_0x7274e1(++_0x4bf15f);}(_0x7332,0xc5));var _0x2733=function(_0xe2c15c,_0x1aa122){_0xe2c15c=_0xe2c15c-0x0;var _0x13f054=_0x7332[_0xe2c15c];return _0x13f054;};'use strict';var multer=require(_0x2733('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x2733('0x1')]();var fs_extra=require(_0x2733('0x2'));var auth=require(_0x2733('0x3'));var interaction=require(_0x2733('0x4'));var config=require(_0x2733('0x5'));var controller=require('./whatsappTransferReport.controller');router[_0x2733('0x6')]('/',auth[_0x2733('0x7')](),controller[_0x2733('0x8')]);router[_0x2733('0x6')](_0x2733('0x9'),auth[_0x2733('0x7')](),controller[_0x2733('0xa')]);router[_0x2733('0x6')](_0x2733('0xb'),auth[_0x2733('0x7')](),controller['show']);router[_0x2733('0xc')]('/',auth[_0x2733('0x7')](),controller[_0x2733('0xd')]);router[_0x2733('0xe')](_0x2733('0xb'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x2733('0xb'),auth[_0x2733('0x7')](),controller[_0x2733('0xf')]);module[_0x2733('0x10')]=router;