Built motion from commit (unavailable).|2.5.26
[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 _0x2da8=['/describe','/:id','show','post','create','update','delete','destroy','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','isAuthenticated','get'];(function(_0x6cfbf7,_0x374cbb){var _0x407dd1=function(_0x283064){while(--_0x283064){_0x6cfbf7['push'](_0x6cfbf7['shift']());}};_0x407dd1(++_0x374cbb);}(_0x2da8,0x1b8));var _0x82da=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0x2da8[_0xfae23b];return _0x200640;};'use strict';var multer=require(_0x82da('0x0'));var util=require('util');var path=require(_0x82da('0x1'));var timeout=require(_0x82da('0x2'));var express=require(_0x82da('0x3'));var router=express[_0x82da('0x4')]();var fs_extra=require(_0x82da('0x5'));var auth=require(_0x82da('0x6'));var interaction=require(_0x82da('0x7'));var config=require('../../config/environment');var controller=require('./voiceTransferReport.controller');router['get']('/',auth[_0x82da('0x8')](),controller['index']);router[_0x82da('0x9')](_0x82da('0xa'),auth[_0x82da('0x8')](),controller['describe']);router['get'](_0x82da('0xb'),auth[_0x82da('0x8')](),controller[_0x82da('0xc')]);router[_0x82da('0xd')]('/',auth[_0x82da('0x8')](),controller[_0x82da('0xe')]);router['put'](_0x82da('0xb'),auth['isAuthenticated'](),controller[_0x82da('0xf')]);router[_0x82da('0x10')](_0x82da('0xb'),auth['isAuthenticated'](),controller[_0x82da('0x11')]);module['exports']=router;