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 _0xedc4=['/:id/sessions','getSessions','/:id/answers','getAnswers','/:id/summary','30s','post','create','/:id/clone','clone','put','/:id','update','delete','destroy','exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./jscriptyProject.controller','get','isAuthenticated','show'];(function(_0x568a61,_0x2124f8){var _0x334c3b=function(_0x1afc39){while(--_0x1afc39){_0x568a61['push'](_0x568a61['shift']());}};_0x334c3b(++_0x2124f8);}(_0xedc4,0x16f));var _0x4edc=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0xedc4[_0x17d9e3];return _0x14192d;};'use strict';var multer=require('multer');var util=require(_0x4edc('0x0'));var path=require(_0x4edc('0x1'));var timeout=require('connect-timeout');var express=require(_0x4edc('0x2'));var router=express[_0x4edc('0x3')]();var fs_extra=require(_0x4edc('0x4'));var auth=require(_0x4edc('0x5'));var interaction=require(_0x4edc('0x6'));var config=require('../../config/environment');var controller=require(_0x4edc('0x7'));router[_0x4edc('0x8')]('/',auth[_0x4edc('0x9')](),controller['index']);router[_0x4edc('0x8')]('/:id',auth[_0x4edc('0x9')](),controller[_0x4edc('0xa')]);router[_0x4edc('0x8')](_0x4edc('0xb'),auth[_0x4edc('0x9')](),controller[_0x4edc('0xc')]);router[_0x4edc('0x8')](_0x4edc('0xd'),auth[_0x4edc('0x9')](),controller[_0x4edc('0xe')]);router[_0x4edc('0x8')](_0x4edc('0xf'),auth[_0x4edc('0x9')](),timeout(_0x4edc('0x10')),controller['getSummary']);router[_0x4edc('0x11')]('/',auth[_0x4edc('0x9')](),controller[_0x4edc('0x12')]);router[_0x4edc('0x11')](_0x4edc('0x13'),auth['isAuthenticated'](),controller[_0x4edc('0x14')]);router[_0x4edc('0x15')](_0x4edc('0x16'),auth[_0x4edc('0x9')](),controller[_0x4edc('0x17')]);router[_0x4edc('0x18')](_0x4edc('0x16'),auth[_0x4edc('0x9')](),controller[_0x4edc('0x19')]);module[_0x4edc('0x1a')]=router;