4d258a19db7c3af5086de902220d170c5753b372
[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 _0x2b7c=['post','/:id','update','delete','destroy','exports','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','get','isAuthenticated','index','/describe','describe','show'];(function(_0x375126,_0x514a8e){var _0x1f76bb=function(_0x22f2d0){while(--_0x22f2d0){_0x375126['push'](_0x375126['shift']());}};_0x1f76bb(++_0x514a8e);}(_0x2b7c,0x132));var _0xc2b7=function(_0x350432,_0x494ff9){_0x350432=_0x350432-0x0;var _0x117117=_0x2b7c[_0x350432];return _0x117117;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xc2b7('0x0'));var timeout=require(_0xc2b7('0x1'));var express=require(_0xc2b7('0x2'));var router=express[_0xc2b7('0x3')]();var fs_extra=require(_0xc2b7('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xc2b7('0x5'));var config=require(_0xc2b7('0x6'));var controller=require(_0xc2b7('0x7'));router[_0xc2b7('0x8')]('/',auth[_0xc2b7('0x9')](),controller[_0xc2b7('0xa')]);router['get'](_0xc2b7('0xb'),auth[_0xc2b7('0x9')](),controller[_0xc2b7('0xc')]);router[_0xc2b7('0x8')]('/:id',auth[_0xc2b7('0x9')](),controller[_0xc2b7('0xd')]);router[_0xc2b7('0xe')]('/',auth[_0xc2b7('0x9')](),controller['create']);router['put'](_0xc2b7('0xf'),auth['isAuthenticated'](),controller[_0xc2b7('0x10')]);router[_0xc2b7('0x11')]('/:id',auth['isAuthenticated'](),controller[_0xc2b7('0x12')]);module[_0xc2b7('0x13')]=router;