Built motion from commit d5e4af8c.|2.6.23
[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 _0xfc8e=['/:id/questions','getQuestions','post','create','put','update','delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','./jscriptySessionReport.controller','get','isAuthenticated','index','describe','/:id','show'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xfc8e,0x9c));var _0xefc8=function(_0x2cab21,_0x72aab5){_0x2cab21=_0x2cab21-0x0;var _0x4cf8ba=_0xfc8e[_0x2cab21];return _0x4cf8ba;};'use strict';var multer=require('multer');var util=require(_0xefc8('0x0'));var path=require('path');var timeout=require(_0xefc8('0x1'));var express=require(_0xefc8('0x2'));var router=express[_0xefc8('0x3')]();var fs_extra=require(_0xefc8('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xefc8('0x5'));router[_0xefc8('0x6')]('/',auth[_0xefc8('0x7')](),controller[_0xefc8('0x8')]);router[_0xefc8('0x6')]('/describe',auth[_0xefc8('0x7')](),controller[_0xefc8('0x9')]);router[_0xefc8('0x6')](_0xefc8('0xa'),auth[_0xefc8('0x7')](),controller[_0xefc8('0xb')]);router[_0xefc8('0x6')](_0xefc8('0xc'),auth[_0xefc8('0x7')](),controller[_0xefc8('0xd')]);router[_0xefc8('0xe')]('/',auth['isAuthenticated'](),controller[_0xefc8('0xf')]);router[_0xefc8('0x10')](_0xefc8('0xa'),auth[_0xefc8('0x7')](),controller[_0xefc8('0x11')]);router[_0xefc8('0x12')](_0xefc8('0xa'),auth[_0xefc8('0x7')](),controller[_0xefc8('0x13')]);module[_0xefc8('0x14')]=router;