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 _0xcc61=['create','update','delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','./faxApplication.controller','get','isAuthenticated','index','/:id','show','post'];(function(_0x233622,_0x458f9f){var _0x559f1f=function(_0x482c15){while(--_0x482c15){_0x233622['push'](_0x233622['shift']());}};_0x559f1f(++_0x458f9f);}(_0xcc61,0x15b));var _0x1cc6=function(_0x4be008,_0x5e2d40){_0x4be008=_0x4be008-0x0;var _0x2877fe=_0xcc61[_0x4be008];return _0x2877fe;};'use strict';var multer=require(_0x1cc6('0x0'));var util=require(_0x1cc6('0x1'));var path=require(_0x1cc6('0x2'));var timeout=require(_0x1cc6('0x3'));var express=require(_0x1cc6('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x1cc6('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x1cc6('0x6'));router[_0x1cc6('0x7')]('/',auth[_0x1cc6('0x8')](),controller[_0x1cc6('0x9')]);router[_0x1cc6('0x7')](_0x1cc6('0xa'),auth[_0x1cc6('0x8')](),controller[_0x1cc6('0xb')]);router[_0x1cc6('0xc')]('/',auth[_0x1cc6('0x8')](),controller[_0x1cc6('0xd')]);router['put'](_0x1cc6('0xa'),auth[_0x1cc6('0x8')](),controller[_0x1cc6('0xe')]);router[_0x1cc6('0xf')](_0x1cc6('0xa'),auth['isAuthenticated'](),controller[_0x1cc6('0x10')]);module[_0x1cc6('0x11')]=router;