Built motion from commit 9d0783e6.|2.6.13
[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 _0x884b=['post','create','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./voiceDialReport.controller','get','isAuthenticated','index','/describe','/:id','show'];(function(_0x364265,_0x56e556){var _0x30536d=function(_0x7044df){while(--_0x7044df){_0x364265['push'](_0x364265['shift']());}};_0x30536d(++_0x56e556);}(_0x884b,0x99));var _0xb884=function(_0x2eec1f,_0x1b9987){_0x2eec1f=_0x2eec1f-0x0;var _0x543075=_0x884b[_0x2eec1f];return _0x543075;};'use strict';var multer=require(_0xb884('0x0'));var util=require(_0xb884('0x1'));var path=require(_0xb884('0x2'));var timeout=require(_0xb884('0x3'));var express=require(_0xb884('0x4'));var router=express[_0xb884('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xb884('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xb884('0x7'));var controller=require(_0xb884('0x8'));router[_0xb884('0x9')]('/',auth[_0xb884('0xa')](),controller[_0xb884('0xb')]);router['get'](_0xb884('0xc'),auth['isAuthenticated'](),controller['describe']);router['get'](_0xb884('0xd'),auth[_0xb884('0xa')](),controller[_0xb884('0xe')]);router[_0xb884('0xf')]('/',auth['isAuthenticated'](),controller[_0xb884('0x10')]);router[_0xb884('0x11')](_0xb884('0xd'),auth['isAuthenticated'](),controller[_0xb884('0x12')]);router[_0xb884('0x13')](_0xb884('0xd'),auth[_0xb884('0xa')](),controller['destroy']);module[_0xb884('0x14')]=router;