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