Built motion from commit (unavailable).|2.4.3
[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 _0x978c=['update','delete','destroy','exports','multer','express','Router','../../config/environment','./openchannelTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','create'];(function(_0xba1760,_0x191969){var _0x1f3143=function(_0x5aa807){while(--_0x5aa807){_0xba1760['push'](_0xba1760['shift']());}};_0x1f3143(++_0x191969);}(_0x978c,0xc4));var _0xc978=function(_0x39096d,_0x51f8a0){_0x39096d=_0x39096d-0x0;var _0x13da4f=_0x978c[_0x39096d];return _0x13da4f;};'use strict';var multer=require(_0xc978('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xc978('0x1'));var router=express[_0xc978('0x2')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xc978('0x3'));var controller=require(_0xc978('0x4'));router[_0xc978('0x5')]('/',auth[_0xc978('0x6')](),controller[_0xc978('0x7')]);router[_0xc978('0x5')](_0xc978('0x8'),auth[_0xc978('0x6')](),controller[_0xc978('0x9')]);router['get'](_0xc978('0xa'),auth[_0xc978('0x6')](),controller['show']);router['post']('/',auth['isAuthenticated'](),controller[_0xc978('0xb')]);router['put'](_0xc978('0xa'),auth[_0xc978('0x6')](),controller[_0xc978('0xc')]);router[_0xc978('0xd')](_0xc978('0xa'),auth[_0xc978('0x6')](),controller[_0xc978('0xe')]);module[_0xc978('0xf')]=router;