Built motion from commit 14588770.|2.5.38
[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 _0xcc31=['../../config/environment','isAuthenticated','index','get','/describe','/:id','create','delete','exports','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service'];(function(_0x2769f6,_0x4261a3){var _0x302769=function(_0x5ebd48){while(--_0x5ebd48){_0x2769f6['push'](_0x2769f6['shift']());}};_0x302769(++_0x4261a3);}(_0xcc31,0x72));var _0x1cc3=function(_0x433a86,_0x175b5c){_0x433a86=_0x433a86-0x0;var _0x23000c=_0xcc31[_0x433a86];return _0x23000c;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x1cc3('0x0'));var timeout=require(_0x1cc3('0x1'));var express=require(_0x1cc3('0x2'));var router=express[_0x1cc3('0x3')]();var fs_extra=require(_0x1cc3('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x1cc3('0x5'));var config=require(_0x1cc3('0x6'));var controller=require('./faxTransferReport.controller');router['get']('/',auth[_0x1cc3('0x7')](),controller[_0x1cc3('0x8')]);router[_0x1cc3('0x9')](_0x1cc3('0xa'),auth[_0x1cc3('0x7')](),controller['describe']);router[_0x1cc3('0x9')](_0x1cc3('0xb'),auth[_0x1cc3('0x7')](),controller['show']);router['post']('/',auth[_0x1cc3('0x7')](),controller[_0x1cc3('0xc')]);router['put'](_0x1cc3('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x1cc3('0xd')](_0x1cc3('0xb'),auth[_0x1cc3('0x7')](),controller['destroy']);module[_0x1cc3('0xe')]=router;