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 _0x1e0c=['../../components/interaction/service','./jscriptyAnswerReport.controller','get','index','/describe','isAuthenticated','describe','/:id','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x1e0c,0x113));var _0xc1e0=function(_0x1f097d,_0x511f64){_0x1f097d=_0x1f097d-0x0;var _0x5e2cf9=_0x1e0c[_0x1f097d];return _0x5e2cf9;};'use strict';var multer=require(_0xc1e0('0x0'));var util=require(_0xc1e0('0x1'));var path=require(_0xc1e0('0x2'));var timeout=require(_0xc1e0('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0xc1e0('0x4'));var interaction=require(_0xc1e0('0x5'));var config=require('../../config/environment');var controller=require(_0xc1e0('0x6'));router[_0xc1e0('0x7')]('/',auth['isAuthenticated'](),controller[_0xc1e0('0x8')]);router[_0xc1e0('0x7')](_0xc1e0('0x9'),auth[_0xc1e0('0xa')](),controller[_0xc1e0('0xb')]);router[_0xc1e0('0x7')](_0xc1e0('0xc'),auth[_0xc1e0('0xa')](),controller['show']);router[_0xc1e0('0xd')]('/',auth[_0xc1e0('0xa')](),controller[_0xc1e0('0xe')]);router[_0xc1e0('0xf')](_0xc1e0('0xc'),auth[_0xc1e0('0xa')](),controller[_0xc1e0('0x10')]);router[_0xc1e0('0x11')]('/:id',auth[_0xc1e0('0xa')](),controller[_0xc1e0('0x12')]);module[_0xc1e0('0x13')]=router;