1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x9ac6=['path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxTransferReport.controller','isAuthenticated','index','get','describe','/:id','show','post','create','update','delete','exports','multer','util'];(function(_0x12d0fa,_0x14702d){var _0x1642d3=function(_0x1fea21){while(--_0x1fea21){_0x12d0fa['push'](_0x12d0fa['shift']());}};_0x1642d3(++_0x14702d);}(_0x9ac6,0x9e));var _0x69ac=function(_0x4cc27b,_0xea7c26){_0x4cc27b=_0x4cc27b-0x0;var _0x4fbaf9=_0x9ac6[_0x4cc27b];return _0x4fbaf9;};'use strict';var multer=require(_0x69ac('0x0'));var util=require(_0x69ac('0x1'));var path=require(_0x69ac('0x2'));var timeout=require(_0x69ac('0x3'));var express=require('express');var router=express[_0x69ac('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x69ac('0x5'));var interaction=require(_0x69ac('0x6'));var config=require(_0x69ac('0x7'));var controller=require(_0x69ac('0x8'));router['get']('/',auth[_0x69ac('0x9')](),controller[_0x69ac('0xa')]);router[_0x69ac('0xb')]('/describe',auth['isAuthenticated'](),controller[_0x69ac('0xc')]);router['get'](_0x69ac('0xd'),auth[_0x69ac('0x9')](),controller[_0x69ac('0xe')]);router[_0x69ac('0xf')]('/',auth[_0x69ac('0x9')](),controller[_0x69ac('0x10')]);router['put'](_0x69ac('0xd'),auth[_0x69ac('0x9')](),controller[_0x69ac('0x11')]);router[_0x69ac('0x12')](_0x69ac('0xd'),auth[_0x69ac('0x9')](),controller['destroy']);module[_0x69ac('0x13')]=router;