Built motion from commit (unavailable).|2.5.26
[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 _0x1d2a=['put','delete','destroy','exports','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./faxTransferReport.controller','get','/describe','describe','/:id','isAuthenticated','show','post','create'];(function(_0x141539,_0x19935a){var _0x2cb127=function(_0x24a47a){while(--_0x24a47a){_0x141539['push'](_0x141539['shift']());}};_0x2cb127(++_0x19935a);}(_0x1d2a,0x136));var _0xa1d2=function(_0x32037a,_0x38c989){_0x32037a=_0x32037a-0x0;var _0x250725=_0x1d2a[_0x32037a];return _0x250725;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0xa1d2('0x0'));var express=require(_0xa1d2('0x1'));var router=express[_0xa1d2('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0xa1d2('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xa1d2('0x4'));var controller=require(_0xa1d2('0x5'));router[_0xa1d2('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0xa1d2('0x6')](_0xa1d2('0x7'),auth['isAuthenticated'](),controller[_0xa1d2('0x8')]);router['get'](_0xa1d2('0x9'),auth[_0xa1d2('0xa')](),controller[_0xa1d2('0xb')]);router[_0xa1d2('0xc')]('/',auth['isAuthenticated'](),controller[_0xa1d2('0xd')]);router[_0xa1d2('0xe')](_0xa1d2('0x9'),auth['isAuthenticated'](),controller['update']);router[_0xa1d2('0xf')](_0xa1d2('0x9'),auth[_0xa1d2('0xa')](),controller[_0xa1d2('0x10')]);module[_0xa1d2('0x11')]=router;