Built motion from commit b5413ace.|2.6.9
[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 _0x9bb4=['delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./voiceDialReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','create'];(function(_0x38eb67,_0x48661f){var _0x4e477e=function(_0x15f0e5){while(--_0x15f0e5){_0x38eb67['push'](_0x38eb67['shift']());}};_0x4e477e(++_0x48661f);}(_0x9bb4,0xd5));var _0x49bb=function(_0x1e63a7,_0x230573){_0x1e63a7=_0x1e63a7-0x0;var _0x3f6bdd=_0x9bb4[_0x1e63a7];return _0x3f6bdd;};'use strict';var multer=require(_0x49bb('0x0'));var util=require(_0x49bb('0x1'));var path=require(_0x49bb('0x2'));var timeout=require(_0x49bb('0x3'));var express=require(_0x49bb('0x4'));var router=express[_0x49bb('0x5')]();var fs_extra=require(_0x49bb('0x6'));var auth=require(_0x49bb('0x7'));var interaction=require(_0x49bb('0x8'));var config=require('../../config/environment');var controller=require(_0x49bb('0x9'));router[_0x49bb('0xa')]('/',auth[_0x49bb('0xb')](),controller[_0x49bb('0xc')]);router['get'](_0x49bb('0xd'),auth[_0x49bb('0xb')](),controller[_0x49bb('0xe')]);router[_0x49bb('0xa')](_0x49bb('0xf'),auth['isAuthenticated'](),controller[_0x49bb('0x10')]);router['post']('/',auth[_0x49bb('0xb')](),controller[_0x49bb('0x11')]);router['put'](_0x49bb('0xf'),auth['isAuthenticated'](),controller['update']);router[_0x49bb('0x12')]('/:id',auth[_0x49bb('0xb')](),controller[_0x49bb('0x13')]);module[_0x49bb('0x14')]=router;