808691296c126b4912482f2c26ebbb347fe6c475
[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 _0x9b77=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceCallReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','delete','exports','multer','util','path','connect-timeout','express'];(function(_0x57f6eb,_0x5dc407){var _0x430379=function(_0xa87fd8){while(--_0xa87fd8){_0x57f6eb['push'](_0x57f6eb['shift']());}};_0x430379(++_0x5dc407);}(_0x9b77,0x1b0));var _0x79b7=function(_0xcfd89f,_0x106e8f){_0xcfd89f=_0xcfd89f-0x0;var _0x59acd4=_0x9b77[_0xcfd89f];return _0x59acd4;};'use strict';var multer=require(_0x79b7('0x0'));var util=require(_0x79b7('0x1'));var path=require(_0x79b7('0x2'));var timeout=require(_0x79b7('0x3'));var express=require(_0x79b7('0x4'));var router=express[_0x79b7('0x5')]();var auth=require(_0x79b7('0x6'));var interaction=require(_0x79b7('0x7'));var config=require(_0x79b7('0x8'));var controller=require(_0x79b7('0x9'));router[_0x79b7('0xa')]('/',auth[_0x79b7('0xb')](),controller[_0x79b7('0xc')]);router[_0x79b7('0xa')](_0x79b7('0xd'),auth['isAuthenticated'](),controller[_0x79b7('0xe')]);router[_0x79b7('0xa')](_0x79b7('0xf'),auth[_0x79b7('0xb')](),controller[_0x79b7('0x10')]);router['post']('/',auth[_0x79b7('0xb')](),controller['create']);router['put'](_0x79b7('0xf'),auth[_0x79b7('0xb')](),controller['update']);router[_0x79b7('0x11')](_0x79b7('0xf'),auth[_0x79b7('0xb')](),controller['destroy']);module[_0x79b7('0x12')]=router;