Built motion from commit (unavailable).|2.5.10
[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 _0x7b76=['show','post','create','update','delete','destroy','util','connect-timeout','../../components/auth/service','../../config/environment','./voiceDialReport.controller','get','isAuthenticated','index','describe','/:id'];(function(_0x31865e,_0x442940){var _0x3ab98d=function(_0x1fad2f){while(--_0x1fad2f){_0x31865e['push'](_0x31865e['shift']());}};_0x3ab98d(++_0x442940);}(_0x7b76,0x1a6));var _0x67b7=function(_0x1c643a,_0x37b521){_0x1c643a=_0x1c643a-0x0;var _0x3b9d8f=_0x7b76[_0x1c643a];return _0x3b9d8f;};'use strict';var multer=require('multer');var util=require(_0x67b7('0x0'));var path=require('path');var timeout=require(_0x67b7('0x1'));var express=require('express');var router=express['Router']();var auth=require(_0x67b7('0x2'));var interaction=require('../../components/interaction/service');var config=require(_0x67b7('0x3'));var controller=require(_0x67b7('0x4'));router[_0x67b7('0x5')]('/',auth[_0x67b7('0x6')](),controller[_0x67b7('0x7')]);router[_0x67b7('0x5')]('/describe',auth[_0x67b7('0x6')](),controller[_0x67b7('0x8')]);router[_0x67b7('0x5')](_0x67b7('0x9'),auth['isAuthenticated'](),controller[_0x67b7('0xa')]);router[_0x67b7('0xb')]('/',auth['isAuthenticated'](),controller[_0x67b7('0xc')]);router['put'](_0x67b7('0x9'),auth[_0x67b7('0x6')](),controller[_0x67b7('0xd')]);router[_0x67b7('0xe')]('/:id',auth[_0x67b7('0x6')](),controller[_0x67b7('0xf')]);module['exports']=router;