82b9f713d585560713614adcaebdb2550252e0a7
[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 _0x92e9=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceDialReport.controller','get','isAuthenticated','/describe','describe','show','post','create','put','/:id','update','destroy','exports','multer','util','path','connect-timeout'];(function(_0x2468b5,_0x506b9e){var _0x1056e4=function(_0x26da1c){while(--_0x26da1c){_0x2468b5['push'](_0x2468b5['shift']());}};_0x1056e4(++_0x506b9e);}(_0x92e9,0x104));var _0x992e=function(_0x27227c,_0x44d5f9){_0x27227c=_0x27227c-0x0;var _0x52baab=_0x92e9[_0x27227c];return _0x52baab;};'use strict';var multer=require(_0x992e('0x0'));var util=require(_0x992e('0x1'));var path=require(_0x992e('0x2'));var timeout=require(_0x992e('0x3'));var express=require('express');var router=express[_0x992e('0x4')]();var fs_extra=require(_0x992e('0x5'));var auth=require(_0x992e('0x6'));var interaction=require(_0x992e('0x7'));var config=require(_0x992e('0x8'));var controller=require(_0x992e('0x9'));router[_0x992e('0xa')]('/',auth[_0x992e('0xb')](),controller['index']);router[_0x992e('0xa')](_0x992e('0xc'),auth['isAuthenticated'](),controller[_0x992e('0xd')]);router[_0x992e('0xa')]('/:id',auth[_0x992e('0xb')](),controller[_0x992e('0xe')]);router[_0x992e('0xf')]('/',auth['isAuthenticated'](),controller[_0x992e('0x10')]);router[_0x992e('0x11')](_0x992e('0x12'),auth[_0x992e('0xb')](),controller[_0x992e('0x13')]);router['delete'](_0x992e('0x12'),auth['isAuthenticated'](),controller[_0x992e('0x14')]);module[_0x992e('0x15')]=router;