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