8c8b0a11864453f3905b0194fe74a24d207c4d49
[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 _0x7da1=['delete','destroy','exports','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceDialReport.controller','isAuthenticated','index','get','describe','/:id','show','create','put','update'];(function(_0x504851,_0x2bba99){var _0x2a7b1e=function(_0x219e44){while(--_0x219e44){_0x504851['push'](_0x504851['shift']());}};_0x2a7b1e(++_0x2bba99);}(_0x7da1,0x1bb));var _0x17da=function(_0x3b178f,_0x13449d){_0x3b178f=_0x3b178f-0x0;var _0x36665d=_0x7da1[_0x3b178f];return _0x36665d;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x17da('0x0'));var timeout=require(_0x17da('0x1'));var express=require(_0x17da('0x2'));var router=express[_0x17da('0x3')]();var fs_extra=require(_0x17da('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x17da('0x5'));var config=require(_0x17da('0x6'));var controller=require(_0x17da('0x7'));router['get']('/',auth[_0x17da('0x8')](),controller[_0x17da('0x9')]);router[_0x17da('0xa')]('/describe',auth['isAuthenticated'](),controller[_0x17da('0xb')]);router[_0x17da('0xa')](_0x17da('0xc'),auth[_0x17da('0x8')](),controller[_0x17da('0xd')]);router['post']('/',auth[_0x17da('0x8')](),controller[_0x17da('0xe')]);router[_0x17da('0xf')](_0x17da('0xc'),auth[_0x17da('0x8')](),controller[_0x17da('0x10')]);router[_0x17da('0x11')](_0x17da('0xc'),auth[_0x17da('0x8')](),controller[_0x17da('0x12')]);module[_0x17da('0x13')]=router;