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,31 @@
1
+ # BuildVersion
2
+
3
+ Model to represent build version
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **build_id** | **string** | | [default to undefined]
10
+ **build** | [**Build**](Build.md) | | [optional] [default to undefined]
11
+ **version_id** | **string** | | [default to undefined]
12
+ **version** | [**Version**](Version.md) | | [optional] [default to undefined]
13
+ **created_at** | **string** | | [optional] [readonly] [default to undefined]
14
+ **updated_at** | **string** | | [optional] [readonly] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { BuildVersion } from 'kleisterjs';
20
+
21
+ const instance: BuildVersion = {
22
+ build_id,
23
+ build,
24
+ version_id,
25
+ version,
26
+ created_at,
27
+ updated_at,
28
+ };
29
+ ```
30
+
31
+ [[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,40 @@
1
+ # CreateBuildRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **minecraft_id** | **string** | | [optional] [default to undefined]
9
+ **forge_id** | **string** | | [optional] [default to undefined]
10
+ **neoforge_id** | **string** | | [optional] [default to undefined]
11
+ **quilt_id** | **string** | | [optional] [default to undefined]
12
+ **fabric_id** | **string** | | [optional] [default to undefined]
13
+ **name** | **string** | | [optional] [default to undefined]
14
+ **java** | **string** | | [optional] [default to undefined]
15
+ **memory** | **string** | | [optional] [default to undefined]
16
+ **latest** | **boolean** | | [optional] [default to undefined]
17
+ **recommended** | **boolean** | | [optional] [default to undefined]
18
+ **_public** | **boolean** | | [optional] [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { CreateBuildRequest } from 'kleisterjs';
24
+
25
+ const instance: CreateBuildRequest = {
26
+ minecraft_id,
27
+ forge_id,
28
+ neoforge_id,
29
+ quilt_id,
30
+ fabric_id,
31
+ name,
32
+ java,
33
+ memory,
34
+ latest,
35
+ recommended,
36
+ _public,
37
+ };
38
+ ```
39
+
40
+ [[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
+ # CreateGroupRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **slug** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { CreateGroupRequest } from 'kleisterjs';
15
+
16
+ const instance: CreateGroupRequest = {
17
+ slug,
18
+ name,
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,34 @@
1
+ # CreateModRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **slug** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **side** | **string** | | [optional] [default to undefined]
11
+ **description** | **string** | | [optional] [default to undefined]
12
+ **author** | **string** | | [optional] [default to undefined]
13
+ **website** | **string** | | [optional] [default to undefined]
14
+ **donate** | **string** | | [optional] [default to undefined]
15
+ **_public** | **boolean** | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { CreateModRequest } from 'kleisterjs';
21
+
22
+ const instance: CreateModRequest = {
23
+ slug,
24
+ name,
25
+ side,
26
+ description,
27
+ author,
28
+ website,
29
+ donate,
30
+ _public,
31
+ };
32
+ ```
33
+
34
+ [[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
+ # CreatePackRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **slug** | **string** | | [optional] [default to undefined]
9
+ **name** | **string** | | [optional] [default to undefined]
10
+ **website** | **string** | | [optional] [default to undefined]
11
+ **_public** | **boolean** | | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { CreatePackRequest } from 'kleisterjs';
17
+
18
+ const instance: CreatePackRequest = {
19
+ slug,
20
+ name,
21
+ website,
22
+ _public,
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
+ # CreateUserRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **username** | **string** | | [optional] [default to undefined]
9
+ **password** | **string** | | [optional] [default to undefined]
10
+ **email** | **string** | | [optional] [default to undefined]
11
+ **fullname** | **string** | | [optional] [default to undefined]
12
+ **admin** | **boolean** | | [optional] [default to false]
13
+ **active** | **boolean** | | [optional] [default to true]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { CreateUserRequest } from 'kleisterjs';
19
+
20
+ const instance: CreateUserRequest = {
21
+ username,
22
+ password,
23
+ email,
24
+ fullname,
25
+ admin,
26
+ active,
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,24 @@
1
+ # CreateVersionRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [optional] [default to undefined]
9
+ **_public** | **boolean** | | [optional] [default to undefined]
10
+ **upload** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { CreateVersionRequest } from 'kleisterjs';
16
+
17
+ const instance: CreateVersionRequest = {
18
+ name,
19
+ _public,
20
+ upload,
21
+ };
22
+ ```
23
+
24
+ [[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,20 @@
1
+ # DeleteGroupFromModRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **mod** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { DeleteGroupFromModRequest } from 'kleisterjs';
14
+
15
+ const instance: DeleteGroupFromModRequest = {
16
+ mod,
17
+ };
18
+ ```
19
+
20
+ [[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,20 @@
1
+ # DeleteGroupFromPackRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **pack** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { DeleteGroupFromPackRequest } from 'kleisterjs';
14
+
15
+ const instance: DeleteGroupFromPackRequest = {
16
+ pack,
17
+ };
18
+ ```
19
+
20
+ [[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,20 @@
1
+ # DeletePackFromGroupRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **group** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { DeletePackFromGroupRequest } from 'kleisterjs';
14
+
15
+ const instance: DeletePackFromGroupRequest = {
16
+ group,
17
+ };
18
+ ```
19
+
20
+ [[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,20 @@
1
+ # DeletePackFromUserRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **user** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { DeletePackFromUserRequest } from 'kleisterjs';
14
+
15
+ const instance: DeletePackFromUserRequest = {
16
+ user,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/Fabric.md ADDED
@@ -0,0 +1,27 @@
1
+ # Fabric
2
+
3
+ Model to represent fabric
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
+ **created_at** | **string** | | [optional] [readonly] [default to undefined]
12
+ **updated_at** | **string** | | [optional] [readonly] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { Fabric } from 'kleisterjs';
18
+
19
+ const instance: Fabric = {
20
+ id,
21
+ name,
22
+ created_at,
23
+ updated_at,
24
+ };
25
+ ```
26
+
27
+ [[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
+ # FabricApi
2
+
3
+ All URIs are relative to *https://try.kleister.eu/api/v1*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**attachFabricToBuild**](#attachfabrictobuild) | **POST** /fabric/{fabric_id}/builds | Attach a build to a Fabric version|
8
+ |[**deleteFabricFromBuild**](#deletefabricfrombuild) | **DELETE** /fabric/{fabric_id}/builds | Unlink a build from a Fabric version|
9
+ |[**listFabricBuilds**](#listfabricbuilds) | **GET** /fabric/{fabric_id}/builds | Fetch the builds attached to a Fabric version|
10
+ |[**listFabrics**](#listfabrics) | **GET** /fabric | Fetch the available Fabric versions|
11
+ |[**updateFabric**](#updatefabric) | **PUT** /fabric | Update the available Fabric versions|
12
+
13
+ # **attachFabricToBuild**
14
+ > Notification attachFabricToBuild(attachMinecraftToBuildRequest)
15
+
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ FabricApi,
22
+ Configuration,
23
+ AttachMinecraftToBuildRequest
24
+ } from 'kleisterjs';
25
+
26
+ const configuration = new Configuration();
27
+ const apiInstance = new FabricApi(configuration);
28
+
29
+ let fabricId: string; //A fabric identifier or slug (default to undefined)
30
+ let attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest; //The fabric build data to create or update
31
+
32
+ const { status, data } = await apiInstance.attachFabricToBuild(
33
+ fabricId,
34
+ attachMinecraftToBuildRequest
35
+ );
36
+ ```
37
+
38
+ ### Parameters
39
+
40
+ |Name | Type | Description | Notes|
41
+ |------------- | ------------- | ------------- | -------------|
42
+ | **attachMinecraftToBuildRequest** | **AttachMinecraftToBuildRequest**| The fabric build data to create or update | |
43
+ | **fabricId** | [**string**] | A fabric 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
+ # **deleteFabricFromBuild**
74
+ > Notification deleteFabricFromBuild(attachMinecraftToBuildRequest)
75
+
76
+
77
+ ### Example
78
+
79
+ ```typescript
80
+ import {
81
+ FabricApi,
82
+ Configuration,
83
+ AttachMinecraftToBuildRequest
84
+ } from 'kleisterjs';
85
+
86
+ const configuration = new Configuration();
87
+ const apiInstance = new FabricApi(configuration);
88
+
89
+ let fabricId: string; //A fabric identifier or slug (default to undefined)
90
+ let attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest; //The fabric build data to create or update
91
+
92
+ const { status, data } = await apiInstance.deleteFabricFromBuild(
93
+ fabricId,
94
+ attachMinecraftToBuildRequest
95
+ );
96
+ ```
97
+
98
+ ### Parameters
99
+
100
+ |Name | Type | Description | Notes|
101
+ |------------- | ------------- | ------------- | -------------|
102
+ | **attachMinecraftToBuildRequest** | **AttachMinecraftToBuildRequest**| The fabric build data to create or update | |
103
+ | **fabricId** | [**string**] | A fabric 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
+ # **listFabricBuilds**
133
+ > ListFabricBuilds200Response listFabricBuilds()
134
+
135
+
136
+ ### Example
137
+
138
+ ```typescript
139
+ import {
140
+ FabricApi,
141
+ Configuration
142
+ } from 'kleisterjs';
143
+
144
+ const configuration = new Configuration();
145
+ const apiInstance = new FabricApi(configuration);
146
+
147
+ let fabricId: string; //A fabric 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.listFabricBuilds(
155
+ fabricId,
156
+ search,
157
+ sort,
158
+ order,
159
+ limit,
160
+ offset
161
+ );
162
+ ```
163
+
164
+ ### Parameters
165
+
166
+ |Name | Type | Description | Notes|
167
+ |------------- | ------------- | ------------- | -------------|
168
+ | **fabricId** | [**string**] | A fabric 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
+ **ListFabricBuilds200Response**
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 fabric 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
+ # **listFabrics**
201
+ > ListFabrics200Response listFabrics()
202
+
203
+
204
+ ### Example
205
+
206
+ ```typescript
207
+ import {
208
+ FabricApi,
209
+ Configuration
210
+ } from 'kleisterjs';
211
+
212
+ const configuration = new Configuration();
213
+ const apiInstance = new FabricApi(configuration);
214
+
215
+ let search: string; //Search query (optional) (default to undefined)
216
+
217
+ const { status, data } = await apiInstance.listFabrics(
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
+ **ListFabrics200Response**
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 fabrics | - |
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
+ # **updateFabric**
253
+ > Notification updateFabric()
254
+
255
+
256
+ ### Example
257
+
258
+ ```typescript
259
+ import {
260
+ FabricApi,
261
+ Configuration
262
+ } from 'kleisterjs';
263
+
264
+ const configuration = new Configuration();
265
+ const apiInstance = new FabricApi(configuration);
266
+
267
+ const { status, data } = await apiInstance.updateFabric();
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/Forge.md ADDED
@@ -0,0 +1,29 @@
1
+ # Forge
2
+
3
+ Model to represent forge
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
+ **minecraft** | **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 { Forge } from 'kleisterjs';
19
+
20
+ const instance: Forge = {
21
+ id,
22
+ name,
23
+ minecraft,
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)