Built motion from commit 67e5df37.|2.0.66
[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 _0xa12e=['destroy','exports','multer','express','Router','../../components/auth/service','./squareReportDetail.controller','isAuthenticated','index','get','/describe','describe','/:id','show','post','create','delete'];(function(_0x2a74f5,_0x542b0b){var _0x358258=function(_0x52e19e){while(--_0x52e19e){_0x2a74f5['push'](_0x2a74f5['shift']());}};_0x358258(++_0x542b0b);}(_0xa12e,0x167));var _0xea12=function(_0x5447fd,_0x52a6b5){_0x5447fd=_0x5447fd-0x0;var _0x15b28a=_0xa12e[_0x5447fd];return _0x15b28a;};'use strict';var multer=require(_0xea12('0x0'));var util=require('util');var path=require('path');var express=require(_0xea12('0x1'));var router=express[_0xea12('0x2')]();var auth=require(_0xea12('0x3'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xea12('0x4'));router['get']('/',auth[_0xea12('0x5')](),controller[_0xea12('0x6')]);router[_0xea12('0x7')](_0xea12('0x8'),auth[_0xea12('0x5')](),controller[_0xea12('0x9')]);router['get'](_0xea12('0xa'),auth['isAuthenticated'](),controller[_0xea12('0xb')]);router[_0xea12('0xc')]('/',auth['isAuthenticated'](),controller[_0xea12('0xd')]);router['put'](_0xea12('0xa'),auth['isAuthenticated'](),controller['update']);router[_0xea12('0xe')]('/:id',auth[_0xea12('0x5')](),controller[_0xea12('0xf')]);module[_0xea12('0x10')]=router;