Built motion from commit (unavailable).|2.0.71
[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 _0x1d6a=['index','/describe','/:id','show','create','put','update','destroy','multer','path','express','../../components/interaction/service','../../config/environment','./jscriptyQuestionReport.controller','get','isAuthenticated'];(function(_0x1390ba,_0xff2d03){var _0x42bf4e=function(_0x31ac17){while(--_0x31ac17){_0x1390ba['push'](_0x1390ba['shift']());}};_0x42bf4e(++_0xff2d03);}(_0x1d6a,0x68));var _0xa1d6=function(_0x46e363,_0x45d7e2){_0x46e363=_0x46e363-0x0;var _0x3fb059=_0x1d6a[_0x46e363];return _0x3fb059;};'use strict';var multer=require(_0xa1d6('0x0'));var util=require('util');var path=require(_0xa1d6('0x1'));var express=require(_0xa1d6('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xa1d6('0x3'));var config=require(_0xa1d6('0x4'));var controller=require(_0xa1d6('0x5'));router[_0xa1d6('0x6')]('/',auth[_0xa1d6('0x7')](),controller[_0xa1d6('0x8')]);router[_0xa1d6('0x6')](_0xa1d6('0x9'),auth[_0xa1d6('0x7')](),controller['describe']);router[_0xa1d6('0x6')](_0xa1d6('0xa'),auth[_0xa1d6('0x7')](),controller[_0xa1d6('0xb')]);router['post']('/',auth[_0xa1d6('0x7')](),controller[_0xa1d6('0xc')]);router[_0xa1d6('0xd')](_0xa1d6('0xa'),auth['isAuthenticated'](),controller[_0xa1d6('0xe')]);router['delete'](_0xa1d6('0xa'),auth[_0xa1d6('0x7')](),controller[_0xa1d6('0xf')]);module['exports']=router;