7404d2f406e1bd81d016bc87f212b2c6d973f3c4
[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 _0xc071=['get','isAuthenticated','/describe','put','update','delete','/:id','destroy','exports','multer','util','path','Router','../../components/interaction/service','./voiceDialReport.controller'];(function(_0x4af3ed,_0x5dbddc){var _0x220c8b=function(_0x27506a){while(--_0x27506a){_0x4af3ed['push'](_0x4af3ed['shift']());}};_0x220c8b(++_0x5dbddc);}(_0xc071,0x162));var _0x1c07=function(_0x223461,_0x2bca70){_0x223461=_0x223461-0x0;var _0x4dbe0a=_0xc071[_0x223461];return _0x4dbe0a;};'use strict';var multer=require(_0x1c07('0x0'));var util=require(_0x1c07('0x1'));var path=require(_0x1c07('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x1c07('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x1c07('0x4'));var config=require('../../config/environment');var controller=require(_0x1c07('0x5'));router[_0x1c07('0x6')]('/',auth[_0x1c07('0x7')](),controller['index']);router[_0x1c07('0x6')](_0x1c07('0x8'),auth[_0x1c07('0x7')](),controller['describe']);router[_0x1c07('0x6')]('/:id',auth[_0x1c07('0x7')](),controller['show']);router['post']('/',auth[_0x1c07('0x7')](),controller['create']);router[_0x1c07('0x9')]('/:id',auth[_0x1c07('0x7')](),controller[_0x1c07('0xa')]);router[_0x1c07('0xb')](_0x1c07('0xc'),auth[_0x1c07('0x7')](),controller[_0x1c07('0xd')]);module[_0x1c07('0xe')]=router;