Built motion from commit 88aa8522.|2.5.37
[motion2.git] / server / api / voiceAgentReport / 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 _0x5481=['./voiceAgentReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','put','update','exports','multer','connect-timeout','express','Router','../../components/interaction/service','../../config/environment'];(function(_0x466247,_0x5d69e3){var _0x4b352e=function(_0x58c71b){while(--_0x58c71b){_0x466247['push'](_0x466247['shift']());}};_0x4b352e(++_0x5d69e3);}(_0x5481,0x1a3));var _0x1548=function(_0x19ea50,_0x298a17){_0x19ea50=_0x19ea50-0x0;var _0x82bf0e=_0x5481[_0x19ea50];return _0x82bf0e;};'use strict';var multer=require(_0x1548('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x1548('0x1'));var express=require(_0x1548('0x2'));var router=express[_0x1548('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x1548('0x4'));var config=require(_0x1548('0x5'));var controller=require(_0x1548('0x6'));router[_0x1548('0x7')]('/',auth[_0x1548('0x8')](),controller[_0x1548('0x9')]);router[_0x1548('0x7')](_0x1548('0xa'),auth[_0x1548('0x8')](),controller[_0x1548('0xb')]);router[_0x1548('0x7')](_0x1548('0xc'),auth[_0x1548('0x8')](),controller[_0x1548('0xd')]);router['post']('/',auth[_0x1548('0x8')](),controller['create']);router[_0x1548('0xe')]('/:id',auth[_0x1548('0x8')](),controller[_0x1548('0xf')]);router['delete']('/:id',auth[_0x1548('0x8')](),controller['destroy']);module[_0x1548('0x10')]=router;