Built motion from commit da24aabd.|2.6.20
[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 _0x72fa=['isAuthenticated','describe','/:id','show','post','put','update','destroy','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/describe'];(function(_0x1e477c,_0x59206c){var _0xc7f81c=function(_0x1c6b7b){while(--_0x1c6b7b){_0x1e477c['push'](_0x1e477c['shift']());}};_0xc7f81c(++_0x59206c);}(_0x72fa,0xa1));var _0xa72f=function(_0x7cce8d,_0x8d7c9c){_0x7cce8d=_0x7cce8d-0x0;var _0x381b50=_0x72fa[_0x7cce8d];return _0x381b50;};'use strict';var multer=require('multer');var util=require(_0xa72f('0x0'));var path=require(_0xa72f('0x1'));var timeout=require(_0xa72f('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xa72f('0x3'));var interaction=require(_0xa72f('0x4'));var config=require(_0xa72f('0x5'));var controller=require('./voiceTransferReport.controller');router[_0xa72f('0x6')]('/',auth['isAuthenticated'](),controller[_0xa72f('0x7')]);router[_0xa72f('0x6')](_0xa72f('0x8'),auth[_0xa72f('0x9')](),controller[_0xa72f('0xa')]);router[_0xa72f('0x6')](_0xa72f('0xb'),auth[_0xa72f('0x9')](),controller[_0xa72f('0xc')]);router[_0xa72f('0xd')]('/',auth[_0xa72f('0x9')](),controller['create']);router[_0xa72f('0xe')](_0xa72f('0xb'),auth[_0xa72f('0x9')](),controller[_0xa72f('0xf')]);router['delete'](_0xa72f('0xb'),auth['isAuthenticated'](),controller[_0xa72f('0x10')]);module['exports']=router;