78b4b777d3f6616cbc1f4f258691bc1f6b6d9343
[motion2.git] / server / api / faxTransferReport / 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 _0x0101=['fs-extra','../../components/auth/service','../../config/environment','./faxTransferReport.controller','get','isAuthenticated','/describe','describe','/:id','show','post','update','destroy','exports','multer','connect-timeout','Router'];(function(_0x3c221,_0x54280f){var _0x403ca1=function(_0x2326d8){while(--_0x2326d8){_0x3c221['push'](_0x3c221['shift']());}};_0x403ca1(++_0x54280f);}(_0x0101,0x1b7));var _0x1010=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x0101[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x1010('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x1010('0x1'));var express=require('express');var router=express[_0x1010('0x2')]();var fs_extra=require(_0x1010('0x3'));var auth=require(_0x1010('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x1010('0x5'));var controller=require(_0x1010('0x6'));router[_0x1010('0x7')]('/',auth[_0x1010('0x8')](),controller['index']);router[_0x1010('0x7')](_0x1010('0x9'),auth['isAuthenticated'](),controller[_0x1010('0xa')]);router['get'](_0x1010('0xb'),auth[_0x1010('0x8')](),controller[_0x1010('0xc')]);router[_0x1010('0xd')]('/',auth['isAuthenticated'](),controller['create']);router['put'](_0x1010('0xb'),auth[_0x1010('0x8')](),controller[_0x1010('0xe')]);router['delete'](_0x1010('0xb'),auth['isAuthenticated'](),controller[_0x1010('0xf')]);module[_0x1010('0x10')]=router;