Built motion from commit (unavailable).|2.5.3
[motion2.git] / server / api / jscriptyProject / 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 _0xb89f=['path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyProject.controller','get','index','/:id','isAuthenticated','getSessions','/:id/answers','getAnswers','/:id/summary','30s','getSummary','create','post','/:id/clone','clone','put','update','delete','destroy','exports','multer','util'];(function(_0x41e0b5,_0x5ff982){var _0x17a942=function(_0xc93163){while(--_0xc93163){_0x41e0b5['push'](_0x41e0b5['shift']());}};_0x17a942(++_0x5ff982);}(_0xb89f,0x16a));var _0xfb89=function(_0x5e18fc,_0x1f4cab){_0x5e18fc=_0x5e18fc-0x0;var _0x563582=_0xb89f[_0x5e18fc];return _0x563582;};'use strict';var multer=require(_0xfb89('0x0'));var util=require(_0xfb89('0x1'));var path=require(_0xfb89('0x2'));var timeout=require(_0xfb89('0x3'));var express=require('express');var router=express[_0xfb89('0x4')]();var auth=require(_0xfb89('0x5'));var interaction=require(_0xfb89('0x6'));var config=require(_0xfb89('0x7'));var controller=require(_0xfb89('0x8'));router[_0xfb89('0x9')]('/',auth['isAuthenticated'](),controller[_0xfb89('0xa')]);router['get'](_0xfb89('0xb'),auth[_0xfb89('0xc')](),controller['show']);router[_0xfb89('0x9')]('/:id/sessions',auth[_0xfb89('0xc')](),controller[_0xfb89('0xd')]);router[_0xfb89('0x9')](_0xfb89('0xe'),auth[_0xfb89('0xc')](),controller[_0xfb89('0xf')]);router[_0xfb89('0x9')](_0xfb89('0x10'),auth[_0xfb89('0xc')](),timeout(_0xfb89('0x11')),controller[_0xfb89('0x12')]);router['post']('/',auth[_0xfb89('0xc')](),controller[_0xfb89('0x13')]);router[_0xfb89('0x14')](_0xfb89('0x15'),auth[_0xfb89('0xc')](),controller[_0xfb89('0x16')]);router[_0xfb89('0x17')](_0xfb89('0xb'),auth[_0xfb89('0xc')](),controller[_0xfb89('0x18')]);router[_0xfb89('0x19')](_0xfb89('0xb'),auth[_0xfb89('0xc')](),controller[_0xfb89('0x1a')]);module[_0xfb89('0x1b')]=router;