Built motion from commit 9d1906d1.|2.5.40
[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 _0xdf97=['show','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./voiceAgentReport.controller','index','describe','get','/:id','isAuthenticated'];(function(_0x2f5ac5,_0x1ee939){var _0x37c9a8=function(_0x15031f){while(--_0x15031f){_0x2f5ac5['push'](_0x2f5ac5['shift']());}};_0x37c9a8(++_0x1ee939);}(_0xdf97,0x6c));var _0x7df9=function(_0x425051,_0x3c1854){_0x425051=_0x425051-0x0;var _0x126b92=_0xdf97[_0x425051];return _0x126b92;};'use strict';var multer=require(_0x7df9('0x0'));var util=require(_0x7df9('0x1'));var path=require('path');var timeout=require(_0x7df9('0x2'));var express=require(_0x7df9('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x7df9('0x4'));var interaction=require(_0x7df9('0x5'));var config=require('../../config/environment');var controller=require(_0x7df9('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0x7df9('0x7')]);router['get']('/describe',auth['isAuthenticated'](),controller[_0x7df9('0x8')]);router[_0x7df9('0x9')](_0x7df9('0xa'),auth[_0x7df9('0xb')](),controller[_0x7df9('0xc')]);router[_0x7df9('0xd')]('/',auth[_0x7df9('0xb')](),controller[_0x7df9('0xe')]);router[_0x7df9('0xf')]('/:id',auth[_0x7df9('0xb')](),controller[_0x7df9('0x10')]);router[_0x7df9('0x11')](_0x7df9('0xa'),auth[_0x7df9('0xb')](),controller[_0x7df9('0x12')]);module[_0x7df9('0x13')]=router;