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 _0xace1=['delete','exports','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update'];(function(_0x3b19ea,_0x518b6b){var _0x40ece9=function(_0x3a3386){while(--_0x3a3386){_0x3b19ea['push'](_0x3b19ea['shift']());}};_0x40ece9(++_0x518b6b);}(_0xace1,0xe9));var _0x1ace=function(_0x15417f,_0x57d7c7){_0x15417f=_0x15417f-0x0;var _0x59b8c8=_0xace1[_0x15417f];return _0x59b8c8;};'use strict';var multer=require(_0x1ace('0x0'));var util=require(_0x1ace('0x1'));var path=require(_0x1ace('0x2'));var timeout=require(_0x1ace('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x1ace('0x4'));var interaction=require(_0x1ace('0x5'));var config=require(_0x1ace('0x6'));var controller=require(_0x1ace('0x7'));router[_0x1ace('0x8')]('/',auth[_0x1ace('0x9')](),controller[_0x1ace('0xa')]);router[_0x1ace('0x8')](_0x1ace('0xb'),auth['isAuthenticated'](),controller[_0x1ace('0xc')]);router[_0x1ace('0x8')](_0x1ace('0xd'),auth['isAuthenticated'](),controller[_0x1ace('0xe')]);router[_0x1ace('0xf')]('/',auth[_0x1ace('0x9')](),controller[_0x1ace('0x10')]);router[_0x1ace('0x11')](_0x1ace('0xd'),auth[_0x1ace('0x9')](),controller[_0x1ace('0x12')]);router[_0x1ace('0x13')](_0x1ace('0xd'),auth['isAuthenticated'](),controller['destroy']);module[_0x1ace('0x14')]=router;