Built motion from commit 0c5f406c.|2.6.29
[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 _0x6630=['../../config/environment','./squareReportDetail.controller','isAuthenticated','get','/describe','describe','/:id','post','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x50352a,_0x3cf37e){var _0x4e1204=function(_0x242759){while(--_0x242759){_0x50352a['push'](_0x50352a['shift']());}};_0x4e1204(++_0x3cf37e);}(_0x6630,0xb5));var _0x0663=function(_0x373d13,_0xbbf7ad){_0x373d13=_0x373d13-0x0;var _0x3ffd36=_0x6630[_0x373d13];return _0x3ffd36;};'use strict';var multer=require(_0x0663('0x0'));var util=require(_0x0663('0x1'));var path=require(_0x0663('0x2'));var timeout=require(_0x0663('0x3'));var express=require(_0x0663('0x4'));var router=express['Router']();var fs_extra=require(_0x0663('0x5'));var auth=require(_0x0663('0x6'));var interaction=require(_0x0663('0x7'));var config=require(_0x0663('0x8'));var controller=require(_0x0663('0x9'));router['get']('/',auth[_0x0663('0xa')](),controller['index']);router[_0x0663('0xb')](_0x0663('0xc'),auth[_0x0663('0xa')](),controller[_0x0663('0xd')]);router[_0x0663('0xb')](_0x0663('0xe'),auth[_0x0663('0xa')](),controller['show']);router[_0x0663('0xf')]('/',auth[_0x0663('0xa')](),controller['create']);router[_0x0663('0x10')](_0x0663('0xe'),auth[_0x0663('0xa')](),controller[_0x0663('0x11')]);router[_0x0663('0x12')](_0x0663('0xe'),auth['isAuthenticated'](),controller[_0x0663('0x13')]);module[_0x0663('0x14')]=router;