Built motion from commit 953226e6.|2.6.32
[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 _0x7246=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceTransferReport.controller','get','isAuthenticated','describe','post','create','put','/:id','update','delete','destroy','multer','util','path','connect-timeout','express'];(function(_0x50c326,_0xcb6404){var _0x69a342=function(_0x83d667){while(--_0x83d667){_0x50c326['push'](_0x50c326['shift']());}};_0x69a342(++_0xcb6404);}(_0x7246,0x10c));var _0x6724=function(_0x16af7f,_0x590573){_0x16af7f=_0x16af7f-0x0;var _0xe2adde=_0x7246[_0x16af7f];return _0xe2adde;};'use strict';var multer=require(_0x6724('0x0'));var util=require(_0x6724('0x1'));var path=require(_0x6724('0x2'));var timeout=require(_0x6724('0x3'));var express=require(_0x6724('0x4'));var router=express[_0x6724('0x5')]();var fs_extra=require(_0x6724('0x6'));var auth=require(_0x6724('0x7'));var interaction=require(_0x6724('0x8'));var config=require(_0x6724('0x9'));var controller=require(_0x6724('0xa'));router[_0x6724('0xb')]('/',auth[_0x6724('0xc')](),controller['index']);router['get']('/describe',auth[_0x6724('0xc')](),controller[_0x6724('0xd')]);router['get']('/:id',auth['isAuthenticated'](),controller['show']);router[_0x6724('0xe')]('/',auth['isAuthenticated'](),controller[_0x6724('0xf')]);router[_0x6724('0x10')](_0x6724('0x11'),auth['isAuthenticated'](),controller[_0x6724('0x12')]);router[_0x6724('0x13')]('/:id',auth[_0x6724('0xc')](),controller[_0x6724('0x14')]);module['exports']=router;