ea625c9646b8cc4b16642a2cfb8bb59a8d81f06f
[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 _0x58da=['show','/:id','update','delete','destroy','exports','multer','util','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','get','isAuthenticated','index','describe'];(function(_0x12e99f,_0x5f1f3c){var _0x2abbfe=function(_0x5c57a1){while(--_0x5c57a1){_0x12e99f['push'](_0x12e99f['shift']());}};_0x2abbfe(++_0x5f1f3c);}(_0x58da,0x19e));var _0xa58d=function(_0x2eeedc,_0x2446f5){_0x2eeedc=_0x2eeedc-0x0;var _0x4e99bc=_0x58da[_0x2eeedc];return _0x4e99bc;};'use strict';var multer=require(_0xa58d('0x0'));var util=require(_0xa58d('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xa58d('0x2'));var router=express['Router']();var auth=require(_0xa58d('0x3'));var interaction=require(_0xa58d('0x4'));var config=require(_0xa58d('0x5'));var controller=require(_0xa58d('0x6'));router[_0xa58d('0x7')]('/',auth[_0xa58d('0x8')](),controller[_0xa58d('0x9')]);router[_0xa58d('0x7')]('/describe',auth[_0xa58d('0x8')](),controller[_0xa58d('0xa')]);router['get']('/:id',auth[_0xa58d('0x8')](),controller[_0xa58d('0xb')]);router['post']('/',auth[_0xa58d('0x8')](),controller['create']);router['put'](_0xa58d('0xc'),auth[_0xa58d('0x8')](),controller[_0xa58d('0xd')]);router[_0xa58d('0xe')](_0xa58d('0xc'),auth[_0xa58d('0x8')](),controller[_0xa58d('0xf')]);module[_0xa58d('0x10')]=router;