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 _0x41fb=['isAuthenticated','index','/describe','describe','post','create','/:id','update','destroy','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get'];(function(_0xa1e3e3,_0x29fe0e){var _0xc980e9=function(_0x1f5adc){while(--_0x1f5adc){_0xa1e3e3['push'](_0xa1e3e3['shift']());}};_0xc980e9(++_0x29fe0e);}(_0x41fb,0x1a7));var _0xb41f=function(_0x17e8ae,_0x12551d){_0x17e8ae=_0x17e8ae-0x0;var _0x55bcf4=_0x41fb[_0x17e8ae];return _0x55bcf4;};'use strict';var multer=require(_0xb41f('0x0'));var util=require('util');var path=require(_0xb41f('0x1'));var timeout=require(_0xb41f('0x2'));var express=require(_0xb41f('0x3'));var router=express[_0xb41f('0x4')]();var fs_extra=require(_0xb41f('0x5'));var auth=require(_0xb41f('0x6'));var interaction=require(_0xb41f('0x7'));var config=require('../../config/environment');var controller=require('./squareReportDetail.controller');router[_0xb41f('0x8')]('/',auth[_0xb41f('0x9')](),controller[_0xb41f('0xa')]);router['get'](_0xb41f('0xb'),auth[_0xb41f('0x9')](),controller[_0xb41f('0xc')]);router[_0xb41f('0x8')]('/:id',auth[_0xb41f('0x9')](),controller['show']);router[_0xb41f('0xd')]('/',auth[_0xb41f('0x9')](),controller[_0xb41f('0xe')]);router['put'](_0xb41f('0xf'),auth[_0xb41f('0x9')](),controller[_0xb41f('0x10')]);router['delete'](_0xb41f('0xf'),auth[_0xb41f('0x9')](),controller[_0xb41f('0x11')]);module['exports']=router;