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 _0x95c1=['../../config/environment','./squareReport.controller','get','index','/describe','isAuthenticated','describe','/:id','show','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x4f7bb4,_0x1d3429){var _0x581451=function(_0x4cf348){while(--_0x4cf348){_0x4f7bb4['push'](_0x4f7bb4['shift']());}};_0x581451(++_0x1d3429);}(_0x95c1,0x92));var _0x195c=function(_0x38537f,_0x252124){_0x38537f=_0x38537f-0x0;var _0x141e23=_0x95c1[_0x38537f];return _0x141e23;};'use strict';var multer=require(_0x195c('0x0'));var util=require(_0x195c('0x1'));var path=require(_0x195c('0x2'));var timeout=require(_0x195c('0x3'));var express=require(_0x195c('0x4'));var router=express[_0x195c('0x5')]();var auth=require(_0x195c('0x6'));var interaction=require(_0x195c('0x7'));var config=require(_0x195c('0x8'));var controller=require(_0x195c('0x9'));router[_0x195c('0xa')]('/',auth['isAuthenticated'](),controller[_0x195c('0xb')]);router[_0x195c('0xa')](_0x195c('0xc'),auth[_0x195c('0xd')](),controller[_0x195c('0xe')]);router[_0x195c('0xa')](_0x195c('0xf'),auth['isAuthenticated'](),controller[_0x195c('0x10')]);router['post']('/',auth[_0x195c('0xd')](),controller[_0x195c('0x11')]);router[_0x195c('0x12')](_0x195c('0xf'),auth[_0x195c('0xd')](),controller['update']);router[_0x195c('0x13')](_0x195c('0xf'),auth[_0x195c('0xd')](),controller[_0x195c('0x14')]);module[_0x195c('0x15')]=router;