Built motion from commit (unavailable).|2.5.30
[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 _0x808d=['util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','isAuthenticated','index','get','/describe','describe','post','create','put','update','delete','/:id','destroy','exports','multer'];(function(_0x5bfab5,_0x33906e){var _0xb11b67=function(_0x573915){while(--_0x573915){_0x5bfab5['push'](_0x5bfab5['shift']());}};_0xb11b67(++_0x33906e);}(_0x808d,0xfb));var _0xd808=function(_0x470251,_0x140e19){_0x470251=_0x470251-0x0;var _0x43e14f=_0x808d[_0x470251];return _0x43e14f;};'use strict';var multer=require(_0xd808('0x0'));var util=require(_0xd808('0x1'));var path=require(_0xd808('0x2'));var timeout=require(_0xd808('0x3'));var express=require(_0xd808('0x4'));var router=express[_0xd808('0x5')]();var fs_extra=require(_0xd808('0x6'));var auth=require(_0xd808('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./squareReportDetail.controller');router['get']('/',auth[_0xd808('0x8')](),controller[_0xd808('0x9')]);router[_0xd808('0xa')](_0xd808('0xb'),auth[_0xd808('0x8')](),controller[_0xd808('0xc')]);router[_0xd808('0xa')]('/:id',auth[_0xd808('0x8')](),controller['show']);router[_0xd808('0xd')]('/',auth['isAuthenticated'](),controller[_0xd808('0xe')]);router[_0xd808('0xf')]('/:id',auth[_0xd808('0x8')](),controller[_0xd808('0x10')]);router[_0xd808('0x11')](_0xd808('0x12'),auth[_0xd808('0x8')](),controller[_0xd808('0x13')]);module[_0xd808('0x14')]=router;