e2440a1732c783a42b93c8b13738d8a5f82b0f89
[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 _0x4e02=['show','post','create','put','/:id','update','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./faxTransferReport.controller','isAuthenticated','index','get','/describe','describe'];(function(_0x17244d,_0x1a8005){var _0x1044db=function(_0x2fe468){while(--_0x2fe468){_0x17244d['push'](_0x17244d['shift']());}};_0x1044db(++_0x1a8005);}(_0x4e02,0x104));var _0x24e0=function(_0x57966a,_0x477964){_0x57966a=_0x57966a-0x0;var _0x191765=_0x4e02[_0x57966a];return _0x191765;};'use strict';var multer=require('multer');var util=require(_0x24e0('0x0'));var path=require(_0x24e0('0x1'));var timeout=require(_0x24e0('0x2'));var express=require(_0x24e0('0x3'));var router=express[_0x24e0('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x24e0('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x24e0('0x6'));var controller=require(_0x24e0('0x7'));router['get']('/',auth[_0x24e0('0x8')](),controller[_0x24e0('0x9')]);router[_0x24e0('0xa')](_0x24e0('0xb'),auth[_0x24e0('0x8')](),controller[_0x24e0('0xc')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0x24e0('0xd')]);router[_0x24e0('0xe')]('/',auth['isAuthenticated'](),controller[_0x24e0('0xf')]);router[_0x24e0('0x10')](_0x24e0('0x11'),auth[_0x24e0('0x8')](),controller[_0x24e0('0x12')]);router['delete'](_0x24e0('0x11'),auth[_0x24e0('0x8')](),controller[_0x24e0('0x13')]);module[_0x24e0('0x14')]=router;