Built motion from commit 753c950e.|2.5.42
[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 _0x4d0c=['put','update','delete','destroy','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareReportDetail.controller','get','isAuthenticated','describe','/:id','post','create'];(function(_0x127011,_0x46a223){var _0x5dfefb=function(_0x14cb7c){while(--_0x14cb7c){_0x127011['push'](_0x127011['shift']());}};_0x5dfefb(++_0x46a223);}(_0x4d0c,0x159));var _0xc4d0=function(_0x3dcdc9,_0x3e1e37){_0x3dcdc9=_0x3dcdc9-0x0;var _0x1774da=_0x4d0c[_0x3dcdc9];return _0x1774da;};'use strict';var multer=require(_0xc4d0('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xc4d0('0x1'));var express=require(_0xc4d0('0x2'));var router=express[_0xc4d0('0x3')]();var fs_extra=require(_0xc4d0('0x4'));var auth=require(_0xc4d0('0x5'));var interaction=require(_0xc4d0('0x6'));var config=require(_0xc4d0('0x7'));var controller=require(_0xc4d0('0x8'));router[_0xc4d0('0x9')]('/',auth[_0xc4d0('0xa')](),controller['index']);router[_0xc4d0('0x9')]('/describe',auth[_0xc4d0('0xa')](),controller[_0xc4d0('0xb')]);router[_0xc4d0('0x9')](_0xc4d0('0xc'),auth[_0xc4d0('0xa')](),controller['show']);router[_0xc4d0('0xd')]('/',auth[_0xc4d0('0xa')](),controller[_0xc4d0('0xe')]);router[_0xc4d0('0xf')](_0xc4d0('0xc'),auth[_0xc4d0('0xa')](),controller[_0xc4d0('0x10')]);router[_0xc4d0('0x11')](_0xc4d0('0xc'),auth[_0xc4d0('0xa')](),controller[_0xc4d0('0x12')]);module[_0xc4d0('0x13')]=router;