Built motion from commit fa4c4286.|2.6.29
[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 _0x67fb=['exports','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','index','get','/describe','isAuthenticated','describe','/:id','post','create','put','update','delete','destroy'];(function(_0xd97d5d,_0x26bfca){var _0x3f34be=function(_0x445fd8){while(--_0x445fd8){_0xd97d5d['push'](_0xd97d5d['shift']());}};_0x3f34be(++_0x26bfca);}(_0x67fb,0x65));var _0xb67f=function(_0x22dd4e,_0x26fcd9){_0x22dd4e=_0x22dd4e-0x0;var _0x47df27=_0x67fb[_0x22dd4e];return _0x47df27;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xb67f('0x0'));var timeout=require(_0xb67f('0x1'));var express=require(_0xb67f('0x2'));var router=express[_0xb67f('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xb67f('0x4'));var interaction=require(_0xb67f('0x5'));var config=require(_0xb67f('0x6'));var controller=require('./openchannelTransferReport.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xb67f('0x7')]);router[_0xb67f('0x8')](_0xb67f('0x9'),auth[_0xb67f('0xa')](),controller[_0xb67f('0xb')]);router['get'](_0xb67f('0xc'),auth[_0xb67f('0xa')](),controller['show']);router[_0xb67f('0xd')]('/',auth[_0xb67f('0xa')](),controller[_0xb67f('0xe')]);router[_0xb67f('0xf')]('/:id',auth[_0xb67f('0xa')](),controller[_0xb67f('0x10')]);router[_0xb67f('0x11')]('/:id',auth[_0xb67f('0xa')](),controller[_0xb67f('0x12')]);module[_0xb67f('0x13')]=router;