Built motion from commit 7158bc59.|2.5.42
[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 _0x37e5=['exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./squareReportDetail.controller','get','index','/describe','isAuthenticated','describe','show','post','create','put','/:id','update','delete'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0x37e5,0x17b));var _0x537e=function(_0xf832f,_0x37e3ce){_0xf832f=_0xf832f-0x0;var _0x1fc929=_0x37e5[_0xf832f];return _0x1fc929;};'use strict';var multer=require('multer');var util=require(_0x537e('0x0'));var path=require(_0x537e('0x1'));var timeout=require('connect-timeout');var express=require(_0x537e('0x2'));var router=express[_0x537e('0x3')]();var fs_extra=require(_0x537e('0x4'));var auth=require(_0x537e('0x5'));var interaction=require(_0x537e('0x6'));var config=require('../../config/environment');var controller=require(_0x537e('0x7'));router[_0x537e('0x8')]('/',auth['isAuthenticated'](),controller[_0x537e('0x9')]);router[_0x537e('0x8')](_0x537e('0xa'),auth[_0x537e('0xb')](),controller[_0x537e('0xc')]);router[_0x537e('0x8')]('/:id',auth[_0x537e('0xb')](),controller[_0x537e('0xd')]);router[_0x537e('0xe')]('/',auth[_0x537e('0xb')](),controller[_0x537e('0xf')]);router[_0x537e('0x10')](_0x537e('0x11'),auth[_0x537e('0xb')](),controller[_0x537e('0x12')]);router[_0x537e('0x13')](_0x537e('0x11'),auth[_0x537e('0xb')](),controller['destroy']);module[_0x537e('0x14')]=router;