Built motion from commit (unavailable).|2.5.7
[motion2.git] / server / api / jscriptyAnswerReport / 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 _0xef82=['../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyAnswerReport.controller','index','get','/describe','isAuthenticated','show','post','put','/:id','update','delete','destroy','multer','util','path','connect-timeout'];(function(_0x4d96aa,_0x54021c){var _0x1a9f74=function(_0x31039b){while(--_0x31039b){_0x4d96aa['push'](_0x4d96aa['shift']());}};_0x1a9f74(++_0x54021c);}(_0xef82,0xcd));var _0x2ef8=function(_0x27af45,_0x1b57aa){_0x27af45=_0x27af45-0x0;var _0x18df21=_0xef82[_0x27af45];return _0x18df21;};'use strict';var multer=require(_0x2ef8('0x0'));var util=require(_0x2ef8('0x1'));var path=require(_0x2ef8('0x2'));var timeout=require(_0x2ef8('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x2ef8('0x4'));var interaction=require(_0x2ef8('0x5'));var config=require(_0x2ef8('0x6'));var controller=require(_0x2ef8('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x2ef8('0x8')]);router[_0x2ef8('0x9')](_0x2ef8('0xa'),auth[_0x2ef8('0xb')](),controller['describe']);router[_0x2ef8('0x9')]('/:id',auth[_0x2ef8('0xb')](),controller[_0x2ef8('0xc')]);router[_0x2ef8('0xd')]('/',auth[_0x2ef8('0xb')](),controller['create']);router[_0x2ef8('0xe')](_0x2ef8('0xf'),auth[_0x2ef8('0xb')](),controller[_0x2ef8('0x10')]);router[_0x2ef8('0x11')](_0x2ef8('0xf'),auth[_0x2ef8('0xb')](),controller[_0x2ef8('0x12')]);module['exports']=router;