Built motion from commit 43538d75.|2.5.35
[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 _0x3efa=['get','isAuthenticated','index','/describe','describe','/:id','show','create','put','update','delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x2f5231,_0x1edf63){var _0x380523=function(_0x12b631){while(--_0x12b631){_0x2f5231['push'](_0x2f5231['shift']());}};_0x380523(++_0x1edf63);}(_0x3efa,0x150));var _0xa3ef=function(_0x500f1f,_0x2be955){_0x500f1f=_0x500f1f-0x0;var _0x19e095=_0x3efa[_0x500f1f];return _0x19e095;};'use strict';var multer=require('multer');var util=require(_0xa3ef('0x0'));var path=require('path');var timeout=require(_0xa3ef('0x1'));var express=require(_0xa3ef('0x2'));var router=express[_0xa3ef('0x3')]();var fs_extra=require(_0xa3ef('0x4'));var auth=require(_0xa3ef('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./openchannelTransferReport.controller');router[_0xa3ef('0x6')]('/',auth[_0xa3ef('0x7')](),controller[_0xa3ef('0x8')]);router['get'](_0xa3ef('0x9'),auth[_0xa3ef('0x7')](),controller[_0xa3ef('0xa')]);router[_0xa3ef('0x6')](_0xa3ef('0xb'),auth[_0xa3ef('0x7')](),controller[_0xa3ef('0xc')]);router['post']('/',auth[_0xa3ef('0x7')](),controller[_0xa3ef('0xd')]);router[_0xa3ef('0xe')](_0xa3ef('0xb'),auth['isAuthenticated'](),controller[_0xa3ef('0xf')]);router[_0xa3ef('0x10')](_0xa3ef('0xb'),auth['isAuthenticated'](),controller[_0xa3ef('0x11')]);module[_0xa3ef('0x12')]=router;