Built motion from commit 092f8824.|2.5.49
[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 _0x5148=['isAuthenticated','index','get','/describe','describe','/:id','post','put','update','delete','destroy','util','path','express','Router','fs-extra','../../config/environment','./squareReportDetail.controller'];(function(_0x5746a1,_0x11eab1){var _0x551a43=function(_0x7ddcbe){while(--_0x7ddcbe){_0x5746a1['push'](_0x5746a1['shift']());}};_0x551a43(++_0x11eab1);}(_0x5148,0x14f));var _0x8514=function(_0x3ed091,_0x3491d4){_0x3ed091=_0x3ed091-0x0;var _0x49f07c=_0x5148[_0x3ed091];return _0x49f07c;};'use strict';var multer=require('multer');var util=require(_0x8514('0x0'));var path=require(_0x8514('0x1'));var timeout=require('connect-timeout');var express=require(_0x8514('0x2'));var router=express[_0x8514('0x3')]();var fs_extra=require(_0x8514('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x8514('0x5'));var controller=require(_0x8514('0x6'));router['get']('/',auth[_0x8514('0x7')](),controller[_0x8514('0x8')]);router[_0x8514('0x9')](_0x8514('0xa'),auth[_0x8514('0x7')](),controller[_0x8514('0xb')]);router[_0x8514('0x9')](_0x8514('0xc'),auth[_0x8514('0x7')](),controller['show']);router[_0x8514('0xd')]('/',auth[_0x8514('0x7')](),controller['create']);router[_0x8514('0xe')](_0x8514('0xc'),auth[_0x8514('0x7')](),controller[_0x8514('0xf')]);router[_0x8514('0x10')](_0x8514('0xc'),auth[_0x8514('0x7')](),controller[_0x8514('0x11')]);module['exports']=router;