1f48a3e2a1349e09e5a1f17672f6664e04796989
[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 _0x46ad=['index','/describe','describe','show','post','create','put','update','delete','destroy','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./openchannelTransferReport.controller','get','isAuthenticated'];(function(_0x5d34b5,_0x4e9f7f){var _0xfee4c0=function(_0x30c8aa){while(--_0x30c8aa){_0x5d34b5['push'](_0x5d34b5['shift']());}};_0xfee4c0(++_0x4e9f7f);}(_0x46ad,0x1c4));var _0xd46a=function(_0x123018,_0x9ee0){_0x123018=_0x123018-0x0;var _0x11cb7c=_0x46ad[_0x123018];return _0x11cb7c;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xd46a('0x0'));var timeout=require(_0xd46a('0x1'));var express=require(_0xd46a('0x2'));var router=express[_0xd46a('0x3')]();var fs_extra=require(_0xd46a('0x4'));var auth=require(_0xd46a('0x5'));var interaction=require(_0xd46a('0x6'));var config=require('../../config/environment');var controller=require(_0xd46a('0x7'));router[_0xd46a('0x8')]('/',auth[_0xd46a('0x9')](),controller[_0xd46a('0xa')]);router[_0xd46a('0x8')](_0xd46a('0xb'),auth[_0xd46a('0x9')](),controller[_0xd46a('0xc')]);router[_0xd46a('0x8')]('/:id',auth[_0xd46a('0x9')](),controller[_0xd46a('0xd')]);router[_0xd46a('0xe')]('/',auth[_0xd46a('0x9')](),controller[_0xd46a('0xf')]);router[_0xd46a('0x10')]('/:id',auth['isAuthenticated'](),controller[_0xd46a('0x11')]);router[_0xd46a('0x12')]('/:id',auth[_0xd46a('0x9')](),controller[_0xd46a('0x13')]);module[_0xd46a('0x14')]=router;