115e831b792c6e7acb9e0da5def49e7d84c2ce46
[motion2.git] / server / api / squareReportDetail / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xe264=['get','isAuthenticated','index','/describe','describe','/:id','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','express','fs-extra','../../config/environment'];(function(_0x2eaa42,_0x393e06){var _0x94ef0f=function(_0x3a7b79){while(--_0x3a7b79){_0x2eaa42['push'](_0x2eaa42['shift']());}};_0x94ef0f(++_0x393e06);}(_0xe264,0x163));var _0x4e26=function(_0x3b53b0,_0x23dc58){_0x3b53b0=_0x3b53b0-0x0;var _0x4eddc6=_0xe264[_0x3b53b0];return _0x4eddc6;};'use strict';var multer=require('multer');var util=require(_0x4e26('0x0'));var path=require(_0x4e26('0x1'));var timeout=require(_0x4e26('0x2'));var express=require(_0x4e26('0x3'));var router=express['Router']();var fs_extra=require(_0x4e26('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x4e26('0x5'));var controller=require('./squareReportDetail.controller');router[_0x4e26('0x6')]('/',auth[_0x4e26('0x7')](),controller[_0x4e26('0x8')]);router[_0x4e26('0x6')](_0x4e26('0x9'),auth[_0x4e26('0x7')](),controller[_0x4e26('0xa')]);router['get'](_0x4e26('0xb'),auth[_0x4e26('0x7')](),controller['show']);router[_0x4e26('0xc')]('/',auth[_0x4e26('0x7')](),controller[_0x4e26('0xd')]);router[_0x4e26('0xe')](_0x4e26('0xb'),auth[_0x4e26('0x7')](),controller[_0x4e26('0xf')]);router[_0x4e26('0x10')]('/:id',auth[_0x4e26('0x7')](),controller[_0x4e26('0x11')]);module[_0x4e26('0x12')]=router;