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 _0xc814=['Router','fs-extra','../../components/interaction/service','../../config/environment','./squareReportDetail.controller','isAuthenticated','get','describe','/:id','show','create','put','destroy','exports','multer','connect-timeout','express'];(function(_0xbe200f,_0x4b50eb){var _0x192597=function(_0x106cfd){while(--_0x106cfd){_0xbe200f['push'](_0xbe200f['shift']());}};_0x192597(++_0x4b50eb);}(_0xc814,0x195));var _0x4c81=function(_0xcbb760,_0x488dcd){_0xcbb760=_0xcbb760-0x0;var _0x4f70e7=_0xc814[_0xcbb760];return _0x4f70e7;};'use strict';var multer=require(_0x4c81('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x4c81('0x1'));var express=require(_0x4c81('0x2'));var router=express[_0x4c81('0x3')]();var fs_extra=require(_0x4c81('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x4c81('0x5'));var config=require(_0x4c81('0x6'));var controller=require(_0x4c81('0x7'));router['get']('/',auth[_0x4c81('0x8')](),controller['index']);router[_0x4c81('0x9')]('/describe',auth['isAuthenticated'](),controller[_0x4c81('0xa')]);router['get'](_0x4c81('0xb'),auth[_0x4c81('0x8')](),controller[_0x4c81('0xc')]);router['post']('/',auth[_0x4c81('0x8')](),controller[_0x4c81('0xd')]);router[_0x4c81('0xe')](_0x4c81('0xb'),auth[_0x4c81('0x8')](),controller['update']);router['delete'](_0x4c81('0xb'),auth[_0x4c81('0x8')](),controller[_0x4c81('0xf')]);module[_0x4c81('0x10')]=router;