Built motion from commit c116dc8b.|2.6.30
[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 _0xe1b6=['put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../config/environment','./voiceDialReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create'];(function(_0x38b100,_0x177901){var _0x2bece2=function(_0x39b7d3){while(--_0x39b7d3){_0x38b100['push'](_0x38b100['shift']());}};_0x2bece2(++_0x177901);}(_0xe1b6,0x14f));var _0x6e1b=function(_0x55c4a3,_0x31e015){_0x55c4a3=_0x55c4a3-0x0;var _0xedb4a3=_0xe1b6[_0x55c4a3];return _0xedb4a3;};'use strict';var multer=require(_0x6e1b('0x0'));var util=require('util');var path=require(_0x6e1b('0x1'));var timeout=require(_0x6e1b('0x2'));var express=require(_0x6e1b('0x3'));var router=express[_0x6e1b('0x4')]();var fs_extra=require(_0x6e1b('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x6e1b('0x6'));var controller=require(_0x6e1b('0x7'));router[_0x6e1b('0x8')]('/',auth[_0x6e1b('0x9')](),controller[_0x6e1b('0xa')]);router['get'](_0x6e1b('0xb'),auth[_0x6e1b('0x9')](),controller[_0x6e1b('0xc')]);router[_0x6e1b('0x8')](_0x6e1b('0xd'),auth[_0x6e1b('0x9')](),controller[_0x6e1b('0xe')]);router[_0x6e1b('0xf')]('/',auth[_0x6e1b('0x9')](),controller[_0x6e1b('0x10')]);router[_0x6e1b('0x11')]('/:id',auth[_0x6e1b('0x9')](),controller[_0x6e1b('0x12')]);router[_0x6e1b('0x13')](_0x6e1b('0xd'),auth[_0x6e1b('0x9')](),controller[_0x6e1b('0x14')]);module[_0x6e1b('0x15')]=router;