Built motion from commit (unavailable).|2.4.17
[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 _0xe300=['delete','multer','util','connect-timeout','express','Router','../../components/interaction/service','./voiceDialReport.controller','isAuthenticated','index','get','/describe','describe','show','post','create','put','/:id','update'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xe300,0x1b6));var _0x0e30=function(_0xa4eaa4,_0x7ab270){_0xa4eaa4=_0xa4eaa4-0x0;var _0x4dc41b=_0xe300[_0xa4eaa4];return _0x4dc41b;};'use strict';var multer=require(_0x0e30('0x0'));var util=require(_0x0e30('0x1'));var path=require('path');var timeout=require(_0x0e30('0x2'));var express=require(_0x0e30('0x3'));var router=express[_0x0e30('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x0e30('0x5'));var config=require('../../config/environment');var controller=require(_0x0e30('0x6'));router['get']('/',auth[_0x0e30('0x7')](),controller[_0x0e30('0x8')]);router[_0x0e30('0x9')](_0x0e30('0xa'),auth[_0x0e30('0x7')](),controller[_0x0e30('0xb')]);router[_0x0e30('0x9')]('/:id',auth[_0x0e30('0x7')](),controller[_0x0e30('0xc')]);router[_0x0e30('0xd')]('/',auth['isAuthenticated'](),controller[_0x0e30('0xe')]);router[_0x0e30('0xf')](_0x0e30('0x10'),auth['isAuthenticated'](),controller[_0x0e30('0x11')]);router[_0x0e30('0x12')](_0x0e30('0x10'),auth[_0x0e30('0x7')](),controller['destroy']);module['exports']=router;