Built motion from commit (unavailable).|2.5.10
[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 _0x7aad=['update','destroy','exports','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyAnswerReport.controller','get','isAuthenticated','index','/describe','describe','/:id','create'];(function(_0x17cb9f,_0x27aaac){var _0x2f4dee=function(_0x28cfff){while(--_0x28cfff){_0x17cb9f['push'](_0x17cb9f['shift']());}};_0x2f4dee(++_0x27aaac);}(_0x7aad,0xa3));var _0xd7aa=function(_0x40bffc,_0x3a45d7){_0x40bffc=_0x40bffc-0x0;var _0x3007e9=_0x7aad[_0x40bffc];return _0x3007e9;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xd7aa('0x0'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xd7aa('0x1')]();var auth=require(_0xd7aa('0x2'));var interaction=require(_0xd7aa('0x3'));var config=require(_0xd7aa('0x4'));var controller=require(_0xd7aa('0x5'));router[_0xd7aa('0x6')]('/',auth[_0xd7aa('0x7')](),controller[_0xd7aa('0x8')]);router[_0xd7aa('0x6')](_0xd7aa('0x9'),auth['isAuthenticated'](),controller[_0xd7aa('0xa')]);router[_0xd7aa('0x6')](_0xd7aa('0xb'),auth[_0xd7aa('0x7')](),controller['show']);router['post']('/',auth[_0xd7aa('0x7')](),controller[_0xd7aa('0xc')]);router['put']('/:id',auth[_0xd7aa('0x7')](),controller[_0xd7aa('0xd')]);router['delete'](_0xd7aa('0xb'),auth[_0xd7aa('0x7')](),controller[_0xd7aa('0xe')]);module[_0xd7aa('0xf')]=router;