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