Built motion from commit (unavailable).|2.5.6
[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 _0x296e=['delete','exports','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./voiceCallReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put'];(function(_0x13b02f,_0x462a53){var _0x12e9a6=function(_0x187d57){while(--_0x187d57){_0x13b02f['push'](_0x13b02f['shift']());}};_0x12e9a6(++_0x462a53);}(_0x296e,0x1a4));var _0xe296=function(_0x59ac30,_0x271018){_0x59ac30=_0x59ac30-0x0;var _0x348d36=_0x296e[_0x59ac30];return _0x348d36;};'use strict';var multer=require('multer');var util=require(_0xe296('0x0'));var path=require(_0xe296('0x1'));var timeout=require(_0xe296('0x2'));var express=require('express');var router=express[_0xe296('0x3')]();var auth=require(_0xe296('0x4'));var interaction=require(_0xe296('0x5'));var config=require('../../config/environment');var controller=require(_0xe296('0x6'));router[_0xe296('0x7')]('/',auth[_0xe296('0x8')](),controller[_0xe296('0x9')]);router[_0xe296('0x7')](_0xe296('0xa'),auth[_0xe296('0x8')](),controller[_0xe296('0xb')]);router[_0xe296('0x7')](_0xe296('0xc'),auth[_0xe296('0x8')](),controller[_0xe296('0xd')]);router[_0xe296('0xe')]('/',auth[_0xe296('0x8')](),controller[_0xe296('0xf')]);router[_0xe296('0x10')](_0xe296('0xc'),auth[_0xe296('0x8')](),controller['update']);router[_0xe296('0x11')](_0xe296('0xc'),auth[_0xe296('0x8')](),controller['destroy']);module[_0xe296('0x12')]=router;