871c4e45c7e20ba72f018a92e33e0523d207339c
[motion2.git] / server / api / voiceDialReport / 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 _0x96c0=['exports','multer','util','path','connect-timeout','express','fs-extra','../../config/environment','./voiceDialReport.controller','get','isAuthenticated','index','/describe','show','post','create','put','update','delete','/:id'];(function(_0xd5a5da,_0x466233){var _0x45793b=function(_0x1db90b){while(--_0x1db90b){_0xd5a5da['push'](_0xd5a5da['shift']());}};_0x45793b(++_0x466233);}(_0x96c0,0xdd));var _0x096c=function(_0x5b8134,_0x4985b5){_0x5b8134=_0x5b8134-0x0;var _0x27a423=_0x96c0[_0x5b8134];return _0x27a423;};'use strict';var multer=require(_0x096c('0x0'));var util=require(_0x096c('0x1'));var path=require(_0x096c('0x2'));var timeout=require(_0x096c('0x3'));var express=require(_0x096c('0x4'));var router=express['Router']();var fs_extra=require(_0x096c('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x096c('0x6'));var controller=require(_0x096c('0x7'));router[_0x096c('0x8')]('/',auth[_0x096c('0x9')](),controller[_0x096c('0xa')]);router['get'](_0x096c('0xb'),auth['isAuthenticated'](),controller['describe']);router['get']('/:id',auth['isAuthenticated'](),controller[_0x096c('0xc')]);router[_0x096c('0xd')]('/',auth[_0x096c('0x9')](),controller[_0x096c('0xe')]);router[_0x096c('0xf')]('/:id',auth[_0x096c('0x9')](),controller[_0x096c('0x10')]);router[_0x096c('0x11')](_0x096c('0x12'),auth[_0x096c('0x9')](),controller['destroy']);module[_0x096c('0x13')]=router;