8a98a268a109215b0b0b87e3634572768c3c6162
[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 _0xd99e=['exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','post','create','update','delete','destroy'];(function(_0x34c346,_0x5a8d01){var _0x3fc961=function(_0xcc9096){while(--_0xcc9096){_0x34c346['push'](_0x34c346['shift']());}};_0x3fc961(++_0x5a8d01);}(_0xd99e,0x161));var _0xed99=function(_0x3b8f2e,_0x5a99a8){_0x3b8f2e=_0x3b8f2e-0x0;var _0x1433d5=_0xd99e[_0x3b8f2e];return _0x1433d5;};'use strict';var multer=require(_0xed99('0x0'));var util=require(_0xed99('0x1'));var path=require(_0xed99('0x2'));var timeout=require(_0xed99('0x3'));var express=require(_0xed99('0x4'));var router=express['Router']();var auth=require(_0xed99('0x5'));var interaction=require(_0xed99('0x6'));var config=require(_0xed99('0x7'));var controller=require(_0xed99('0x8'));router[_0xed99('0x9')]('/',auth['isAuthenticated'](),controller[_0xed99('0xa')]);router['get'](_0xed99('0xb'),auth[_0xed99('0xc')](),controller[_0xed99('0xd')]);router[_0xed99('0x9')](_0xed99('0xe'),auth[_0xed99('0xc')](),controller[_0xed99('0xf')]);router[_0xed99('0x10')]('/',auth[_0xed99('0xc')](),controller[_0xed99('0x11')]);router['put']('/:id',auth[_0xed99('0xc')](),controller[_0xed99('0x12')]);router[_0xed99('0x13')]('/:id',auth[_0xed99('0xc')](),controller[_0xed99('0x14')]);module[_0xed99('0x15')]=router;