Built motion from commit (unavailable).|2.5.22
[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 _0xef27=['destroy','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareReport.controller','get','isAuthenticated','index','describe','/:id','show','post','create','put','update'];(function(_0x868837,_0x527c41){var _0x52039e=function(_0x203f36){while(--_0x203f36){_0x868837['push'](_0x868837['shift']());}};_0x52039e(++_0x527c41);}(_0xef27,0x155));var _0x7ef2=function(_0x4c7d02,_0x4110e2){_0x4c7d02=_0x4c7d02-0x0;var _0x3417b9=_0xef27[_0x4c7d02];return _0x3417b9;};'use strict';var multer=require('multer');var util=require(_0x7ef2('0x0'));var path=require(_0x7ef2('0x1'));var timeout=require(_0x7ef2('0x2'));var express=require(_0x7ef2('0x3'));var router=express[_0x7ef2('0x4')]();var auth=require(_0x7ef2('0x5'));var interaction=require(_0x7ef2('0x6'));var config=require(_0x7ef2('0x7'));var controller=require(_0x7ef2('0x8'));router[_0x7ef2('0x9')]('/',auth[_0x7ef2('0xa')](),controller[_0x7ef2('0xb')]);router['get']('/describe',auth[_0x7ef2('0xa')](),controller[_0x7ef2('0xc')]);router[_0x7ef2('0x9')](_0x7ef2('0xd'),auth['isAuthenticated'](),controller[_0x7ef2('0xe')]);router[_0x7ef2('0xf')]('/',auth[_0x7ef2('0xa')](),controller[_0x7ef2('0x10')]);router[_0x7ef2('0x11')](_0x7ef2('0xd'),auth[_0x7ef2('0xa')](),controller[_0x7ef2('0x12')]);router['delete'](_0x7ef2('0xd'),auth[_0x7ef2('0xa')](),controller[_0x7ef2('0x13')]);module['exports']=router;