Built motion from commit (unavailable).|2.0.76
[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 _0x4c72=['create','put','update','destroy','multer','path','express','./faxTransferReport.controller','get','index','isAuthenticated','describe','/:id','show','post'];(function(_0x1c6330,_0x45f7ac){var _0x45613e=function(_0x5d0fa8){while(--_0x5d0fa8){_0x1c6330['push'](_0x1c6330['shift']());}};_0x45613e(++_0x45f7ac);}(_0x4c72,0x1e4));var _0x24c7=function(_0x1128a9,_0x174512){_0x1128a9=_0x1128a9-0x0;var _0x2e2e13=_0x4c72[_0x1128a9];return _0x2e2e13;};'use strict';var multer=require(_0x24c7('0x0'));var util=require('util');var path=require(_0x24c7('0x1'));var express=require(_0x24c7('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x24c7('0x3'));router[_0x24c7('0x4')]('/',auth['isAuthenticated'](),controller[_0x24c7('0x5')]);router['get']('/describe',auth[_0x24c7('0x6')](),controller[_0x24c7('0x7')]);router[_0x24c7('0x4')](_0x24c7('0x8'),auth['isAuthenticated'](),controller[_0x24c7('0x9')]);router[_0x24c7('0xa')]('/',auth[_0x24c7('0x6')](),controller[_0x24c7('0xb')]);router[_0x24c7('0xc')](_0x24c7('0x8'),auth[_0x24c7('0x6')](),controller[_0x24c7('0xd')]);router['delete'](_0x24c7('0x8'),auth[_0x24c7('0x6')](),controller[_0x24c7('0xe')]);module['exports']=router;