Built motion from commit c116dc8b.|2.6.30
[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 _0x88c9=['/:id','show','post','update','delete','exports','multer','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./faxTransferReport.controller','get','isAuthenticated','index','/describe','describe'];(function(_0x19a75e,_0x478401){var _0x806dd6=function(_0x19464e){while(--_0x19464e){_0x19a75e['push'](_0x19a75e['shift']());}};_0x806dd6(++_0x478401);}(_0x88c9,0x102));var _0x988c=function(_0x2a853d,_0x49e2e1){_0x2a853d=_0x2a853d-0x0;var _0x172c58=_0x88c9[_0x2a853d];return _0x172c58;};'use strict';var multer=require(_0x988c('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x988c('0x1'));var express=require(_0x988c('0x2'));var router=express[_0x988c('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x988c('0x4'));var interaction=require(_0x988c('0x5'));var config=require('../../config/environment');var controller=require(_0x988c('0x6'));router[_0x988c('0x7')]('/',auth[_0x988c('0x8')](),controller[_0x988c('0x9')]);router[_0x988c('0x7')](_0x988c('0xa'),auth[_0x988c('0x8')](),controller[_0x988c('0xb')]);router['get'](_0x988c('0xc'),auth[_0x988c('0x8')](),controller[_0x988c('0xd')]);router[_0x988c('0xe')]('/',auth[_0x988c('0x8')](),controller['create']);router['put']('/:id',auth[_0x988c('0x8')](),controller[_0x988c('0xf')]);router[_0x988c('0x10')](_0x988c('0xc'),auth[_0x988c('0x8')](),controller['destroy']);module[_0x988c('0x11')]=router;