Built motion from commit d5e4af8c.|2.6.23
[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 _0xad34=['isAuthenticated','index','describe','/:id','post','create','update','delete','destroy','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get'];(function(_0xc86baf,_0x2ffba2){var _0xab4b1f=function(_0x27404e){while(--_0x27404e){_0xc86baf['push'](_0xc86baf['shift']());}};_0xab4b1f(++_0x2ffba2);}(_0xad34,0x75));var _0x4ad3=function(_0x5ac3b8,_0x259304){_0x5ac3b8=_0x5ac3b8-0x0;var _0x2ea98e=_0xad34[_0x5ac3b8];return _0x2ea98e;};'use strict';var multer=require(_0x4ad3('0x0'));var util=require(_0x4ad3('0x1'));var path=require('path');var timeout=require(_0x4ad3('0x2'));var express=require(_0x4ad3('0x3'));var router=express[_0x4ad3('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x4ad3('0x5'));var interaction=require(_0x4ad3('0x6'));var config=require(_0x4ad3('0x7'));var controller=require('./voiceDialReport.controller');router[_0x4ad3('0x8')]('/',auth[_0x4ad3('0x9')](),controller[_0x4ad3('0xa')]);router[_0x4ad3('0x8')]('/describe',auth[_0x4ad3('0x9')](),controller[_0x4ad3('0xb')]);router[_0x4ad3('0x8')](_0x4ad3('0xc'),auth[_0x4ad3('0x9')](),controller['show']);router[_0x4ad3('0xd')]('/',auth['isAuthenticated'](),controller[_0x4ad3('0xe')]);router['put'](_0x4ad3('0xc'),auth[_0x4ad3('0x9')](),controller[_0x4ad3('0xf')]);router[_0x4ad3('0x10')](_0x4ad3('0xc'),auth[_0x4ad3('0x9')](),controller[_0x4ad3('0x11')]);module['exports']=router;