d01625f6994c795e7e718c1f4632836871a444ea
[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 _0xaced=['update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','describe','show','post','put'];(function(_0x2d611c,_0x1bedc1){var _0x498d84=function(_0x2286ea){while(--_0x2286ea){_0x2d611c['push'](_0x2d611c['shift']());}};_0x498d84(++_0x1bedc1);}(_0xaced,0xa4));var _0xdace=function(_0x225065,_0x37d3f0){_0x225065=_0x225065-0x0;var _0x14cbd9=_0xaced[_0x225065];return _0x14cbd9;};'use strict';var multer=require(_0xdace('0x0'));var util=require(_0xdace('0x1'));var path=require(_0xdace('0x2'));var timeout=require(_0xdace('0x3'));var express=require(_0xdace('0x4'));var router=express[_0xdace('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xdace('0x6'));var interaction=require(_0xdace('0x7'));var config=require(_0xdace('0x8'));var controller=require('./voiceDialReport.controller');router[_0xdace('0x9')]('/',auth[_0xdace('0xa')](),controller['index']);router['get'](_0xdace('0xb'),auth[_0xdace('0xa')](),controller[_0xdace('0xc')]);router[_0xdace('0x9')]('/:id',auth['isAuthenticated'](),controller[_0xdace('0xd')]);router[_0xdace('0xe')]('/',auth[_0xdace('0xa')](),controller['create']);router[_0xdace('0xf')]('/:id',auth['isAuthenticated'](),controller[_0xdace('0x10')]);router[_0xdace('0x11')]('/:id',auth['isAuthenticated'](),controller[_0xdace('0x12')]);module[_0xdace('0x13')]=router;