@rebornteam/reborn-api 2.9.1 → 3.1.0
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/.openapi-generator/FILES +8 -0
- package/README.md +11 -2
- package/api.ts +280 -100
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +197 -97
- package/dist/api.js +149 -51
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +197 -97
- package/dist/esm/api.js +147 -50
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AdminApplyPunishmentRequest.md +1 -1
- package/docs/AdminApplyPunishmentResult.md +1 -1
- package/docs/AdminConnectionCheckResult.md +25 -0
- package/docs/AdminConnectionsApi.md +59 -0
- package/docs/AdminCreatePunishmentDraftRequest.md +1 -1
- package/docs/AdminDashboardConnectionResponse.md +2 -0
- package/docs/AdminPunishmentEvaluation.md +1 -1
- package/docs/AdminPunishmentListItem.md +2 -2
- package/docs/AdminPunishmentSearchResponse.md +1 -1
- package/docs/AdminPunishmentsApi.md +5 -5
- package/docs/ConnectionGetConnectionDetailsResponse.md +11 -7
- package/docs/ConnectionResult.md +25 -0
- package/docs/ConnectionResultResultCode.md +20 -0
- package/docs/GameType.md +12 -0
- package/docs/PlayerApi.md +7 -8
- package/docs/PlayerGetPlayerInformation.md +4 -4
- package/docs/PunishmentApi.md +4 -4
- package/docs/PunishmentGetPunishmentResponse.md +1 -1
- package/docs/PunishmentSeveritiesResponsePunishmentTypeInfo.md +1 -1
- package/docs/PunishmentTargetType.md +10 -0
- package/docs/PunishmentType.md +12 -0
- package/docs/Region.md +12 -0
- package/docs/SearchKind.md +11 -0
- package/docs/ServerRegisterRequest.md +2 -2
- package/docs/ServerSessionDTO.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Reborn API
|
|
5
5
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 3.1.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,25 +26,46 @@ import globalAxios from 'axios';
|
|
|
26
26
|
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, operationServerMap } from './base';
|
|
29
|
-
export const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
export const ConnectionResultResultCode = {
|
|
30
|
+
Allowed: 'ALLOWED',
|
|
31
|
+
AllowedBypass: 'ALLOWED_BYPASS',
|
|
32
|
+
AllowedPlayerBypass: 'ALLOWED_PLAYER_BYPASS',
|
|
33
|
+
Banned: 'BANNED',
|
|
34
|
+
VpnDetected: 'VPN_DETECTED',
|
|
35
|
+
VpnRetry: 'VPN_RETRY',
|
|
36
|
+
VpnTempBanned: 'VPN_TEMP_BANNED'
|
|
37
|
+
};
|
|
38
|
+
export const GameType = {
|
|
39
|
+
Rotj: 'ROTJ',
|
|
40
|
+
Legacy: 'LEGACY',
|
|
41
|
+
Classic: 'CLASSIC'
|
|
33
42
|
};
|
|
34
|
-
export const
|
|
43
|
+
export const PunishmentTargetType = {
|
|
44
|
+
Player: 'PLAYER',
|
|
45
|
+
Connection: 'CONNECTION'
|
|
46
|
+
};
|
|
47
|
+
export const PunishmentType = {
|
|
35
48
|
Ban: 'BAN',
|
|
36
49
|
Mute: 'MUTE',
|
|
37
50
|
Warning: 'WARNING'
|
|
38
51
|
};
|
|
39
|
-
export const AdminPunishmentSearchResponseKindEnum = {
|
|
40
|
-
Player: 'player',
|
|
41
|
-
Ip: 'ip'
|
|
42
|
-
};
|
|
43
52
|
export const Rank = {
|
|
44
53
|
Administrator: 'ADMINISTRATOR',
|
|
45
54
|
Moderator: 'MODERATOR',
|
|
46
55
|
Service: 'SERVICE'
|
|
47
56
|
};
|
|
57
|
+
export const Region = {
|
|
58
|
+
Us: 'US',
|
|
59
|
+
Eu: 'EU',
|
|
60
|
+
Au: 'AU'
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Search kind — PLAYER for UUID/username searches, IP for IP address searches
|
|
64
|
+
*/
|
|
65
|
+
export const SearchKind = {
|
|
66
|
+
Player: 'PLAYER',
|
|
67
|
+
Ip: 'IP'
|
|
68
|
+
};
|
|
48
69
|
/**
|
|
49
70
|
* AdminClientCredentialsApi - axios parameter creator
|
|
50
71
|
*/
|
|
@@ -700,6 +721,43 @@ export const AdminConnectionsApiAxiosParamCreator = function (configuration) {
|
|
|
700
721
|
options: localVarRequestOptions,
|
|
701
722
|
};
|
|
702
723
|
}),
|
|
724
|
+
/**
|
|
725
|
+
* Re-runs one named VPN detection service for a specific connection, persists the updated result, and recalculates the connection\'s overall `percentPositive` and `numberOfChecks` from all stored checks. Returns the refreshed check result including its new `checkedAt` timestamp.
|
|
726
|
+
* @summary Refresh a single VPN check
|
|
727
|
+
* @param {number} connectionId
|
|
728
|
+
* @param {string} service
|
|
729
|
+
* @param {*} [options] Override http request option.
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
*/
|
|
732
|
+
recheckService: (connectionId_1, service_1, ...args_1) => __awaiter(this, [connectionId_1, service_1, ...args_1], void 0, function* (connectionId, service, options = {}) {
|
|
733
|
+
// verify required parameter 'connectionId' is not null or undefined
|
|
734
|
+
assertParamExists('recheckService', 'connectionId', connectionId);
|
|
735
|
+
// verify required parameter 'service' is not null or undefined
|
|
736
|
+
assertParamExists('recheckService', 'service', service);
|
|
737
|
+
const localVarPath = `/admin/connection/{connectionId}/recheck/{service}`
|
|
738
|
+
.replace(`{${"connectionId"}}`, encodeURIComponent(String(connectionId)))
|
|
739
|
+
.replace(`{${"service"}}`, encodeURIComponent(String(service)));
|
|
740
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
741
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
742
|
+
let baseOptions;
|
|
743
|
+
if (configuration) {
|
|
744
|
+
baseOptions = configuration.baseOptions;
|
|
745
|
+
}
|
|
746
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
747
|
+
const localVarHeaderParameter = {};
|
|
748
|
+
const localVarQueryParameter = {};
|
|
749
|
+
// authentication DiscordAuth required
|
|
750
|
+
// http bearer authentication required
|
|
751
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
752
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
753
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
754
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
755
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
756
|
+
return {
|
|
757
|
+
url: toPathString(localVarUrlObj),
|
|
758
|
+
options: localVarRequestOptions,
|
|
759
|
+
};
|
|
760
|
+
}),
|
|
703
761
|
};
|
|
704
762
|
};
|
|
705
763
|
/**
|
|
@@ -766,6 +824,23 @@ export const AdminConnectionsApiFp = function (configuration) {
|
|
|
766
824
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
767
825
|
});
|
|
768
826
|
},
|
|
827
|
+
/**
|
|
828
|
+
* Re-runs one named VPN detection service for a specific connection, persists the updated result, and recalculates the connection\'s overall `percentPositive` and `numberOfChecks` from all stored checks. Returns the refreshed check result including its new `checkedAt` timestamp.
|
|
829
|
+
* @summary Refresh a single VPN check
|
|
830
|
+
* @param {number} connectionId
|
|
831
|
+
* @param {string} service
|
|
832
|
+
* @param {*} [options] Override http request option.
|
|
833
|
+
* @throws {RequiredError}
|
|
834
|
+
*/
|
|
835
|
+
recheckService(connectionId, service, options) {
|
|
836
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
837
|
+
var _a, _b, _c;
|
|
838
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.recheckService(connectionId, service, options);
|
|
839
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
840
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AdminConnectionsApi.recheckService']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
841
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
842
|
+
});
|
|
843
|
+
},
|
|
769
844
|
};
|
|
770
845
|
};
|
|
771
846
|
/**
|
|
@@ -814,6 +889,17 @@ export const AdminConnectionsApiFactory = function (configuration, basePath, axi
|
|
|
814
889
|
listConnections(createdAfter, createdBefore, ipAddress, uuid, isVpn, page, limit, options) {
|
|
815
890
|
return localVarFp.listConnections(createdAfter, createdBefore, ipAddress, uuid, isVpn, page, limit, options).then((request) => request(axios, basePath));
|
|
816
891
|
},
|
|
892
|
+
/**
|
|
893
|
+
* Re-runs one named VPN detection service for a specific connection, persists the updated result, and recalculates the connection\'s overall `percentPositive` and `numberOfChecks` from all stored checks. Returns the refreshed check result including its new `checkedAt` timestamp.
|
|
894
|
+
* @summary Refresh a single VPN check
|
|
895
|
+
* @param {number} connectionId
|
|
896
|
+
* @param {string} service
|
|
897
|
+
* @param {*} [options] Override http request option.
|
|
898
|
+
* @throws {RequiredError}
|
|
899
|
+
*/
|
|
900
|
+
recheckService(connectionId, service, options) {
|
|
901
|
+
return localVarFp.recheckService(connectionId, service, options).then((request) => request(axios, basePath));
|
|
902
|
+
},
|
|
817
903
|
};
|
|
818
904
|
};
|
|
819
905
|
/**
|
|
@@ -860,6 +946,17 @@ export class AdminConnectionsApi extends BaseAPI {
|
|
|
860
946
|
listConnections(createdAfter, createdBefore, ipAddress, uuid, isVpn, page, limit, options) {
|
|
861
947
|
return AdminConnectionsApiFp(this.configuration).listConnections(createdAfter, createdBefore, ipAddress, uuid, isVpn, page, limit, options).then((request) => request(this.axios, this.basePath));
|
|
862
948
|
}
|
|
949
|
+
/**
|
|
950
|
+
* Re-runs one named VPN detection service for a specific connection, persists the updated result, and recalculates the connection\'s overall `percentPositive` and `numberOfChecks` from all stored checks. Returns the refreshed check result including its new `checkedAt` timestamp.
|
|
951
|
+
* @summary Refresh a single VPN check
|
|
952
|
+
* @param {number} connectionId
|
|
953
|
+
* @param {string} service
|
|
954
|
+
* @param {*} [options] Override http request option.
|
|
955
|
+
* @throws {RequiredError}
|
|
956
|
+
*/
|
|
957
|
+
recheckService(connectionId, service, options) {
|
|
958
|
+
return AdminConnectionsApiFp(this.configuration).recheckService(connectionId, service, options).then((request) => request(this.axios, this.basePath));
|
|
959
|
+
}
|
|
863
960
|
}
|
|
864
961
|
/**
|
|
865
962
|
* AdminDashboardApi - axios parameter creator
|
|
@@ -1141,7 +1238,7 @@ export class AdminPlayersApi extends BaseAPI {
|
|
|
1141
1238
|
export const AdminPunishmentsApiAxiosParamCreator = function (configuration) {
|
|
1142
1239
|
return {
|
|
1143
1240
|
/**
|
|
1144
|
-
* Apply a punishment to one or more targets.
|
|
1241
|
+
* Apply a punishment to one or more targets. The authenticated user is recorded as the issuer.
|
|
1145
1242
|
* @summary Apply punishment
|
|
1146
1243
|
* @param {AdminApplyPunishmentRequest} adminApplyPunishmentRequest
|
|
1147
1244
|
* @param {*} [options] Override http request option.
|
|
@@ -1175,7 +1272,7 @@ export const AdminPunishmentsApiAxiosParamCreator = function (configuration) {
|
|
|
1175
1272
|
};
|
|
1176
1273
|
}),
|
|
1177
1274
|
/**
|
|
1178
|
-
* Preview the impact of a punishment across one or more targets.
|
|
1275
|
+
* Preview the impact of a punishment across one or more targets. No changes are made.
|
|
1179
1276
|
* @summary Evaluate punishment impact
|
|
1180
1277
|
* @param {AdminCreatePunishmentDraftRequest} adminCreatePunishmentDraftRequest
|
|
1181
1278
|
* @param {*} [options] Override http request option.
|
|
@@ -1216,7 +1313,7 @@ export const AdminPunishmentsApiAxiosParamCreator = function (configuration) {
|
|
|
1216
1313
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1217
1314
|
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1218
1315
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1219
|
-
* @param {Array<
|
|
1316
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
|
|
1220
1317
|
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1221
1318
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1222
1319
|
* @param {*} [options] Override http request option.
|
|
@@ -1274,7 +1371,7 @@ export const AdminPunishmentsApiAxiosParamCreator = function (configuration) {
|
|
|
1274
1371
|
};
|
|
1275
1372
|
}),
|
|
1276
1373
|
/**
|
|
1277
|
-
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1374
|
+
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1278
1375
|
* @summary Search punishment targets
|
|
1279
1376
|
* @param {string} q UUID, username, or partial/full IP address to search for
|
|
1280
1377
|
* @param {*} [options] Override http request option.
|
|
@@ -1317,7 +1414,7 @@ export const AdminPunishmentsApiFp = function (configuration) {
|
|
|
1317
1414
|
const localVarAxiosParamCreator = AdminPunishmentsApiAxiosParamCreator(configuration);
|
|
1318
1415
|
return {
|
|
1319
1416
|
/**
|
|
1320
|
-
* Apply a punishment to one or more targets.
|
|
1417
|
+
* Apply a punishment to one or more targets. The authenticated user is recorded as the issuer.
|
|
1321
1418
|
* @summary Apply punishment
|
|
1322
1419
|
* @param {AdminApplyPunishmentRequest} adminApplyPunishmentRequest
|
|
1323
1420
|
* @param {*} [options] Override http request option.
|
|
@@ -1333,7 +1430,7 @@ export const AdminPunishmentsApiFp = function (configuration) {
|
|
|
1333
1430
|
});
|
|
1334
1431
|
},
|
|
1335
1432
|
/**
|
|
1336
|
-
* Preview the impact of a punishment across one or more targets.
|
|
1433
|
+
* Preview the impact of a punishment across one or more targets. No changes are made.
|
|
1337
1434
|
* @summary Evaluate punishment impact
|
|
1338
1435
|
* @param {AdminCreatePunishmentDraftRequest} adminCreatePunishmentDraftRequest
|
|
1339
1436
|
* @param {*} [options] Override http request option.
|
|
@@ -1356,7 +1453,7 @@ export const AdminPunishmentsApiFp = function (configuration) {
|
|
|
1356
1453
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1357
1454
|
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1358
1455
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1359
|
-
* @param {Array<
|
|
1456
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
|
|
1360
1457
|
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1361
1458
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1362
1459
|
* @param {*} [options] Override http request option.
|
|
@@ -1372,7 +1469,7 @@ export const AdminPunishmentsApiFp = function (configuration) {
|
|
|
1372
1469
|
});
|
|
1373
1470
|
},
|
|
1374
1471
|
/**
|
|
1375
|
-
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1472
|
+
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1376
1473
|
* @summary Search punishment targets
|
|
1377
1474
|
* @param {string} q UUID, username, or partial/full IP address to search for
|
|
1378
1475
|
* @param {*} [options] Override http request option.
|
|
@@ -1396,7 +1493,7 @@ export const AdminPunishmentsApiFactory = function (configuration, basePath, axi
|
|
|
1396
1493
|
const localVarFp = AdminPunishmentsApiFp(configuration);
|
|
1397
1494
|
return {
|
|
1398
1495
|
/**
|
|
1399
|
-
* Apply a punishment to one or more targets.
|
|
1496
|
+
* Apply a punishment to one or more targets. The authenticated user is recorded as the issuer.
|
|
1400
1497
|
* @summary Apply punishment
|
|
1401
1498
|
* @param {AdminApplyPunishmentRequest} adminApplyPunishmentRequest
|
|
1402
1499
|
* @param {*} [options] Override http request option.
|
|
@@ -1406,7 +1503,7 @@ export const AdminPunishmentsApiFactory = function (configuration, basePath, axi
|
|
|
1406
1503
|
return localVarFp.applyPunishment(adminApplyPunishmentRequest, options).then((request) => request(axios, basePath));
|
|
1407
1504
|
},
|
|
1408
1505
|
/**
|
|
1409
|
-
* Preview the impact of a punishment across one or more targets.
|
|
1506
|
+
* Preview the impact of a punishment across one or more targets. No changes are made.
|
|
1410
1507
|
* @summary Evaluate punishment impact
|
|
1411
1508
|
* @param {AdminCreatePunishmentDraftRequest} adminCreatePunishmentDraftRequest
|
|
1412
1509
|
* @param {*} [options] Override http request option.
|
|
@@ -1423,7 +1520,7 @@ export const AdminPunishmentsApiFactory = function (configuration, basePath, axi
|
|
|
1423
1520
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1424
1521
|
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1425
1522
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1426
|
-
* @param {Array<
|
|
1523
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
|
|
1427
1524
|
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1428
1525
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1429
1526
|
* @param {*} [options] Override http request option.
|
|
@@ -1433,7 +1530,7 @@ export const AdminPunishmentsApiFactory = function (configuration, basePath, axi
|
|
|
1433
1530
|
return localVarFp.getPunishments(page, limit, uuid, username, ipAddress, type, issuedAfter, issuedBefore, options).then((request) => request(axios, basePath));
|
|
1434
1531
|
},
|
|
1435
1532
|
/**
|
|
1436
|
-
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1533
|
+
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1437
1534
|
* @summary Search punishment targets
|
|
1438
1535
|
* @param {string} q UUID, username, or partial/full IP address to search for
|
|
1439
1536
|
* @param {*} [options] Override http request option.
|
|
@@ -1449,7 +1546,7 @@ export const AdminPunishmentsApiFactory = function (configuration, basePath, axi
|
|
|
1449
1546
|
*/
|
|
1450
1547
|
export class AdminPunishmentsApi extends BaseAPI {
|
|
1451
1548
|
/**
|
|
1452
|
-
* Apply a punishment to one or more targets.
|
|
1549
|
+
* Apply a punishment to one or more targets. The authenticated user is recorded as the issuer.
|
|
1453
1550
|
* @summary Apply punishment
|
|
1454
1551
|
* @param {AdminApplyPunishmentRequest} adminApplyPunishmentRequest
|
|
1455
1552
|
* @param {*} [options] Override http request option.
|
|
@@ -1459,7 +1556,7 @@ export class AdminPunishmentsApi extends BaseAPI {
|
|
|
1459
1556
|
return AdminPunishmentsApiFp(this.configuration).applyPunishment(adminApplyPunishmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1460
1557
|
}
|
|
1461
1558
|
/**
|
|
1462
|
-
* Preview the impact of a punishment across one or more targets.
|
|
1559
|
+
* Preview the impact of a punishment across one or more targets. No changes are made.
|
|
1463
1560
|
* @summary Evaluate punishment impact
|
|
1464
1561
|
* @param {AdminCreatePunishmentDraftRequest} adminCreatePunishmentDraftRequest
|
|
1465
1562
|
* @param {*} [options] Override http request option.
|
|
@@ -1476,7 +1573,7 @@ export class AdminPunishmentsApi extends BaseAPI {
|
|
|
1476
1573
|
* @param {string | null} [uuid] Filter by player UUID
|
|
1477
1574
|
* @param {string | null} [username] Filter by player username (case-insensitive substring match)
|
|
1478
1575
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
1479
|
-
* @param {Array<
|
|
1576
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment type. Repeatable.
|
|
1480
1577
|
* @param {number | null} [issuedAfter] Filter punishments issued after this epoch timestamp (ms)
|
|
1481
1578
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (ms)
|
|
1482
1579
|
* @param {*} [options] Override http request option.
|
|
@@ -1486,7 +1583,7 @@ export class AdminPunishmentsApi extends BaseAPI {
|
|
|
1486
1583
|
return AdminPunishmentsApiFp(this.configuration).getPunishments(page, limit, uuid, username, ipAddress, type, issuedAfter, issuedBefore, options).then((request) => request(this.axios, this.basePath));
|
|
1487
1584
|
}
|
|
1488
1585
|
/**
|
|
1489
|
-
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1586
|
+
* Search for players by UUID or username, or look up all players associated with an IP address.
|
|
1490
1587
|
* @summary Search punishment targets
|
|
1491
1588
|
* @param {string} q UUID, username, or partial/full IP address to search for
|
|
1492
1589
|
* @param {*} [options] Override http request option.
|
|
@@ -2110,9 +2207,9 @@ export class ConnectionApi extends BaseAPI {
|
|
|
2110
2207
|
export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
2111
2208
|
return {
|
|
2112
2209
|
/**
|
|
2113
|
-
* Retrieves player information by
|
|
2210
|
+
* Retrieves player information by Minecraft UUID including first join status and login timestamp.
|
|
2114
2211
|
* @summary Get player information
|
|
2115
|
-
* @param {string} uuid
|
|
2212
|
+
* @param {string} uuid
|
|
2116
2213
|
* @param {*} [options] Override http request option.
|
|
2117
2214
|
* @throws {RequiredError}
|
|
2118
2215
|
*/
|
|
@@ -2143,9 +2240,9 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
2143
2240
|
};
|
|
2144
2241
|
}),
|
|
2145
2242
|
/**
|
|
2146
|
-
* Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record
|
|
2243
|
+
* Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record are omitted from the response.
|
|
2147
2244
|
* @summary Batch resolve UUIDs to usernames
|
|
2148
|
-
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
2245
|
+
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
2149
2246
|
* @param {*} [options] Override http request option.
|
|
2150
2247
|
* @throws {RequiredError}
|
|
2151
2248
|
*/
|
|
@@ -2186,9 +2283,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
2186
2283
|
const localVarAxiosParamCreator = PlayerApiAxiosParamCreator(configuration);
|
|
2187
2284
|
return {
|
|
2188
2285
|
/**
|
|
2189
|
-
* Retrieves player information by
|
|
2286
|
+
* Retrieves player information by Minecraft UUID including first join status and login timestamp.
|
|
2190
2287
|
* @summary Get player information
|
|
2191
|
-
* @param {string} uuid
|
|
2288
|
+
* @param {string} uuid
|
|
2192
2289
|
* @param {*} [options] Override http request option.
|
|
2193
2290
|
* @throws {RequiredError}
|
|
2194
2291
|
*/
|
|
@@ -2202,9 +2299,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
2202
2299
|
});
|
|
2203
2300
|
},
|
|
2204
2301
|
/**
|
|
2205
|
-
* Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record
|
|
2302
|
+
* Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record are omitted from the response.
|
|
2206
2303
|
* @summary Batch resolve UUIDs to usernames
|
|
2207
|
-
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
2304
|
+
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
2208
2305
|
* @param {*} [options] Override http request option.
|
|
2209
2306
|
* @throws {RequiredError}
|
|
2210
2307
|
*/
|
|
@@ -2226,9 +2323,9 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
2226
2323
|
const localVarFp = PlayerApiFp(configuration);
|
|
2227
2324
|
return {
|
|
2228
2325
|
/**
|
|
2229
|
-
* Retrieves player information by
|
|
2326
|
+
* Retrieves player information by Minecraft UUID including first join status and login timestamp.
|
|
2230
2327
|
* @summary Get player information
|
|
2231
|
-
* @param {string} uuid
|
|
2328
|
+
* @param {string} uuid
|
|
2232
2329
|
* @param {*} [options] Override http request option.
|
|
2233
2330
|
* @throws {RequiredError}
|
|
2234
2331
|
*/
|
|
@@ -2236,9 +2333,9 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
2236
2333
|
return localVarFp.getPlayer1(uuid, options).then((request) => request(axios, basePath));
|
|
2237
2334
|
},
|
|
2238
2335
|
/**
|
|
2239
|
-
* Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record
|
|
2336
|
+
* Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record are omitted from the response.
|
|
2240
2337
|
* @summary Batch resolve UUIDs to usernames
|
|
2241
|
-
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
2338
|
+
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
2242
2339
|
* @param {*} [options] Override http request option.
|
|
2243
2340
|
* @throws {RequiredError}
|
|
2244
2341
|
*/
|
|
@@ -2252,9 +2349,9 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
2252
2349
|
*/
|
|
2253
2350
|
export class PlayerApi extends BaseAPI {
|
|
2254
2351
|
/**
|
|
2255
|
-
* Retrieves player information by
|
|
2352
|
+
* Retrieves player information by Minecraft UUID including first join status and login timestamp.
|
|
2256
2353
|
* @summary Get player information
|
|
2257
|
-
* @param {string} uuid
|
|
2354
|
+
* @param {string} uuid
|
|
2258
2355
|
* @param {*} [options] Override http request option.
|
|
2259
2356
|
* @throws {RequiredError}
|
|
2260
2357
|
*/
|
|
@@ -2262,9 +2359,9 @@ export class PlayerApi extends BaseAPI {
|
|
|
2262
2359
|
return PlayerApiFp(this.configuration).getPlayer1(uuid, options).then((request) => request(this.axios, this.basePath));
|
|
2263
2360
|
}
|
|
2264
2361
|
/**
|
|
2265
|
-
* Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record
|
|
2362
|
+
* Accepts a list of player UUIDs and returns a map of `uuid → username` for those that have a recorded username. UUIDs with no username record are omitted from the response.
|
|
2266
2363
|
* @summary Batch resolve UUIDs to usernames
|
|
2267
|
-
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
2364
|
+
* @param {Array<string>} uuids List of player UUIDs to resolve
|
|
2268
2365
|
* @param {*} [options] Override http request option.
|
|
2269
2366
|
* @throws {RequiredError}
|
|
2270
2367
|
*/
|
|
@@ -2311,7 +2408,7 @@ export const PunishmentApiAxiosParamCreator = function (configuration) {
|
|
|
2311
2408
|
* @summary Get punishments by player
|
|
2312
2409
|
* @param {string | null} [uuid] Player UUID
|
|
2313
2410
|
* @param {string | null} [username] Player username
|
|
2314
|
-
* @param {Array<
|
|
2411
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2315
2412
|
* @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
|
|
2316
2413
|
* @param {*} [options] Override http request option.
|
|
2317
2414
|
* @throws {RequiredError}
|
|
@@ -2395,7 +2492,7 @@ export const PunishmentApiAxiosParamCreator = function (configuration) {
|
|
|
2395
2492
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
|
|
2396
2493
|
* @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
|
|
2397
2494
|
* @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
|
|
2398
|
-
* @param {Array<
|
|
2495
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2399
2496
|
* @param {string | null} [uuid] Filter by player UUID
|
|
2400
2497
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
2401
2498
|
* @param {*} [options] Override http request option.
|
|
@@ -2483,7 +2580,7 @@ export const PunishmentApiFp = function (configuration) {
|
|
|
2483
2580
|
* @summary Get punishments by player
|
|
2484
2581
|
* @param {string | null} [uuid] Player UUID
|
|
2485
2582
|
* @param {string | null} [username] Player username
|
|
2486
|
-
* @param {Array<
|
|
2583
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2487
2584
|
* @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
|
|
2488
2585
|
* @param {*} [options] Override http request option.
|
|
2489
2586
|
* @throws {RequiredError}
|
|
@@ -2522,7 +2619,7 @@ export const PunishmentApiFp = function (configuration) {
|
|
|
2522
2619
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
|
|
2523
2620
|
* @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
|
|
2524
2621
|
* @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
|
|
2525
|
-
* @param {Array<
|
|
2622
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2526
2623
|
* @param {string | null} [uuid] Filter by player UUID
|
|
2527
2624
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
2528
2625
|
* @param {*} [options] Override http request option.
|
|
@@ -2559,7 +2656,7 @@ export const PunishmentApiFactory = function (configuration, basePath, axios) {
|
|
|
2559
2656
|
* @summary Get punishments by player
|
|
2560
2657
|
* @param {string | null} [uuid] Player UUID
|
|
2561
2658
|
* @param {string | null} [username] Player username
|
|
2562
|
-
* @param {Array<
|
|
2659
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2563
2660
|
* @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
|
|
2564
2661
|
* @param {*} [options] Override http request option.
|
|
2565
2662
|
* @throws {RequiredError}
|
|
@@ -2586,7 +2683,7 @@ export const PunishmentApiFactory = function (configuration, basePath, axios) {
|
|
|
2586
2683
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
|
|
2587
2684
|
* @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
|
|
2588
2685
|
* @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
|
|
2589
|
-
* @param {Array<
|
|
2686
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2590
2687
|
* @param {string | null} [uuid] Filter by player UUID
|
|
2591
2688
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
2592
2689
|
* @param {*} [options] Override http request option.
|
|
@@ -2615,7 +2712,7 @@ export class PunishmentApi extends BaseAPI {
|
|
|
2615
2712
|
* @summary Get punishments by player
|
|
2616
2713
|
* @param {string | null} [uuid] Player UUID
|
|
2617
2714
|
* @param {string | null} [username] Player username
|
|
2618
|
-
* @param {Array<
|
|
2715
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2619
2716
|
* @param {number | null} [since] Filter punishments created after this Unix epoch timestamp (milliseconds)
|
|
2620
2717
|
* @param {*} [options] Override http request option.
|
|
2621
2718
|
* @throws {RequiredError}
|
|
@@ -2642,7 +2739,7 @@ export class PunishmentApi extends BaseAPI {
|
|
|
2642
2739
|
* @param {number | null} [issuedBefore] Filter punishments issued before this epoch timestamp (milliseconds)
|
|
2643
2740
|
* @param {number | null} [expiresAfter] Filter punishments expiring after this epoch timestamp (milliseconds)
|
|
2644
2741
|
* @param {number | null} [expiresBefore] Filter punishments expiring before this epoch timestamp (milliseconds)
|
|
2645
|
-
* @param {Array<
|
|
2742
|
+
* @param {Array<PunishmentType> | null} [type] Filter by punishment types
|
|
2646
2743
|
* @param {string | null} [uuid] Filter by player UUID
|
|
2647
2744
|
* @param {string | null} [ipAddress] Filter by IP address
|
|
2648
2745
|
* @param {*} [options] Override http request option.
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Reborn API
|
|
3
3
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Reborn API
|
|
5
5
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 3.1.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Reborn API
|
|
3
3
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Reborn API
|
|
5
5
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 3.1.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Reborn API
|
|
3
3
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Reborn API
|
|
4
4
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document:
|
|
6
|
+
* The version of the OpenAPI document: 3.1.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Reborn API
|
|
3
3
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Reborn API
|
|
5
5
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document:
|
|
7
|
+
* The version of the OpenAPI document: 3.1.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Reborn API
|
|
3
3
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 3.1.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Reborn API
|
|
6
6
|
* The Reborn API serves as the central backend for the platform, orchestrating secure communication between game clients and data services. This API supports two authentication methods: - **OAuth 2.0 Client Credentials**: For programmatic API access - **Discord SSO Bearer Token**: For admin endpoints requiring Discord authentication
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
8
|
+
* The version of the OpenAPI document: 3.1.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -7,7 +7,7 @@ Request to apply a punishment to one or more targets
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**targets** | [**Array<AdminPunishmentTarget>**](AdminPunishmentTarget.md) | List of targets to punish — each must have either a uuid or ipAddress | [default to undefined]
|
|
10
|
-
**type** | **
|
|
10
|
+
**type** | [**PunishmentType**](PunishmentType.md) | Punishment type | [default to undefined]
|
|
11
11
|
**severity** | **number** | Severity level: 1=Minor, 2=Moderate, 3=Severe, 4=Critical | [optional] [default to undefined]
|
|
12
12
|
**reason** | **string** | Reason for the punishment | [default to undefined]
|
|
13
13
|
**durationSeconds** | **number** | Custom duration in seconds — if omitted the suggested duration for the type and severity is used | [optional] [default to undefined]
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**target** | [**AdminPunishmentTarget**](AdminPunishmentTarget.md) | The target this result applies to | [optional] [default to undefined]
|
|
10
10
|
**punishmentId** | **number** | ID of the created punishment record | [optional] [default to undefined]
|
|
11
|
-
**type** | **
|
|
11
|
+
**type** | [**PunishmentType**](PunishmentType.md) | Punishment type applied | [optional] [default to undefined]
|
|
12
12
|
**severity** | **number** | Severity level applied | [optional] [default to undefined]
|
|
13
13
|
**newScore** | **number** | Updated punishment score after applying | [optional] [default to undefined]
|
|
14
14
|
**isPermanent** | **boolean** | Whether the punishment was made permanent | [optional] [default to undefined]
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# AdminConnectionCheckResult
|
|
2
|
+
|
|
3
|
+
Result from a single VPN detection service for a given IP address
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**service** | **string** | Service identifier | [optional] [default to undefined]
|
|
10
|
+
**result** | **boolean** | Whether this service flagged the IP as a VPN, proxy, or Tor exit node | [optional] [default to undefined]
|
|
11
|
+
**checkedAt** | **string** | When this check was last performed | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { AdminConnectionCheckResult } from '@rebornteam/reborn-api';
|
|
17
|
+
|
|
18
|
+
const instance: AdminConnectionCheckResult = {
|
|
19
|
+
service,
|
|
20
|
+
result,
|
|
21
|
+
checkedAt,
|
|
22
|
+
};
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|