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 _0xe53f=['create','put','update','delete','destroy','exports','multer','util','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareReportDetail.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post'];(function(_0x22463e,_0x21cb73){var _0xe55d5d=function(_0xf05cac){while(--_0xf05cac){_0x22463e['push'](_0x22463e['shift']());}};_0xe55d5d(++_0x21cb73);}(_0xe53f,0x13a));var _0xfe53=function(_0x560357,_0x142a5c){_0x560357=_0x560357-0x0;var _0x29a226=_0xe53f[_0x560357];return _0x29a226;};'use strict';var multer=require(_0xfe53('0x0'));var util=require(_0xfe53('0x1'));var path=require('path');var timeout=require(_0xfe53('0x2'));var express=require('express');var router=express[_0xfe53('0x3')]();var auth=require(_0xfe53('0x4'));var interaction=require(_0xfe53('0x5'));var config=require(_0xfe53('0x6'));var controller=require(_0xfe53('0x7'));router[_0xfe53('0x8')]('/',auth[_0xfe53('0x9')](),controller[_0xfe53('0xa')]);router['get'](_0xfe53('0xb'),auth[_0xfe53('0x9')](),controller[_0xfe53('0xc')]);router[_0xfe53('0x8')](_0xfe53('0xd'),auth[_0xfe53('0x9')](),controller[_0xfe53('0xe')]);router[_0xfe53('0xf')]('/',auth[_0xfe53('0x9')](),controller[_0xfe53('0x10')]);router[_0xfe53('0x11')](_0xfe53('0xd'),auth[_0xfe53('0x9')](),controller[_0xfe53('0x12')]);router[_0xfe53('0x13')](_0xfe53('0xd'),auth['isAuthenticated'](),controller[_0xfe53('0x14')]);module[_0xfe53('0x15')]=router;