96ed01f5b09d6cac6104b1a0ec578bd5874160bc
[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 _0xac1f=['util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./openchannelTransferReport.controller','get','index','/describe','isAuthenticated','describe','show','post','create','put','/:id','delete','exports','multer'];(function(_0x469850,_0x3357a1){var _0x326907=function(_0x2e0cde){while(--_0x2e0cde){_0x469850['push'](_0x469850['shift']());}};_0x326907(++_0x3357a1);}(_0xac1f,0x7d));var _0xfac1=function(_0x441884,_0x4e546a){_0x441884=_0x441884-0x0;var _0x18ca7f=_0xac1f[_0x441884];return _0x18ca7f;};'use strict';var multer=require(_0xfac1('0x0'));var util=require(_0xfac1('0x1'));var path=require('path');var timeout=require(_0xfac1('0x2'));var express=require(_0xfac1('0x3'));var router=express[_0xfac1('0x4')]();var fs_extra=require(_0xfac1('0x5'));var auth=require(_0xfac1('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xfac1('0x7'));var controller=require(_0xfac1('0x8'));router[_0xfac1('0x9')]('/',auth['isAuthenticated'](),controller[_0xfac1('0xa')]);router[_0xfac1('0x9')](_0xfac1('0xb'),auth[_0xfac1('0xc')](),controller[_0xfac1('0xd')]);router['get']('/:id',auth[_0xfac1('0xc')](),controller[_0xfac1('0xe')]);router[_0xfac1('0xf')]('/',auth['isAuthenticated'](),controller[_0xfac1('0x10')]);router[_0xfac1('0x11')](_0xfac1('0x12'),auth['isAuthenticated'](),controller['update']);router[_0xfac1('0x13')](_0xfac1('0x12'),auth[_0xfac1('0xc')](),controller['destroy']);module[_0xfac1('0x14')]=router;