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 _0x27bd=['Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','post','create','put','delete','destroy','multer','express'];(function(_0x466e57,_0x21b819){var _0x34df42=function(_0x3e9758){while(--_0x3e9758){_0x466e57['push'](_0x466e57['shift']());}};_0x34df42(++_0x21b819);}(_0x27bd,0x11e));var _0xd27b=function(_0x4f425d,_0xab48f2){_0x4f425d=_0x4f425d-0x0;var _0x1e62df=_0x27bd[_0x4f425d];return _0x1e62df;};'use strict';var multer=require(_0xd27b('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xd27b('0x1'));var router=express[_0xd27b('0x2')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xd27b('0x3'));var config=require(_0xd27b('0x4'));var controller=require('./smsQueueReport.controller');router[_0xd27b('0x5')]('/',auth[_0xd27b('0x6')](),controller[_0xd27b('0x7')]);router['get'](_0xd27b('0x8'),auth['isAuthenticated'](),controller[_0xd27b('0x9')]);router['get'](_0xd27b('0xa'),auth[_0xd27b('0x6')](),controller['show']);router[_0xd27b('0xb')]('/',auth[_0xd27b('0x6')](),controller[_0xd27b('0xc')]);router[_0xd27b('0xd')](_0xd27b('0xa'),auth[_0xd27b('0x6')](),controller['update']);router[_0xd27b('0xe')](_0xd27b('0xa'),auth[_0xd27b('0x6')](),controller[_0xd27b('0xf')]);module['exports']=router;