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 _0xa314=['../../config/environment','./squareReport.controller','get','isAuthenticated','/describe','describe','/:id','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','../../components/auth/service'];(function(_0x157915,_0x2d4e4e){var _0x2e1b9c=function(_0x24de6e){while(--_0x24de6e){_0x157915['push'](_0x157915['shift']());}};_0x2e1b9c(++_0x2d4e4e);}(_0xa314,0x19d));var _0x4a31=function(_0x4aa838,_0x4aa14f){_0x4aa838=_0x4aa838-0x0;var _0x3abff0=_0xa314[_0x4aa838];return _0x3abff0;};'use strict';var multer=require(_0x4a31('0x0'));var util=require(_0x4a31('0x1'));var path=require(_0x4a31('0x2'));var timeout=require(_0x4a31('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x4a31('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x4a31('0x5'));var controller=require(_0x4a31('0x6'));router[_0x4a31('0x7')]('/',auth[_0x4a31('0x8')](),controller['index']);router[_0x4a31('0x7')](_0x4a31('0x9'),auth[_0x4a31('0x8')](),controller[_0x4a31('0xa')]);router['get'](_0x4a31('0xb'),auth[_0x4a31('0x8')](),controller['show']);router[_0x4a31('0xc')]('/',auth[_0x4a31('0x8')](),controller[_0x4a31('0xd')]);router[_0x4a31('0xe')](_0x4a31('0xb'),auth['isAuthenticated'](),controller[_0x4a31('0xf')]);router[_0x4a31('0x10')](_0x4a31('0xb'),auth[_0x4a31('0x8')](),controller[_0x4a31('0x11')]);module[_0x4a31('0x12')]=router;