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 _0xe28f=['multer','util','path','connect-timeout','express','Router','fs-extra','../../config/environment','./squareReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','destroy','exports'];(function(_0x16fb70,_0x3e97f1){var _0x2e1aa1=function(_0x194373){while(--_0x194373){_0x16fb70['push'](_0x16fb70['shift']());}};_0x2e1aa1(++_0x3e97f1);}(_0xe28f,0x176));var _0xfe28=function(_0x319537,_0x30be80){_0x319537=_0x319537-0x0;var _0x304990=_0xe28f[_0x319537];return _0x304990;};'use strict';var multer=require(_0xfe28('0x0'));var util=require(_0xfe28('0x1'));var path=require(_0xfe28('0x2'));var timeout=require(_0xfe28('0x3'));var express=require(_0xfe28('0x4'));var router=express[_0xfe28('0x5')]();var fs_extra=require(_0xfe28('0x6'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xfe28('0x7'));var controller=require(_0xfe28('0x8'));router[_0xfe28('0x9')]('/',auth[_0xfe28('0xa')](),controller[_0xfe28('0xb')]);router['get'](_0xfe28('0xc'),auth['isAuthenticated'](),controller[_0xfe28('0xd')]);router[_0xfe28('0x9')](_0xfe28('0xe'),auth['isAuthenticated'](),controller[_0xfe28('0xf')]);router[_0xfe28('0x10')]('/',auth[_0xfe28('0xa')](),controller[_0xfe28('0x11')]);router[_0xfe28('0x12')](_0xfe28('0xe'),auth[_0xfe28('0xa')](),controller[_0xfe28('0x13')]);router['delete'](_0xfe28('0xe'),auth['isAuthenticated'](),controller[_0xfe28('0x14')]);module[_0xfe28('0x15')]=router;