@serve.zone/dcrouter 10.1.9 → 11.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist_serve/bundle.js +557 -557
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/classes.dcrouter.d.ts +1 -1
- package/dist_ts/opsserver/classes.opsserver.d.ts +12 -1
- package/dist_ts/opsserver/classes.opsserver.js +21 -4
- package/dist_ts/opsserver/handlers/api-token.handler.d.ts +0 -6
- package/dist_ts/opsserver/handlers/api-token.handler.js +10 -27
- package/dist_ts/opsserver/handlers/certificate.handler.d.ts +0 -2
- package/dist_ts/opsserver/handlers/certificate.handler.js +11 -9
- package/dist_ts/opsserver/handlers/email-ops.handler.d.ts +0 -2
- package/dist_ts/opsserver/handlers/email-ops.handler.js +8 -7
- package/dist_ts/opsserver/handlers/radius.handler.d.ts +0 -2
- package/dist_ts/opsserver/handlers/radius.handler.js +27 -28
- package/dist_ts/opsserver/handlers/remoteingress.handler.d.ts +0 -2
- package/dist_ts/opsserver/handlers/remoteingress.handler.js +14 -12
- package/dist_ts/opsserver/handlers/route-management.handler.d.ts +2 -1
- package/dist_ts/opsserver/handlers/stats.handler.d.ts +0 -2
- package/dist_ts/opsserver/handlers/stats.handler.js +9 -10
- package/dist_ts/opsserver/helpers/guards.d.ts +8 -6
- package/dist_ts/opsserver/helpers/guards.js +5 -3
- package/dist_ts/sms/classes.smsservice.d.ts +1 -1
- package/dist_ts_interfaces/requests/api-tokens.d.ts +5 -5
- package/dist_ts_interfaces/requests/certificate.d.ts +6 -6
- package/dist_ts_interfaces/requests/config.d.ts +1 -1
- package/dist_ts_interfaces/requests/email-ops.d.ts +3 -3
- package/dist_ts_interfaces/requests/logs.d.ts +2 -2
- package/dist_ts_interfaces/requests/radius.d.ts +12 -12
- package/dist_ts_interfaces/requests/remoteingress.d.ts +7 -7
- package/dist_ts_interfaces/requests/stats.d.ts +44 -8
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/appstate.js +44 -16
- package/dist_ts_web/elements/ops-dashboard.js +22 -7
- package/package.json +6 -5
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/opsserver/classes.opsserver.ts +28 -7
- package/ts/opsserver/handlers/api-token.handler.ts +10 -28
- package/ts/opsserver/handlers/certificate.handler.ts +13 -9
- package/ts/opsserver/handlers/config.handler.ts +4 -5
- package/ts/opsserver/handlers/email-ops.handler.ts +10 -7
- package/ts/opsserver/handlers/logs.handler.ts +5 -5
- package/ts/opsserver/handlers/radius.handler.ts +26 -28
- package/ts/opsserver/handlers/remoteingress.handler.ts +16 -12
- package/ts/opsserver/handlers/security.handler.ts +9 -10
- package/ts/opsserver/handlers/stats.handler.ts +10 -11
- package/ts/opsserver/helpers/guards.ts +10 -8
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/appstate.ts +35 -20
- package/ts_web/elements/ops-dashboard.ts +21 -6
- package/dist_ts/cache/classes.cache.cleaner.d.ts +0 -47
- package/dist_ts/cache/classes.cache.cleaner.js +0 -130
- package/dist_ts/cache/classes.cached.document.d.ts +0 -76
- package/dist_ts/cache/classes.cached.document.js +0 -100
- package/dist_ts/cache/classes.cachedb.d.ts +0 -60
- package/dist_ts/cache/classes.cachedb.js +0 -126
- package/dist_ts/cache/documents/classes.cached.email.d.ts +0 -125
- package/dist_ts/cache/documents/classes.cached.email.js +0 -337
- package/dist_ts/cache/documents/classes.cached.ip.reputation.d.ts +0 -119
- package/dist_ts/cache/documents/classes.cached.ip.reputation.js +0 -323
- package/dist_ts/cache/documents/index.d.ts +0 -2
- package/dist_ts/cache/documents/index.js +0 -3
- package/dist_ts/cache/index.d.ts +0 -4
- package/dist_ts/cache/index.js +0 -7
- package/dist_ts/monitoring/classes.metricscache.d.ts +0 -32
- package/dist_ts/monitoring/classes.metricscache.js +0 -63
- package/dist_ts/monitoring/classes.metricsmanager.d.ts +0 -178
- package/dist_ts/monitoring/classes.metricsmanager.js +0 -642
- package/dist_ts/monitoring/index.d.ts +0 -1
- package/dist_ts/monitoring/index.js +0 -2
- package/dist_ts/opsserver/handlers/admin.handler.d.ts +0 -31
- package/dist_ts/opsserver/handlers/admin.handler.js +0 -180
- package/dist_ts/opsserver/handlers/config.handler.d.ts +0 -9
- package/dist_ts/opsserver/handlers/config.handler.js +0 -193
- package/dist_ts/opsserver/handlers/logs.handler.d.ts +0 -27
- package/dist_ts/opsserver/handlers/logs.handler.js +0 -257
- package/dist_ts/opsserver/handlers/security.handler.d.ts +0 -11
- package/dist_ts/opsserver/handlers/security.handler.js +0 -232
- package/dist_ts/security/classes.securitylogger.d.ts +0 -144
- package/dist_ts/security/classes.securitylogger.js +0 -233
- package/dist_ts/storage/classes.storagemanager.d.ts +0 -83
- package/dist_ts/storage/classes.storagemanager.js +0 -350
- package/dist_ts/storage/index.d.ts +0 -1
- package/dist_ts/storage/index.js +0 -3
|
@@ -22,7 +22,7 @@ export interface ICertificateInfo {
|
|
|
22
22
|
export interface IReq_GetCertificateOverview extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetCertificateOverview> {
|
|
23
23
|
method: 'getCertificateOverview';
|
|
24
24
|
request: {
|
|
25
|
-
identity
|
|
25
|
+
identity: authInterfaces.IIdentity;
|
|
26
26
|
};
|
|
27
27
|
response: {
|
|
28
28
|
certificates: ICertificateInfo[];
|
|
@@ -39,7 +39,7 @@ export interface IReq_GetCertificateOverview extends plugins.typedrequestInterfa
|
|
|
39
39
|
export interface IReq_ReprovisionCertificate extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_ReprovisionCertificate> {
|
|
40
40
|
method: 'reprovisionCertificate';
|
|
41
41
|
request: {
|
|
42
|
-
identity
|
|
42
|
+
identity: authInterfaces.IIdentity;
|
|
43
43
|
routeName: string;
|
|
44
44
|
};
|
|
45
45
|
response: {
|
|
@@ -50,7 +50,7 @@ export interface IReq_ReprovisionCertificate extends plugins.typedrequestInterfa
|
|
|
50
50
|
export interface IReq_ReprovisionCertificateDomain extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_ReprovisionCertificateDomain> {
|
|
51
51
|
method: 'reprovisionCertificateDomain';
|
|
52
52
|
request: {
|
|
53
|
-
identity
|
|
53
|
+
identity: authInterfaces.IIdentity;
|
|
54
54
|
domain: string;
|
|
55
55
|
};
|
|
56
56
|
response: {
|
|
@@ -61,7 +61,7 @@ export interface IReq_ReprovisionCertificateDomain extends plugins.typedrequestI
|
|
|
61
61
|
export interface IReq_DeleteCertificate extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_DeleteCertificate> {
|
|
62
62
|
method: 'deleteCertificate';
|
|
63
63
|
request: {
|
|
64
|
-
identity
|
|
64
|
+
identity: authInterfaces.IIdentity;
|
|
65
65
|
domain: string;
|
|
66
66
|
};
|
|
67
67
|
response: {
|
|
@@ -72,7 +72,7 @@ export interface IReq_DeleteCertificate extends plugins.typedrequestInterfaces.i
|
|
|
72
72
|
export interface IReq_ExportCertificate extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_ExportCertificate> {
|
|
73
73
|
method: 'exportCertificate';
|
|
74
74
|
request: {
|
|
75
|
-
identity
|
|
75
|
+
identity: authInterfaces.IIdentity;
|
|
76
76
|
domain: string;
|
|
77
77
|
};
|
|
78
78
|
response: {
|
|
@@ -92,7 +92,7 @@ export interface IReq_ExportCertificate extends plugins.typedrequestInterfaces.i
|
|
|
92
92
|
export interface IReq_ImportCertificate extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_ImportCertificate> {
|
|
93
93
|
method: 'importCertificate';
|
|
94
94
|
request: {
|
|
95
|
-
identity
|
|
95
|
+
identity: authInterfaces.IIdentity;
|
|
96
96
|
cert: {
|
|
97
97
|
id: string;
|
|
98
98
|
domainName: string;
|
|
@@ -80,7 +80,7 @@ export interface IConfigData {
|
|
|
80
80
|
export interface IReq_GetConfiguration extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetConfiguration> {
|
|
81
81
|
method: 'getConfiguration';
|
|
82
82
|
request: {
|
|
83
|
-
identity
|
|
83
|
+
identity: authInterfaces.IIdentity;
|
|
84
84
|
section?: string;
|
|
85
85
|
};
|
|
86
86
|
response: {
|
|
@@ -52,7 +52,7 @@ export interface IEmailDetail extends IEmail {
|
|
|
52
52
|
export interface IReq_GetAllEmails extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetAllEmails> {
|
|
53
53
|
method: 'getAllEmails';
|
|
54
54
|
request: {
|
|
55
|
-
identity
|
|
55
|
+
identity: authInterfaces.IIdentity;
|
|
56
56
|
};
|
|
57
57
|
response: {
|
|
58
58
|
emails: IEmail[];
|
|
@@ -61,7 +61,7 @@ export interface IReq_GetAllEmails extends plugins.typedrequestInterfaces.implem
|
|
|
61
61
|
export interface IReq_GetEmailDetail extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetEmailDetail> {
|
|
62
62
|
method: 'getEmailDetail';
|
|
63
63
|
request: {
|
|
64
|
-
identity
|
|
64
|
+
identity: authInterfaces.IIdentity;
|
|
65
65
|
emailId: string;
|
|
66
66
|
};
|
|
67
67
|
response: {
|
|
@@ -71,7 +71,7 @@ export interface IReq_GetEmailDetail extends plugins.typedrequestInterfaces.impl
|
|
|
71
71
|
export interface IReq_ResendEmail extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_ResendEmail> {
|
|
72
72
|
method: 'resendEmail';
|
|
73
73
|
request: {
|
|
74
|
-
identity
|
|
74
|
+
identity: authInterfaces.IIdentity;
|
|
75
75
|
emailId: string;
|
|
76
76
|
};
|
|
77
77
|
response: {
|
|
@@ -4,7 +4,7 @@ import * as statsInterfaces from '../data/stats.js';
|
|
|
4
4
|
export interface IReq_GetRecentLogs extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetRecentLogs> {
|
|
5
5
|
method: 'getRecentLogs';
|
|
6
6
|
request: {
|
|
7
|
-
identity
|
|
7
|
+
identity: authInterfaces.IIdentity;
|
|
8
8
|
level?: 'debug' | 'info' | 'warn' | 'error';
|
|
9
9
|
category?: 'smtp' | 'dns' | 'security' | 'system' | 'email';
|
|
10
10
|
limit?: number;
|
|
@@ -21,7 +21,7 @@ export interface IReq_GetRecentLogs extends plugins.typedrequestInterfaces.imple
|
|
|
21
21
|
export interface IReq_GetLogStream extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetLogStream> {
|
|
22
22
|
method: 'getLogStream';
|
|
23
23
|
request: {
|
|
24
|
-
identity
|
|
24
|
+
identity: authInterfaces.IIdentity;
|
|
25
25
|
follow?: boolean;
|
|
26
26
|
filters?: {
|
|
27
27
|
level?: string[];
|
|
@@ -6,7 +6,7 @@ import * as authInterfaces from '../data/auth.js';
|
|
|
6
6
|
export interface IReq_GetRadiusClients extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetRadiusClients> {
|
|
7
7
|
method: 'getRadiusClients';
|
|
8
8
|
request: {
|
|
9
|
-
identity
|
|
9
|
+
identity: authInterfaces.IIdentity;
|
|
10
10
|
};
|
|
11
11
|
response: {
|
|
12
12
|
clients: Array<{
|
|
@@ -23,7 +23,7 @@ export interface IReq_GetRadiusClients extends plugins.typedrequestInterfaces.im
|
|
|
23
23
|
export interface IReq_SetRadiusClient extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_SetRadiusClient> {
|
|
24
24
|
method: 'setRadiusClient';
|
|
25
25
|
request: {
|
|
26
|
-
identity
|
|
26
|
+
identity: authInterfaces.IIdentity;
|
|
27
27
|
client: {
|
|
28
28
|
name: string;
|
|
29
29
|
ipRange: string;
|
|
@@ -43,7 +43,7 @@ export interface IReq_SetRadiusClient extends plugins.typedrequestInterfaces.imp
|
|
|
43
43
|
export interface IReq_RemoveRadiusClient extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_RemoveRadiusClient> {
|
|
44
44
|
method: 'removeRadiusClient';
|
|
45
45
|
request: {
|
|
46
|
-
identity
|
|
46
|
+
identity: authInterfaces.IIdentity;
|
|
47
47
|
name: string;
|
|
48
48
|
};
|
|
49
49
|
response: {
|
|
@@ -57,7 +57,7 @@ export interface IReq_RemoveRadiusClient extends plugins.typedrequestInterfaces.
|
|
|
57
57
|
export interface IReq_GetVlanMappings extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetVlanMappings> {
|
|
58
58
|
method: 'getVlanMappings';
|
|
59
59
|
request: {
|
|
60
|
-
identity
|
|
60
|
+
identity: authInterfaces.IIdentity;
|
|
61
61
|
};
|
|
62
62
|
response: {
|
|
63
63
|
mappings: Array<{
|
|
@@ -80,7 +80,7 @@ export interface IReq_GetVlanMappings extends plugins.typedrequestInterfaces.imp
|
|
|
80
80
|
export interface IReq_SetVlanMapping extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_SetVlanMapping> {
|
|
81
81
|
method: 'setVlanMapping';
|
|
82
82
|
request: {
|
|
83
|
-
identity
|
|
83
|
+
identity: authInterfaces.IIdentity;
|
|
84
84
|
mapping: {
|
|
85
85
|
mac: string;
|
|
86
86
|
vlan: number;
|
|
@@ -107,7 +107,7 @@ export interface IReq_SetVlanMapping extends plugins.typedrequestInterfaces.impl
|
|
|
107
107
|
export interface IReq_RemoveVlanMapping extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_RemoveVlanMapping> {
|
|
108
108
|
method: 'removeVlanMapping';
|
|
109
109
|
request: {
|
|
110
|
-
identity
|
|
110
|
+
identity: authInterfaces.IIdentity;
|
|
111
111
|
mac: string;
|
|
112
112
|
};
|
|
113
113
|
response: {
|
|
@@ -121,7 +121,7 @@ export interface IReq_RemoveVlanMapping extends plugins.typedrequestInterfaces.i
|
|
|
121
121
|
export interface IReq_UpdateVlanConfig extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_UpdateVlanConfig> {
|
|
122
122
|
method: 'updateVlanConfig';
|
|
123
123
|
request: {
|
|
124
|
-
identity
|
|
124
|
+
identity: authInterfaces.IIdentity;
|
|
125
125
|
defaultVlan?: number;
|
|
126
126
|
allowUnknownMacs?: boolean;
|
|
127
127
|
};
|
|
@@ -139,7 +139,7 @@ export interface IReq_UpdateVlanConfig extends plugins.typedrequestInterfaces.im
|
|
|
139
139
|
export interface IReq_TestVlanAssignment extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_TestVlanAssignment> {
|
|
140
140
|
method: 'testVlanAssignment';
|
|
141
141
|
request: {
|
|
142
|
-
identity
|
|
142
|
+
identity: authInterfaces.IIdentity;
|
|
143
143
|
mac: string;
|
|
144
144
|
};
|
|
145
145
|
response: {
|
|
@@ -159,7 +159,7 @@ export interface IReq_TestVlanAssignment extends plugins.typedrequestInterfaces.
|
|
|
159
159
|
export interface IReq_GetRadiusSessions extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetRadiusSessions> {
|
|
160
160
|
method: 'getRadiusSessions';
|
|
161
161
|
request: {
|
|
162
|
-
identity
|
|
162
|
+
identity: authInterfaces.IIdentity;
|
|
163
163
|
filter?: {
|
|
164
164
|
username?: string;
|
|
165
165
|
nasIpAddress?: string;
|
|
@@ -191,7 +191,7 @@ export interface IReq_GetRadiusSessions extends plugins.typedrequestInterfaces.i
|
|
|
191
191
|
export interface IReq_DisconnectRadiusSession extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_DisconnectRadiusSession> {
|
|
192
192
|
method: 'disconnectRadiusSession';
|
|
193
193
|
request: {
|
|
194
|
-
identity
|
|
194
|
+
identity: authInterfaces.IIdentity;
|
|
195
195
|
sessionId: string;
|
|
196
196
|
reason?: string;
|
|
197
197
|
};
|
|
@@ -206,7 +206,7 @@ export interface IReq_DisconnectRadiusSession extends plugins.typedrequestInterf
|
|
|
206
206
|
export interface IReq_GetRadiusAccountingSummary extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetRadiusAccountingSummary> {
|
|
207
207
|
method: 'getRadiusAccountingSummary';
|
|
208
208
|
request: {
|
|
209
|
-
identity
|
|
209
|
+
identity: authInterfaces.IIdentity;
|
|
210
210
|
startTime: number;
|
|
211
211
|
endTime: number;
|
|
212
212
|
};
|
|
@@ -235,7 +235,7 @@ export interface IReq_GetRadiusAccountingSummary extends plugins.typedrequestInt
|
|
|
235
235
|
export interface IReq_GetRadiusStatistics extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetRadiusStatistics> {
|
|
236
236
|
method: 'getRadiusStatistics';
|
|
237
237
|
request: {
|
|
238
|
-
identity
|
|
238
|
+
identity: authInterfaces.IIdentity;
|
|
239
239
|
};
|
|
240
240
|
response: {
|
|
241
241
|
stats: {
|
|
@@ -7,7 +7,7 @@ import type { IRemoteIngress, IRemoteIngressStatus } from '../data/remoteingress
|
|
|
7
7
|
export interface IReq_CreateRemoteIngress extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_CreateRemoteIngress> {
|
|
8
8
|
method: 'createRemoteIngress';
|
|
9
9
|
request: {
|
|
10
|
-
identity
|
|
10
|
+
identity: authInterfaces.IIdentity;
|
|
11
11
|
name: string;
|
|
12
12
|
listenPorts?: number[];
|
|
13
13
|
autoDerivePorts?: boolean;
|
|
@@ -24,7 +24,7 @@ export interface IReq_CreateRemoteIngress extends plugins.typedrequestInterfaces
|
|
|
24
24
|
export interface IReq_DeleteRemoteIngress extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_DeleteRemoteIngress> {
|
|
25
25
|
method: 'deleteRemoteIngress';
|
|
26
26
|
request: {
|
|
27
|
-
identity
|
|
27
|
+
identity: authInterfaces.IIdentity;
|
|
28
28
|
id: string;
|
|
29
29
|
};
|
|
30
30
|
response: {
|
|
@@ -38,7 +38,7 @@ export interface IReq_DeleteRemoteIngress extends plugins.typedrequestInterfaces
|
|
|
38
38
|
export interface IReq_UpdateRemoteIngress extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_UpdateRemoteIngress> {
|
|
39
39
|
method: 'updateRemoteIngress';
|
|
40
40
|
request: {
|
|
41
|
-
identity
|
|
41
|
+
identity: authInterfaces.IIdentity;
|
|
42
42
|
id: string;
|
|
43
43
|
name?: string;
|
|
44
44
|
listenPorts?: number[];
|
|
@@ -57,7 +57,7 @@ export interface IReq_UpdateRemoteIngress extends plugins.typedrequestInterfaces
|
|
|
57
57
|
export interface IReq_RegenerateRemoteIngressSecret extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_RegenerateRemoteIngressSecret> {
|
|
58
58
|
method: 'regenerateRemoteIngressSecret';
|
|
59
59
|
request: {
|
|
60
|
-
identity
|
|
60
|
+
identity: authInterfaces.IIdentity;
|
|
61
61
|
id: string;
|
|
62
62
|
};
|
|
63
63
|
response: {
|
|
@@ -71,7 +71,7 @@ export interface IReq_RegenerateRemoteIngressSecret extends plugins.typedrequest
|
|
|
71
71
|
export interface IReq_GetRemoteIngresses extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetRemoteIngresses> {
|
|
72
72
|
method: 'getRemoteIngresses';
|
|
73
73
|
request: {
|
|
74
|
-
identity
|
|
74
|
+
identity: authInterfaces.IIdentity;
|
|
75
75
|
};
|
|
76
76
|
response: {
|
|
77
77
|
edges: IRemoteIngress[];
|
|
@@ -83,7 +83,7 @@ export interface IReq_GetRemoteIngresses extends plugins.typedrequestInterfaces.
|
|
|
83
83
|
export interface IReq_GetRemoteIngressStatus extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetRemoteIngressStatus> {
|
|
84
84
|
method: 'getRemoteIngressStatus';
|
|
85
85
|
request: {
|
|
86
|
-
identity
|
|
86
|
+
identity: authInterfaces.IIdentity;
|
|
87
87
|
};
|
|
88
88
|
response: {
|
|
89
89
|
statuses: IRemoteIngressStatus[];
|
|
@@ -96,7 +96,7 @@ export interface IReq_GetRemoteIngressStatus extends plugins.typedrequestInterfa
|
|
|
96
96
|
export interface IReq_GetRemoteIngressConnectionToken extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetRemoteIngressConnectionToken> {
|
|
97
97
|
method: 'getRemoteIngressConnectionToken';
|
|
98
98
|
request: {
|
|
99
|
-
identity
|
|
99
|
+
identity: authInterfaces.IIdentity;
|
|
100
100
|
edgeId: string;
|
|
101
101
|
hubHost?: string;
|
|
102
102
|
};
|
|
@@ -4,7 +4,7 @@ import * as statsInterfaces from '../data/stats.js';
|
|
|
4
4
|
export interface IReq_GetServerStatistics extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetServerStatistics> {
|
|
5
5
|
method: 'getServerStatistics';
|
|
6
6
|
request: {
|
|
7
|
-
identity
|
|
7
|
+
identity: authInterfaces.IIdentity;
|
|
8
8
|
includeHistory?: boolean;
|
|
9
9
|
timeRange?: '1h' | '6h' | '24h' | '7d' | '30d';
|
|
10
10
|
};
|
|
@@ -19,7 +19,7 @@ export interface IReq_GetServerStatistics extends plugins.typedrequestInterfaces
|
|
|
19
19
|
export interface IReq_GetEmailStatistics extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetEmailStatistics> {
|
|
20
20
|
method: 'getEmailStatistics';
|
|
21
21
|
request: {
|
|
22
|
-
identity
|
|
22
|
+
identity: authInterfaces.IIdentity;
|
|
23
23
|
timeRange?: '1h' | '6h' | '24h' | '7d' | '30d';
|
|
24
24
|
domain?: string;
|
|
25
25
|
includeDetails?: boolean;
|
|
@@ -34,7 +34,7 @@ export interface IReq_GetEmailStatistics extends plugins.typedrequestInterfaces.
|
|
|
34
34
|
export interface IReq_GetDnsStatistics extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetDnsStatistics> {
|
|
35
35
|
method: 'getDnsStatistics';
|
|
36
36
|
request: {
|
|
37
|
-
identity
|
|
37
|
+
identity: authInterfaces.IIdentity;
|
|
38
38
|
timeRange?: '1h' | '6h' | '24h' | '7d' | '30d';
|
|
39
39
|
domain?: string;
|
|
40
40
|
includeQueryTypes?: boolean;
|
|
@@ -49,7 +49,7 @@ export interface IReq_GetDnsStatistics extends plugins.typedrequestInterfaces.im
|
|
|
49
49
|
export interface IReq_GetRateLimitStatus extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetRateLimitStatus> {
|
|
50
50
|
method: 'getRateLimitStatus';
|
|
51
51
|
request: {
|
|
52
|
-
identity
|
|
52
|
+
identity: authInterfaces.IIdentity;
|
|
53
53
|
domain?: string;
|
|
54
54
|
ip?: string;
|
|
55
55
|
includeBlocked?: boolean;
|
|
@@ -66,7 +66,7 @@ export interface IReq_GetRateLimitStatus extends plugins.typedrequestInterfaces.
|
|
|
66
66
|
export interface IReq_GetSecurityMetrics extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetSecurityMetrics> {
|
|
67
67
|
method: 'getSecurityMetrics';
|
|
68
68
|
request: {
|
|
69
|
-
identity
|
|
69
|
+
identity: authInterfaces.IIdentity;
|
|
70
70
|
timeRange?: '1h' | '6h' | '24h' | '7d' | '30d';
|
|
71
71
|
includeDetails?: boolean;
|
|
72
72
|
};
|
|
@@ -91,7 +91,7 @@ export interface IReq_GetSecurityMetrics extends plugins.typedrequestInterfaces.
|
|
|
91
91
|
export interface IReq_GetActiveConnections extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetActiveConnections> {
|
|
92
92
|
method: 'getActiveConnections';
|
|
93
93
|
request: {
|
|
94
|
-
identity
|
|
94
|
+
identity: authInterfaces.IIdentity;
|
|
95
95
|
protocol?: 'smtp' | 'smtps' | 'http' | 'https';
|
|
96
96
|
state?: string;
|
|
97
97
|
};
|
|
@@ -111,7 +111,7 @@ export interface IReq_GetActiveConnections extends plugins.typedrequestInterface
|
|
|
111
111
|
export interface IReq_GetQueueStatus extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetQueueStatus> {
|
|
112
112
|
method: 'getQueueStatus';
|
|
113
113
|
request: {
|
|
114
|
-
identity
|
|
114
|
+
identity: authInterfaces.IIdentity;
|
|
115
115
|
queueName?: string;
|
|
116
116
|
};
|
|
117
117
|
response: {
|
|
@@ -122,10 +122,46 @@ export interface IReq_GetQueueStatus extends plugins.typedrequestInterfaces.impl
|
|
|
122
122
|
export interface IReq_GetHealthStatus extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetHealthStatus> {
|
|
123
123
|
method: 'getHealthStatus';
|
|
124
124
|
request: {
|
|
125
|
-
identity
|
|
125
|
+
identity: authInterfaces.IIdentity;
|
|
126
126
|
detailed?: boolean;
|
|
127
127
|
};
|
|
128
128
|
response: {
|
|
129
129
|
health: statsInterfaces.IHealthStatus;
|
|
130
130
|
};
|
|
131
131
|
}
|
|
132
|
+
export interface IReq_GetNetworkStats extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetNetworkStats> {
|
|
133
|
+
method: 'getNetworkStats';
|
|
134
|
+
request: {
|
|
135
|
+
identity: authInterfaces.IIdentity;
|
|
136
|
+
};
|
|
137
|
+
response: {
|
|
138
|
+
connectionsByIP: Array<{
|
|
139
|
+
ip: string;
|
|
140
|
+
count: number;
|
|
141
|
+
}>;
|
|
142
|
+
throughputRate: {
|
|
143
|
+
bytesInPerSecond: number;
|
|
144
|
+
bytesOutPerSecond: number;
|
|
145
|
+
};
|
|
146
|
+
topIPs: Array<{
|
|
147
|
+
ip: string;
|
|
148
|
+
count: number;
|
|
149
|
+
}>;
|
|
150
|
+
totalDataTransferred: {
|
|
151
|
+
bytesIn: number;
|
|
152
|
+
bytesOut: number;
|
|
153
|
+
};
|
|
154
|
+
throughputHistory: Array<{
|
|
155
|
+
timestamp: number;
|
|
156
|
+
in: number;
|
|
157
|
+
out: number;
|
|
158
|
+
}>;
|
|
159
|
+
throughputByIP: Array<{
|
|
160
|
+
ip: string;
|
|
161
|
+
in: number;
|
|
162
|
+
out: number;
|
|
163
|
+
}>;
|
|
164
|
+
requestsPerSecond: number;
|
|
165
|
+
requestsTotal: number;
|
|
166
|
+
};
|
|
167
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@serve.zone/dcrouter',
|
|
6
|
-
version: '
|
|
6
|
+
version: '11.0.1',
|
|
7
7
|
description: 'A multifaceted routing service handling mail and SMS delivery functions.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHNfd2ViLzAwX2NvbW1pdGluZm9fZGF0YS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLFVBQVUsR0FBRztJQUN4QixJQUFJLEVBQUUsc0JBQXNCO0lBQzVCLE9BQU8sRUFBRSxRQUFRO0lBQ2pCLFdBQVcsRUFBRSwwRUFBMEU7Q0FDeEYsQ0FBQSJ9
|