Built motion from commit 26159a51.|2.5.44
[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 _0xe1ae=['isAuthenticated','index','/describe','describe','get','/:id','show','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./openchannelTransferReport.controller'];(function(_0x58ca75,_0x39f1dc){var _0x5940f6=function(_0x18cd6c){while(--_0x18cd6c){_0x58ca75['push'](_0x58ca75['shift']());}};_0x5940f6(++_0x39f1dc);}(_0xe1ae,0x97));var _0xee1a=function(_0x18175b,_0x4d7376){_0x18175b=_0x18175b-0x0;var _0x210d45=_0xe1ae[_0x18175b];return _0x210d45;};'use strict';var multer=require(_0xee1a('0x0'));var util=require(_0xee1a('0x1'));var path=require(_0xee1a('0x2'));var timeout=require(_0xee1a('0x3'));var express=require(_0xee1a('0x4'));var router=express[_0xee1a('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xee1a('0x6'));var interaction=require(_0xee1a('0x7'));var config=require('../../config/environment');var controller=require(_0xee1a('0x8'));router['get']('/',auth[_0xee1a('0x9')](),controller[_0xee1a('0xa')]);router['get'](_0xee1a('0xb'),auth[_0xee1a('0x9')](),controller[_0xee1a('0xc')]);router[_0xee1a('0xd')](_0xee1a('0xe'),auth[_0xee1a('0x9')](),controller[_0xee1a('0xf')]);router['post']('/',auth[_0xee1a('0x9')](),controller['create']);router[_0xee1a('0x10')](_0xee1a('0xe'),auth['isAuthenticated'](),controller[_0xee1a('0x11')]);router[_0xee1a('0x12')]('/:id',auth[_0xee1a('0x9')](),controller['destroy']);module[_0xee1a('0x13')]=router;