257613d13ffb64930304ea48e7d0d1b756cb3d30
[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 _0x6e14=['../../components/interaction/service','../../config/environment','./faxTransferReport.controller','get','isAuthenticated','index','/describe','/:id','show','post','put','update','delete','destroy','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x6e14,0x174));var _0x46e1=function(_0x4a1808,_0x3bc100){_0x4a1808=_0x4a1808-0x0;var _0x5a09e3=_0x6e14[_0x4a1808];return _0x5a09e3;};'use strict';var multer=require(_0x46e1('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x46e1('0x1'));var express=require(_0x46e1('0x2'));var router=express[_0x46e1('0x3')]();var fs_extra=require(_0x46e1('0x4'));var auth=require(_0x46e1('0x5'));var interaction=require(_0x46e1('0x6'));var config=require(_0x46e1('0x7'));var controller=require(_0x46e1('0x8'));router[_0x46e1('0x9')]('/',auth[_0x46e1('0xa')](),controller[_0x46e1('0xb')]);router[_0x46e1('0x9')](_0x46e1('0xc'),auth[_0x46e1('0xa')](),controller['describe']);router['get'](_0x46e1('0xd'),auth[_0x46e1('0xa')](),controller[_0x46e1('0xe')]);router[_0x46e1('0xf')]('/',auth['isAuthenticated'](),controller['create']);router[_0x46e1('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x46e1('0x11')]);router[_0x46e1('0x12')](_0x46e1('0xd'),auth[_0x46e1('0xa')](),controller[_0x46e1('0x13')]);module[_0x46e1('0x14')]=router;