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