Built motion from commit (unavailable).|2.2.0
[motion2.git] / server / api / jscriptyAnswerReport / 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 _0x5386=['path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','describe','post','create','put','/:id','update','destroy','multer','util'];(function(_0x397e5f,_0x454c8f){var _0x5302b8=function(_0x1a29ef){while(--_0x1a29ef){_0x397e5f['push'](_0x397e5f['shift']());}};_0x5302b8(++_0x454c8f);}(_0x5386,0x166));var _0x6538=function(_0x150792,_0x187824){_0x150792=_0x150792-0x0;var _0x5f2974=_0x5386[_0x150792];return _0x5f2974;};'use strict';var multer=require(_0x6538('0x0'));var util=require(_0x6538('0x1'));var path=require(_0x6538('0x2'));var timeout=require(_0x6538('0x3'));var express=require(_0x6538('0x4'));var router=express[_0x6538('0x5')]();var auth=require(_0x6538('0x6'));var interaction=require(_0x6538('0x7'));var config=require(_0x6538('0x8'));var controller=require('./jscriptyAnswerReport.controller');router[_0x6538('0x9')]('/',auth[_0x6538('0xa')](),controller['index']);router[_0x6538('0x9')]('/describe',auth[_0x6538('0xa')](),controller[_0x6538('0xb')]);router['get']('/:id',auth[_0x6538('0xa')](),controller['show']);router[_0x6538('0xc')]('/',auth[_0x6538('0xa')](),controller[_0x6538('0xd')]);router[_0x6538('0xe')](_0x6538('0xf'),auth[_0x6538('0xa')](),controller[_0x6538('0x10')]);router['delete']('/:id',auth[_0x6538('0xa')](),controller[_0x6538('0x11')]);module['exports']=router;