56ffea3421d1000e48536b1c3f7413fcec8d8810
[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 _0xf46e=['./openchannelTransferReport.controller','isAuthenticated','index','get','/describe','show','post','create','put','/:id','update','delete','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment'];(function(_0x195a97,_0x1d444f){var _0x4145e3=function(_0x5a39be){while(--_0x5a39be){_0x195a97['push'](_0x195a97['shift']());}};_0x4145e3(++_0x1d444f);}(_0xf46e,0x1b0));var _0xef46=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0xf46e[_0x5ddb1c];return _0x354adc;};'use strict';var multer=require(_0xef46('0x0'));var util=require(_0xef46('0x1'));var path=require(_0xef46('0x2'));var timeout=require(_0xef46('0x3'));var express=require(_0xef46('0x4'));var router=express[_0xef46('0x5')]();var fs_extra=require(_0xef46('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xef46('0x7'));var config=require(_0xef46('0x8'));var controller=require(_0xef46('0x9'));router['get']('/',auth[_0xef46('0xa')](),controller[_0xef46('0xb')]);router[_0xef46('0xc')](_0xef46('0xd'),auth[_0xef46('0xa')](),controller['describe']);router[_0xef46('0xc')]('/:id',auth[_0xef46('0xa')](),controller[_0xef46('0xe')]);router[_0xef46('0xf')]('/',auth[_0xef46('0xa')](),controller[_0xef46('0x10')]);router[_0xef46('0x11')](_0xef46('0x12'),auth['isAuthenticated'](),controller[_0xef46('0x13')]);router[_0xef46('0x14')](_0xef46('0x12'),auth[_0xef46('0xa')](),controller['destroy']);module['exports']=router;