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