Built motion from commit (unavailable).|2.5.26
[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 _0x223a=['../../components/interaction/service','../../config/environment','./jscriptyAnswerReport.controller','get','isAuthenticated','index','/describe','/:id','post','put','destroy','exports','multer','util','path','connect-timeout','Router'];(function(_0x2db6d9,_0x4c8160){var _0x47491c=function(_0x399655){while(--_0x399655){_0x2db6d9['push'](_0x2db6d9['shift']());}};_0x47491c(++_0x4c8160);}(_0x223a,0x94));var _0xa223=function(_0x98813e,_0x2128b4){_0x98813e=_0x98813e-0x0;var _0x14803a=_0x223a[_0x98813e];return _0x14803a;};'use strict';var multer=require(_0xa223('0x0'));var util=require(_0xa223('0x1'));var path=require(_0xa223('0x2'));var timeout=require(_0xa223('0x3'));var express=require('express');var router=express[_0xa223('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xa223('0x5'));var config=require(_0xa223('0x6'));var controller=require(_0xa223('0x7'));router[_0xa223('0x8')]('/',auth[_0xa223('0x9')](),controller[_0xa223('0xa')]);router[_0xa223('0x8')](_0xa223('0xb'),auth[_0xa223('0x9')](),controller['describe']);router[_0xa223('0x8')](_0xa223('0xc'),auth[_0xa223('0x9')](),controller['show']);router[_0xa223('0xd')]('/',auth[_0xa223('0x9')](),controller['create']);router[_0xa223('0xe')]('/:id',auth[_0xa223('0x9')](),controller['update']);router['delete'](_0xa223('0xc'),auth[_0xa223('0x9')](),controller[_0xa223('0xf')]);module[_0xa223('0x10')]=router;