Built motion from commit (unavailable).|2.4.20
[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 _0x1c3b=['/describe','isAuthenticated','show','create','update','destroy','exports','multer','Router','../../components/auth/service','./voiceDialReport.controller','get','index'];(function(_0x272d8a,_0x45184b){var _0x26286e=function(_0x93beaa){while(--_0x93beaa){_0x272d8a['push'](_0x272d8a['shift']());}};_0x26286e(++_0x45184b);}(_0x1c3b,0x132));var _0xb1c3=function(_0xcec533,_0x58c283){_0xcec533=_0xcec533-0x0;var _0x2ede70=_0x1c3b[_0xcec533];return _0x2ede70;};'use strict';var multer=require(_0xb1c3('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xb1c3('0x1')]();var auth=require(_0xb1c3('0x2'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xb1c3('0x3'));router[_0xb1c3('0x4')]('/',auth['isAuthenticated'](),controller[_0xb1c3('0x5')]);router['get'](_0xb1c3('0x6'),auth['isAuthenticated'](),controller['describe']);router[_0xb1c3('0x4')]('/:id',auth[_0xb1c3('0x7')](),controller[_0xb1c3('0x8')]);router['post']('/',auth[_0xb1c3('0x7')](),controller[_0xb1c3('0x9')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xb1c3('0xa')]);router['delete']('/:id',auth[_0xb1c3('0x7')](),controller[_0xb1c3('0xb')]);module[_0xb1c3('0xc')]=router;