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 _0xf985=['/:id','show','/:id/preview','preview','/:id/run','run','/:id/query','query','post','create','put','update','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./analyticDefaultReport.controller','get','isAuthenticated','index'];(function(_0x5c832a,_0x557d78){var _0x30c4c9=function(_0x50f481){while(--_0x50f481){_0x5c832a['push'](_0x5c832a['shift']());}};_0x30c4c9(++_0x557d78);}(_0xf985,0x107));var _0x5f98=function(_0x2ee77d,_0x46871f){_0x2ee77d=_0x2ee77d-0x0;var _0x161346=_0xf985[_0x2ee77d];return _0x161346;};'use strict';var multer=require(_0x5f98('0x0'));var util=require(_0x5f98('0x1'));var path=require(_0x5f98('0x2'));var timeout=require('connect-timeout');var express=require(_0x5f98('0x3'));var router=express[_0x5f98('0x4')]();var auth=require(_0x5f98('0x5'));var interaction=require(_0x5f98('0x6'));var config=require(_0x5f98('0x7'));var controller=require(_0x5f98('0x8'));router[_0x5f98('0x9')]('/',auth[_0x5f98('0xa')](),controller[_0x5f98('0xb')]);router[_0x5f98('0x9')](_0x5f98('0xc'),auth[_0x5f98('0xa')](),controller[_0x5f98('0xd')]);router['get'](_0x5f98('0xe'),auth[_0x5f98('0xa')](),controller[_0x5f98('0xf')]);router['get'](_0x5f98('0x10'),auth[_0x5f98('0xa')](),controller[_0x5f98('0x11')]);router['get'](_0x5f98('0x12'),auth[_0x5f98('0xa')](),controller[_0x5f98('0x13')]);router[_0x5f98('0x14')]('/',auth[_0x5f98('0xa')](),controller[_0x5f98('0x15')]);router[_0x5f98('0x16')](_0x5f98('0xc'),auth[_0x5f98('0xa')](),controller[_0x5f98('0x17')]);router['delete'](_0x5f98('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0x5f98('0x18')]=router;