Built motion from commit d9028345.|2.5.43
[motion2.git] / server / api / openchannelTransferReport / 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 _0xf0bc=['../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','/:id','show','post','create','put','update','delete','destroy','multer','express','Router'];(function(_0x18b916,_0x2a7586){var _0x2bb524=function(_0x57fc43){while(--_0x57fc43){_0x18b916['push'](_0x18b916['shift']());}};_0x2bb524(++_0x2a7586);}(_0xf0bc,0x1d9));var _0xcf0b=function(_0x39e53c,_0x5df21f){_0x39e53c=_0x39e53c-0x0;var _0x17a3b1=_0xf0bc[_0x39e53c];return _0x17a3b1;};'use strict';var multer=require(_0xcf0b('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xcf0b('0x1'));var router=express[_0xcf0b('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0xcf0b('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xcf0b('0x4'));var controller=require('./openchannelTransferReport.controller');router[_0xcf0b('0x5')]('/',auth[_0xcf0b('0x6')](),controller[_0xcf0b('0x7')]);router[_0xcf0b('0x5')](_0xcf0b('0x8'),auth[_0xcf0b('0x6')](),controller['describe']);router['get'](_0xcf0b('0x9'),auth[_0xcf0b('0x6')](),controller[_0xcf0b('0xa')]);router[_0xcf0b('0xb')]('/',auth[_0xcf0b('0x6')](),controller[_0xcf0b('0xc')]);router[_0xcf0b('0xd')](_0xcf0b('0x9'),auth['isAuthenticated'](),controller[_0xcf0b('0xe')]);router[_0xcf0b('0xf')]('/:id',auth[_0xcf0b('0x6')](),controller[_0xcf0b('0x10')]);module['exports']=router;