Built motion from commit 87cd5f02.|2.5.48
[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 _0xfcfd=['show','post','put','update','delete','destroy','multer','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','./faxTransferReport.controller','get','isAuthenticated','index','describe','/:id'];(function(_0x5ddaac,_0x2697a8){var _0x2a9c58=function(_0x851032){while(--_0x851032){_0x5ddaac['push'](_0x5ddaac['shift']());}};_0x2a9c58(++_0x2697a8);}(_0xfcfd,0x1a4));var _0xdfcf=function(_0x4398f6,_0x15b2a3){_0x4398f6=_0x4398f6-0x0;var _0x3ecfef=_0xfcfd[_0x4398f6];return _0x3ecfef;};'use strict';var multer=require(_0xdfcf('0x0'));var util=require('util');var path=require(_0xdfcf('0x1'));var timeout=require(_0xdfcf('0x2'));var express=require('express');var router=express[_0xdfcf('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xdfcf('0x4'));var config=require(_0xdfcf('0x5'));var controller=require(_0xdfcf('0x6'));router[_0xdfcf('0x7')]('/',auth[_0xdfcf('0x8')](),controller[_0xdfcf('0x9')]);router['get']('/describe',auth[_0xdfcf('0x8')](),controller[_0xdfcf('0xa')]);router[_0xdfcf('0x7')](_0xdfcf('0xb'),auth[_0xdfcf('0x8')](),controller[_0xdfcf('0xc')]);router[_0xdfcf('0xd')]('/',auth[_0xdfcf('0x8')](),controller['create']);router[_0xdfcf('0xe')](_0xdfcf('0xb'),auth[_0xdfcf('0x8')](),controller[_0xdfcf('0xf')]);router[_0xdfcf('0x10')](_0xdfcf('0xb'),auth['isAuthenticated'](),controller[_0xdfcf('0x11')]);module['exports']=router;