Built motion from commit 936e8062.|2.5.33
[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 _0xa075=['update','destroy','exports','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','get','index','isAuthenticated','describe','/:id','show','post','create','put'];(function(_0x2a4045,_0x2be94e){var _0x2adc5b=function(_0x3d66c6){while(--_0x3d66c6){_0x2a4045['push'](_0x2a4045['shift']());}};_0x2adc5b(++_0x2be94e);}(_0xa075,0x192));var _0x5a07=function(_0x569d75,_0x1d3c7e){_0x569d75=_0x569d75-0x0;var _0x5ef8cc=_0xa075[_0x569d75];return _0x5ef8cc;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x5a07('0x0'));var timeout=require(_0x5a07('0x1'));var express=require('express');var router=express[_0x5a07('0x2')]();var fs_extra=require(_0x5a07('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x5a07('0x4'));var config=require(_0x5a07('0x5'));var controller=require(_0x5a07('0x6'));router[_0x5a07('0x7')]('/',auth['isAuthenticated'](),controller[_0x5a07('0x8')]);router['get']('/describe',auth[_0x5a07('0x9')](),controller[_0x5a07('0xa')]);router[_0x5a07('0x7')](_0x5a07('0xb'),auth[_0x5a07('0x9')](),controller[_0x5a07('0xc')]);router[_0x5a07('0xd')]('/',auth[_0x5a07('0x9')](),controller[_0x5a07('0xe')]);router[_0x5a07('0xf')](_0x5a07('0xb'),auth['isAuthenticated'](),controller[_0x5a07('0x10')]);router['delete'](_0x5a07('0xb'),auth[_0x5a07('0x9')](),controller[_0x5a07('0x11')]);module[_0x5a07('0x12')]=router;