Built motion from commit (unavailable).|2.5.22
[motion2.git] / server / api / voiceDialReport / 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 _0xb5de=['connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','show','post','create','delete','destroy','exports','multer','path'];(function(_0x3aacbc,_0x154dba){var _0x2eef0b=function(_0x8b754){while(--_0x8b754){_0x3aacbc['push'](_0x3aacbc['shift']());}};_0x2eef0b(++_0x154dba);}(_0xb5de,0x1ec));var _0xeb5d=function(_0x5a4530,_0x363d74){_0x5a4530=_0x5a4530-0x0;var _0xed526f=_0xb5de[_0x5a4530];return _0xed526f;};'use strict';var multer=require(_0xeb5d('0x0'));var util=require('util');var path=require(_0xeb5d('0x1'));var timeout=require(_0xeb5d('0x2'));var express=require('express');var router=express[_0xeb5d('0x3')]();var auth=require(_0xeb5d('0x4'));var interaction=require(_0xeb5d('0x5'));var config=require(_0xeb5d('0x6'));var controller=require('./voiceDialReport.controller');router['get']('/',auth[_0xeb5d('0x7')](),controller[_0xeb5d('0x8')]);router[_0xeb5d('0x9')](_0xeb5d('0xa'),auth[_0xeb5d('0x7')](),controller[_0xeb5d('0xb')]);router[_0xeb5d('0x9')](_0xeb5d('0xc'),auth[_0xeb5d('0x7')](),controller[_0xeb5d('0xd')]);router[_0xeb5d('0xe')]('/',auth['isAuthenticated'](),controller[_0xeb5d('0xf')]);router['put'](_0xeb5d('0xc'),auth['isAuthenticated'](),controller['update']);router[_0xeb5d('0x10')](_0xeb5d('0xc'),auth[_0xeb5d('0x7')](),controller[_0xeb5d('0x11')]);module[_0xeb5d('0x12')]=router;