c228c78a388b8bd69a7aefc60abe66ab160b081c
[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 _0x4ae0=['express','Router','../../components/auth/service','../../config/environment','./jscriptyAnswerReport.controller','get','/describe','/:id','show','post','create','update','delete','destroy','multer','util','connect-timeout'];(function(_0x833d9b,_0x19a5d6){var _0x2cc2a4=function(_0x206446){while(--_0x206446){_0x833d9b['push'](_0x833d9b['shift']());}};_0x2cc2a4(++_0x19a5d6);}(_0x4ae0,0x1a6));var _0x04ae=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0x4ae0[_0x19950b];return _0x3c6b41;};'use strict';var multer=require(_0x04ae('0x0'));var util=require(_0x04ae('0x1'));var path=require('path');var timeout=require(_0x04ae('0x2'));var express=require(_0x04ae('0x3'));var router=express[_0x04ae('0x4')]();var auth=require(_0x04ae('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x04ae('0x6'));var controller=require(_0x04ae('0x7'));router[_0x04ae('0x8')]('/',auth['isAuthenticated'](),controller['index']);router[_0x04ae('0x8')](_0x04ae('0x9'),auth['isAuthenticated'](),controller['describe']);router[_0x04ae('0x8')](_0x04ae('0xa'),auth['isAuthenticated'](),controller[_0x04ae('0xb')]);router[_0x04ae('0xc')]('/',auth['isAuthenticated'](),controller[_0x04ae('0xd')]);router['put'](_0x04ae('0xa'),auth['isAuthenticated'](),controller[_0x04ae('0xe')]);router[_0x04ae('0xf')](_0x04ae('0xa'),auth['isAuthenticated'](),controller[_0x04ae('0x10')]);module['exports']=router;