Built motion from commit 3c2ce842.|2.6.31
[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 _0x6f98=['post','create','put','/:id','delete','destroy','exports','multer','connect-timeout','express','Router','../../components/auth/service','./squareReportDetail.controller','get','/describe','isAuthenticated'];(function(_0x461119,_0x28ce98){var _0x4b5ed3=function(_0x4fdafc){while(--_0x4fdafc){_0x461119['push'](_0x461119['shift']());}};_0x4b5ed3(++_0x28ce98);}(_0x6f98,0x97));var _0x86f9=function(_0x42c6ea,_0x21e7d5){_0x42c6ea=_0x42c6ea-0x0;var _0x2c3f69=_0x6f98[_0x42c6ea];return _0x2c3f69;};'use strict';var multer=require(_0x86f9('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x86f9('0x1'));var express=require(_0x86f9('0x2'));var router=express[_0x86f9('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x86f9('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x86f9('0x5'));router[_0x86f9('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0x86f9('0x6')](_0x86f9('0x7'),auth[_0x86f9('0x8')](),controller['describe']);router[_0x86f9('0x6')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0x86f9('0x9')]('/',auth[_0x86f9('0x8')](),controller[_0x86f9('0xa')]);router[_0x86f9('0xb')](_0x86f9('0xc'),auth[_0x86f9('0x8')](),controller['update']);router[_0x86f9('0xd')]('/:id',auth[_0x86f9('0x8')](),controller[_0x86f9('0xe')]);module[_0x86f9('0xf')]=router;