c39d07764b290ddcbf5e4d0321432bb078684002
[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 _0x74ec=['isAuthenticated','describe','/:id','post','create','put','update','destroy','exports','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./openchannelTransferReport.controller','get'];(function(_0x15c19a,_0xd4667b){var _0x3290d9=function(_0x1c533d){while(--_0x1c533d){_0x15c19a['push'](_0x15c19a['shift']());}};_0x3290d9(++_0xd4667b);}(_0x74ec,0xa2));var _0xc74e=function(_0x7e6337,_0x24956a){_0x7e6337=_0x7e6337-0x0;var _0x5f2202=_0x74ec[_0x7e6337];return _0x5f2202;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xc74e('0x0'));var express=require(_0xc74e('0x1'));var router=express[_0xc74e('0x2')]();var fs_extra=require(_0xc74e('0x3'));var auth=require(_0xc74e('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xc74e('0x5'));var controller=require(_0xc74e('0x6'));router[_0xc74e('0x7')]('/',auth[_0xc74e('0x8')](),controller['index']);router[_0xc74e('0x7')]('/describe',auth['isAuthenticated'](),controller[_0xc74e('0x9')]);router[_0xc74e('0x7')](_0xc74e('0xa'),auth['isAuthenticated'](),controller['show']);router[_0xc74e('0xb')]('/',auth[_0xc74e('0x8')](),controller[_0xc74e('0xc')]);router[_0xc74e('0xd')](_0xc74e('0xa'),auth[_0xc74e('0x8')](),controller[_0xc74e('0xe')]);router['delete'](_0xc74e('0xa'),auth[_0xc74e('0x8')](),controller[_0xc74e('0xf')]);module[_0xc74e('0x10')]=router;