e0ca50e058b537c160b8983ce9898ae6a43cc2de
[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 _0x0f67=['update','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','isAuthenticated','describe','/:id','show','post','create','put'];(function(_0x292751,_0x753c01){var _0x557016=function(_0x50eb5e){while(--_0x50eb5e){_0x292751['push'](_0x292751['shift']());}};_0x557016(++_0x753c01);}(_0x0f67,0x1bb));var _0x70f6=function(_0x5d3b5d,_0x1b89b5){_0x5d3b5d=_0x5d3b5d-0x0;var _0x2589fa=_0x0f67[_0x5d3b5d];return _0x2589fa;};'use strict';var multer=require(_0x70f6('0x0'));var util=require(_0x70f6('0x1'));var path=require(_0x70f6('0x2'));var timeout=require(_0x70f6('0x3'));var express=require(_0x70f6('0x4'));var router=express[_0x70f6('0x5')]();var fs_extra=require(_0x70f6('0x6'));var auth=require(_0x70f6('0x7'));var interaction=require(_0x70f6('0x8'));var config=require(_0x70f6('0x9'));var controller=require('./openchannelTransferReport.controller');router[_0x70f6('0xa')]('/',auth['isAuthenticated'](),controller[_0x70f6('0xb')]);router[_0x70f6('0xa')]('/describe',auth[_0x70f6('0xc')](),controller[_0x70f6('0xd')]);router['get'](_0x70f6('0xe'),auth[_0x70f6('0xc')](),controller[_0x70f6('0xf')]);router[_0x70f6('0x10')]('/',auth[_0x70f6('0xc')](),controller[_0x70f6('0x11')]);router[_0x70f6('0x12')](_0x70f6('0xe'),auth[_0x70f6('0xc')](),controller[_0x70f6('0x13')]);router[_0x70f6('0x14')](_0x70f6('0xe'),auth[_0x70f6('0xc')](),controller['destroy']);module[_0x70f6('0x15')]=router;