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 _0x3f59=['create','delete','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueueReport.controller','get','isAuthenticated','index','describe','/:id','show','post'];(function(_0x53a0ce,_0x5eaa86){var _0x491112=function(_0xb4b450){while(--_0xb4b450){_0x53a0ce['push'](_0x53a0ce['shift']());}};_0x491112(++_0x5eaa86);}(_0x3f59,0x97));var _0x93f5=function(_0x5acc8c,_0x2e12e0){_0x5acc8c=_0x5acc8c-0x0;var _0x405e56=_0x3f59[_0x5acc8c];return _0x405e56;};'use strict';var multer=require(_0x93f5('0x0'));var util=require(_0x93f5('0x1'));var path=require(_0x93f5('0x2'));var timeout=require(_0x93f5('0x3'));var express=require('express');var router=express[_0x93f5('0x4')]();var fs_extra=require(_0x93f5('0x5'));var auth=require(_0x93f5('0x6'));var interaction=require(_0x93f5('0x7'));var config=require(_0x93f5('0x8'));var controller=require(_0x93f5('0x9'));router[_0x93f5('0xa')]('/',auth[_0x93f5('0xb')](),controller[_0x93f5('0xc')]);router[_0x93f5('0xa')]('/describe',auth['isAuthenticated'](),controller[_0x93f5('0xd')]);router['get'](_0x93f5('0xe'),auth['isAuthenticated'](),controller[_0x93f5('0xf')]);router[_0x93f5('0x10')]('/',auth[_0x93f5('0xb')](),controller[_0x93f5('0x11')]);router['put'](_0x93f5('0xe'),auth[_0x93f5('0xb')](),controller['update']);router[_0x93f5('0x12')](_0x93f5('0xe'),auth[_0x93f5('0xb')](),controller[_0x93f5('0x13')]);module[_0x93f5('0x14')]=router;