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 _0xa3b2=['util','express','Router','fs-extra','../../components/auth/service','../../config/environment','./squareReportDetail.controller','get','index','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports','multer'];(function(_0x357b6b,_0x249fe6){var _0x3f30ac=function(_0x1d5bbe){while(--_0x1d5bbe){_0x357b6b['push'](_0x357b6b['shift']());}};_0x3f30ac(++_0x249fe6);}(_0xa3b2,0xc7));var _0x2a3b=function(_0x3c3a03,_0x3c0da1){_0x3c3a03=_0x3c3a03-0x0;var _0x57ff53=_0xa3b2[_0x3c3a03];return _0x57ff53;};'use strict';var multer=require(_0x2a3b('0x0'));var util=require(_0x2a3b('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x2a3b('0x2'));var router=express[_0x2a3b('0x3')]();var fs_extra=require(_0x2a3b('0x4'));var auth=require(_0x2a3b('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x2a3b('0x6'));var controller=require(_0x2a3b('0x7'));router[_0x2a3b('0x8')]('/',auth['isAuthenticated'](),controller[_0x2a3b('0x9')]);router[_0x2a3b('0x8')]('/describe',auth[_0x2a3b('0xa')](),controller['describe']);router['get'](_0x2a3b('0xb'),auth[_0x2a3b('0xa')](),controller[_0x2a3b('0xc')]);router[_0x2a3b('0xd')]('/',auth[_0x2a3b('0xa')](),controller[_0x2a3b('0xe')]);router[_0x2a3b('0xf')](_0x2a3b('0xb'),auth[_0x2a3b('0xa')](),controller[_0x2a3b('0x10')]);router[_0x2a3b('0x11')]('/:id',auth['isAuthenticated'](),controller[_0x2a3b('0x12')]);module[_0x2a3b('0x13')]=router;