Built motion from commit c738b9ac.|2.6.25
[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 _0xe827=['post','create','delete','destroy','exports','multer','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','describe','/:id'];(function(_0x47e86f,_0xcec17e){var _0xc749bb=function(_0x57bf84){while(--_0x57bf84){_0x47e86f['push'](_0x47e86f['shift']());}};_0xc749bb(++_0xcec17e);}(_0xe827,0x165));var _0x7e82=function(_0x2f8c0b,_0x52ad37){_0x2f8c0b=_0x2f8c0b-0x0;var _0x166059=_0xe827[_0x2f8c0b];return _0x166059;};'use strict';var multer=require(_0x7e82('0x0'));var util=require('util');var path=require(_0x7e82('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x7e82('0x2')]();var fs_extra=require(_0x7e82('0x3'));var auth=require(_0x7e82('0x4'));var interaction=require(_0x7e82('0x5'));var config=require('../../config/environment');var controller=require('./openchannelTransferReport.controller');router[_0x7e82('0x6')]('/',auth[_0x7e82('0x7')](),controller[_0x7e82('0x8')]);router[_0x7e82('0x6')]('/describe',auth[_0x7e82('0x7')](),controller[_0x7e82('0x9')]);router[_0x7e82('0x6')](_0x7e82('0xa'),auth[_0x7e82('0x7')](),controller['show']);router[_0x7e82('0xb')]('/',auth[_0x7e82('0x7')](),controller[_0x7e82('0xc')]);router['put'](_0x7e82('0xa'),auth[_0x7e82('0x7')](),controller['update']);router[_0x7e82('0xd')](_0x7e82('0xa'),auth['isAuthenticated'](),controller[_0x7e82('0xe')]);module[_0x7e82('0xf')]=router;