Built motion from commit d1eab355.|2.6.28
[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 _0xca0b=['index','/describe','isAuthenticated','/:id','show','post','put','update','delete','destroy','exports','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareReportDetail.controller','get'];(function(_0x4a7451,_0x10bec1){var _0x36ed05=function(_0x27bce0){while(--_0x27bce0){_0x4a7451['push'](_0x4a7451['shift']());}};_0x36ed05(++_0x10bec1);}(_0xca0b,0x1ee));var _0xbca0=function(_0x26939d,_0x308741){_0x26939d=_0x26939d-0x0;var _0x25639b=_0xca0b[_0x26939d];return _0x25639b;};'use strict';var multer=require('multer');var util=require(_0xbca0('0x0'));var path=require(_0xbca0('0x1'));var timeout=require(_0xbca0('0x2'));var express=require('express');var router=express[_0xbca0('0x3')]();var fs_extra=require(_0xbca0('0x4'));var auth=require(_0xbca0('0x5'));var interaction=require(_0xbca0('0x6'));var config=require(_0xbca0('0x7'));var controller=require(_0xbca0('0x8'));router[_0xbca0('0x9')]('/',auth['isAuthenticated'](),controller[_0xbca0('0xa')]);router['get'](_0xbca0('0xb'),auth[_0xbca0('0xc')](),controller['describe']);router[_0xbca0('0x9')](_0xbca0('0xd'),auth[_0xbca0('0xc')](),controller[_0xbca0('0xe')]);router[_0xbca0('0xf')]('/',auth['isAuthenticated'](),controller['create']);router[_0xbca0('0x10')]('/:id',auth[_0xbca0('0xc')](),controller[_0xbca0('0x11')]);router[_0xbca0('0x12')](_0xbca0('0xd'),auth[_0xbca0('0xc')](),controller[_0xbca0('0x13')]);module[_0xbca0('0x14')]=router;