5684a3cd400b32fa9c76e95574f4d4689c7c8b48
[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 _0x9c13=['/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceDialReport.controller','isAuthenticated','index','describe','get'];(function(_0x133277,_0xb1d6b2){var _0x5b4a22=function(_0x484c26){while(--_0x484c26){_0x133277['push'](_0x133277['shift']());}};_0x5b4a22(++_0xb1d6b2);}(_0x9c13,0x127));var _0x39c1=function(_0x12ddb2,_0x5ad61e){_0x12ddb2=_0x12ddb2-0x0;var _0x10b6dd=_0x9c13[_0x12ddb2];return _0x10b6dd;};'use strict';var multer=require(_0x39c1('0x0'));var util=require(_0x39c1('0x1'));var path=require(_0x39c1('0x2'));var timeout=require(_0x39c1('0x3'));var express=require(_0x39c1('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x39c1('0x5'));var interaction=require(_0x39c1('0x6'));var config=require(_0x39c1('0x7'));var controller=require(_0x39c1('0x8'));router['get']('/',auth[_0x39c1('0x9')](),controller[_0x39c1('0xa')]);router['get']('/describe',auth[_0x39c1('0x9')](),controller[_0x39c1('0xb')]);router[_0x39c1('0xc')](_0x39c1('0xd'),auth[_0x39c1('0x9')](),controller[_0x39c1('0xe')]);router[_0x39c1('0xf')]('/',auth['isAuthenticated'](),controller[_0x39c1('0x10')]);router[_0x39c1('0x11')](_0x39c1('0xd'),auth[_0x39c1('0x9')](),controller[_0x39c1('0x12')]);router[_0x39c1('0x13')](_0x39c1('0xd'),auth['isAuthenticated'](),controller[_0x39c1('0x14')]);module[_0x39c1('0x15')]=router;