Built motion from commit 19a84241.|2.5.34
[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 _0x3448=['util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./faxTransferReport.controller','get','/describe','isAuthenticated','describe','/:id','show','post','create','put','update','delete','destroy','exports'];(function(_0x441db3,_0x10f359){var _0x16c05d=function(_0x4c0d4e){while(--_0x4c0d4e){_0x441db3['push'](_0x441db3['shift']());}};_0x16c05d(++_0x10f359);}(_0x3448,0xc8));var _0x8344=function(_0x2b0992,_0x3470ff){_0x2b0992=_0x2b0992-0x0;var _0x2b001a=_0x3448[_0x2b0992];return _0x2b001a;};'use strict';var multer=require('multer');var util=require(_0x8344('0x0'));var path=require(_0x8344('0x1'));var timeout=require(_0x8344('0x2'));var express=require('express');var router=express[_0x8344('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x8344('0x4'));var interaction=require(_0x8344('0x5'));var config=require('../../config/environment');var controller=require(_0x8344('0x6'));router[_0x8344('0x7')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x8344('0x8'),auth[_0x8344('0x9')](),controller[_0x8344('0xa')]);router[_0x8344('0x7')](_0x8344('0xb'),auth[_0x8344('0x9')](),controller[_0x8344('0xc')]);router[_0x8344('0xd')]('/',auth[_0x8344('0x9')](),controller[_0x8344('0xe')]);router[_0x8344('0xf')]('/:id',auth['isAuthenticated'](),controller[_0x8344('0x10')]);router[_0x8344('0x11')](_0x8344('0xb'),auth[_0x8344('0x9')](),controller[_0x8344('0x12')]);module[_0x8344('0x13')]=router;