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