c4938fa1fc6fb019e4d6706487eb50d1a0a6803e
[motion2.git] / server / api / openchannelTransferReport / 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 _0x1779=['create','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/describe','isAuthenticated','describe','/:id','show','post'];(function(_0x34439e,_0x3cc308){var _0x13f3f5=function(_0x57a28e){while(--_0x57a28e){_0x34439e['push'](_0x34439e['shift']());}};_0x13f3f5(++_0x3cc308);}(_0x1779,0x1a4));var _0x9177=function(_0x17f040,_0x20654f){_0x17f040=_0x17f040-0x0;var _0x407884=_0x1779[_0x17f040];return _0x407884;};'use strict';var multer=require(_0x9177('0x0'));var util=require('util');var path=require(_0x9177('0x1'));var timeout=require(_0x9177('0x2'));var express=require(_0x9177('0x3'));var router=express[_0x9177('0x4')]();var fs_extra=require(_0x9177('0x5'));var auth=require(_0x9177('0x6'));var interaction=require(_0x9177('0x7'));var config=require(_0x9177('0x8'));var controller=require('./openchannelTransferReport.controller');router[_0x9177('0x9')]('/',auth['isAuthenticated'](),controller[_0x9177('0xa')]);router['get'](_0x9177('0xb'),auth[_0x9177('0xc')](),controller[_0x9177('0xd')]);router['get'](_0x9177('0xe'),auth[_0x9177('0xc')](),controller[_0x9177('0xf')]);router[_0x9177('0x10')]('/',auth[_0x9177('0xc')](),controller[_0x9177('0x11')]);router[_0x9177('0x12')](_0x9177('0xe'),auth['isAuthenticated'](),controller[_0x9177('0x13')]);router[_0x9177('0x14')](_0x9177('0xe'),auth[_0x9177('0xc')](),controller[_0x9177('0x15')]);module[_0x9177('0x16')]=router;