bb62fecbaf0afb871fa2c7d149b7fb7f5f032c5b
[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 _0xe538=['exports','multer','util','path','connect-timeout','fs-extra','../../components/interaction/service','../../config/environment','./squareReportDetail.controller','get','index','/describe','isAuthenticated','/:id','show','post','create','put','update','delete','destroy'];(function(_0x3b31da,_0x5bdcef){var _0x15ee8f=function(_0x3f1ab9){while(--_0x3f1ab9){_0x3b31da['push'](_0x3b31da['shift']());}};_0x15ee8f(++_0x5bdcef);}(_0xe538,0x112));var _0x8e53=function(_0x1c6089,_0x3816e2){_0x1c6089=_0x1c6089-0x0;var _0x4d97c1=_0xe538[_0x1c6089];return _0x4d97c1;};'use strict';var multer=require(_0x8e53('0x0'));var util=require(_0x8e53('0x1'));var path=require(_0x8e53('0x2'));var timeout=require(_0x8e53('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x8e53('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x8e53('0x5'));var config=require(_0x8e53('0x6'));var controller=require(_0x8e53('0x7'));router[_0x8e53('0x8')]('/',auth['isAuthenticated'](),controller[_0x8e53('0x9')]);router[_0x8e53('0x8')](_0x8e53('0xa'),auth[_0x8e53('0xb')](),controller['describe']);router[_0x8e53('0x8')](_0x8e53('0xc'),auth[_0x8e53('0xb')](),controller[_0x8e53('0xd')]);router[_0x8e53('0xe')]('/',auth[_0x8e53('0xb')](),controller[_0x8e53('0xf')]);router[_0x8e53('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x8e53('0x11')]);router[_0x8e53('0x12')]('/:id',auth['isAuthenticated'](),controller[_0x8e53('0x13')]);module[_0x8e53('0x14')]=router;