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