Built motion from commit 3a7e82ea.|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 _0x2e8d=['describe','/:id','show','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/interaction/service','./openchannelTransferReport.controller','isAuthenticated','index','get','/describe'];(function(_0xa7d0,_0x17e205){var _0x451584=function(_0x4d95e5){while(--_0x4d95e5){_0xa7d0['push'](_0xa7d0['shift']());}};_0x451584(++_0x17e205);}(_0x2e8d,0xf0));var _0xd2e8=function(_0x992fd0,_0x53feeb){_0x992fd0=_0x992fd0-0x0;var _0x5a4785=_0x2e8d[_0x992fd0];return _0x5a4785;};'use strict';var multer=require(_0xd2e8('0x0'));var util=require(_0xd2e8('0x1'));var path=require(_0xd2e8('0x2'));var timeout=require(_0xd2e8('0x3'));var express=require(_0xd2e8('0x4'));var router=express['Router']();var fs_extra=require(_0xd2e8('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xd2e8('0x6'));var config=require('../../config/environment');var controller=require(_0xd2e8('0x7'));router['get']('/',auth[_0xd2e8('0x8')](),controller[_0xd2e8('0x9')]);router[_0xd2e8('0xa')](_0xd2e8('0xb'),auth[_0xd2e8('0x8')](),controller[_0xd2e8('0xc')]);router[_0xd2e8('0xa')](_0xd2e8('0xd'),auth[_0xd2e8('0x8')](),controller[_0xd2e8('0xe')]);router['post']('/',auth[_0xd2e8('0x8')](),controller[_0xd2e8('0xf')]);router[_0xd2e8('0x10')](_0xd2e8('0xd'),auth[_0xd2e8('0x8')](),controller[_0xd2e8('0x11')]);router[_0xd2e8('0x12')](_0xd2e8('0xd'),auth[_0xd2e8('0x8')](),controller[_0xd2e8('0x13')]);module[_0xd2e8('0x14')]=router;