4cfac66372e57a97c36840c75583bbf63abd7772
[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 _0x02e7=['put','update','delete','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceDialReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create'];(function(_0x2f4434,_0x3070ae){var _0x47ee84=function(_0x28f967){while(--_0x28f967){_0x2f4434['push'](_0x2f4434['shift']());}};_0x47ee84(++_0x3070ae);}(_0x02e7,0x146));var _0x702e=function(_0xa68724,_0x2305eb){_0xa68724=_0xa68724-0x0;var _0x16f17e=_0x02e7[_0xa68724];return _0x16f17e;};'use strict';var multer=require(_0x702e('0x0'));var util=require('util');var path=require(_0x702e('0x1'));var timeout=require(_0x702e('0x2'));var express=require(_0x702e('0x3'));var router=express[_0x702e('0x4')]();var fs_extra=require(_0x702e('0x5'));var auth=require(_0x702e('0x6'));var interaction=require(_0x702e('0x7'));var config=require(_0x702e('0x8'));var controller=require(_0x702e('0x9'));router[_0x702e('0xa')]('/',auth[_0x702e('0xb')](),controller[_0x702e('0xc')]);router[_0x702e('0xa')](_0x702e('0xd'),auth[_0x702e('0xb')](),controller[_0x702e('0xe')]);router[_0x702e('0xa')](_0x702e('0xf'),auth[_0x702e('0xb')](),controller[_0x702e('0x10')]);router[_0x702e('0x11')]('/',auth[_0x702e('0xb')](),controller[_0x702e('0x12')]);router[_0x702e('0x13')](_0x702e('0xf'),auth['isAuthenticated'](),controller[_0x702e('0x14')]);router[_0x702e('0x15')](_0x702e('0xf'),auth['isAuthenticated'](),controller['destroy']);module[_0x702e('0x16')]=router;