Built motion from commit (unavailable).|2.5.0
[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 _0xc806=['update','destroy','path','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyAnswerReport.controller','get','isAuthenticated','index','/describe','/:id','show','post','create','put'];(function(_0x506931,_0x1ca545){var _0x2126dc=function(_0x43c55c){while(--_0x43c55c){_0x506931['push'](_0x506931['shift']());}};_0x2126dc(++_0x1ca545);}(_0xc806,0x1e2));var _0x6c80=function(_0x4477cf,_0x5565bd){_0x4477cf=_0x4477cf-0x0;var _0xfa8f87=_0xc806[_0x4477cf];return _0xfa8f87;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x6c80('0x0'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x6c80('0x1'));var interaction=require(_0x6c80('0x2'));var config=require(_0x6c80('0x3'));var controller=require(_0x6c80('0x4'));router[_0x6c80('0x5')]('/',auth[_0x6c80('0x6')](),controller[_0x6c80('0x7')]);router[_0x6c80('0x5')](_0x6c80('0x8'),auth[_0x6c80('0x6')](),controller['describe']);router[_0x6c80('0x5')](_0x6c80('0x9'),auth[_0x6c80('0x6')](),controller[_0x6c80('0xa')]);router[_0x6c80('0xb')]('/',auth[_0x6c80('0x6')](),controller[_0x6c80('0xc')]);router[_0x6c80('0xd')](_0x6c80('0x9'),auth['isAuthenticated'](),controller[_0x6c80('0xe')]);router['delete'](_0x6c80('0x9'),auth[_0x6c80('0x6')](),controller[_0x6c80('0xf')]);module['exports']=router;