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 _0x30a0=['/describe','describe','/:id','show','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareReportDetail.controller','get','isAuthenticated','index'];(function(_0x27ec70,_0x2bc6a5){var _0xa5795a=function(_0x453f42){while(--_0x453f42){_0x27ec70['push'](_0x27ec70['shift']());}};_0xa5795a(++_0x2bc6a5);}(_0x30a0,0x17a));var _0x030a=function(_0x48b69a,_0x5ebd1e){_0x48b69a=_0x48b69a-0x0;var _0x426b3e=_0x30a0[_0x48b69a];return _0x426b3e;};'use strict';var multer=require(_0x030a('0x0'));var util=require(_0x030a('0x1'));var path=require(_0x030a('0x2'));var timeout=require(_0x030a('0x3'));var express=require(_0x030a('0x4'));var router=express[_0x030a('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x030a('0x6'));var interaction=require(_0x030a('0x7'));var config=require(_0x030a('0x8'));var controller=require(_0x030a('0x9'));router[_0x030a('0xa')]('/',auth[_0x030a('0xb')](),controller[_0x030a('0xc')]);router[_0x030a('0xa')](_0x030a('0xd'),auth['isAuthenticated'](),controller[_0x030a('0xe')]);router[_0x030a('0xa')](_0x030a('0xf'),auth[_0x030a('0xb')](),controller[_0x030a('0x10')]);router['post']('/',auth[_0x030a('0xb')](),controller[_0x030a('0x11')]);router[_0x030a('0x12')](_0x030a('0xf'),auth[_0x030a('0xb')](),controller[_0x030a('0x13')]);router[_0x030a('0x14')](_0x030a('0xf'),auth[_0x030a('0xb')](),controller[_0x030a('0x15')]);module[_0x030a('0x16')]=router;