Built motion from commit (unavailable).|2.0.80
[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 _0x706b=['put','/:id','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','/describe','describe','post'];(function(_0x56640a,_0x2e7041){var _0x1a18c9=function(_0x56c0f5){while(--_0x56c0f5){_0x56640a['push'](_0x56640a['shift']());}};_0x1a18c9(++_0x2e7041);}(_0x706b,0x84));var _0xb706=function(_0x28920e,_0x5c444c){_0x28920e=_0x28920e-0x0;var _0x24db93=_0x706b[_0x28920e];return _0x24db93;};'use strict';var multer=require(_0xb706('0x0'));var util=require('util');var path=require(_0xb706('0x1'));var timeout=require(_0xb706('0x2'));var express=require(_0xb706('0x3'));var router=express[_0xb706('0x4')]();var auth=require(_0xb706('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xb706('0x6'));var controller=require('./voiceDialReport.controller');router[_0xb706('0x7')]('/',auth[_0xb706('0x8')](),controller['index']);router[_0xb706('0x7')](_0xb706('0x9'),auth[_0xb706('0x8')](),controller[_0xb706('0xa')]);router['get']('/:id',auth[_0xb706('0x8')](),controller['show']);router[_0xb706('0xb')]('/',auth[_0xb706('0x8')](),controller['create']);router[_0xb706('0xc')](_0xb706('0xd'),auth[_0xb706('0x8')](),controller[_0xb706('0xe')]);router[_0xb706('0xf')](_0xb706('0xd'),auth['isAuthenticated'](),controller[_0xb706('0x10')]);module[_0xb706('0x11')]=router;