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 _0x0746=['show','post','create','delete','destroy','exports','util','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareReportDetail.controller','get','isAuthenticated','/describe','describe','/:id'];(function(_0x351a4b,_0xf3af6){var _0x38685b=function(_0x521203){while(--_0x521203){_0x351a4b['push'](_0x351a4b['shift']());}};_0x38685b(++_0xf3af6);}(_0x0746,0xcc));var _0x6074=function(_0x33711a,_0x3420c0){_0x33711a=_0x33711a-0x0;var _0xaf87a1=_0x0746[_0x33711a];return _0xaf87a1;};'use strict';var multer=require('multer');var util=require(_0x6074('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x6074('0x1')]();var fs_extra=require(_0x6074('0x2'));var auth=require(_0x6074('0x3'));var interaction=require(_0x6074('0x4'));var config=require(_0x6074('0x5'));var controller=require(_0x6074('0x6'));router[_0x6074('0x7')]('/',auth[_0x6074('0x8')](),controller['index']);router[_0x6074('0x7')](_0x6074('0x9'),auth[_0x6074('0x8')](),controller[_0x6074('0xa')]);router[_0x6074('0x7')](_0x6074('0xb'),auth[_0x6074('0x8')](),controller[_0x6074('0xc')]);router[_0x6074('0xd')]('/',auth[_0x6074('0x8')](),controller[_0x6074('0xe')]);router['put'](_0x6074('0xb'),auth[_0x6074('0x8')](),controller['update']);router[_0x6074('0xf')](_0x6074('0xb'),auth[_0x6074('0x8')](),controller[_0x6074('0x10')]);module[_0x6074('0x11')]=router;