e4fccadc613f55dd4bd50187b3c3af72e1f2d77c
[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 _0x1e58=['delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','/:id','post','create','put','update'];(function(_0x584921,_0x51ac30){var _0x429a35=function(_0x4cea08){while(--_0x4cea08){_0x584921['push'](_0x584921['shift']());}};_0x429a35(++_0x51ac30);}(_0x1e58,0x107));var _0x81e5=function(_0x4555ca,_0x3ddc74){_0x4555ca=_0x4555ca-0x0;var _0x3a0735=_0x1e58[_0x4555ca];return _0x3a0735;};'use strict';var multer=require(_0x81e5('0x0'));var util=require(_0x81e5('0x1'));var path=require(_0x81e5('0x2'));var timeout=require(_0x81e5('0x3'));var express=require(_0x81e5('0x4'));var router=express['Router']();var fs_extra=require(_0x81e5('0x5'));var auth=require(_0x81e5('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x81e5('0x7'));var controller=require('./squareReportDetail.controller');router[_0x81e5('0x8')]('/',auth[_0x81e5('0x9')](),controller[_0x81e5('0xa')]);router[_0x81e5('0x8')](_0x81e5('0xb'),auth[_0x81e5('0x9')](),controller['describe']);router[_0x81e5('0x8')](_0x81e5('0xc'),auth['isAuthenticated'](),controller['show']);router[_0x81e5('0xd')]('/',auth[_0x81e5('0x9')](),controller[_0x81e5('0xe')]);router[_0x81e5('0xf')](_0x81e5('0xc'),auth['isAuthenticated'](),controller[_0x81e5('0x10')]);router[_0x81e5('0x11')](_0x81e5('0xc'),auth[_0x81e5('0x9')](),controller[_0x81e5('0x12')]);module[_0x81e5('0x13')]=router;