Built motion from commit 97153652.|2.6.26
[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 _0xd171=['isAuthenticated','describe','show','post','put','/:id','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareReportDetail.controller','get','/describe'];(function(_0x4c0d12,_0x2fbdef){var _0x338274=function(_0x82b073){while(--_0x82b073){_0x4c0d12['push'](_0x4c0d12['shift']());}};_0x338274(++_0x2fbdef);}(_0xd171,0x1c2));var _0x1d17=function(_0x194801,_0x147ece){_0x194801=_0x194801-0x0;var _0x18c56c=_0xd171[_0x194801];return _0x18c56c;};'use strict';var multer=require(_0x1d17('0x0'));var util=require(_0x1d17('0x1'));var path=require(_0x1d17('0x2'));var timeout=require(_0x1d17('0x3'));var express=require(_0x1d17('0x4'));var router=express['Router']();var fs_extra=require(_0x1d17('0x5'));var auth=require(_0x1d17('0x6'));var interaction=require(_0x1d17('0x7'));var config=require(_0x1d17('0x8'));var controller=require(_0x1d17('0x9'));router[_0x1d17('0xa')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x1d17('0xb'),auth[_0x1d17('0xc')](),controller[_0x1d17('0xd')]);router[_0x1d17('0xa')]('/:id',auth[_0x1d17('0xc')](),controller[_0x1d17('0xe')]);router[_0x1d17('0xf')]('/',auth[_0x1d17('0xc')](),controller['create']);router[_0x1d17('0x10')](_0x1d17('0x11'),auth[_0x1d17('0xc')](),controller['update']);router[_0x1d17('0x12')](_0x1d17('0x11'),auth[_0x1d17('0xc')](),controller[_0x1d17('0x13')]);module[_0x1d17('0x14')]=router;