Built motion from commit (unavailable).|2.5.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 _0xc874=['multer','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','./voiceDialReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','post','create','put','update','destroy','exports'];(function(_0x177a20,_0x7a2106){var _0x1ab848=function(_0x50ef41){while(--_0x50ef41){_0x177a20['push'](_0x177a20['shift']());}};_0x1ab848(++_0x7a2106);}(_0xc874,0x154));var _0x4c87=function(_0x4e1a49,_0x4da738){_0x4e1a49=_0x4e1a49-0x0;var _0x136aae=_0xc874[_0x4e1a49];return _0x136aae;};'use strict';var multer=require(_0x4c87('0x0'));var util=require('util');var path=require(_0x4c87('0x1'));var timeout=require(_0x4c87('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x4c87('0x3'));var auth=require(_0x4c87('0x4'));var interaction=require(_0x4c87('0x5'));var config=require('../../config/environment');var controller=require(_0x4c87('0x6'));router[_0x4c87('0x7')]('/',auth['isAuthenticated'](),controller[_0x4c87('0x8')]);router[_0x4c87('0x7')](_0x4c87('0x9'),auth[_0x4c87('0xa')](),controller[_0x4c87('0xb')]);router['get'](_0x4c87('0xc'),auth['isAuthenticated'](),controller[_0x4c87('0xd')]);router[_0x4c87('0xe')]('/',auth[_0x4c87('0xa')](),controller[_0x4c87('0xf')]);router[_0x4c87('0x10')]('/:id',auth[_0x4c87('0xa')](),controller[_0x4c87('0x11')]);router['delete'](_0x4c87('0xc'),auth[_0x4c87('0xa')](),controller[_0x4c87('0x12')]);module[_0x4c87('0x13')]=router;