1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x5f64=['destroy','path','express','fs-extra','../../components/auth/service','../../config/environment','./voiceDialReport.controller','isAuthenticated','index','get','/describe','/:id','show','post'];(function(_0x476017,_0x198f41){var _0x5bed12=function(_0x317957){while(--_0x317957){_0x476017['push'](_0x476017['shift']());}};_0x5bed12(++_0x198f41);}(_0x5f64,0x1eb));var _0x45f6=function(_0x7ad6cb,_0xffee6c){_0x7ad6cb=_0x7ad6cb-0x0;var _0x22a0ba=_0x5f64[_0x7ad6cb];return _0x22a0ba;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x45f6('0x0'));var timeout=require('connect-timeout');var express=require(_0x45f6('0x1'));var router=express['Router']();var fs_extra=require(_0x45f6('0x2'));var auth=require(_0x45f6('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0x45f6('0x4'));var controller=require(_0x45f6('0x5'));router['get']('/',auth[_0x45f6('0x6')](),controller[_0x45f6('0x7')]);router[_0x45f6('0x8')](_0x45f6('0x9'),auth['isAuthenticated'](),controller['describe']);router[_0x45f6('0x8')](_0x45f6('0xa'),auth[_0x45f6('0x6')](),controller[_0x45f6('0xb')]);router[_0x45f6('0xc')]('/',auth[_0x45f6('0x6')](),controller['create']);router['put'](_0x45f6('0xa'),auth[_0x45f6('0x6')](),controller['update']);router['delete'](_0x45f6('0xa'),auth[_0x45f6('0x6')](),controller[_0x45f6('0xd')]);module['exports']=router;