Built motion from commit 97f2f211.|2.6.31
[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 _0x17e1=['destroy','exports','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyProject.controller','get','isAuthenticated','/:id','show','/:id/sessions','getSessions','/:id/answers','/:id/summary','30s','getSummary','post','create','/:id/clone','clone','put','update','delete'];(function(_0x11201c,_0x12b4e8){var _0x3d0b91=function(_0x715b7c){while(--_0x715b7c){_0x11201c['push'](_0x11201c['shift']());}};_0x3d0b91(++_0x12b4e8);}(_0x17e1,0xf5));var _0x117e=function(_0x4d34fc,_0x35a7df){_0x4d34fc=_0x4d34fc-0x0;var _0x38ef0f=_0x17e1[_0x4d34fc];return _0x38ef0f;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x117e('0x0'));var express=require(_0x117e('0x1'));var router=express[_0x117e('0x2')]();var fs_extra=require(_0x117e('0x3'));var auth=require(_0x117e('0x4'));var interaction=require(_0x117e('0x5'));var config=require(_0x117e('0x6'));var controller=require(_0x117e('0x7'));router[_0x117e('0x8')]('/',auth[_0x117e('0x9')](),controller['index']);router[_0x117e('0x8')](_0x117e('0xa'),auth[_0x117e('0x9')](),controller[_0x117e('0xb')]);router[_0x117e('0x8')](_0x117e('0xc'),auth[_0x117e('0x9')](),controller[_0x117e('0xd')]);router[_0x117e('0x8')](_0x117e('0xe'),auth[_0x117e('0x9')](),controller['getAnswers']);router[_0x117e('0x8')](_0x117e('0xf'),auth[_0x117e('0x9')](),timeout(_0x117e('0x10')),controller[_0x117e('0x11')]);router[_0x117e('0x12')]('/',auth[_0x117e('0x9')](),controller[_0x117e('0x13')]);router[_0x117e('0x12')](_0x117e('0x14'),auth[_0x117e('0x9')](),controller[_0x117e('0x15')]);router[_0x117e('0x16')](_0x117e('0xa'),auth[_0x117e('0x9')](),controller[_0x117e('0x17')]);router[_0x117e('0x18')](_0x117e('0xa'),auth[_0x117e('0x9')](),controller[_0x117e('0x19')]);module[_0x117e('0x1a')]=router;