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 _0x957e=['isAuthenticated','index','get','/:id','show','post','create','put','update','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment'];(function(_0x37c7ab,_0x2f81af){var _0x2067ad=function(_0x27ffbf){while(--_0x27ffbf){_0x37c7ab['push'](_0x37c7ab['shift']());}};_0x2067ad(++_0x2f81af);}(_0x957e,0xb6));var _0xe957=function(_0x468be0,_0x50b945){_0x468be0=_0x468be0-0x0;var _0x3c71ec=_0x957e[_0x468be0];return _0x3c71ec;};'use strict';var multer=require(_0xe957('0x0'));var util=require(_0xe957('0x1'));var path=require('path');var timeout=require(_0xe957('0x2'));var express=require(_0xe957('0x3'));var router=express[_0xe957('0x4')]();var fs_extra=require(_0xe957('0x5'));var auth=require(_0xe957('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xe957('0x7'));var controller=require('./faxApplication.controller');router['get']('/',auth[_0xe957('0x8')](),controller[_0xe957('0x9')]);router[_0xe957('0xa')](_0xe957('0xb'),auth[_0xe957('0x8')](),controller[_0xe957('0xc')]);router[_0xe957('0xd')]('/',auth[_0xe957('0x8')](),controller[_0xe957('0xe')]);router[_0xe957('0xf')](_0xe957('0xb'),auth[_0xe957('0x8')](),controller[_0xe957('0x10')]);router['delete'](_0xe957('0xb'),auth[_0xe957('0x8')](),controller[_0xe957('0x11')]);module[_0xe957('0x12')]=router;