Built motion from commit da617fac.|2.6.6
[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 _0xc86c=['isAuthenticated','describe','get','/:id','post','put','update','exports','multer','util','express','Router','fs-extra','../../components/auth/service','./voiceDialReport.controller','index'];(function(_0x1b7fb0,_0x402878){var _0x39813a=function(_0xa7d0dd){while(--_0xa7d0dd){_0x1b7fb0['push'](_0x1b7fb0['shift']());}};_0x39813a(++_0x402878);}(_0xc86c,0x138));var _0xcc86=function(_0x145c6e,_0x3de6e4){_0x145c6e=_0x145c6e-0x0;var _0x493d47=_0xc86c[_0x145c6e];return _0x493d47;};'use strict';var multer=require(_0xcc86('0x0'));var util=require(_0xcc86('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xcc86('0x2'));var router=express[_0xcc86('0x3')]();var fs_extra=require(_0xcc86('0x4'));var auth=require(_0xcc86('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xcc86('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0xcc86('0x7')]);router['get']('/describe',auth[_0xcc86('0x8')](),controller[_0xcc86('0x9')]);router[_0xcc86('0xa')](_0xcc86('0xb'),auth['isAuthenticated'](),controller['show']);router[_0xcc86('0xc')]('/',auth[_0xcc86('0x8')](),controller['create']);router[_0xcc86('0xd')]('/:id',auth[_0xcc86('0x8')](),controller[_0xcc86('0xe')]);router['delete'](_0xcc86('0xb'),auth[_0xcc86('0x8')](),controller['destroy']);module[_0xcc86('0xf')]=router;