Built motion from commit (unavailable).|2.3.92
[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 _0x716a=['../../components/interaction/service','../../config/environment','get','index','/describe','isAuthenticated','describe','/:id','show','post','create','put','update','destroy','exports','path','connect-timeout','express','../../components/auth/service'];(function(_0x31cc0e,_0x24ba4c){var _0x144862=function(_0x4d236e){while(--_0x4d236e){_0x31cc0e['push'](_0x31cc0e['shift']());}};_0x144862(++_0x24ba4c);}(_0x716a,0x6e));var _0xa716=function(_0x79cd47,_0x16102d){_0x79cd47=_0x79cd47-0x0;var _0x3b9484=_0x716a[_0x79cd47];return _0x3b9484;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xa716('0x0'));var timeout=require(_0xa716('0x1'));var express=require(_0xa716('0x2'));var router=express['Router']();var auth=require(_0xa716('0x3'));var interaction=require(_0xa716('0x4'));var config=require(_0xa716('0x5'));var controller=require('./openchannelTransferReport.controller');router[_0xa716('0x6')]('/',auth['isAuthenticated'](),controller[_0xa716('0x7')]);router[_0xa716('0x6')](_0xa716('0x8'),auth[_0xa716('0x9')](),controller[_0xa716('0xa')]);router[_0xa716('0x6')](_0xa716('0xb'),auth[_0xa716('0x9')](),controller[_0xa716('0xc')]);router[_0xa716('0xd')]('/',auth[_0xa716('0x9')](),controller[_0xa716('0xe')]);router[_0xa716('0xf')](_0xa716('0xb'),auth[_0xa716('0x9')](),controller[_0xa716('0x10')]);router['delete']('/:id',auth[_0xa716('0x9')](),controller[_0xa716('0x11')]);module[_0xa716('0x12')]=router;