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 _0xc677=['create','put','/:id','update','delete','destroy','exports','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','show','post'];(function(_0x244d90,_0x5e96e6){var _0x29ae09=function(_0x15cc62){while(--_0x15cc62){_0x244d90['push'](_0x244d90['shift']());}};_0x29ae09(++_0x5e96e6);}(_0xc677,0x16f));var _0x7c67=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0xc677[_0x122ef9];return _0x42fba0;};'use strict';var multer=require('multer');var util=require(_0x7c67('0x0'));var path=require(_0x7c67('0x1'));var timeout=require(_0x7c67('0x2'));var express=require('express');var router=express[_0x7c67('0x3')]();var auth=require(_0x7c67('0x4'));var interaction=require(_0x7c67('0x5'));var config=require(_0x7c67('0x6'));var controller=require('./squareReportDetail.controller');router[_0x7c67('0x7')]('/',auth[_0x7c67('0x8')](),controller[_0x7c67('0x9')]);router[_0x7c67('0x7')]('/describe',auth[_0x7c67('0x8')](),controller[_0x7c67('0xa')]);router[_0x7c67('0x7')]('/:id',auth[_0x7c67('0x8')](),controller[_0x7c67('0xb')]);router[_0x7c67('0xc')]('/',auth[_0x7c67('0x8')](),controller[_0x7c67('0xd')]);router[_0x7c67('0xe')](_0x7c67('0xf'),auth[_0x7c67('0x8')](),controller[_0x7c67('0x10')]);router[_0x7c67('0x11')](_0x7c67('0xf'),auth[_0x7c67('0x8')](),controller[_0x7c67('0x12')]);module[_0x7c67('0x13')]=router;