Built motion from commit 14588770.|2.5.38
[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 _0xcec2=['multer','util','path','Router','fs-extra','../../config/environment','./openchannelTransferReport.controller','get','isAuthenticated','/describe','describe','/:id','show','create','put','update','delete','destroy','exports'];(function(_0x25fe12,_0x4552db){var _0x2700c3=function(_0x3f8b55){while(--_0x3f8b55){_0x25fe12['push'](_0x25fe12['shift']());}};_0x2700c3(++_0x4552db);}(_0xcec2,0x17c));var _0x2cec=function(_0x2d4c6e,_0x6920ad){_0x2d4c6e=_0x2d4c6e-0x0;var _0x5e9b34=_0xcec2[_0x2d4c6e];return _0x5e9b34;};'use strict';var multer=require(_0x2cec('0x0'));var util=require(_0x2cec('0x1'));var path=require(_0x2cec('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x2cec('0x3')]();var fs_extra=require(_0x2cec('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x2cec('0x5'));var controller=require(_0x2cec('0x6'));router[_0x2cec('0x7')]('/',auth[_0x2cec('0x8')](),controller['index']);router[_0x2cec('0x7')](_0x2cec('0x9'),auth[_0x2cec('0x8')](),controller[_0x2cec('0xa')]);router[_0x2cec('0x7')](_0x2cec('0xb'),auth[_0x2cec('0x8')](),controller[_0x2cec('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0x2cec('0xd')]);router[_0x2cec('0xe')](_0x2cec('0xb'),auth[_0x2cec('0x8')](),controller[_0x2cec('0xf')]);router[_0x2cec('0x10')](_0x2cec('0xb'),auth[_0x2cec('0x8')](),controller[_0x2cec('0x11')]);module[_0x2cec('0x12')]=router;