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 _0x04cb=['/describe','describe','show','post','put','/:id','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index'];(function(_0x43f748,_0x2afb5f){var _0x2b6349=function(_0x26c642){while(--_0x26c642){_0x43f748['push'](_0x43f748['shift']());}};_0x2b6349(++_0x2afb5f);}(_0x04cb,0xa9));var _0xb04c=function(_0x8df098,_0xfea5da){_0x8df098=_0x8df098-0x0;var _0x570fa5=_0x04cb[_0x8df098];return _0x570fa5;};'use strict';var multer=require(_0xb04c('0x0'));var util=require(_0xb04c('0x1'));var path=require(_0xb04c('0x2'));var timeout=require(_0xb04c('0x3'));var express=require(_0xb04c('0x4'));var router=express[_0xb04c('0x5')]();var auth=require(_0xb04c('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xb04c('0x7'));var controller=require('./squareReport.controller');router[_0xb04c('0x8')]('/',auth[_0xb04c('0x9')](),controller[_0xb04c('0xa')]);router['get'](_0xb04c('0xb'),auth[_0xb04c('0x9')](),controller[_0xb04c('0xc')]);router['get']('/:id',auth[_0xb04c('0x9')](),controller[_0xb04c('0xd')]);router[_0xb04c('0xe')]('/',auth[_0xb04c('0x9')](),controller['create']);router[_0xb04c('0xf')](_0xb04c('0x10'),auth[_0xb04c('0x9')](),controller['update']);router[_0xb04c('0x11')](_0xb04c('0x10'),auth['isAuthenticated'](),controller[_0xb04c('0x12')]);module[_0xb04c('0x13')]=router;