Built motion from commit eddce310.|2.6.12
[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 _0x5b48=['../../config/environment','./openchannelTransferReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put','update','delete','exports','multer','util','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0xbc4cd,_0x513d6c){var _0x5c2531=function(_0x39044a){while(--_0x39044a){_0xbc4cd['push'](_0xbc4cd['shift']());}};_0x5c2531(++_0x513d6c);}(_0x5b48,0x78));var _0x85b4=function(_0x1c1509,_0x2dfa81){_0x1c1509=_0x1c1509-0x0;var _0xf11b7=_0x5b48[_0x1c1509];return _0xf11b7;};'use strict';var multer=require(_0x85b4('0x0'));var util=require(_0x85b4('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x85b4('0x2')]();var fs_extra=require(_0x85b4('0x3'));var auth=require(_0x85b4('0x4'));var interaction=require(_0x85b4('0x5'));var config=require(_0x85b4('0x6'));var controller=require(_0x85b4('0x7'));router[_0x85b4('0x8')]('/',auth[_0x85b4('0x9')](),controller[_0x85b4('0xa')]);router[_0x85b4('0x8')](_0x85b4('0xb'),auth[_0x85b4('0x9')](),controller[_0x85b4('0xc')]);router[_0x85b4('0x8')](_0x85b4('0xd'),auth[_0x85b4('0x9')](),controller[_0x85b4('0xe')]);router[_0x85b4('0xf')]('/',auth[_0x85b4('0x9')](),controller[_0x85b4('0x10')]);router[_0x85b4('0x11')](_0x85b4('0xd'),auth[_0x85b4('0x9')](),controller[_0x85b4('0x12')]);router[_0x85b4('0x13')](_0x85b4('0xd'),auth['isAuthenticated'](),controller['destroy']);module[_0x85b4('0x14')]=router;