Built motion from commit 449495f6.|2.6.27
[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 _0x67b3=['/:id','post','create','put','update','delete','destroy','exports','multer','fs-extra','../../components/interaction/service','./voiceDialReport.controller','get','index','isAuthenticated','describe'];(function(_0x3aeb36,_0x312dc9){var _0xa2ef21=function(_0x50a46b){while(--_0x50a46b){_0x3aeb36['push'](_0x3aeb36['shift']());}};_0xa2ef21(++_0x312dc9);}(_0x67b3,0x98));var _0x367b=function(_0x209fcd,_0x1ecccc){_0x209fcd=_0x209fcd-0x0;var _0x501d5e=_0x67b3[_0x209fcd];return _0x501d5e;};'use strict';var multer=require(_0x367b('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0x367b('0x1'));var auth=require('../../components/auth/service');var interaction=require(_0x367b('0x2'));var config=require('../../config/environment');var controller=require(_0x367b('0x3'));router[_0x367b('0x4')]('/',auth['isAuthenticated'](),controller[_0x367b('0x5')]);router[_0x367b('0x4')]('/describe',auth[_0x367b('0x6')](),controller[_0x367b('0x7')]);router[_0x367b('0x4')](_0x367b('0x8'),auth[_0x367b('0x6')](),controller['show']);router[_0x367b('0x9')]('/',auth[_0x367b('0x6')](),controller[_0x367b('0xa')]);router[_0x367b('0xb')]('/:id',auth[_0x367b('0x6')](),controller[_0x367b('0xc')]);router[_0x367b('0xd')](_0x367b('0x8'),auth[_0x367b('0x6')](),controller[_0x367b('0xe')]);module[_0x367b('0xf')]=router;