Built motion from commit 9d1906d1.|2.5.40
[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 _0x3c70=['put','destroy','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./voiceTransferReport.controller','isAuthenticated','index','get','/describe','describe','/:id','show','create'];(function(_0x5482d4,_0x3283bf){var _0x59e95d=function(_0x424e9e){while(--_0x424e9e){_0x5482d4['push'](_0x5482d4['shift']());}};_0x59e95d(++_0x3283bf);}(_0x3c70,0x122));var _0x03c7=function(_0x4dbaad,_0x730318){_0x4dbaad=_0x4dbaad-0x0;var _0x226c72=_0x3c70[_0x4dbaad];return _0x226c72;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x03c7('0x0'));var timeout=require(_0x03c7('0x1'));var express=require('express');var router=express[_0x03c7('0x2')]();var fs_extra=require(_0x03c7('0x3'));var auth=require(_0x03c7('0x4'));var interaction=require(_0x03c7('0x5'));var config=require(_0x03c7('0x6'));var controller=require(_0x03c7('0x7'));router['get']('/',auth[_0x03c7('0x8')](),controller[_0x03c7('0x9')]);router[_0x03c7('0xa')](_0x03c7('0xb'),auth[_0x03c7('0x8')](),controller[_0x03c7('0xc')]);router[_0x03c7('0xa')](_0x03c7('0xd'),auth['isAuthenticated'](),controller[_0x03c7('0xe')]);router['post']('/',auth[_0x03c7('0x8')](),controller[_0x03c7('0xf')]);router[_0x03c7('0x10')](_0x03c7('0xd'),auth[_0x03c7('0x8')](),controller['update']);router['delete'](_0x03c7('0xd'),auth[_0x03c7('0x8')](),controller[_0x03c7('0x11')]);module['exports']=router;