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 _0x38a8=['describe','/:id','show','post','create','delete','destroy','exports','util','path','connect-timeout','fs-extra','../../components/auth/service','get','/describe','isAuthenticated'];(function(_0x2f50c5,_0x54a1e5){var _0x241db5=function(_0x57dbdd){while(--_0x57dbdd){_0x2f50c5['push'](_0x2f50c5['shift']());}};_0x241db5(++_0x54a1e5);}(_0x38a8,0x108));var _0x838a=function(_0x3bc82d,_0x59187f){_0x3bc82d=_0x3bc82d-0x0;var _0x2cfb3d=_0x38a8[_0x3bc82d];return _0x2cfb3d;};'use strict';var multer=require('multer');var util=require(_0x838a('0x0'));var path=require(_0x838a('0x1'));var timeout=require(_0x838a('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x838a('0x3'));var auth=require(_0x838a('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./squareReportDetail.controller');router[_0x838a('0x5')]('/',auth['isAuthenticated'](),controller['index']);router[_0x838a('0x5')](_0x838a('0x6'),auth[_0x838a('0x7')](),controller[_0x838a('0x8')]);router['get'](_0x838a('0x9'),auth[_0x838a('0x7')](),controller[_0x838a('0xa')]);router[_0x838a('0xb')]('/',auth['isAuthenticated'](),controller[_0x838a('0xc')]);router['put'](_0x838a('0x9'),auth['isAuthenticated'](),controller['update']);router[_0x838a('0xd')](_0x838a('0x9'),auth[_0x838a('0x7')](),controller[_0x838a('0xe')]);module[_0x838a('0xf')]=router;