e1f418f4b1adeddf333c41c42f2d1af0c1c287d8
[motion2.git] / server / api / voiceTransferReport / 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 _0xac27=['show','post','create','put','/:id','update','destroy','exports','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceTransferReport.controller','get','isAuthenticated','/describe','describe'];(function(_0x30080f,_0x55f038){var _0x2288c3=function(_0x1b86dd){while(--_0x1b86dd){_0x30080f['push'](_0x30080f['shift']());}};_0x2288c3(++_0x55f038);}(_0xac27,0xbc));var _0x7ac2=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xac27[_0xa464c9];return _0x3d73c4;};'use strict';var multer=require('multer');var util=require(_0x7ac2('0x0'));var path=require(_0x7ac2('0x1'));var timeout=require('connect-timeout');var express=require(_0x7ac2('0x2'));var router=express['Router']();var fs_extra=require(_0x7ac2('0x3'));var auth=require(_0x7ac2('0x4'));var interaction=require(_0x7ac2('0x5'));var config=require(_0x7ac2('0x6'));var controller=require(_0x7ac2('0x7'));router[_0x7ac2('0x8')]('/',auth[_0x7ac2('0x9')](),controller['index']);router[_0x7ac2('0x8')](_0x7ac2('0xa'),auth[_0x7ac2('0x9')](),controller[_0x7ac2('0xb')]);router['get']('/:id',auth[_0x7ac2('0x9')](),controller[_0x7ac2('0xc')]);router[_0x7ac2('0xd')]('/',auth[_0x7ac2('0x9')](),controller[_0x7ac2('0xe')]);router[_0x7ac2('0xf')](_0x7ac2('0x10'),auth['isAuthenticated'](),controller[_0x7ac2('0x11')]);router['delete'](_0x7ac2('0x10'),auth['isAuthenticated'](),controller[_0x7ac2('0x12')]);module[_0x7ac2('0x13')]=router;