Built motion from commit 5ae82ce5.|2.6.7
[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 _0xdb66=['put','update','destroy','exports','multer','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelTransferReport.controller','index','get','/describe','isAuthenticated','describe','/:id','post','create'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0xdb66,0xe8));var _0x6db6=function(_0x2b4411,_0x2625ed){_0x2b4411=_0x2b4411-0x0;var _0x8e41ef=_0xdb66[_0x2b4411];return _0x8e41ef;};'use strict';var multer=require(_0x6db6('0x0'));var util=require('util');var path=require(_0x6db6('0x1'));var timeout=require('connect-timeout');var express=require(_0x6db6('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x6db6('0x3'));var interaction=require(_0x6db6('0x4'));var config=require(_0x6db6('0x5'));var controller=require(_0x6db6('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0x6db6('0x7')]);router[_0x6db6('0x8')](_0x6db6('0x9'),auth[_0x6db6('0xa')](),controller[_0x6db6('0xb')]);router[_0x6db6('0x8')](_0x6db6('0xc'),auth['isAuthenticated'](),controller['show']);router[_0x6db6('0xd')]('/',auth[_0x6db6('0xa')](),controller[_0x6db6('0xe')]);router[_0x6db6('0xf')](_0x6db6('0xc'),auth[_0x6db6('0xa')](),controller[_0x6db6('0x10')]);router['delete'](_0x6db6('0xc'),auth[_0x6db6('0xa')](),controller[_0x6db6('0x11')]);module[_0x6db6('0x12')]=router;