Built motion from commit 953226e6.|2.6.32
[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 _0x778f=['describe','isAuthenticated','/:id/questions','getQuestions','put','/:id','update','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./jscriptySessionReport.controller','index','get','/describe'];(function(_0x33dfba,_0x2ccd0f){var _0x338c3a=function(_0x1e70ff){while(--_0x1e70ff){_0x33dfba['push'](_0x33dfba['shift']());}};_0x338c3a(++_0x2ccd0f);}(_0x778f,0x183));var _0xf778=function(_0x220f3f,_0x11c540){_0x220f3f=_0x220f3f-0x0;var _0x1f170e=_0x778f[_0x220f3f];return _0x1f170e;};'use strict';var multer=require(_0xf778('0x0'));var util=require(_0xf778('0x1'));var path=require(_0xf778('0x2'));var timeout=require(_0xf778('0x3'));var express=require(_0xf778('0x4'));var router=express[_0xf778('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xf778('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xf778('0x7'));var controller=require(_0xf778('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xf778('0x9')]);router[_0xf778('0xa')](_0xf778('0xb'),auth['isAuthenticated'](),controller[_0xf778('0xc')]);router['get']('/:id',auth[_0xf778('0xd')](),controller['show']);router[_0xf778('0xa')](_0xf778('0xe'),auth['isAuthenticated'](),controller[_0xf778('0xf')]);router['post']('/',auth[_0xf778('0xd')](),controller['create']);router[_0xf778('0x10')](_0xf778('0x11'),auth[_0xf778('0xd')](),controller[_0xf778('0x12')]);router[_0xf778('0x13')]('/:id',auth[_0xf778('0xd')](),controller[_0xf778('0x14')]);module['exports']=router;