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 _0x8849=['describe','/:id','show','post','create','put','update','delete','destroy','exports','path','express','../../components/auth/service','isAuthenticated','index','get','/describe'];(function(_0x52cbaa,_0x4dd3d3){var _0x38698e=function(_0x5c3b98){while(--_0x5c3b98){_0x52cbaa['push'](_0x52cbaa['shift']());}};_0x38698e(++_0x4dd3d3);}(_0x8849,0xe7));var _0x9884=function(_0x8649c,_0x2787f5){_0x8649c=_0x8649c-0x0;var _0x446d03=_0x8849[_0x8649c];return _0x446d03;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x9884('0x0'));var timeout=require('connect-timeout');var express=require(_0x9884('0x1'));var router=express['Router']();var auth=require(_0x9884('0x2'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./squareReport.controller');router['get']('/',auth[_0x9884('0x3')](),controller[_0x9884('0x4')]);router[_0x9884('0x5')](_0x9884('0x6'),auth['isAuthenticated'](),controller[_0x9884('0x7')]);router[_0x9884('0x5')](_0x9884('0x8'),auth['isAuthenticated'](),controller[_0x9884('0x9')]);router[_0x9884('0xa')]('/',auth[_0x9884('0x3')](),controller[_0x9884('0xb')]);router[_0x9884('0xc')](_0x9884('0x8'),auth[_0x9884('0x3')](),controller[_0x9884('0xd')]);router[_0x9884('0xe')](_0x9884('0x8'),auth['isAuthenticated'](),controller[_0x9884('0xf')]);module[_0x9884('0x10')]=router;