Built motion from commit 753c950e.|2.5.42
[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 _0x1d58=['update','destroy','exports','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','isAuthenticated','get','/describe','describe','/:id','show','post','create','put'];(function(_0x100211,_0x3d76fe){var _0x311655=function(_0x46be7e){while(--_0x46be7e){_0x100211['push'](_0x100211['shift']());}};_0x311655(++_0x3d76fe);}(_0x1d58,0x120));var _0x81d5=function(_0x2e079b,_0x3442df){_0x2e079b=_0x2e079b-0x0;var _0x2a4749=_0x1d58[_0x2e079b];return _0x2a4749;};'use strict';var multer=require('multer');var util=require(_0x81d5('0x0'));var path=require(_0x81d5('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x81d5('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x81d5('0x3'));var interaction=require(_0x81d5('0x4'));var config=require(_0x81d5('0x5'));var controller=require(_0x81d5('0x6'));router['get']('/',auth[_0x81d5('0x7')](),controller['index']);router[_0x81d5('0x8')](_0x81d5('0x9'),auth[_0x81d5('0x7')](),controller[_0x81d5('0xa')]);router[_0x81d5('0x8')](_0x81d5('0xb'),auth[_0x81d5('0x7')](),controller[_0x81d5('0xc')]);router[_0x81d5('0xd')]('/',auth[_0x81d5('0x7')](),controller[_0x81d5('0xe')]);router[_0x81d5('0xf')](_0x81d5('0xb'),auth[_0x81d5('0x7')](),controller[_0x81d5('0x10')]);router['delete']('/:id',auth[_0x81d5('0x7')](),controller[_0x81d5('0x11')]);module[_0x81d5('0x12')]=router;