ac067b9ddddc9b3e17a7a3c9c142a4a82c45c330
[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 _0xbde8=['post','create','put','/:id','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceDialReport.controller','isAuthenticated','index','get','/describe','describe','show'];(function(_0x429318,_0xa55fa0){var _0x175e37=function(_0x2529d8){while(--_0x2529d8){_0x429318['push'](_0x429318['shift']());}};_0x175e37(++_0xa55fa0);}(_0xbde8,0x117));var _0x8bde=function(_0x28578d,_0xcf5cf0){_0x28578d=_0x28578d-0x0;var _0x524826=_0xbde8[_0x28578d];return _0x524826;};'use strict';var multer=require(_0x8bde('0x0'));var util=require('util');var path=require(_0x8bde('0x1'));var timeout=require(_0x8bde('0x2'));var express=require(_0x8bde('0x3'));var router=express[_0x8bde('0x4')]();var auth=require(_0x8bde('0x5'));var interaction=require(_0x8bde('0x6'));var config=require(_0x8bde('0x7'));var controller=require(_0x8bde('0x8'));router['get']('/',auth[_0x8bde('0x9')](),controller[_0x8bde('0xa')]);router[_0x8bde('0xb')](_0x8bde('0xc'),auth[_0x8bde('0x9')](),controller[_0x8bde('0xd')]);router['get']('/:id',auth[_0x8bde('0x9')](),controller[_0x8bde('0xe')]);router[_0x8bde('0xf')]('/',auth[_0x8bde('0x9')](),controller[_0x8bde('0x10')]);router[_0x8bde('0x11')]('/:id',auth[_0x8bde('0x9')](),controller['update']);router['delete'](_0x8bde('0x12'),auth[_0x8bde('0x9')](),controller[_0x8bde('0x13')]);module[_0x8bde('0x14')]=router;