37025acd53f979c05d8c4c9ab07ef2b49467977a
[motion2.git] / server / api / voiceTransferReport / 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 _0x90a6=['Router','../../components/auth/service','../../config/environment','./voiceTransferReport.controller','index','get','/describe','describe','/:id','isAuthenticated','post','create','put','update','destroy','exports','util','path','connect-timeout','express'];(function(_0x28cf9f,_0x16a2b2){var _0x230ee7=function(_0x8a6e1c){while(--_0x8a6e1c){_0x28cf9f['push'](_0x28cf9f['shift']());}};_0x230ee7(++_0x16a2b2);}(_0x90a6,0x1dc));var _0x690a=function(_0x5649a4,_0x24723a){_0x5649a4=_0x5649a4-0x0;var _0x2ab078=_0x90a6[_0x5649a4];return _0x2ab078;};'use strict';var multer=require('multer');var util=require(_0x690a('0x0'));var path=require(_0x690a('0x1'));var timeout=require(_0x690a('0x2'));var express=require(_0x690a('0x3'));var router=express[_0x690a('0x4')]();var auth=require(_0x690a('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x690a('0x6'));var controller=require(_0x690a('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x690a('0x8')]);router[_0x690a('0x9')](_0x690a('0xa'),auth['isAuthenticated'](),controller[_0x690a('0xb')]);router[_0x690a('0x9')](_0x690a('0xc'),auth[_0x690a('0xd')](),controller['show']);router[_0x690a('0xe')]('/',auth[_0x690a('0xd')](),controller[_0x690a('0xf')]);router[_0x690a('0x10')](_0x690a('0xc'),auth['isAuthenticated'](),controller[_0x690a('0x11')]);router['delete'](_0x690a('0xc'),auth[_0x690a('0xd')](),controller[_0x690a('0x12')]);module[_0x690a('0x13')]=router;