@rebornteam/reborn-api 2.6.0 → 2.6.4

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.
Files changed (47) hide show
  1. package/.openapi-generator/FILES +11 -4
  2. package/README.md +16 -8
  3. package/api.ts +463 -262
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +329 -180
  8. package/dist/api.js +231 -146
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +329 -180
  16. package/dist/esm/api.js +230 -145
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/AdminApplyPunishmentRequest.md +33 -0
  28. package/docs/AdminApplyPunishmentResponse.md +21 -0
  29. package/docs/AdminApplyPunishmentResult.md +33 -0
  30. package/docs/AdminCreatePunishmentDraftRequest.md +31 -0
  31. package/docs/AdminIpSearchResult.md +23 -0
  32. package/docs/AdminPagedPunishmentResponse.md +1 -1
  33. package/docs/AdminPlayerSearchResult.md +23 -0
  34. package/docs/AdminPunishmentDraftResponse.md +21 -0
  35. package/docs/AdminPunishmentEvaluation.md +39 -0
  36. package/docs/AdminPunishmentListItem.md +42 -0
  37. package/docs/AdminPunishmentSearchResponse.md +25 -0
  38. package/docs/AdminPunishmentTarget.md +23 -0
  39. package/docs/AdminPunishmentsApi.md +168 -2
  40. package/docs/PunishmentApi.md +0 -106
  41. package/docs/PunishmentGetPunishmentResponse.md +5 -3
  42. package/index.ts +1 -1
  43. package/package.json +1 -1
  44. package/docs/ApplyPunishmentRequest.md +0 -31
  45. package/docs/ApplyPunishmentResponse.md +0 -33
  46. package/docs/CreatePunishmentDraftRequest.md +0 -29
  47. package/docs/PunishmentDraftResponse.md +0 -39
@@ -6,33 +6,40 @@ api.ts
6
6
  base.ts
7
7
  common.ts
8
8
  configuration.ts
9
+ docs/AdminApplyPunishmentRequest.md
10
+ docs/AdminApplyPunishmentResponse.md
11
+ docs/AdminApplyPunishmentResult.md
9
12
  docs/AdminClientCredentialResponse.md
10
13
  docs/AdminClientCredentialsApi.md
11
14
  docs/AdminConnectionBypassResponse.md
12
15
  docs/AdminConnectionsApi.md
16
+ docs/AdminCreatePunishmentDraftRequest.md
13
17
  docs/AdminDashboardApi.md
14
18
  docs/AdminDashboardConnectionResponse.md
15
19
  docs/AdminGetDashboardStats.md
20
+ docs/AdminIpSearchResult.md
16
21
  docs/AdminPagedConnectionResponse.md
17
22
  docs/AdminPagedPlayerResponse.md
18
23
  docs/AdminPagedPunishmentResponse.md
19
24
  docs/AdminPlayerDetailResponse.md
25
+ docs/AdminPlayerSearchResult.md
20
26
  docs/AdminPlayerSummary.md
21
27
  docs/AdminPlayersApi.md
28
+ docs/AdminPunishmentDraftResponse.md
29
+ docs/AdminPunishmentEvaluation.md
30
+ docs/AdminPunishmentListItem.md
31
+ docs/AdminPunishmentSearchResponse.md
32
+ docs/AdminPunishmentTarget.md
22
33
  docs/AdminPunishmentsApi.md
23
34
  docs/AdminUsernameHistoryEntry.md
24
- docs/ApplyPunishmentRequest.md
25
- docs/ApplyPunishmentResponse.md
26
35
  docs/ClientCredentialRequest.md
27
36
  docs/ConnectionApi.md
28
37
  docs/ConnectionGetConnectionDetailsResponse.md
29
38
  docs/CreateBypassRequest.md
30
- docs/CreatePunishmentDraftRequest.md
31
39
  docs/DefaultApi.md
32
40
  docs/PlayerApi.md
33
41
  docs/PlayerGetPlayerInformation.md
34
42
  docs/PunishmentApi.md
35
- docs/PunishmentDraftResponse.md
36
43
  docs/PunishmentGetPunishmentResponse.md
37
44
  docs/PunishmentSeveritiesResponse.md
38
45
  docs/PunishmentSeveritiesResponsePunishmentTypeInfo.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @rebornteam/reborn-api@2.6.0
