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 _0x67eb=['./voiceDialReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','update','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x392212,_0xaecbe3){var _0x5ab162=function(_0x16c0c4){while(--_0x16c0c4){_0x392212['push'](_0x392212['shift']());}};_0x5ab162(++_0xaecbe3);}(_0x67eb,0x15b));var _0xb67e=function(_0x192cdd,_0x542e38){_0x192cdd=_0x192cdd-0x0;var _0x581f30=_0x67eb[_0x192cdd];return _0x581f30;};'use strict';var multer=require(_0xb67e('0x0'));var util=require(_0xb67e('0x1'));var path=require(_0xb67e('0x2'));var timeout=require(_0xb67e('0x3'));var express=require(_0xb67e('0x4'));var router=express[_0xb67e('0x5')]();var fs_extra=require(_0xb67e('0x6'));var auth=require(_0xb67e('0x7'));var interaction=require(_0xb67e('0x8'));var config=require(_0xb67e('0x9'));var controller=require(_0xb67e('0xa'));router[_0xb67e('0xb')]('/',auth[_0xb67e('0xc')](),controller[_0xb67e('0xd')]);router['get'](_0xb67e('0xe'),auth['isAuthenticated'](),controller[_0xb67e('0xf')]);router[_0xb67e('0xb')](_0xb67e('0x10'),auth[_0xb67e('0xc')](),controller[_0xb67e('0x11')]);router['post']('/',auth[_0xb67e('0xc')](),controller['create']);router['put'](_0xb67e('0x10'),auth['isAuthenticated'](),controller[_0xb67e('0x12')]);router[_0xb67e('0x13')](_0xb67e('0x10'),auth['isAuthenticated'](),controller['destroy']);module[_0xb67e('0x14')]=router;