kleisterjs 2.7.0 → 2.9.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.
Files changed (97) hide show
  1. package/.codacy.yml +3 -0
  2. package/.github/RELEASE +1 -1
  3. package/.github/settings.yml +3 -0
  4. package/.openapi-generator/FILES +87 -0
  5. package/.openapi-generator/VERSION +1 -1
  6. package/CHANGELOG.md +15 -0
  7. package/README.md +2 -2
  8. package/docs/AttachBuildToVersionRequest.md +22 -0
  9. package/docs/AttachMinecraftToBuildRequest.md +22 -0
  10. package/docs/AuthApi.md +366 -0
  11. package/docs/AuthToken.md +22 -0
  12. package/docs/AuthVerify.md +22 -0
  13. package/docs/Build.md +59 -0
  14. package/docs/BuildVersion.md +31 -0
  15. package/docs/CreateBuildRequest.md +40 -0
  16. package/docs/CreateGroupRequest.md +22 -0
  17. package/docs/CreateModRequest.md +34 -0
  18. package/docs/CreatePackRequest.md +26 -0
  19. package/docs/CreateUserRequest.md +30 -0
  20. package/docs/CreateVersionRequest.md +24 -0
  21. package/docs/DeleteGroupFromModRequest.md +20 -0
  22. package/docs/DeleteGroupFromPackRequest.md +20 -0
  23. package/docs/DeletePackFromGroupRequest.md +20 -0
  24. package/docs/DeletePackFromUserRequest.md +20 -0
  25. package/docs/Fabric.md +27 -0
  26. package/docs/FabricApi.md +297 -0
  27. package/docs/Forge.md +29 -0
  28. package/docs/ForgeApi.md +297 -0
  29. package/docs/Group.md +29 -0
  30. package/docs/GroupApi.md +1050 -0
  31. package/docs/GroupMod.md +33 -0
  32. package/docs/GroupPack.md +33 -0
  33. package/docs/ListBuildVersions200Response.md +30 -0
  34. package/docs/ListBuilds200Response.md +28 -0
  35. package/docs/ListFabricBuilds200Response.md +28 -0
  36. package/docs/ListFabrics200Response.md +26 -0
  37. package/docs/ListForgeBuilds200Response.md +28 -0
  38. package/docs/ListForges200Response.md +26 -0
  39. package/docs/ListGroupMods200Response.md +28 -0
  40. package/docs/ListGroupPacks200Response.md +28 -0
  41. package/docs/ListGroupUsers200Response.md +28 -0
  42. package/docs/ListGroups200Response.md +26 -0
  43. package/docs/ListMinecraftBuilds200Response.md +28 -0
  44. package/docs/ListMinecrafts200Response.md +26 -0
  45. package/docs/ListModGroups200Response.md +28 -0
  46. package/docs/ListModUsers200Response.md +28 -0
  47. package/docs/ListMods200Response.md +26 -0
  48. package/docs/ListNeoforgeBuilds200Response.md +28 -0
  49. package/docs/ListNeoforges200Response.md +26 -0
  50. package/docs/ListPackGroups200Response.md +28 -0
  51. package/docs/ListPackUsers200Response.md +28 -0
  52. package/docs/ListPacks200Response.md +26 -0
  53. package/docs/ListProviders200Response.md +22 -0
  54. package/docs/ListQuiltBuilds200Response.md +28 -0
  55. package/docs/ListQuilts200Response.md +26 -0
  56. package/docs/ListUserGroups200Response.md +28 -0
  57. package/docs/ListUserMods200Response.md +28 -0
  58. package/docs/ListUserPacks200Response.md +28 -0
  59. package/docs/ListUsers200Response.md +26 -0
  60. package/docs/ListVersionBuilds200Response.md +30 -0
  61. package/docs/ListVersions200Response.md +28 -0
  62. package/docs/LoginAuthRequest.md +22 -0
  63. package/docs/Minecraft.md +29 -0
  64. package/docs/MinecraftApi.md +297 -0
  65. package/docs/Mod.md +43 -0
  66. package/docs/ModApi.md +1533 -0
  67. package/docs/ModAvatar.md +27 -0
  68. package/docs/Neoforge.md +27 -0
  69. package/docs/NeoforgeApi.md +297 -0
  70. package/docs/Notification.md +25 -0
  71. package/docs/Pack.md +35 -0
  72. package/docs/PackApi.md +1305 -0
  73. package/docs/PackAvatar.md +27 -0
  74. package/docs/PermitGroupModRequest.md +22 -0
  75. package/docs/PermitGroupPackRequest.md +22 -0
  76. package/docs/PermitPackGroupRequest.md +22 -0
  77. package/docs/PermitPackUserRequest.md +22 -0
  78. package/docs/Profile.md +47 -0
  79. package/docs/ProfileApi.md +155 -0
  80. package/docs/Provider.md +27 -0
  81. package/docs/Quilt.md +27 -0
  82. package/docs/QuiltApi.md +297 -0
  83. package/docs/RedirectAuthRequest.md +20 -0
  84. package/docs/UpdateProfileRequest.md +26 -0
  85. package/docs/UpdateUserRequest.md +30 -0
  86. package/docs/User.md +41 -0
  87. package/docs/UserApi.md +1050 -0
  88. package/docs/UserAuth.md +27 -0
  89. package/docs/UserGroup.md +33 -0
  90. package/docs/UserMod.md +33 -0
  91. package/docs/UserPack.md +33 -0
  92. package/docs/Validation.md +23 -0
  93. package/docs/Version.md +33 -0
  94. package/docs/VersionFile.md +33 -0
  95. package/flake.lock +9 -9
  96. package/openapi.yml +1 -1
  97. package/package.json +2 -2