1
+ ## @rebornteam/reborn-api@2.6.4
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @rebornteam/reborn-api@2.6.0 --save
39
+ npm install @rebornteam/reborn-api@2.6.4 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -64,13 +64,14 @@ Class | Method | HTTP request | Description
64
64
  *AdminDashboardApi* | [**dashboardStats**](docs/AdminDashboardApi.md#dashboardstats) | **GET** /admin/dashboard | Get dashboard statistics
65
65
  *AdminPlayersApi* | [**getPlayer**](docs/AdminPlayersApi.md#getplayer) | **GET** /admin/player/{uuid} | Get player detail
66
66
  *AdminPlayersApi* | [**listPlayers**](docs/AdminPlayersApi.md#listplayers) | **GET** /admin/player | List players
67
+ *AdminPunishmentsApi* | [**applyPunishment**](docs/AdminPunishmentsApi.md#applypunishment) | **POST** /admin/punishment/apply | Apply punishment
68
+ *AdminPunishmentsApi* | [**createDraft**](docs/AdminPunishmentsApi.md#createdraft) | **POST** /admin/punishment/draft | Evaluate punishment impact
67
69
  *AdminPunishmentsApi* | [**getPunishments**](docs/AdminPunishmentsApi.md#getpunishments) | **GET** /admin/punishment | List punishments
70
+ *AdminPunishmentsApi* | [**searchTargets**](docs/AdminPunishmentsApi.md#searchtargets) | **GET** /admin/punishment/search | Search punishment targets
68
71
  *ConnectionApi* | [**getConnectionDetails**](docs/ConnectionApi.md#getconnectiondetails) | **GET** /v1/connection/get-connection-details/{ip} | Check Connection and Detect VPN/Proxy
69
72
  *DefaultApi* | [**callback**](docs/DefaultApi.md#callback) | **GET** /auth/discord/callback |
70
73
  *DefaultApi* | [**initiateLogin**](docs/DefaultApi.md#initiatelogin) | **GET** /auth/discord |
71
74
  *PlayerApi* | [**getPlayer1**](docs/PlayerApi.md#getplayer1) | **GET** /v1/player/{uuid} | Get Player Information
72
- *PunishmentApi* | [**applyPunishment**](docs/PunishmentApi.md#applypunishment) | **POST** /v1/punishment/apply | Apply a punishment
73
- *PunishmentApi* | [**createPunishmentDraft**](docs/PunishmentApi.md#createpunishmentdraft) | **POST** /v1/punishment/draft | Create a punishment draft
74
75
  *PunishmentApi* | [**getPunishmentSeverities**](docs/PunishmentApi.md#getpunishmentseverities) | **GET** /v1/punishment/severities | Get punishment severities
75
76
  *PunishmentApi* | [**getPunishments1**](docs/PunishmentApi.md#getpunishments1) | **GET** /v1/punishment | Get punishments by player
76
77
  *PunishmentApi* | [**getPunishmentsByIp**](docs/PunishmentApi.md#getpunishmentsbyip) | **GET** /v1/punishment/ip | Get punishments by IP address
@@ -79,24 +80,31 @@ Class | Method | HTTP request | Description
79
80
 
80
81
  ### Documentation For Models
81
82
 
83
+ - [AdminApplyPunishmentRequest](docs/AdminApplyPunishmentRequest.md)
84
+ - [AdminApplyPunishmentResponse](docs/AdminApplyPunishmentResponse.md)
85
+ - [AdminApplyPunishmentResult](docs/AdminApplyPunishmentResult.md)
82
86
  - [AdminClientCredentialResponse](docs/AdminClientCredentialResponse.md)
83
87
  - [AdminConnectionBypassResponse](docs/AdminConnectionBypassResponse.md)
88
+ - [AdminCreatePunishmentDraftRequest](docs/AdminCreatePunishmentDraftRequest.md)
84
89
  - [AdminDashboardConnectionResponse](docs/AdminDashboardConnectionResponse.md)
85
90
  - [AdminGetDashboardStats](docs/AdminGetDashboardStats.md)
91
+ - [AdminIpSearchResult](docs/AdminIpSearchResult.md)
86
92
  - [AdminPagedConnectionResponse](docs/AdminPagedConnectionResponse.md)
87
93
  - [AdminPagedPlayerResponse](docs/AdminPagedPlayerResponse.md)
88
94
  - [AdminPagedPunishmentResponse](docs/AdminPagedPunishmentResponse.md)
89
95
  - [AdminPlayerDetailResponse](docs/AdminPlayerDetailResponse.md)
96
+ - [AdminPlayerSearchResult](docs/AdminPlayerSearchResult.md)
90
97
  - [AdminPlayerSummary](docs/AdminPlayerSummary.md)
98
+ - [AdminPunishmentDraftResponse](docs/AdminPunishmentDraftResponse.md)
99
+ - [AdminPunishmentEvaluation](docs/AdminPunishmentEvaluation.md)
100
+ - [AdminPunishmentListItem](docs/AdminPunishmentListItem.md)
101
+ - [AdminPunishmentSearchResponse](docs/AdminPunishmentSearchResponse.md)
102
+ - [AdminPunishmentTarget](docs/AdminPunishmentTarget.md)
91
103
  - [AdminUsernameHistoryEntry](docs/AdminUsernameHistoryEntry.md)
92
- - [ApplyPunishmentRequest](docs/ApplyPunishmentRequest.md)
93
- - [ApplyPunishmentResponse](docs/ApplyPunishmentResponse.md)
94
104
  - [ClientCredentialRequest](docs/ClientCredentialRequest.md)
95
105
  - [ConnectionGetConnectionDetailsResponse](docs/ConnectionGetConnectionDetailsResponse.md)
96
106
  - [CreateBypassRequest](docs/CreateBypassRequest.md)
97
- - [CreatePunishmentDraftRequest](docs/CreatePunishmentDraftRequest.md)
98
107
  - [PlayerGetPlayerInformation](docs/PlayerGetPlayerInformation.md)
99
- - [PunishmentDraftResponse](docs/PunishmentDraftResponse.md)
100
108
  - [PunishmentGetPunishmentResponse](docs/PunishmentGetPunishmentResponse.md)
101
109
  - [PunishmentSeveritiesResponse](docs/PunishmentSeveritiesResponse.md)
102
110
  - [PunishmentSeveritiesResponsePunishmentTypeInfo](docs/PunishmentSeveritiesResponsePunishmentTypeInfo.md)