1cb6ab0c0b680d89e20edd9c865447d8eca0ec10
[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 _0xccce=['update','destroy','exports','path','connect-timeout','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id','show','post','create','put'];(function(_0x1fac17,_0x2539a8){var _0x57ec5d=function(_0x38ce4e){while(--_0x38ce4e){_0x1fac17['push'](_0x1fac17['shift']());}};_0x57ec5d(++_0x2539a8);}(_0xccce,0x1ce));var _0xeccc=function(_0x353222,_0x2e391e){_0x353222=_0x353222-0x0;var _0x4e304e=_0xccce[_0x353222];return _0x4e304e;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xeccc('0x0'));var timeout=require(_0xeccc('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xeccc('0x2'));var auth=require('../../components/auth/service');var interaction=require(_0xeccc('0x3'));var config=require(_0xeccc('0x4'));var controller=require('./openchannelTransferReport.controller');router[_0xeccc('0x5')]('/',auth[_0xeccc('0x6')](),controller[_0xeccc('0x7')]);router[_0xeccc('0x5')]('/describe',auth[_0xeccc('0x6')](),controller[_0xeccc('0x8')]);router[_0xeccc('0x5')](_0xeccc('0x9'),auth[_0xeccc('0x6')](),controller[_0xeccc('0xa')]);router[_0xeccc('0xb')]('/',auth[_0xeccc('0x6')](),controller[_0xeccc('0xc')]);router[_0xeccc('0xd')](_0xeccc('0x9'),auth[_0xeccc('0x6')](),controller[_0xeccc('0xe')]);router['delete'](_0xeccc('0x9'),auth[_0xeccc('0x6')](),controller[_0xeccc('0xf')]);module[_0xeccc('0x10')]=router;