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 _0x46ec=['update','delete','destroy','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./jscriptyAnswerReport.controller','index','get','describe','/:id','isAuthenticated','post','create'];(function(_0x21aec3,_0x5c97e9){var _0x288bbc=function(_0x2283fe){while(--_0x2283fe){_0x21aec3['push'](_0x21aec3['shift']());}};_0x288bbc(++_0x5c97e9);}(_0x46ec,0xbe));var _0xc46e=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0x46ec[_0x14add3];return _0x4a174f;};'use strict';var multer=require('multer');var util=require(_0xc46e('0x0'));var path=require(_0xc46e('0x1'));var timeout=require(_0xc46e('0x2'));var express=require(_0xc46e('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xc46e('0x4'));var interaction=require(_0xc46e('0x5'));var config=require('../../config/environment');var controller=require(_0xc46e('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0xc46e('0x7')]);router[_0xc46e('0x8')]('/describe',auth['isAuthenticated'](),controller[_0xc46e('0x9')]);router[_0xc46e('0x8')](_0xc46e('0xa'),auth[_0xc46e('0xb')](),controller['show']);router[_0xc46e('0xc')]('/',auth[_0xc46e('0xb')](),controller[_0xc46e('0xd')]);router['put'](_0xc46e('0xa'),auth['isAuthenticated'](),controller[_0xc46e('0xe')]);router[_0xc46e('0xf')](_0xc46e('0xa'),auth[_0xc46e('0xb')](),controller[_0xc46e('0x10')]);module['exports']=router;