Built motion from commit (unavailable).|2.5.28
[motion2.git] / server / api / squareReport / 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 _0x9bf5=['delete','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareReport.controller','get','isAuthenticated','index','/describe','describe','/:id','post','create','update'];(function(_0x4546c0,_0x30e75f){var _0x11df5c=function(_0x32a2ba){while(--_0x32a2ba){_0x4546c0['push'](_0x4546c0['shift']());}};_0x11df5c(++_0x30e75f);}(_0x9bf5,0x1d0));var _0x59bf=function(_0x28467c,_0x1931bf){_0x28467c=_0x28467c-0x0;var _0x39841a=_0x9bf5[_0x28467c];return _0x39841a;};'use strict';var multer=require(_0x59bf('0x0'));var util=require(_0x59bf('0x1'));var path=require(_0x59bf('0x2'));var timeout=require(_0x59bf('0x3'));var express=require('express');var router=express[_0x59bf('0x4')]();var fs_extra=require(_0x59bf('0x5'));var auth=require(_0x59bf('0x6'));var interaction=require(_0x59bf('0x7'));var config=require(_0x59bf('0x8'));var controller=require(_0x59bf('0x9'));router[_0x59bf('0xa')]('/',auth[_0x59bf('0xb')](),controller[_0x59bf('0xc')]);router[_0x59bf('0xa')](_0x59bf('0xd'),auth[_0x59bf('0xb')](),controller[_0x59bf('0xe')]);router[_0x59bf('0xa')](_0x59bf('0xf'),auth[_0x59bf('0xb')](),controller['show']);router[_0x59bf('0x10')]('/',auth[_0x59bf('0xb')](),controller[_0x59bf('0x11')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0x59bf('0x12')]);router[_0x59bf('0x13')]('/:id',auth[_0x59bf('0xb')](),controller['destroy']);module[_0x59bf('0x14')]=router;