Built motion from commit (unavailable).|2.4.18
[motion2.git] / server / api / voiceCallReport / 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 _0x0368=['path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./voiceCallReport.controller','get','index','isAuthenticated','describe','/:id','show','create','update','destroy'];(function(_0x3fea00,_0x95c208){var _0x5c4dec=function(_0x342bc5){while(--_0x342bc5){_0x3fea00['push'](_0x3fea00['shift']());}};_0x5c4dec(++_0x95c208);}(_0x0368,0x1d1));var _0x8036=function(_0x54b458,_0x4da21b){_0x54b458=_0x54b458-0x0;var _0x18d704=_0x0368[_0x54b458];return _0x18d704;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x8036('0x0'));var timeout=require(_0x8036('0x1'));var express=require('express');var router=express[_0x8036('0x2')]();var auth=require(_0x8036('0x3'));var interaction=require(_0x8036('0x4'));var config=require('../../config/environment');var controller=require(_0x8036('0x5'));router[_0x8036('0x6')]('/',auth['isAuthenticated'](),controller[_0x8036('0x7')]);router[_0x8036('0x6')]('/describe',auth[_0x8036('0x8')](),controller[_0x8036('0x9')]);router['get'](_0x8036('0xa'),auth['isAuthenticated'](),controller[_0x8036('0xb')]);router['post']('/',auth[_0x8036('0x8')](),controller[_0x8036('0xc')]);router['put'](_0x8036('0xa'),auth[_0x8036('0x8')](),controller[_0x8036('0xd')]);router['delete']('/:id',auth[_0x8036('0x8')](),controller[_0x8036('0xe')]);module['exports']=router;