Built motion from commit 9d0783e6.|2.6.13
[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 _0x8030=['connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','get','isAuthenticated','index','/describe','create','put','/:id','update','destroy','multer'];(function(_0x35561d,_0x59a5cf){var _0x2ccc5b=function(_0x6d37d2){while(--_0x6d37d2){_0x35561d['push'](_0x35561d['shift']());}};_0x2ccc5b(++_0x59a5cf);}(_0x8030,0x1db));var _0x0803=function(_0x39954a,_0x601a95){_0x39954a=_0x39954a-0x0;var _0x134f26=_0x8030[_0x39954a];return _0x134f26;};'use strict';var multer=require(_0x0803('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x0803('0x1'));var express=require('express');var router=express[_0x0803('0x2')]();var fs_extra=require(_0x0803('0x3'));var auth=require(_0x0803('0x4'));var interaction=require(_0x0803('0x5'));var config=require(_0x0803('0x6'));var controller=require(_0x0803('0x7'));router[_0x0803('0x8')]('/',auth[_0x0803('0x9')](),controller[_0x0803('0xa')]);router['get'](_0x0803('0xb'),auth[_0x0803('0x9')](),controller['describe']);router[_0x0803('0x8')]('/:id',auth[_0x0803('0x9')](),controller['show']);router['post']('/',auth['isAuthenticated'](),controller[_0x0803('0xc')]);router[_0x0803('0xd')](_0x0803('0xe'),auth[_0x0803('0x9')](),controller[_0x0803('0xf')]);router['delete'](_0x0803('0xe'),auth[_0x0803('0x9')](),controller[_0x0803('0x10')]);module['exports']=router;