Built motion from commit 936e8062.|2.5.33
[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 _0xbb6e=['update','delete','destroy','exports','multer','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','index','get','/describe','isAuthenticated','show','post','create','put','/:id'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0xbb6e,0x115));var _0xebb6=function(_0x1379e6,_0xf3faf){_0x1379e6=_0x1379e6-0x0;var _0x2909c0=_0xbb6e[_0x1379e6];return _0x2909c0;};'use strict';var multer=require(_0xebb6('0x0'));var util=require('util');var path=require(_0xebb6('0x1'));var timeout=require('connect-timeout');var express=require(_0xebb6('0x2'));var router=express[_0xebb6('0x3')]();var fs_extra=require(_0xebb6('0x4'));var auth=require(_0xebb6('0x5'));var interaction=require(_0xebb6('0x6'));var config=require(_0xebb6('0x7'));var controller=require('./voiceDialReport.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xebb6('0x8')]);router[_0xebb6('0x9')](_0xebb6('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0xebb6('0x9')]('/:id',auth[_0xebb6('0xb')](),controller[_0xebb6('0xc')]);router[_0xebb6('0xd')]('/',auth[_0xebb6('0xb')](),controller[_0xebb6('0xe')]);router[_0xebb6('0xf')](_0xebb6('0x10'),auth[_0xebb6('0xb')](),controller[_0xebb6('0x11')]);router[_0xebb6('0x12')](_0xebb6('0x10'),auth[_0xebb6('0xb')](),controller[_0xebb6('0x13')]);module[_0xebb6('0x14')]=router;