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 _0x319c=['update','delete','destroy','exports','multer','util','connect-timeout','Router','../../config/environment','get','/describe','isAuthenticated','/:id','show','create','put'];(function(_0x506ff5,_0x16d10f){var _0x2bd51b=function(_0x1a7f2b){while(--_0x1a7f2b){_0x506ff5['push'](_0x506ff5['shift']());}};_0x2bd51b(++_0x16d10f);}(_0x319c,0x164));var _0xc319=function(_0x2be8c2,_0x14a4b5){_0x2be8c2=_0x2be8c2-0x0;var _0x97f531=_0x319c[_0x2be8c2];return _0x97f531;};'use strict';var multer=require(_0xc319('0x0'));var util=require(_0xc319('0x1'));var path=require('path');var timeout=require(_0xc319('0x2'));var express=require('express');var router=express[_0xc319('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xc319('0x4'));var controller=require('./jscriptyQuestionReport.controller');router[_0xc319('0x5')]('/',auth['isAuthenticated'](),controller['index']);router[_0xc319('0x5')](_0xc319('0x6'),auth[_0xc319('0x7')](),controller['describe']);router[_0xc319('0x5')](_0xc319('0x8'),auth[_0xc319('0x7')](),controller[_0xc319('0x9')]);router['post']('/',auth[_0xc319('0x7')](),controller[_0xc319('0xa')]);router[_0xc319('0xb')](_0xc319('0x8'),auth['isAuthenticated'](),controller[_0xc319('0xc')]);router[_0xc319('0xd')](_0xc319('0x8'),auth['isAuthenticated'](),controller[_0xc319('0xe')]);module[_0xc319('0xf')]=router;