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