Built motion from commit (unavailable).|2.5.15
[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 _0x847c=['post','create','update','delete','destroy','util','path','express','Router','../../config/environment','./voiceAgentReport.controller','get','/describe','/:id','isAuthenticated','show'];(function(_0x3947c9,_0x4d6c97){var _0x2e7871=function(_0x1236cc){while(--_0x1236cc){_0x3947c9['push'](_0x3947c9['shift']());}};_0x2e7871(++_0x4d6c97);}(_0x847c,0x1c5));var _0xc847=function(_0x4f9b18,_0x2cb5ca){_0x4f9b18=_0x4f9b18-0x0;var _0x29f20c=_0x847c[_0x4f9b18];return _0x29f20c;};'use strict';var multer=require('multer');var util=require(_0xc847('0x0'));var path=require(_0xc847('0x1'));var timeout=require('connect-timeout');var express=require(_0xc847('0x2'));var router=express[_0xc847('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xc847('0x4'));var controller=require(_0xc847('0x5'));router[_0xc847('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0xc847('0x6')](_0xc847('0x7'),auth['isAuthenticated'](),controller['describe']);router[_0xc847('0x6')](_0xc847('0x8'),auth[_0xc847('0x9')](),controller[_0xc847('0xa')]);router[_0xc847('0xb')]('/',auth[_0xc847('0x9')](),controller[_0xc847('0xc')]);router['put'](_0xc847('0x8'),auth[_0xc847('0x9')](),controller[_0xc847('0xd')]);router[_0xc847('0xe')]('/:id',auth[_0xc847('0x9')](),controller[_0xc847('0xf')]);module['exports']=router;