Built motion from commit 753c950e.|2.5.42
[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 _0x675e=['delete','destroy','exports','multer','util','express','Router','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','show','post','put','/:id','update'];(function(_0x5eaf10,_0x43a574){var _0x268036=function(_0x2db04d){while(--_0x2db04d){_0x5eaf10['push'](_0x5eaf10['shift']());}};_0x268036(++_0x43a574);}(_0x675e,0xc1));var _0xe675=function(_0x243b59,_0x3f9495){_0x243b59=_0x243b59-0x0;var _0x3e1676=_0x675e[_0x243b59];return _0x3e1676;};'use strict';var multer=require(_0xe675('0x0'));var util=require(_0xe675('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xe675('0x2'));var router=express[_0xe675('0x3')]();var fs_extra=require(_0xe675('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xe675('0x5'));var config=require(_0xe675('0x6'));var controller=require('./voiceDialReport.controller');router[_0xe675('0x7')]('/',auth[_0xe675('0x8')](),controller[_0xe675('0x9')]);router[_0xe675('0x7')]('/describe',auth[_0xe675('0x8')](),controller[_0xe675('0xa')]);router[_0xe675('0x7')]('/:id',auth['isAuthenticated'](),controller[_0xe675('0xb')]);router[_0xe675('0xc')]('/',auth[_0xe675('0x8')](),controller['create']);router[_0xe675('0xd')](_0xe675('0xe'),auth[_0xe675('0x8')](),controller[_0xe675('0xf')]);router[_0xe675('0x10')]('/:id',auth[_0xe675('0x8')](),controller[_0xe675('0x11')]);module[_0xe675('0x12')]=router;