Built motion from commit bab6f49e.|2.6.17
[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 _0x1cd6=['exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete','destroy'];(function(_0x3c4ff2,_0x1d1497){var _0x566d4e=function(_0xd48b92){while(--_0xd48b92){_0x3c4ff2['push'](_0x3c4ff2['shift']());}};_0x566d4e(++_0x1d1497);}(_0x1cd6,0xdd));var _0x61cd=function(_0x45ab6b,_0x5b247f){_0x45ab6b=_0x45ab6b-0x0;var _0x60a26e=_0x1cd6[_0x45ab6b];return _0x60a26e;};'use strict';var multer=require(_0x61cd('0x0'));var util=require(_0x61cd('0x1'));var path=require(_0x61cd('0x2'));var timeout=require(_0x61cd('0x3'));var express=require(_0x61cd('0x4'));var router=express[_0x61cd('0x5')]();var fs_extra=require(_0x61cd('0x6'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x61cd('0x7'));var controller=require('./voiceAgentReport.controller');router[_0x61cd('0x8')]('/',auth[_0x61cd('0x9')](),controller[_0x61cd('0xa')]);router[_0x61cd('0x8')](_0x61cd('0xb'),auth[_0x61cd('0x9')](),controller[_0x61cd('0xc')]);router[_0x61cd('0x8')](_0x61cd('0xd'),auth[_0x61cd('0x9')](),controller[_0x61cd('0xe')]);router[_0x61cd('0xf')]('/',auth[_0x61cd('0x9')](),controller[_0x61cd('0x10')]);router[_0x61cd('0x11')]('/:id',auth[_0x61cd('0x9')](),controller[_0x61cd('0x12')]);router[_0x61cd('0x13')](_0x61cd('0xd'),auth[_0x61cd('0x9')](),controller[_0x61cd('0x14')]);module[_0x61cd('0x15')]=router;