Built motion from commit (unavailable).|2.5.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 _0x22d7=['show','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./voiceCallReport.controller','isAuthenticated','index','get','describe','/:id'];(function(_0x1aa50c,_0x4c60c3){var _0x5763a0=function(_0x3ffbd0){while(--_0x3ffbd0){_0x1aa50c['push'](_0x1aa50c['shift']());}};_0x5763a0(++_0x4c60c3);}(_0x22d7,0xc5));var _0x722d=function(_0x43e1e6,_0x399da){_0x43e1e6=_0x43e1e6-0x0;var _0x58753d=_0x22d7[_0x43e1e6];return _0x58753d;};'use strict';var multer=require('multer');var util=require(_0x722d('0x0'));var path=require(_0x722d('0x1'));var timeout=require(_0x722d('0x2'));var express=require(_0x722d('0x3'));var router=express[_0x722d('0x4')]();var auth=require(_0x722d('0x5'));var interaction=require(_0x722d('0x6'));var config=require('../../config/environment');var controller=require(_0x722d('0x7'));router['get']('/',auth[_0x722d('0x8')](),controller[_0x722d('0x9')]);router[_0x722d('0xa')]('/describe',auth['isAuthenticated'](),controller[_0x722d('0xb')]);router[_0x722d('0xa')](_0x722d('0xc'),auth[_0x722d('0x8')](),controller[_0x722d('0xd')]);router[_0x722d('0xe')]('/',auth['isAuthenticated'](),controller[_0x722d('0xf')]);router[_0x722d('0x10')]('/:id',auth[_0x722d('0x8')](),controller[_0x722d('0x11')]);router[_0x722d('0x12')](_0x722d('0xc'),auth[_0x722d('0x8')](),controller[_0x722d('0x13')]);module[_0x722d('0x14')]=router;