Built motion from commit 44377920.|2.6.11
[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 _0x3a61=['destroy','exports','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceDialReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','put','update','delete'];(function(_0x383dbb,_0x17d41b){var _0x6e8bde=function(_0x2740f1){while(--_0x2740f1){_0x383dbb['push'](_0x383dbb['shift']());}};_0x6e8bde(++_0x17d41b);}(_0x3a61,0xd4));var _0x13a6=function(_0x27c156,_0x14ce9b){_0x27c156=_0x27c156-0x0;var _0x4a94af=_0x3a61[_0x27c156];return _0x4a94af;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x13a6('0x0'));var express=require(_0x13a6('0x1'));var router=express[_0x13a6('0x2')]();var fs_extra=require(_0x13a6('0x3'));var auth=require(_0x13a6('0x4'));var interaction=require(_0x13a6('0x5'));var config=require(_0x13a6('0x6'));var controller=require(_0x13a6('0x7'));router[_0x13a6('0x8')]('/',auth[_0x13a6('0x9')](),controller[_0x13a6('0xa')]);router[_0x13a6('0x8')](_0x13a6('0xb'),auth[_0x13a6('0x9')](),controller[_0x13a6('0xc')]);router['get'](_0x13a6('0xd'),auth[_0x13a6('0x9')](),controller[_0x13a6('0xe')]);router[_0x13a6('0xf')]('/',auth[_0x13a6('0x9')](),controller['create']);router[_0x13a6('0x10')](_0x13a6('0xd'),auth['isAuthenticated'](),controller[_0x13a6('0x11')]);router[_0x13a6('0x12')](_0x13a6('0xd'),auth[_0x13a6('0x9')](),controller[_0x13a6('0x13')]);module[_0x13a6('0x14')]=router;