Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / jscriptySessionReport / 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 _0x4ce6=['get','isAuthenticated','describe','/:id','show','/:id/questions','getQuestions','create','put','update','delete','destroy','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./jscriptySessionReport.controller','index'];(function(_0x3132e8,_0x499a0e){var _0x43eb8c=function(_0x2321e1){while(--_0x2321e1){_0x3132e8['push'](_0x3132e8['shift']());}};_0x43eb8c(++_0x499a0e);}(_0x4ce6,0x108));var _0x64ce=function(_0x57d370,_0x3ed0f6){_0x57d370=_0x57d370-0x0;var _0x550fd2=_0x4ce6[_0x57d370];return _0x550fd2;};'use strict';var multer=require(_0x64ce('0x0'));var util=require('util');var path=require(_0x64ce('0x1'));var timeout=require(_0x64ce('0x2'));var express=require(_0x64ce('0x3'));var router=express[_0x64ce('0x4')]();var auth=require(_0x64ce('0x5'));var interaction=require(_0x64ce('0x6'));var config=require('../../config/environment');var controller=require(_0x64ce('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x64ce('0x8')]);router[_0x64ce('0x9')]('/describe',auth[_0x64ce('0xa')](),controller[_0x64ce('0xb')]);router[_0x64ce('0x9')](_0x64ce('0xc'),auth[_0x64ce('0xa')](),controller[_0x64ce('0xd')]);router[_0x64ce('0x9')](_0x64ce('0xe'),auth[_0x64ce('0xa')](),controller[_0x64ce('0xf')]);router['post']('/',auth[_0x64ce('0xa')](),controller[_0x64ce('0x10')]);router[_0x64ce('0x11')](_0x64ce('0xc'),auth[_0x64ce('0xa')](),controller[_0x64ce('0x12')]);router[_0x64ce('0x13')](_0x64ce('0xc'),auth['isAuthenticated'](),controller[_0x64ce('0x14')]);module['exports']=router;