Built motion from commit 43538d75.|2.5.35
[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 _0xc35f=['connect-timeout','fs-extra','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','update','delete','exports','util','path'];(function(_0x1df100,_0x310341){var _0x2fe7be=function(_0x544ae3){while(--_0x544ae3){_0x1df100['push'](_0x1df100['shift']());}};_0x2fe7be(++_0x310341);}(_0xc35f,0x1da));var _0xfc35=function(_0xebf3ca,_0x4f988d){_0xebf3ca=_0xebf3ca-0x0;var _0x51f2a8=_0xc35f[_0xebf3ca];return _0x51f2a8;};'use strict';var multer=require('multer');var util=require(_0xfc35('0x0'));var path=require(_0xfc35('0x1'));var timeout=require(_0xfc35('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xfc35('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xfc35('0x4'));var config=require('../../config/environment');var controller=require('./whatsappTransferReport.controller');router[_0xfc35('0x5')]('/',auth[_0xfc35('0x6')](),controller[_0xfc35('0x7')]);router[_0xfc35('0x5')](_0xfc35('0x8'),auth[_0xfc35('0x6')](),controller[_0xfc35('0x9')]);router['get'](_0xfc35('0xa'),auth['isAuthenticated'](),controller[_0xfc35('0xb')]);router[_0xfc35('0xc')]('/',auth[_0xfc35('0x6')](),controller[_0xfc35('0xd')]);router['put'](_0xfc35('0xa'),auth['isAuthenticated'](),controller[_0xfc35('0xe')]);router[_0xfc35('0xf')](_0xfc35('0xa'),auth[_0xfc35('0x6')](),controller['destroy']);module[_0xfc35('0x10')]=router;