Built motion from commit 85328c08.|2.5.50
[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 _0xa81e=['Router','../../components/auth/service','../../config/environment','get','isAuthenticated','show','post','create','put','/:id','update','delete','destroy','exports','util','path','express'];(function(_0x1701e9,_0x4d1112){var _0x4a0c77=function(_0x33c360){while(--_0x33c360){_0x1701e9['push'](_0x1701e9['shift']());}};_0x4a0c77(++_0x4d1112);}(_0xa81e,0x1a6));var _0xea81=function(_0x1caf6a,_0x26a5bf){_0x1caf6a=_0x1caf6a-0x0;var _0x1bf493=_0xa81e[_0x1caf6a];return _0x1bf493;};'use strict';var multer=require('multer');var util=require(_0xea81('0x0'));var path=require(_0xea81('0x1'));var timeout=require('connect-timeout');var express=require(_0xea81('0x2'));var router=express[_0xea81('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xea81('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xea81('0x5'));var controller=require('./voiceDialReport.controller');router[_0xea81('0x6')]('/',auth[_0xea81('0x7')](),controller['index']);router[_0xea81('0x6')]('/describe',auth['isAuthenticated'](),controller['describe']);router['get']('/:id',auth[_0xea81('0x7')](),controller[_0xea81('0x8')]);router[_0xea81('0x9')]('/',auth[_0xea81('0x7')](),controller[_0xea81('0xa')]);router[_0xea81('0xb')](_0xea81('0xc'),auth[_0xea81('0x7')](),controller[_0xea81('0xd')]);router[_0xea81('0xe')]('/:id',auth['isAuthenticated'](),controller[_0xea81('0xf')]);module[_0xea81('0x10')]=router;