Built motion from commit 1fa89557.|2.6.10
[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 _0xe4ae=['/:id','update','delete','exports','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','isAuthenticated','index','/describe','get','post','put'];(function(_0x36585d,_0x24d96e){var _0x450532=function(_0x16908e){while(--_0x16908e){_0x36585d['push'](_0x36585d['shift']());}};_0x450532(++_0x24d96e);}(_0xe4ae,0x94));var _0xee4a=function(_0x258259,_0x2b32c0){_0x258259=_0x258259-0x0;var _0x4c45db=_0xe4ae[_0x258259];return _0x4c45db;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xee4a('0x0'));var timeout=require('connect-timeout');var express=require(_0xee4a('0x1'));var router=express[_0xee4a('0x2')]();var fs_extra=require(_0xee4a('0x3'));var auth=require(_0xee4a('0x4'));var interaction=require(_0xee4a('0x5'));var config=require(_0xee4a('0x6'));var controller=require(_0xee4a('0x7'));router['get']('/',auth[_0xee4a('0x8')](),controller[_0xee4a('0x9')]);router['get'](_0xee4a('0xa'),auth[_0xee4a('0x8')](),controller['describe']);router[_0xee4a('0xb')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0xee4a('0xc')]('/',auth[_0xee4a('0x8')](),controller['create']);router[_0xee4a('0xd')](_0xee4a('0xe'),auth[_0xee4a('0x8')](),controller[_0xee4a('0xf')]);router[_0xee4a('0x10')]('/:id',auth[_0xee4a('0x8')](),controller['destroy']);module[_0xee4a('0x11')]=router;