Built motion from commit 43538d75.|2.5.35
[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 _0xe5af=['util','path','Router','../../components/interaction/service','../../config/environment','./voiceDialReport.controller','get','isAuthenticated','index','describe','post','create','put','/:id','delete','destroy','exports'];(function(_0x510ab3,_0x51e30f){var _0x552438=function(_0xcae78d){while(--_0xcae78d){_0x510ab3['push'](_0x510ab3['shift']());}};_0x552438(++_0x51e30f);}(_0xe5af,0xff));var _0xfe5a=function(_0x312130,_0x569442){_0x312130=_0x312130-0x0;var _0x52a146=_0xe5af[_0x312130];return _0x52a146;};'use strict';var multer=require('multer');var util=require(_0xfe5a('0x0'));var path=require(_0xfe5a('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xfe5a('0x2')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xfe5a('0x3'));var config=require(_0xfe5a('0x4'));var controller=require(_0xfe5a('0x5'));router[_0xfe5a('0x6')]('/',auth[_0xfe5a('0x7')](),controller[_0xfe5a('0x8')]);router[_0xfe5a('0x6')]('/describe',auth[_0xfe5a('0x7')](),controller[_0xfe5a('0x9')]);router[_0xfe5a('0x6')]('/:id',auth[_0xfe5a('0x7')](),controller['show']);router[_0xfe5a('0xa')]('/',auth[_0xfe5a('0x7')](),controller[_0xfe5a('0xb')]);router[_0xfe5a('0xc')](_0xfe5a('0xd'),auth[_0xfe5a('0x7')](),controller['update']);router[_0xfe5a('0xe')](_0xfe5a('0xd'),auth[_0xfe5a('0x7')](),controller[_0xfe5a('0xf')]);module[_0xfe5a('0x10')]=router;