Built motion from commit (unavailable).|2.4.18
[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 _0x88a1=['describe','/:id','post','create','put','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareReport.controller','get','isAuthenticated','index','/describe'];(function(_0x2447ab,_0x4f5108){var _0x28395d=function(_0x52a9d3){while(--_0x52a9d3){_0x2447ab['push'](_0x2447ab['shift']());}};_0x28395d(++_0x4f5108);}(_0x88a1,0x71));var _0x188a=function(_0x2265da,_0xfbbd2e){_0x2265da=_0x2265da-0x0;var _0x430c2b=_0x88a1[_0x2265da];return _0x430c2b;};'use strict';var multer=require(_0x188a('0x0'));var util=require('util');var path=require(_0x188a('0x1'));var timeout=require(_0x188a('0x2'));var express=require(_0x188a('0x3'));var router=express[_0x188a('0x4')]();var auth=require(_0x188a('0x5'));var interaction=require(_0x188a('0x6'));var config=require(_0x188a('0x7'));var controller=require(_0x188a('0x8'));router[_0x188a('0x9')]('/',auth[_0x188a('0xa')](),controller[_0x188a('0xb')]);router[_0x188a('0x9')](_0x188a('0xc'),auth[_0x188a('0xa')](),controller[_0x188a('0xd')]);router[_0x188a('0x9')](_0x188a('0xe'),auth[_0x188a('0xa')](),controller['show']);router[_0x188a('0xf')]('/',auth['isAuthenticated'](),controller[_0x188a('0x10')]);router[_0x188a('0x11')](_0x188a('0xe'),auth[_0x188a('0xa')](),controller['update']);router[_0x188a('0x12')](_0x188a('0xe'),auth[_0x188a('0xa')](),controller[_0x188a('0x13')]);module[_0x188a('0x14')]=router;