Built motion from commit (unavailable).|2.4.21
[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 _0x0534=['multer','util','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceCallReport.controller','isAuthenticated','index','get','/describe','describe','/:id','show','post','put','update','delete','exports'];(function(_0x176d19,_0x3056f0){var _0x40a7c8=function(_0x1fcac8){while(--_0x1fcac8){_0x176d19['push'](_0x176d19['shift']());}};_0x40a7c8(++_0x3056f0);}(_0x0534,0x190));var _0x4053=function(_0x350182,_0x2a9feb){_0x350182=_0x350182-0x0;var _0x4a0892=_0x0534[_0x350182];return _0x4a0892;};'use strict';var multer=require(_0x4053('0x0'));var util=require(_0x4053('0x1'));var path=require('path');var timeout=require(_0x4053('0x2'));var express=require('express');var router=express[_0x4053('0x3')]();var auth=require(_0x4053('0x4'));var interaction=require(_0x4053('0x5'));var config=require(_0x4053('0x6'));var controller=require(_0x4053('0x7'));router['get']('/',auth[_0x4053('0x8')](),controller[_0x4053('0x9')]);router[_0x4053('0xa')](_0x4053('0xb'),auth['isAuthenticated'](),controller[_0x4053('0xc')]);router[_0x4053('0xa')](_0x4053('0xd'),auth[_0x4053('0x8')](),controller[_0x4053('0xe')]);router[_0x4053('0xf')]('/',auth[_0x4053('0x8')](),controller['create']);router[_0x4053('0x10')](_0x4053('0xd'),auth[_0x4053('0x8')](),controller[_0x4053('0x11')]);router[_0x4053('0x12')](_0x4053('0xd'),auth[_0x4053('0x8')](),controller['destroy']);module[_0x4053('0x13')]=router;