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 _0x5c13=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./squareReport.controller','get','isAuthenticated','/describe','/:id','show','post','create','put','delete','destroy','exports','multer'];(function(_0x1003fe,_0x4a52ca){var _0x454197=function(_0x100f98){while(--_0x100f98){_0x1003fe['push'](_0x1003fe['shift']());}};_0x454197(++_0x4a52ca);}(_0x5c13,0x103));var _0x35c1=function(_0x5a26f5,_0x196300){_0x5a26f5=_0x5a26f5-0x0;var _0x2e9ef7=_0x5c13[_0x5a26f5];return _0x2e9ef7;};'use strict';var multer=require(_0x35c1('0x0'));var util=require(_0x35c1('0x1'));var path=require(_0x35c1('0x2'));var timeout=require(_0x35c1('0x3'));var express=require(_0x35c1('0x4'));var router=express[_0x35c1('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x35c1('0x6'));var interaction=require(_0x35c1('0x7'));var config=require('../../config/environment');var controller=require(_0x35c1('0x8'));router[_0x35c1('0x9')]('/',auth[_0x35c1('0xa')](),controller['index']);router[_0x35c1('0x9')](_0x35c1('0xb'),auth['isAuthenticated'](),controller['describe']);router[_0x35c1('0x9')](_0x35c1('0xc'),auth[_0x35c1('0xa')](),controller[_0x35c1('0xd')]);router[_0x35c1('0xe')]('/',auth['isAuthenticated'](),controller[_0x35c1('0xf')]);router[_0x35c1('0x10')](_0x35c1('0xc'),auth['isAuthenticated'](),controller['update']);router[_0x35c1('0x11')](_0x35c1('0xc'),auth[_0x35c1('0xa')](),controller[_0x35c1('0x12')]);module[_0x35c1('0x13')]=router;