Built motion from commit a679711e.|2.6.15
[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 _0xa32a=['delete','destroy','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareReportDetail.controller','get','isAuthenticated','index','describe','/:id','show','post','create','put','update'];(function(_0x494d1f,_0x3f72ff){var _0x457b6e=function(_0x38cb16){while(--_0x38cb16){_0x494d1f['push'](_0x494d1f['shift']());}};_0x457b6e(++_0x3f72ff);}(_0xa32a,0x162));var _0xaa32=function(_0x380e75,_0x486360){_0x380e75=_0x380e75-0x0;var _0x444d96=_0xa32a[_0x380e75];return _0x444d96;};'use strict';var multer=require(_0xaa32('0x0'));var util=require(_0xaa32('0x1'));var path=require(_0xaa32('0x2'));var timeout=require(_0xaa32('0x3'));var express=require('express');var router=express[_0xaa32('0x4')]();var fs_extra=require(_0xaa32('0x5'));var auth=require(_0xaa32('0x6'));var interaction=require(_0xaa32('0x7'));var config=require(_0xaa32('0x8'));var controller=require(_0xaa32('0x9'));router[_0xaa32('0xa')]('/',auth[_0xaa32('0xb')](),controller[_0xaa32('0xc')]);router['get']('/describe',auth[_0xaa32('0xb')](),controller[_0xaa32('0xd')]);router[_0xaa32('0xa')](_0xaa32('0xe'),auth['isAuthenticated'](),controller[_0xaa32('0xf')]);router[_0xaa32('0x10')]('/',auth[_0xaa32('0xb')](),controller[_0xaa32('0x11')]);router[_0xaa32('0x12')](_0xaa32('0xe'),auth[_0xaa32('0xb')](),controller[_0xaa32('0x13')]);router[_0xaa32('0x14')](_0xaa32('0xe'),auth['isAuthenticated'](),controller[_0xaa32('0x15')]);module['exports']=router;