Built motion from commit 56b8093a.|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 _0x7676=['/:id','show','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareReportDetail.controller','get','isAuthenticated','index','/describe','describe'];(function(_0x27bc9c,_0x2fdd47){var _0x389810=function(_0x272f2d){while(--_0x272f2d){_0x27bc9c['push'](_0x27bc9c['shift']());}};_0x389810(++_0x2fdd47);}(_0x7676,0xb0));var _0x6767=function(_0x59a9cb,_0x3a2730){_0x59a9cb=_0x59a9cb-0x0;var _0x39080c=_0x7676[_0x59a9cb];return _0x39080c;};'use strict';var multer=require(_0x6767('0x0'));var util=require(_0x6767('0x1'));var path=require(_0x6767('0x2'));var timeout=require(_0x6767('0x3'));var express=require(_0x6767('0x4'));var router=express[_0x6767('0x5')]();var fs_extra=require(_0x6767('0x6'));var auth=require(_0x6767('0x7'));var interaction=require(_0x6767('0x8'));var config=require(_0x6767('0x9'));var controller=require(_0x6767('0xa'));router[_0x6767('0xb')]('/',auth[_0x6767('0xc')](),controller[_0x6767('0xd')]);router[_0x6767('0xb')](_0x6767('0xe'),auth[_0x6767('0xc')](),controller[_0x6767('0xf')]);router[_0x6767('0xb')](_0x6767('0x10'),auth[_0x6767('0xc')](),controller[_0x6767('0x11')]);router[_0x6767('0x12')]('/',auth[_0x6767('0xc')](),controller[_0x6767('0x13')]);router[_0x6767('0x14')](_0x6767('0x10'),auth[_0x6767('0xc')](),controller['update']);router[_0x6767('0x15')](_0x6767('0x10'),auth[_0x6767('0xc')](),controller[_0x6767('0x16')]);module[_0x6767('0x17')]=router;