Built motion from commit a8c4dd89.|2.6.33
[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 _0x2dae=['describe','/:id','show','post','create','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','/describe'];(function(_0x1e636a,_0x494535){var _0x33cf14=function(_0x363715){while(--_0x363715){_0x1e636a['push'](_0x1e636a['shift']());}};_0x33cf14(++_0x494535);}(_0x2dae,0xec));var _0xe2da=function(_0x354164,_0x4c30de){_0x354164=_0x354164-0x0;var _0x5db9a8=_0x2dae[_0x354164];return _0x5db9a8;};'use strict';var multer=require(_0xe2da('0x0'));var util=require(_0xe2da('0x1'));var path=require(_0xe2da('0x2'));var timeout=require(_0xe2da('0x3'));var express=require(_0xe2da('0x4'));var router=express['Router']();var fs_extra=require(_0xe2da('0x5'));var auth=require(_0xe2da('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xe2da('0x7'));var controller=require('./whatsappTransferReport.controller');router[_0xe2da('0x8')]('/',auth[_0xe2da('0x9')](),controller['index']);router[_0xe2da('0x8')](_0xe2da('0xa'),auth['isAuthenticated'](),controller[_0xe2da('0xb')]);router[_0xe2da('0x8')](_0xe2da('0xc'),auth['isAuthenticated'](),controller[_0xe2da('0xd')]);router[_0xe2da('0xe')]('/',auth[_0xe2da('0x9')](),controller[_0xe2da('0xf')]);router['put'](_0xe2da('0xc'),auth[_0xe2da('0x9')](),controller['update']);router[_0xe2da('0x10')]('/:id',auth[_0xe2da('0x9')](),controller[_0xe2da('0x11')]);module[_0xe2da('0x12')]=router;