@@ -0,0 +1,28 @@
1
+ # ListQuiltBuilds200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **total** | **number** | | [default to undefined]
9
+ **limit** | **number** | | [default to undefined]
10
+ **offset** | **number** | | [default to undefined]
11
+ **quilt** | [**Quilt**](Quilt.md) | | [optional] [default to undefined]
12
+ **builds** | [**Array<Build>**](Build.md) | | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { ListQuiltBuilds200Response } from 'kleisterjs';
18
+
19
+ const instance: ListQuiltBuilds200Response = {
20
+ total,
21
+ limit,
22
+ offset,
23
+ quilt,
24
+ builds,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # ListQuilts200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **total** | **number** | | [default to undefined]
9
+ **limit** | **number** | | [default to undefined]
10
+ **offset** | **number** | | [default to undefined]
11
+ **versions** | [**Array<Quilt>**](Quilt.md) | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { ListQuilts200Response } from 'kleisterjs';
17
+
18
+ const instance: ListQuilts200Response = {
19
+ total,
20
+ limit,
21
+ offset,
22
+ versions,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # ListUserGroups200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **total** | **number** | | [default to undefined]
9
+ **limit** | **number** | | [default to undefined]
10
+ **offset** | **number** | | [default to undefined]
11
+ **user** | [**User**](User.md) | | [optional] [default to undefined]
12
+ **groups** | [**Array<UserGroup>**](UserGroup.md) | | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { ListUserGroups200Response } from 'kleisterjs';
18
+
19
+ const instance: ListUserGroups200Response = {
20
+ total,
21
+ limit,
22
+ offset,
23
+ user,
24
+ groups,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # ListUserMods200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **total** | **number** | | [default to undefined]
9
+ **limit** | **number** | | [default to undefined]
10
+ **offset** | **number** | | [default to undefined]
11
+ **user** | [**User**](User.md) | | [optional] [default to undefined]
12
+ **mods** | [**Array<UserMod>**](UserMod.md) | | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { ListUserMods200Response } from 'kleisterjs';
18
+
19
+ const instance: ListUserMods200Response = {
20
+ total,
21
+ limit,
22
+ offset,
23
+ user,
24
+ mods,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # ListUserPacks200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **total** | **number** | | [default to undefined]
9
+ **limit** | **number** | | [default to undefined]
10
+ **offset** | **number** | | [default to undefined]
11
+ **user** | [**User**](User.md) | | [optional] [default to undefined]
12
+ **packs** | [**Array<UserPack>**](UserPack.md) | | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { ListUserPacks200Response } from 'kleisterjs';
18
+
19
+ const instance: ListUserPacks200Response = {
20
+ total,
21
+ limit,
22
+ offset,
23
+ user,
24
+ packs,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # ListUsers200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **total** | **number** | | [default to undefined]
9
+ **limit** | **number** | | [default to undefined]
10
+ **offset** | **number** | | [default to undefined]
11
+ **users** | [**Array<User>**](User.md) | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { ListUsers200Response } from 'kleisterjs';
17
+
18
+ const instance: ListUsers200Response = {
19
+ total,
20
+ limit,
21
+ offset,
22
+ users,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,30 @@
1
+ # ListVersionBuilds200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **total** | **number** | | [default to undefined]
9
+ **limit** | **number** | | [default to undefined]
10
+ **offset** | **number** | | [default to undefined]
11
+ **mod** | [**Mod**](Mod.md) | | [optional] [default to undefined]
12
+ **version** | [**Version**](Version.md) | | [optional] [default to undefined]
13
+ **builds** | [**Array<BuildVersion>**](BuildVersion.md) | | [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { ListVersionBuilds200Response } from 'kleisterjs';
19
+
20
+ const instance: ListVersionBuilds200Response = {
21
+ total,
22
+ limit,
23
+ offset,
24
+ mod,
25
+ version,
26
+ builds,
27
+ };
28
+ ```
29
+
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # ListVersions200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **total** | **number** | | [default to undefined]
9
+ **limit** | **number** | | [default to undefined]
10
+ **offset** | **number** | | [default to undefined]
11
+ **mod** | [**Mod**](Mod.md) | | [optional] [default to undefined]
12
+ **versions** | [**Array<Version>**](Version.md) | | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { ListVersions200Response } from 'kleisterjs';
18
+
19
+ const instance: ListVersions200Response = {
20
+ total,
21
+ limit,
22
+ offset,
23
+ mod,
24
+ versions,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,22 @@
1
+ # LoginAuthRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **username** | **string** | | [default to undefined]
9
+ **password** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { LoginAuthRequest } from 'kleisterjs';
15
+
16
+ const instance: LoginAuthRequest = {
17
+ username,
18
+ password,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,29 @@
1
+ # Minecraft
2
+
3
+ Model to represent minecraft
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | | [optional] [readonly] [default to undefined]
10
+ **name** | **string** | | [optional] [default to undefined]
11
+ **type** | **string** | | [optional] [default to undefined]
12
+ **created_at** | **string** | | [optional] [readonly] [default to undefined]
13
+ **updated_at** | **string** | | [optional] [readonly] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { Minecraft } from 'kleisterjs';
19
+
20
+ const instance: Minecraft = {
21
+ id,
22
+ name,
23
+ type,
24
+ created_at,
25
+ updated_at,
26
+ };
27
+ ```
28
+
29
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,297 @@
1
+ # MinecraftApi
2
+
3
+ All URIs are relative to *https://try.kleister.eu/api/v1*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**attachMinecraftToBuild**](#attachminecrafttobuild) | **POST** /minecraft/{minecraft_id}/builds | Attach a build to a Minecraft version|
8
+ |[**deleteMinecraftFromBuild**](#deleteminecraftfrombuild) | **DELETE** /minecraft/{minecraft_id}/builds | Unlink a build from a Minecraft version|
9
+ |[**listMinecraftBuilds**](#listminecraftbuilds) | **GET** /minecraft/{minecraft_id}/builds | Fetch the builds attached to a Minecraft version|
10
+ |[**listMinecrafts**](#listminecrafts) | **GET** /minecraft | Fetch the available Minecraft versions|
11
+ |[**updateMinecraft**](#updateminecraft) | **PUT** /minecraft | Update the available Minecraft versions|
12
+
13
+ # **attachMinecraftToBuild**
14
+ > Notification attachMinecraftToBuild(attachMinecraftToBuildRequest)
15
+
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ MinecraftApi,
22
+ Configuration,
23
+ AttachMinecraftToBuildRequest
24
+ } from 'kleisterjs';
25
+
26
+ const configuration = new Configuration();
27
+ const apiInstance = new MinecraftApi(configuration);
28
+
29
+ let minecraftId: string; //A minecraft identifier or slug (default to undefined)
30
+ let attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest; //The minecraft build data to create or update
31
+
32
+ const { status, data } = await apiInstance.attachMinecraftToBuild(
33
+ minecraftId,
34
+ attachMinecraftToBuildRequest
35
+ );
36
+ ```
37
+
38
+ ### Parameters
39
+
40
+ |Name | Type | Description | Notes|
41
+ |------------- | ------------- | ------------- | -------------|
42
+ | **attachMinecraftToBuildRequest** | **AttachMinecraftToBuildRequest**| The minecraft build data to create or update | |
43
+ | **minecraftId** | [**string**] | A minecraft identifier or slug | defaults to undefined|
44
+
45
+
46
+ ### Return type
47
+
48
+ **Notification**
49
+
50
+ ### Authorization
51
+
52
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
53
+
54
+ ### HTTP request headers
55
+
56
+ - **Content-Type**: application/json
57
+ - **Accept**: application/json
58
+
59
+
60
+ ### HTTP response details
61
+ | Status code | Description | Response headers |
62
+ |-------------|-------------|------------------|
63
+ |**200** | Plain success message | - |
64
+ |**400** | Failed to parse request | - |
65
+ |**403** | User is not authorized | - |
66
+ |**404** | Resource not found | - |
67
+ |**412** | Resource is already attached | - |
68
+ |**422** | Failed to validate request | - |
69
+ |**500** | Some internal server error | - |
70
+
71
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
72
+
73
+ # **deleteMinecraftFromBuild**
74
+ > Notification deleteMinecraftFromBuild(attachMinecraftToBuildRequest)
75
+
76
+
77
+ ### Example
78
+
79
+ ```typescript
80
+ import {
81
+ MinecraftApi,
82
+ Configuration,
83
+ AttachMinecraftToBuildRequest
84
+ } from 'kleisterjs';
85
+
86
+ const configuration = new Configuration();
87
+ const apiInstance = new MinecraftApi(configuration);
88
+
89
+ let minecraftId: string; //A minecraft identifier or slug (default to undefined)
90
+ let attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest; //The minecraft build data to create or update
91
+
92
+ const { status, data } = await apiInstance.deleteMinecraftFromBuild(
93
+ minecraftId,
94
+ attachMinecraftToBuildRequest
95
+ );
96
+ ```
97
+
98
+ ### Parameters
99
+
100
+ |Name | Type | Description | Notes|
101
+ |------------- | ------------- | ------------- | -------------|
102
+ | **attachMinecraftToBuildRequest** | **AttachMinecraftToBuildRequest**| The minecraft build data to create or update | |
103
+ | **minecraftId** | [**string**] | A minecraft identifier or slug | defaults to undefined|
104
+
105
+
106
+ ### Return type
107
+
108
+ **Notification**
109
+
110
+ ### Authorization
111
+
112
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
113
+
114
+ ### HTTP request headers
115
+
116
+ - **Content-Type**: application/json
117
+ - **Accept**: application/json
118
+
119
+
120
+ ### HTTP response details
121
+ | Status code | Description | Response headers |
122
+ |-------------|-------------|------------------|
123
+ |**200** | Plain success message | - |
124
+ |**400** | Failed to parse request | - |
125
+ |**403** | User is not authorized | - |
126
+ |**404** | Resource not found | - |
127
+ |**412** | Resource is not attached | - |
128
+ |**500** | Some internal server error | - |
129
+
130
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
131
+
132
+ # **listMinecraftBuilds**
133
+ > ListMinecraftBuilds200Response listMinecraftBuilds()
134
+
135
+
136
+ ### Example
137
+
138
+ ```typescript
139
+ import {
140
+ MinecraftApi,
141
+ Configuration
142
+ } from 'kleisterjs';
143
+
144
+ const configuration = new Configuration();
145
+ const apiInstance = new MinecraftApi(configuration);
146
+
147
+ let minecraftId: string; //A minecraft identifier or slug (default to undefined)
148
+ let search: string; //Search query (optional) (default to undefined)
149
+ let sort: string; //Sorting column (optional) (default to undefined)
150
+ let order: 'asc' | 'desc'; //Sorting order (optional) (default to 'asc')
151
+ let limit: number; //Paging limit (optional) (default to 100)
152
+ let offset: number; //Paging offset (optional) (default to 0)
153
+
154
+ const { status, data } = await apiInstance.listMinecraftBuilds(
155
+ minecraftId,
156
+ search,
157
+ sort,
158
+ order,
159
+ limit,
160
+ offset
161
+ );
162
+ ```
163
+
164
+ ### Parameters
165
+
166
+ |Name | Type | Description | Notes|
167
+ |------------- | ------------- | ------------- | -------------|
168
+ | **minecraftId** | [**string**] | A minecraft identifier or slug | defaults to undefined|
169
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
170
+ | **sort** | [**string**] | Sorting column | (optional) defaults to undefined|
171
+ | **order** | [**&#39;asc&#39; | &#39;desc&#39;**]**Array<&#39;asc&#39; &#124; &#39;desc&#39;>** | Sorting order | (optional) defaults to 'asc'|
172
+ | **limit** | [**number**] | Paging limit | (optional) defaults to 100|
173
+ | **offset** | [**number**] | Paging offset | (optional) defaults to 0|
174
+
175
+
176
+ ### Return type
177
+
178
+ **ListMinecraftBuilds200Response**
179
+
180
+ ### Authorization
181
+
182
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
183
+
184
+ ### HTTP request headers
185
+
186
+ - **Content-Type**: Not defined
187
+ - **Accept**: application/json
188
+
189
+
190
+ ### HTTP response details
191
+ | Status code | Description | Response headers |
192
+ |-------------|-------------|------------------|
193
+ |**200** | A collection of minecraft builds | - |
194
+ |**403** | User is not authorized | - |
195
+ |**404** | Resource not found | - |
196
+ |**500** | Some internal server error | - |
197
+
198
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
199
+
200
+ # **listMinecrafts**
201
+ > ListMinecrafts200Response listMinecrafts()
202
+
203
+
204
+ ### Example
205
+
206
+ ```typescript
207
+ import {
208
+ MinecraftApi,
209
+ Configuration
210
+ } from 'kleisterjs';
211
+
212
+ const configuration = new Configuration();
213
+ const apiInstance = new MinecraftApi(configuration);
214
+
215
+ let search: string; //Search query (optional) (default to undefined)
216
+
217
+ const { status, data } = await apiInstance.listMinecrafts(
218
+ search
219
+ );
220
+ ```
221
+
222
+ ### Parameters
223
+
224
+ |Name | Type | Description | Notes|
225
+ |------------- | ------------- | ------------- | -------------|
226
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
227
+
228
+
229
+ ### Return type
230
+
231
+ **ListMinecrafts200Response**
232
+
233
+ ### Authorization
234
+
235
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
236
+
237
+ ### HTTP request headers
238
+
239
+ - **Content-Type**: Not defined
240
+ - **Accept**: application/json
241
+
242
+
243
+ ### HTTP response details
244
+ | Status code | Description | Response headers |
245
+ |-------------|-------------|------------------|
246
+ |**200** | A collection of minecrafts | - |
247
+ |**403** | User is not authorized | - |
248
+ |**500** | Some internal server error | - |
249
+
250
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
251
+
252
+ # **updateMinecraft**
253
+ > Notification updateMinecraft()
254
+
255
+
256
+ ### Example
257
+
258
+ ```typescript
259
+ import {
260
+ MinecraftApi,
261
+ Configuration
262
+ } from 'kleisterjs';
263
+
264
+ const configuration = new Configuration();
265
+ const apiInstance = new MinecraftApi(configuration);
266
+
267
+ const { status, data } = await apiInstance.updateMinecraft();
268
+ ```
269
+
270
+ ### Parameters
271
+ This endpoint does not have any parameters.
272
+
273
+
274
+ ### Return type
275
+
276
+ **Notification**
277
+
278
+ ### Authorization
279
+
280
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
281
+
282
+ ### HTTP request headers
283
+
284
+ - **Content-Type**: Not defined
285
+ - **Accept**: application/json
286
+
287
+
288
+ ### HTTP response details
289
+ | Status code | Description | Response headers |
290
+ |-------------|-------------|------------------|
291
+ |**200** | Plain success message | - |
292
+ |**503** | Remote source is nit available | - |
293
+ |**403** | User is not authorized | - |
294
+ |**500** | Some internal server error | - |
295
+
296
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
297
+
package/docs/Mod.md ADDED
@@ -0,0 +1,43 @@
1
+ # Mod
2
+
3
+ Model to represent mod
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | | [optional] [readonly] [default to undefined]
10
+ **avatar** | [**ModAvatar**](ModAvatar.md) | | [optional] [default to undefined]
11
+ **slug** | **string** | | [optional] [default to undefined]
12
+ **name** | **string** | | [optional] [default to undefined]
13
+ **side** | **string** | | [optional] [default to undefined]
14
+ **description** | **string** | | [optional] [default to undefined]
15
+ **author** | **string** | | [optional] [default to undefined]
16
+ **website** | **string** | | [optional] [default to undefined]
17
+ **donate** | **string** | | [optional] [default to undefined]
18
+ **_public** | **boolean** | | [optional] [default to undefined]
19
+ **created_at** | **string** | | [optional] [readonly] [default to undefined]
20
+ **updated_at** | **string** | | [optional] [readonly] [default to undefined]
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import { Mod } from 'kleisterjs';
26
+
27
+ const instance: Mod = {
28
+ id,
29
+ avatar,
30
+ slug,
31
+ name,
32
+ side,
33
+ description,
34
+ author,
35
+ website,
36
+ donate,
37
+ _public,
38
+ created_at,
39
+ updated_at,
40
+ };
41
+ ```
42
+
43
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)