Built motion from commit (unavailable).|2.5.14
[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 _0x1c22=['isAuthenticated','index','get','/:id','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyAnswerReport.controller'];(function(_0x596ff1,_0x348a3b){var _0x488509=function(_0x54bb32){while(--_0x54bb32){_0x596ff1['push'](_0x596ff1['shift']());}};_0x488509(++_0x348a3b);}(_0x1c22,0x8f));var _0x21c2=function(_0x343d45,_0x350bb1){_0x343d45=_0x343d45-0x0;var _0x2ae23a=_0x1c22[_0x343d45];return _0x2ae23a;};'use strict';var multer=require(_0x21c2('0x0'));var util=require(_0x21c2('0x1'));var path=require(_0x21c2('0x2'));var timeout=require(_0x21c2('0x3'));var express=require('express');var router=express[_0x21c2('0x4')]();var auth=require(_0x21c2('0x5'));var interaction=require(_0x21c2('0x6'));var config=require(_0x21c2('0x7'));var controller=require(_0x21c2('0x8'));router['get']('/',auth[_0x21c2('0x9')](),controller[_0x21c2('0xa')]);router['get']('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x21c2('0xb')](_0x21c2('0xc'),auth['isAuthenticated'](),controller['show']);router[_0x21c2('0xd')]('/',auth[_0x21c2('0x9')](),controller[_0x21c2('0xe')]);router[_0x21c2('0xf')](_0x21c2('0xc'),auth[_0x21c2('0x9')](),controller[_0x21c2('0x10')]);router[_0x21c2('0x11')](_0x21c2('0xc'),auth[_0x21c2('0x9')](),controller[_0x21c2('0x12')]);module['exports']=router;