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 _0x0bb2=['util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceDialReport.controller','get','isAuthenticated','index','/describe','describe','show','create','put','/:id','delete','destroy','exports','multer'];(function(_0x568a61,_0x2124f8){var _0x334c3b=function(_0x1afc39){while(--_0x1afc39){_0x568a61['push'](_0x568a61['shift']());}};_0x334c3b(++_0x2124f8);}(_0x0bb2,0x72));var _0x20bb=function(_0x5f1cda,_0x142aaf){_0x5f1cda=_0x5f1cda-0x0;var _0x1706aa=_0x0bb2[_0x5f1cda];return _0x1706aa;};'use strict';var multer=require(_0x20bb('0x0'));var util=require(_0x20bb('0x1'));var path=require(_0x20bb('0x2'));var timeout=require(_0x20bb('0x3'));var express=require(_0x20bb('0x4'));var router=express[_0x20bb('0x5')]();var fs_extra=require(_0x20bb('0x6'));var auth=require(_0x20bb('0x7'));var interaction=require(_0x20bb('0x8'));var config=require(_0x20bb('0x9'));var controller=require(_0x20bb('0xa'));router[_0x20bb('0xb')]('/',auth[_0x20bb('0xc')](),controller[_0x20bb('0xd')]);router['get'](_0x20bb('0xe'),auth[_0x20bb('0xc')](),controller[_0x20bb('0xf')]);router[_0x20bb('0xb')]('/:id',auth[_0x20bb('0xc')](),controller[_0x20bb('0x10')]);router['post']('/',auth['isAuthenticated'](),controller[_0x20bb('0x11')]);router[_0x20bb('0x12')](_0x20bb('0x13'),auth['isAuthenticated'](),controller['update']);router[_0x20bb('0x14')](_0x20bb('0x13'),auth[_0x20bb('0xc')](),controller[_0x20bb('0x15')]);module[_0x20bb('0x16')]=router;