0692892e3503ea0d4bbf34c1cd5cba519b20aba7
[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 _0x688f=['create','put','update','delete','destroy','exports','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceTransferReport.controller','get','/:id','show','post','isAuthenticated'];(function(_0x2e9579,_0x557d4d){var _0x3bdf27=function(_0x16b99c){while(--_0x16b99c){_0x2e9579['push'](_0x2e9579['shift']());}};_0x3bdf27(++_0x557d4d);}(_0x688f,0x116));var _0xf688=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0x688f[_0x19950b];return _0x3c6b41;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xf688('0x0'));var express=require('express');var router=express[_0xf688('0x1')]();var auth=require(_0xf688('0x2'));var interaction=require(_0xf688('0x3'));var config=require(_0xf688('0x4'));var controller=require(_0xf688('0x5'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0xf688('0x6')](_0xf688('0x7'),auth['isAuthenticated'](),controller[_0xf688('0x8')]);router[_0xf688('0x9')]('/',auth[_0xf688('0xa')](),controller[_0xf688('0xb')]);router[_0xf688('0xc')](_0xf688('0x7'),auth[_0xf688('0xa')](),controller[_0xf688('0xd')]);router[_0xf688('0xe')](_0xf688('0x7'),auth[_0xf688('0xa')](),controller[_0xf688('0xf')]);module[_0xf688('0x10')]=router;