Built motion from commit (unavailable).|2.0.82
[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 _0x07ef=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyProject.controller','get','isAuthenticated','index','/:id','show','/:id/sessions','getSessions','/:id/answers','getAnswers','30s','getSummary','create','post','/:id/clone','clone','put','update','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0x4ddbf5,_0x233f7e){var _0x325fdf=function(_0x49edf7){while(--_0x49edf7){_0x4ddbf5['push'](_0x4ddbf5['shift']());}};_0x325fdf(++_0x233f7e);}(_0x07ef,0x70));var _0xf07e=function(_0x34646f,_0x55a313){_0x34646f=_0x34646f-0x0;var _0x490624=_0x07ef[_0x34646f];return _0x490624;};'use strict';var multer=require(_0xf07e('0x0'));var util=require(_0xf07e('0x1'));var path=require(_0xf07e('0x2'));var timeout=require(_0xf07e('0x3'));var express=require('express');var router=express[_0xf07e('0x4')]();var auth=require(_0xf07e('0x5'));var interaction=require(_0xf07e('0x6'));var config=require(_0xf07e('0x7'));var controller=require(_0xf07e('0x8'));router[_0xf07e('0x9')]('/',auth[_0xf07e('0xa')](),controller[_0xf07e('0xb')]);router[_0xf07e('0x9')](_0xf07e('0xc'),auth[_0xf07e('0xa')](),controller[_0xf07e('0xd')]);router[_0xf07e('0x9')](_0xf07e('0xe'),auth[_0xf07e('0xa')](),controller[_0xf07e('0xf')]);router[_0xf07e('0x9')](_0xf07e('0x10'),auth['isAuthenticated'](),controller[_0xf07e('0x11')]);router[_0xf07e('0x9')]('/:id/summary',auth['isAuthenticated'](),timeout(_0xf07e('0x12')),controller[_0xf07e('0x13')]);router['post']('/',auth[_0xf07e('0xa')](),controller[_0xf07e('0x14')]);router[_0xf07e('0x15')](_0xf07e('0x16'),auth['isAuthenticated'](),controller[_0xf07e('0x17')]);router[_0xf07e('0x18')](_0xf07e('0xc'),auth[_0xf07e('0xa')](),controller[_0xf07e('0x19')]);router[_0xf07e('0x1a')](_0xf07e('0xc'),auth['isAuthenticated'](),controller[_0xf07e('0x1b')]);module[_0xf07e('0x1c')]=router;