f1c6a577dba49651c299e67d48bf34ae8a651f57
[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 _0x02ba=['create','put','destroy','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./voiceDialReport.controller','get','isAuthenticated','index','/describe','describe','/:id','post'];(function(_0x75c3eb,_0x271b5a){var _0x6e6585=function(_0x3d48f5){while(--_0x3d48f5){_0x75c3eb['push'](_0x75c3eb['shift']());}};_0x6e6585(++_0x271b5a);}(_0x02ba,0xaf));var _0xa02b=function(_0x594f87,_0x108bbb){_0x594f87=_0x594f87-0x0;var _0x58bb0f=_0x02ba[_0x594f87];return _0x58bb0f;};'use strict';var multer=require(_0xa02b('0x0'));var util=require(_0xa02b('0x1'));var path=require('path');var timeout=require(_0xa02b('0x2'));var express=require(_0xa02b('0x3'));var router=express[_0xa02b('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xa02b('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xa02b('0x6'));var controller=require(_0xa02b('0x7'));router[_0xa02b('0x8')]('/',auth[_0xa02b('0x9')](),controller[_0xa02b('0xa')]);router['get'](_0xa02b('0xb'),auth['isAuthenticated'](),controller[_0xa02b('0xc')]);router[_0xa02b('0x8')](_0xa02b('0xd'),auth['isAuthenticated'](),controller['show']);router[_0xa02b('0xe')]('/',auth[_0xa02b('0x9')](),controller[_0xa02b('0xf')]);router[_0xa02b('0x10')](_0xa02b('0xd'),auth[_0xa02b('0x9')](),controller['update']);router['delete'](_0xa02b('0xd'),auth['isAuthenticated'](),controller[_0xa02b('0x11')]);module[_0xa02b('0x12')]=router;