9c63fd544c69c32f8c7380f23ce3411beb17f84d
[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 _0xc8d3=['get','index','isAuthenticated','describe','/:id','show','post','put','update','delete','destroy','exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./voiceTransferReport.controller'];(function(_0x37ffea,_0x25b006){var _0x2e2615=function(_0x5e6c74){while(--_0x5e6c74){_0x37ffea['push'](_0x37ffea['shift']());}};_0x2e2615(++_0x25b006);}(_0xc8d3,0x1ec));var _0x3c8d=function(_0x34d275,_0x5d84ee){_0x34d275=_0x34d275-0x0;var _0x1379cc=_0xc8d3[_0x34d275];return _0x1379cc;};'use strict';var multer=require('multer');var util=require(_0x3c8d('0x0'));var path=require(_0x3c8d('0x1'));var timeout=require('connect-timeout');var express=require(_0x3c8d('0x2'));var router=express[_0x3c8d('0x3')]();var fs_extra=require(_0x3c8d('0x4'));var auth=require(_0x3c8d('0x5'));var interaction=require(_0x3c8d('0x6'));var config=require('../../config/environment');var controller=require(_0x3c8d('0x7'));router[_0x3c8d('0x8')]('/',auth['isAuthenticated'](),controller[_0x3c8d('0x9')]);router[_0x3c8d('0x8')]('/describe',auth[_0x3c8d('0xa')](),controller[_0x3c8d('0xb')]);router[_0x3c8d('0x8')](_0x3c8d('0xc'),auth[_0x3c8d('0xa')](),controller[_0x3c8d('0xd')]);router[_0x3c8d('0xe')]('/',auth[_0x3c8d('0xa')](),controller['create']);router[_0x3c8d('0xf')](_0x3c8d('0xc'),auth[_0x3c8d('0xa')](),controller[_0x3c8d('0x10')]);router[_0x3c8d('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x3c8d('0x12')]);module[_0x3c8d('0x13')]=router;