Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / jscriptyQuestionReport / 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 _0x8d4e=['get','isAuthenticated','index','describe','/:id','show','post','put','update','delete','destroy','multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','./jscriptyQuestionReport.controller'];(function(_0x52df51,_0x654c3a){var _0x130ee0=function(_0x13478f){while(--_0x13478f){_0x52df51['push'](_0x52df51['shift']());}};_0x130ee0(++_0x654c3a);}(_0x8d4e,0x1ad));var _0xe8d4=function(_0x503a48,_0x223a45){_0x503a48=_0x503a48-0x0;var _0x1967e7=_0x8d4e[_0x503a48];return _0x1967e7;};'use strict';var multer=require(_0xe8d4('0x0'));var util=require(_0xe8d4('0x1'));var path=require(_0xe8d4('0x2'));var timeout=require(_0xe8d4('0x3'));var express=require(_0xe8d4('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xe8d4('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xe8d4('0x6'));var controller=require(_0xe8d4('0x7'));router[_0xe8d4('0x8')]('/',auth[_0xe8d4('0x9')](),controller[_0xe8d4('0xa')]);router[_0xe8d4('0x8')]('/describe',auth[_0xe8d4('0x9')](),controller[_0xe8d4('0xb')]);router[_0xe8d4('0x8')](_0xe8d4('0xc'),auth[_0xe8d4('0x9')](),controller[_0xe8d4('0xd')]);router[_0xe8d4('0xe')]('/',auth[_0xe8d4('0x9')](),controller['create']);router[_0xe8d4('0xf')]('/:id',auth[_0xe8d4('0x9')](),controller[_0xe8d4('0x10')]);router[_0xe8d4('0x11')](_0xe8d4('0xc'),auth[_0xe8d4('0x9')](),controller[_0xe8d4('0x12')]);module['exports']=router;