bc00005f98f6c42dea4b66ee641d352c7c6d44a5
[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 _0x097c=['exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','get','isAuthenticated','index','/describe','/:id','post','create','put','update','delete'];(function(_0x283479,_0x4db130){var _0x57e238=function(_0x2a64b1){while(--_0x2a64b1){_0x283479['push'](_0x283479['shift']());}};_0x57e238(++_0x4db130);}(_0x097c,0x190));var _0xc097=function(_0x592419,_0x4efecd){_0x592419=_0x592419-0x0;var _0xd02233=_0x097c[_0x592419];return _0xd02233;};'use strict';var multer=require(_0xc097('0x0'));var util=require(_0xc097('0x1'));var path=require(_0xc097('0x2'));var timeout=require(_0xc097('0x3'));var express=require(_0xc097('0x4'));var router=express[_0xc097('0x5')]();var auth=require(_0xc097('0x6'));var interaction=require(_0xc097('0x7'));var config=require(_0xc097('0x8'));var controller=require(_0xc097('0x9'));router[_0xc097('0xa')]('/',auth[_0xc097('0xb')](),controller[_0xc097('0xc')]);router['get'](_0xc097('0xd'),auth['isAuthenticated'](),controller['describe']);router['get'](_0xc097('0xe'),auth[_0xc097('0xb')](),controller['show']);router[_0xc097('0xf')]('/',auth[_0xc097('0xb')](),controller[_0xc097('0x10')]);router[_0xc097('0x11')]('/:id',auth[_0xc097('0xb')](),controller[_0xc097('0x12')]);router[_0xc097('0x13')](_0xc097('0xe'),auth[_0xc097('0xb')](),controller['destroy']);module[_0xc097('0x14')]=router;