Built motion from commit 25580385.|2.6.2
[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 _0xf24f=['create','update','delete','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','index','get','/describe','isAuthenticated','describe','/:id','show','post'];(function(_0x3bc6c0,_0x1b4024){var _0x5fdb28=function(_0x5219e6){while(--_0x5219e6){_0x3bc6c0['push'](_0x3bc6c0['shift']());}};_0x5fdb28(++_0x1b4024);}(_0xf24f,0x122));var _0xff24=function(_0x37a9d7,_0x2b6fde){_0x37a9d7=_0x37a9d7-0x0;var _0x1343d3=_0xf24f[_0x37a9d7];return _0x1343d3;};'use strict';var multer=require(_0xff24('0x0'));var util=require(_0xff24('0x1'));var path=require(_0xff24('0x2'));var timeout=require(_0xff24('0x3'));var express=require('express');var router=express[_0xff24('0x4')]();var fs_extra=require(_0xff24('0x5'));var auth=require(_0xff24('0x6'));var interaction=require(_0xff24('0x7'));var config=require(_0xff24('0x8'));var controller=require(_0xff24('0x9'));router['get']('/',auth['isAuthenticated'](),controller[_0xff24('0xa')]);router[_0xff24('0xb')](_0xff24('0xc'),auth[_0xff24('0xd')](),controller[_0xff24('0xe')]);router['get'](_0xff24('0xf'),auth['isAuthenticated'](),controller[_0xff24('0x10')]);router[_0xff24('0x11')]('/',auth[_0xff24('0xd')](),controller[_0xff24('0x12')]);router['put'](_0xff24('0xf'),auth[_0xff24('0xd')](),controller[_0xff24('0x13')]);router[_0xff24('0x14')](_0xff24('0xf'),auth['isAuthenticated'](),controller['destroy']);module[_0xff24('0x15')]=router;