Built motion from commit d1eab355.|2.6.28
[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 _0x9d20=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceTransferReport.controller','get','isAuthenticated','/describe','/:id','show','create','delete','destroy','multer','util','path','Router'];(function(_0x100920,_0x426a96){var _0x13774f=function(_0xad00bd){while(--_0xad00bd){_0x100920['push'](_0x100920['shift']());}};_0x13774f(++_0x426a96);}(_0x9d20,0x161));var _0x09d2=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x9d20[_0x2dafbe];return _0x58a45a;};'use strict';var multer=require(_0x09d2('0x0'));var util=require(_0x09d2('0x1'));var path=require(_0x09d2('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x09d2('0x3')]();var fs_extra=require(_0x09d2('0x4'));var auth=require(_0x09d2('0x5'));var interaction=require(_0x09d2('0x6'));var config=require(_0x09d2('0x7'));var controller=require(_0x09d2('0x8'));router[_0x09d2('0x9')]('/',auth[_0x09d2('0xa')](),controller['index']);router[_0x09d2('0x9')](_0x09d2('0xb'),auth[_0x09d2('0xa')](),controller['describe']);router[_0x09d2('0x9')](_0x09d2('0xc'),auth[_0x09d2('0xa')](),controller[_0x09d2('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0x09d2('0xe')]);router['put']('/:id',auth[_0x09d2('0xa')](),controller['update']);router[_0x09d2('0xf')](_0x09d2('0xc'),auth[_0x09d2('0xa')](),controller[_0x09d2('0x10')]);module['exports']=router;