Built motion from commit (unavailable).|2.5.25
[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 _0x93bc=['exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','isAuthenticated','index','get','/:id','show','post','put','update','delete','destroy'];(function(_0x585e79,_0x4ee056){var _0xdeab72=function(_0x42d346){while(--_0x42d346){_0x585e79['push'](_0x585e79['shift']());}};_0xdeab72(++_0x4ee056);}(_0x93bc,0x121));var _0xc93b=function(_0x578ab6,_0x29b521){_0x578ab6=_0x578ab6-0x0;var _0x12da01=_0x93bc[_0x578ab6];return _0x12da01;};'use strict';var multer=require(_0xc93b('0x0'));var util=require(_0xc93b('0x1'));var path=require(_0xc93b('0x2'));var timeout=require(_0xc93b('0x3'));var express=require('express');var router=express[_0xc93b('0x4')]();var auth=require(_0xc93b('0x5'));var interaction=require(_0xc93b('0x6'));var config=require('../../config/environment');var controller=require('./voiceCallReport.controller');router['get']('/',auth[_0xc93b('0x7')](),controller[_0xc93b('0x8')]);router[_0xc93b('0x9')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0xc93b('0x9')](_0xc93b('0xa'),auth['isAuthenticated'](),controller[_0xc93b('0xb')]);router[_0xc93b('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0xc93b('0xd')]('/:id',auth[_0xc93b('0x7')](),controller[_0xc93b('0xe')]);router[_0xc93b('0xf')]('/:id',auth[_0xc93b('0x7')](),controller[_0xc93b('0x10')]);module[_0xc93b('0x11')]=router;