3be12fd0131a1e97f95977bb0872abb7277c2c5e
[motion2.git] / server / api / voiceAgentReport / 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 _0x4713=['update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','./voiceAgentReport.controller','get','isAuthenticated','index','/describe','/:id','show','put'];(function(_0x5235dd,_0x3f91cf){var _0x13059d=function(_0x355a98){while(--_0x355a98){_0x5235dd['push'](_0x5235dd['shift']());}};_0x13059d(++_0x3f91cf);}(_0x4713,0x1b9));var _0x3471=function(_0x1e5db8,_0x44ef41){_0x1e5db8=_0x1e5db8-0x0;var _0x219a51=_0x4713[_0x1e5db8];return _0x219a51;};'use strict';var multer=require(_0x3471('0x0'));var util=require(_0x3471('0x1'));var path=require(_0x3471('0x2'));var timeout=require(_0x3471('0x3'));var express=require(_0x3471('0x4'));var router=express[_0x3471('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x3471('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x3471('0x7'));router[_0x3471('0x8')]('/',auth[_0x3471('0x9')](),controller[_0x3471('0xa')]);router['get'](_0x3471('0xb'),auth[_0x3471('0x9')](),controller['describe']);router[_0x3471('0x8')](_0x3471('0xc'),auth[_0x3471('0x9')](),controller[_0x3471('0xd')]);router['post']('/',auth[_0x3471('0x9')](),controller['create']);router[_0x3471('0xe')](_0x3471('0xc'),auth[_0x3471('0x9')](),controller[_0x3471('0xf')]);router[_0x3471('0x10')](_0x3471('0xc'),auth[_0x3471('0x9')](),controller[_0x3471('0x11')]);module[_0x3471('0x12')]=router;