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 _0xc2d4=['./jscriptyAnswerReport.controller','get','isAuthenticated','index','/describe','describe','post','create','put','/:id','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x427563,_0x120178){var _0x21c87a=function(_0x14a0b6){while(--_0x14a0b6){_0x427563['push'](_0x427563['shift']());}};_0x21c87a(++_0x120178);}(_0xc2d4,0xdf));var _0x4c2d=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xc2d4[_0x321bb2];return _0x9c12ed;};'use strict';var multer=require('multer');var util=require(_0x4c2d('0x0'));var path=require(_0x4c2d('0x1'));var timeout=require(_0x4c2d('0x2'));var express=require(_0x4c2d('0x3'));var router=express[_0x4c2d('0x4')]();var auth=require(_0x4c2d('0x5'));var interaction=require(_0x4c2d('0x6'));var config=require(_0x4c2d('0x7'));var controller=require(_0x4c2d('0x8'));router[_0x4c2d('0x9')]('/',auth[_0x4c2d('0xa')](),controller[_0x4c2d('0xb')]);router[_0x4c2d('0x9')](_0x4c2d('0xc'),auth[_0x4c2d('0xa')](),controller[_0x4c2d('0xd')]);router[_0x4c2d('0x9')]('/:id',auth[_0x4c2d('0xa')](),controller['show']);router[_0x4c2d('0xe')]('/',auth[_0x4c2d('0xa')](),controller[_0x4c2d('0xf')]);router[_0x4c2d('0x10')](_0x4c2d('0x11'),auth[_0x4c2d('0xa')](),controller['update']);router[_0x4c2d('0x12')](_0x4c2d('0x11'),auth[_0x4c2d('0xa')](),controller[_0x4c2d('0x13')]);module[_0x4c2d('0x14')]=router;