1bf697fe0b6013388e0668a48578af6d646ce717
[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 _0x354c=['put','update','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./voiceDialReport.controller','index','get','/describe','isAuthenticated','/:id','post','create'];(function(_0x35d84e,_0x42e818){var _0x285ec3=function(_0x47d17f){while(--_0x47d17f){_0x35d84e['push'](_0x35d84e['shift']());}};_0x285ec3(++_0x42e818);}(_0x354c,0x1e4));var _0xc354=function(_0x329655,_0x28bb8e){_0x329655=_0x329655-0x0;var _0x44b0ca=_0x354c[_0x329655];return _0x44b0ca;};'use strict';var multer=require(_0xc354('0x0'));var util=require(_0xc354('0x1'));var path=require(_0xc354('0x2'));var timeout=require(_0xc354('0x3'));var express=require('express');var router=express[_0xc354('0x4')]();var fs_extra=require(_0xc354('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xc354('0x6'));var config=require(_0xc354('0x7'));var controller=require(_0xc354('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xc354('0x9')]);router[_0xc354('0xa')](_0xc354('0xb'),auth[_0xc354('0xc')](),controller['describe']);router[_0xc354('0xa')](_0xc354('0xd'),auth['isAuthenticated'](),controller['show']);router[_0xc354('0xe')]('/',auth['isAuthenticated'](),controller[_0xc354('0xf')]);router[_0xc354('0x10')]('/:id',auth[_0xc354('0xc')](),controller[_0xc354('0x11')]);router['delete'](_0xc354('0xd'),auth['isAuthenticated'](),controller[_0xc354('0x12')]);module[_0xc354('0x13')]=router;