92ce1007675e22a41ec98379e3b897812498db16
[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 _0xc1bb=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceAgentReport.controller','get','index','isAuthenticated','show','post','create','update','delete','/:id','destroy','exports','multer','util','path','connect-timeout','Router'];(function(_0x11a85f,_0x541f11){var _0x105df7=function(_0x284d7c){while(--_0x284d7c){_0x11a85f['push'](_0x11a85f['shift']());}};_0x105df7(++_0x541f11);}(_0xc1bb,0x160));var _0xbc1b=function(_0x9cd190,_0x1cdcce){_0x9cd190=_0x9cd190-0x0;var _0x43e509=_0xc1bb[_0x9cd190];return _0x43e509;};'use strict';var multer=require(_0xbc1b('0x0'));var util=require(_0xbc1b('0x1'));var path=require(_0xbc1b('0x2'));var timeout=require(_0xbc1b('0x3'));var express=require('express');var router=express[_0xbc1b('0x4')]();var fs_extra=require(_0xbc1b('0x5'));var auth=require(_0xbc1b('0x6'));var interaction=require(_0xbc1b('0x7'));var config=require(_0xbc1b('0x8'));var controller=require(_0xbc1b('0x9'));router[_0xbc1b('0xa')]('/',auth['isAuthenticated'](),controller[_0xbc1b('0xb')]);router[_0xbc1b('0xa')]('/describe',auth[_0xbc1b('0xc')](),controller['describe']);router['get']('/:id',auth[_0xbc1b('0xc')](),controller[_0xbc1b('0xd')]);router[_0xbc1b('0xe')]('/',auth[_0xbc1b('0xc')](),controller[_0xbc1b('0xf')]);router['put']('/:id',auth[_0xbc1b('0xc')](),controller[_0xbc1b('0x10')]);router[_0xbc1b('0x11')](_0xbc1b('0x12'),auth['isAuthenticated'](),controller[_0xbc1b('0x13')]);module[_0xbc1b('0x14')]=router;