c284d6059dcd295657228cc9214bbe752cb6f939
[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 _0x7439=['Router','fs-extra','../../components/auth/service','../../config/environment','./openchannelTransferReport.controller','isAuthenticated','index','get','/describe','describe','/:id','post','put','update','destroy','exports','multer','util','express'];(function(_0x5959c9,_0x2ed153){var _0x4ffcbc=function(_0x459b7a){while(--_0x459b7a){_0x5959c9['push'](_0x5959c9['shift']());}};_0x4ffcbc(++_0x2ed153);}(_0x7439,0x166));var _0x9743=function(_0x4dc8b9,_0x16548d){_0x4dc8b9=_0x4dc8b9-0x0;var _0x1912ed=_0x7439[_0x4dc8b9];return _0x1912ed;};'use strict';var multer=require(_0x9743('0x0'));var util=require(_0x9743('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x9743('0x2'));var router=express[_0x9743('0x3')]();var fs_extra=require(_0x9743('0x4'));var auth=require(_0x9743('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x9743('0x6'));var controller=require(_0x9743('0x7'));router['get']('/',auth[_0x9743('0x8')](),controller[_0x9743('0x9')]);router[_0x9743('0xa')](_0x9743('0xb'),auth[_0x9743('0x8')](),controller[_0x9743('0xc')]);router[_0x9743('0xa')](_0x9743('0xd'),auth[_0x9743('0x8')](),controller['show']);router[_0x9743('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0x9743('0xf')](_0x9743('0xd'),auth[_0x9743('0x8')](),controller[_0x9743('0x10')]);router['delete'](_0x9743('0xd'),auth[_0x9743('0x8')](),controller[_0x9743('0x11')]);module[_0x9743('0x12')]=router;