Built motion from commit (unavailable).|2.5.30
[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 _0xb727=['express','fs-extra','../../components/auth/service','../../config/environment','isAuthenticated','get','/describe','describe','/:id','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout'];(function(_0x9ea8e9,_0x48a29d){var _0x37fb23=function(_0x5de840){while(--_0x5de840){_0x9ea8e9['push'](_0x9ea8e9['shift']());}};_0x37fb23(++_0x48a29d);}(_0xb727,0x1b2));var _0x7b72=function(_0xa95a35,_0x17a3ce){_0xa95a35=_0xa95a35-0x0;var _0x1bb820=_0xb727[_0xa95a35];return _0x1bb820;};'use strict';var multer=require(_0x7b72('0x0'));var util=require(_0x7b72('0x1'));var path=require('path');var timeout=require(_0x7b72('0x2'));var express=require(_0x7b72('0x3'));var router=express['Router']();var fs_extra=require(_0x7b72('0x4'));var auth=require(_0x7b72('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x7b72('0x6'));var controller=require('./whatsappTransferReport.controller');router['get']('/',auth[_0x7b72('0x7')](),controller['index']);router[_0x7b72('0x8')](_0x7b72('0x9'),auth[_0x7b72('0x7')](),controller[_0x7b72('0xa')]);router[_0x7b72('0x8')](_0x7b72('0xb'),auth[_0x7b72('0x7')](),controller['show']);router[_0x7b72('0xc')]('/',auth['isAuthenticated'](),controller[_0x7b72('0xd')]);router[_0x7b72('0xe')]('/:id',auth['isAuthenticated'](),controller[_0x7b72('0xf')]);router[_0x7b72('0x10')](_0x7b72('0xb'),auth[_0x7b72('0x7')](),controller[_0x7b72('0x11')]);module[_0x7b72('0x12')]=router;