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,1050 @@
1
+ # GroupApi
2
+
3
+ All URIs are relative to *https://try.kleister.eu/api/v1*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**attachGroupToMod**](#attachgrouptomod) | **POST** /groups/{group_id}/mods | Attach a mod to group|
8
+ |[**attachGroupToPack**](#attachgrouptopack) | **POST** /groups/{group_id}/packs | Attach a pack to group|
9
+ |[**attachGroupToUser**](#attachgrouptouser) | **POST** /groups/{group_id}/users | Attach a user to group|
10
+ |[**createGroup**](#creategroup) | **POST** /groups | Create a new group|
11
+ |[**deleteGroup**](#deletegroup) | **DELETE** /groups/{group_id} | Delete a specific group|
12
+ |[**deleteGroupFromMod**](#deletegroupfrommod) | **DELETE** /groups/{group_id}/mods | Unlink a mod from group|
13
+ |[**deleteGroupFromPack**](#deletegroupfrompack) | **DELETE** /groups/{group_id}/packs | Unlink a pack from group|
14
+ |[**deleteGroupFromUser**](#deletegroupfromuser) | **DELETE** /groups/{group_id}/users | Unlink a user from group|
15
+ |[**listGroupMods**](#listgroupmods) | **GET** /groups/{group_id}/mods | Fetch all mods attached to group|
16
+ |[**listGroupPacks**](#listgrouppacks) | **GET** /groups/{group_id}/packs | Fetch all packs attached to group|
17
+ |[**listGroupUsers**](#listgroupusers) | **GET** /groups/{group_id}/users | Fetch all users attached to group|
18
+ |[**listGroups**](#listgroups) | **GET** /groups | Fetch all available groups|
19
+ |[**permitGroupMod**](#permitgroupmod) | **PUT** /groups/{group_id}/mods | Update mod perms for group|
20
+ |[**permitGroupPack**](#permitgrouppack) | **PUT** /groups/{group_id}/packs | Update pack perms for group|
21
+ |[**permitGroupUser**](#permitgroupuser) | **PUT** /groups/{group_id}/users | Update user perms for group|
22
+ |[**showGroup**](#showgroup) | **GET** /groups/{group_id} | Fetch a specific group|
23
+ |[**updateGroup**](#updategroup) | **PUT** /groups/{group_id} | Update a specific group|
24
+
25
+ # **attachGroupToMod**
26
+ > Notification attachGroupToMod(permitGroupModRequest)
27
+
28
+
29
+ ### Example
30
+
31
+ ```typescript
32
+ import {
33
+ GroupApi,
34
+ Configuration,
35
+ PermitGroupModRequest
36
+ } from 'kleisterjs';
37
+
38
+ const configuration = new Configuration();
39
+ const apiInstance = new GroupApi(configuration);
40
+
41
+ let groupId: string; //A group identifier or slug (default to undefined)
42
+ let permitGroupModRequest: PermitGroupModRequest; //The group mod data to permit
43
+
44
+ const { status, data } = await apiInstance.attachGroupToMod(
45
+ groupId,
46
+ permitGroupModRequest
47
+ );
48
+ ```
49
+
50
+ ### Parameters
51
+
52
+ |Name | Type | Description | Notes|
53
+ |------------- | ------------- | ------------- | -------------|
54
+ | **permitGroupModRequest** | **PermitGroupModRequest**| The group mod data to permit | |
55
+ | **groupId** | [**string**] | A group identifier or slug | defaults to undefined|
56
+
57
+
58
+ ### Return type
59
+
60
+ **Notification**
61
+
62
+ ### Authorization
63
+
64
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
65
+
66
+ ### HTTP request headers
67
+
68
+ - **Content-Type**: application/json
69
+ - **Accept**: application/json
70
+
71
+
72
+ ### HTTP response details
73
+ | Status code | Description | Response headers |
74
+ |-------------|-------------|------------------|
75
+ |**200** | Plain success message | - |
76
+ |**400** | Failed to parse request | - |
77
+ |**403** | User is not authorized | - |
78
+ |**404** | Resource not found | - |
79
+ |**412** | Resource is already attached | - |
80
+ |**422** | Failed to validate request | - |
81
+ |**500** | Some internal server error | - |
82
+
83
+ [[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)
84
+
85
+ # **attachGroupToPack**
86
+ > Notification attachGroupToPack(permitGroupPackRequest)
87
+
88
+
89
+ ### Example
90
+
91
+ ```typescript
92
+ import {
93
+ GroupApi,
94
+ Configuration,
95
+ PermitGroupPackRequest
96
+ } from 'kleisterjs';
97
+
98
+ const configuration = new Configuration();
99
+ const apiInstance = new GroupApi(configuration);
100
+
101
+ let groupId: string; //A group identifier or slug (default to undefined)
102
+ let permitGroupPackRequest: PermitGroupPackRequest; //The group pack data to permit
103
+
104
+ const { status, data } = await apiInstance.attachGroupToPack(
105
+ groupId,
106
+ permitGroupPackRequest
107
+ );
108
+ ```
109
+
110
+ ### Parameters
111
+
112
+ |Name | Type | Description | Notes|
113
+ |------------- | ------------- | ------------- | -------------|
114
+ | **permitGroupPackRequest** | **PermitGroupPackRequest**| The group pack data to permit | |
115
+ | **groupId** | [**string**] | A group identifier or slug | defaults to undefined|
116
+
117
+
118
+ ### Return type
119
+
120
+ **Notification**
121
+
122
+ ### Authorization
123
+
124
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
125
+
126
+ ### HTTP request headers
127
+
128
+ - **Content-Type**: application/json
129
+ - **Accept**: application/json
130
+
131
+
132
+ ### HTTP response details
133
+ | Status code | Description | Response headers |
134
+ |-------------|-------------|------------------|
135
+ |**200** | Plain success message | - |
136
+ |**400** | Failed to parse request | - |
137
+ |**403** | User is not authorized | - |
138
+ |**404** | Resource not found | - |
139
+ |**412** | Resource is already attached | - |
140
+ |**422** | Failed to validate request | - |
141
+ |**500** | Some internal server error | - |
142
+
143
+ [[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)
144
+
145
+ # **attachGroupToUser**
146
+ > Notification attachGroupToUser(permitPackUserRequest)
147
+
148
+
149
+ ### Example
150
+
151
+ ```typescript
152
+ import {
153
+ GroupApi,
154
+ Configuration,
155
+ PermitPackUserRequest
156
+ } from 'kleisterjs';
157
+
158
+ const configuration = new Configuration();
159
+ const apiInstance = new GroupApi(configuration);
160
+
161
+ let groupId: string; //A group identifier or slug (default to undefined)
162
+ let permitPackUserRequest: PermitPackUserRequest; //The group user data to permit
163
+
164
+ const { status, data } = await apiInstance.attachGroupToUser(
165
+ groupId,
166
+ permitPackUserRequest
167
+ );
168
+ ```
169
+
170
+ ### Parameters
171
+
172
+ |Name | Type | Description | Notes|
173
+ |------------- | ------------- | ------------- | -------------|
174
+ | **permitPackUserRequest** | **PermitPackUserRequest**| The group user data to permit | |
175
+ | **groupId** | [**string**] | A group identifier or slug | defaults to undefined|
176
+
177
+
178
+ ### Return type
179
+
180
+ **Notification**
181
+
182
+ ### Authorization
183
+
184
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
185
+
186
+ ### HTTP request headers
187
+
188
+ - **Content-Type**: application/json
189
+ - **Accept**: application/json
190
+
191
+
192
+ ### HTTP response details
193
+ | Status code | Description | Response headers |
194
+ |-------------|-------------|------------------|
195
+ |**200** | Plain success message | - |
196
+ |**400** | Failed to parse request | - |
197
+ |**403** | User is not authorized | - |
198
+ |**404** | Resource not found | - |
199
+ |**412** | Resource is already attached | - |
200
+ |**422** | Failed to validate request | - |
201
+ |**500** | Some internal server error | - |
202
+
203
+ [[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)
204
+
205
+ # **createGroup**
206
+ > Group createGroup(createGroupRequest)
207
+
208
+
209
+ ### Example
210
+
211
+ ```typescript
212
+ import {
213
+ GroupApi,
214
+ Configuration,
215
+ CreateGroupRequest
216
+ } from 'kleisterjs';
217
+
218
+ const configuration = new Configuration();
219
+ const apiInstance = new GroupApi(configuration);
220
+
221
+ let createGroupRequest: CreateGroupRequest; //The group data to create
222
+
223
+ const { status, data } = await apiInstance.createGroup(
224
+ createGroupRequest
225
+ );
226
+ ```
227
+
228
+ ### Parameters
229
+
230
+ |Name | Type | Description | Notes|
231
+ |------------- | ------------- | ------------- | -------------|
232
+ | **createGroupRequest** | **CreateGroupRequest**| The group data to create | |
233
+
234
+
235
+ ### Return type
236
+
237
+ **Group**
238
+
239
+ ### Authorization
240
+
241
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
242
+
243
+ ### HTTP request headers
244
+
245
+ - **Content-Type**: application/json
246
+ - **Accept**: application/json
247
+
248
+
249
+ ### HTTP response details
250
+ | Status code | Description | Response headers |
251
+ |-------------|-------------|------------------|
252
+ |**200** | The details for a group | - |
253
+ |**400** | Failed to parse request | - |
254
+ |**403** | User is not authorized | - |
255
+ |**422** | Failed to validate request | - |
256
+ |**500** | Some internal server error | - |
257
+
258
+ [[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)
259
+
260
+ # **deleteGroup**
261
+ > Notification deleteGroup()
262
+
263
+
264
+ ### Example
265
+
266
+ ```typescript
267
+ import {
268
+ GroupApi,
269
+ Configuration
270
+ } from 'kleisterjs';
271
+
272
+ const configuration = new Configuration();
273
+ const apiInstance = new GroupApi(configuration);
274
+
275
+ let groupId: string; //A group identifier or slug (default to undefined)
276
+
277
+ const { status, data } = await apiInstance.deleteGroup(
278
+ groupId
279
+ );
280
+ ```
281
+
282
+ ### Parameters
283
+
284
+ |Name | Type | Description | Notes|
285
+ |------------- | ------------- | ------------- | -------------|
286
+ | **groupId** | [**string**] | A group identifier or slug | defaults to undefined|
287
+
288
+
289
+ ### Return type
290
+
291
+ **Notification**
292
+
293
+ ### Authorization
294
+
295
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
296
+
297
+ ### HTTP request headers
298
+
299
+ - **Content-Type**: Not defined
300
+ - **Accept**: application/json
301
+
302
+
303
+ ### HTTP response details
304
+ | Status code | Description | Response headers |
305
+ |-------------|-------------|------------------|
306
+ |**200** | Plain success message | - |
307
+ |**403** | User is not authorized | - |
308
+ |**404** | Resource not found | - |
309
+ |**400** | Failed to execute action for resource | - |
310
+ |**500** | Some internal server error | - |
311
+
312
+ [[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)
313
+
314
+ # **deleteGroupFromMod**
315
+ > Notification deleteGroupFromMod(deleteGroupFromModRequest)
316
+
317
+
318
+ ### Example
319
+
320
+ ```typescript
321
+ import {
322
+ GroupApi,
323
+ Configuration,
324
+ DeleteGroupFromModRequest
325
+ } from 'kleisterjs';
326
+
327
+ const configuration = new Configuration();
328
+ const apiInstance = new GroupApi(configuration);
329
+
330
+ let groupId: string; //A group identifier or slug (default to undefined)
331
+ let deleteGroupFromModRequest: DeleteGroupFromModRequest; //The group mod data to unlink
332
+
333
+ const { status, data } = await apiInstance.deleteGroupFromMod(
334
+ groupId,
335
+ deleteGroupFromModRequest
336
+ );
337
+ ```
338
+
339
+ ### Parameters
340
+
341
+ |Name | Type | Description | Notes|
342
+ |------------- | ------------- | ------------- | -------------|
343
+ | **deleteGroupFromModRequest** | **DeleteGroupFromModRequest**| The group mod data to unlink | |
344
+ | **groupId** | [**string**] | A group identifier or slug | defaults to undefined|
345
+
346
+
347
+ ### Return type
348
+
349
+ **Notification**
350
+
351
+ ### Authorization
352
+
353
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
354
+
355
+ ### HTTP request headers
356
+
357
+ - **Content-Type**: application/json
358
+ - **Accept**: application/json
359
+
360
+
361
+ ### HTTP response details
362
+ | Status code | Description | Response headers |
363
+ |-------------|-------------|------------------|
364
+ |**200** | Plain success message | - |
365
+ |**400** | Failed to parse request | - |
366
+ |**403** | User is not authorized | - |
367
+ |**404** | Resource not found | - |
368
+ |**412** | Resource is not attached | - |
369
+ |**500** | Some internal server error | - |
370
+
371
+ [[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)
372
+
373
+ # **deleteGroupFromPack**
374
+ > Notification deleteGroupFromPack(deleteGroupFromPackRequest)
375
+
376
+
377
+ ### Example
378
+
379
+ ```typescript
380
+ import {
381
+ GroupApi,
382
+ Configuration,
383
+ DeleteGroupFromPackRequest
384
+ } from 'kleisterjs';
385
+
386
+ const configuration = new Configuration();
387
+ const apiInstance = new GroupApi(configuration);
388
+
389
+ let groupId: string; //A group identifier or slug (default to undefined)
390
+ let deleteGroupFromPackRequest: DeleteGroupFromPackRequest; //The group pack data to unlink
391
+
392
+ const { status, data } = await apiInstance.deleteGroupFromPack(
393
+ groupId,
394
+ deleteGroupFromPackRequest
395
+ );
396
+ ```
397
+
398
+ ### Parameters
399
+
400
+ |Name | Type | Description | Notes|
401
+ |------------- | ------------- | ------------- | -------------|
402
+ | **deleteGroupFromPackRequest** | **DeleteGroupFromPackRequest**| The group pack data to unlink | |
403
+ | **groupId** | [**string**] | A group identifier or slug | defaults to undefined|
404
+
405
+
406
+ ### Return type
407
+
408
+ **Notification**
409
+
410
+ ### Authorization
411
+
412
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
413
+
414
+ ### HTTP request headers
415
+
416
+ - **Content-Type**: application/json
417
+ - **Accept**: application/json
418
+
419
+
420
+ ### HTTP response details
421
+ | Status code | Description | Response headers |
422
+ |-------------|-------------|------------------|
423
+ |**200** | Plain success message | - |
424
+ |**400** | Failed to parse request | - |
425
+ |**403** | User is not authorized | - |
426
+ |**404** | Resource not found | - |
427
+ |**412** | Resource is not attached | - |
428
+ |**500** | Some internal server error | - |
429
+
430
+ [[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)
431
+
432
+ # **deleteGroupFromUser**
433
+ > Notification deleteGroupFromUser(deletePackFromUserRequest)
434
+
435
+
436
+ ### Example
437
+
438
+ ```typescript
439
+ import {
440
+ GroupApi,
441
+ Configuration,
442
+ DeletePackFromUserRequest
443
+ } from 'kleisterjs';
444
+
445
+ const configuration = new Configuration();
446
+ const apiInstance = new GroupApi(configuration);
447
+
448
+ let groupId: string; //A group identifier or slug (default to undefined)
449
+ let deletePackFromUserRequest: DeletePackFromUserRequest; //The group user data to unlink
450
+
451
+ const { status, data } = await apiInstance.deleteGroupFromUser(
452
+ groupId,
453
+ deletePackFromUserRequest
454
+ );
455
+ ```
456
+
457
+ ### Parameters
458
+
459
+ |Name | Type | Description | Notes|
460
+ |------------- | ------------- | ------------- | -------------|
461
+ | **deletePackFromUserRequest** | **DeletePackFromUserRequest**| The group user data to unlink | |
462
+ | **groupId** | [**string**] | A group identifier or slug | defaults to undefined|
463
+
464
+
465
+ ### Return type
466
+
467
+ **Notification**
468
+
469
+ ### Authorization
470
+
471
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
472
+
473
+ ### HTTP request headers
474
+
475
+ - **Content-Type**: application/json
476
+ - **Accept**: application/json
477
+
478
+
479
+ ### HTTP response details
480
+ | Status code | Description | Response headers |
481
+ |-------------|-------------|------------------|
482
+ |**200** | Plain success message | - |
483
+ |**400** | Failed to parse request | - |
484
+ |**403** | User is not authorized | - |
485
+ |**404** | Resource not found | - |
486
+ |**412** | Resource is not attached | - |
487
+ |**500** | Some internal server error | - |
488
+
489
+ [[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)
490
+
491
+ # **listGroupMods**
492
+ > ListGroupMods200Response listGroupMods()
493
+
494
+
495
+ ### Example
496
+
497
+ ```typescript
498
+ import {
499
+ GroupApi,
500
+ Configuration
501
+ } from 'kleisterjs';
502
+
503
+ const configuration = new Configuration();
504
+ const apiInstance = new GroupApi(configuration);
505
+
506
+ let groupId: string; //A group identifier or slug (default to undefined)
507
+ let search: string; //Search query (optional) (default to undefined)
508
+ let sort: string; //Sorting column (optional) (default to undefined)
509
+ let order: 'asc' | 'desc'; //Sorting order (optional) (default to 'asc')
510
+ let limit: number; //Paging limit (optional) (default to 100)
511
+ let offset: number; //Paging offset (optional) (default to 0)
512
+
513
+ const { status, data } = await apiInstance.listGroupMods(
514
+ groupId,
515
+ search,
516
+ sort,
517
+ order,
518
+ limit,
519
+ offset
520
+ );
521
+ ```
522
+
523
+ ### Parameters
524
+
525
+ |Name | Type | Description | Notes|
526
+ |------------- | ------------- | ------------- | -------------|
527
+ | **groupId** | [**string**] | A group identifier or slug | defaults to undefined|
528
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
529
+ | **sort** | [**string**] | Sorting column | (optional) defaults to undefined|
530
+ | **order** | [**&#39;asc&#39; | &#39;desc&#39;**]**Array<&#39;asc&#39; &#124; &#39;desc&#39;>** | Sorting order | (optional) defaults to 'asc'|
531
+ | **limit** | [**number**] | Paging limit | (optional) defaults to 100|
532
+ | **offset** | [**number**] | Paging offset | (optional) defaults to 0|
533
+
534
+
535
+ ### Return type
536
+
537
+ **ListGroupMods200Response**
538
+
539
+ ### Authorization
540
+
541
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
542
+
543
+ ### HTTP request headers
544
+
545
+ - **Content-Type**: Not defined
546
+ - **Accept**: application/json
547
+
548
+
549
+ ### HTTP response details
550
+ | Status code | Description | Response headers |
551
+ |-------------|-------------|------------------|
552
+ |**200** | A collection of group mods | - |
553
+ |**403** | User is not authorized | - |
554
+ |**404** | Resource not found | - |
555
+ |**500** | Some internal server error | - |
556
+
557
+ [[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)
558
+
559
+ # **listGroupPacks**
560
+ > ListGroupPacks200Response listGroupPacks()
561
+
562
+
563
+ ### Example
564
+
565
+ ```typescript
566
+ import {
567
+ GroupApi,
568
+ Configuration
569
+ } from 'kleisterjs';
570
+
571
+ const configuration = new Configuration();
572
+ const apiInstance = new GroupApi(configuration);
573
+
574
+ let groupId: string; //A group identifier or slug (default to undefined)
575
+ let search: string; //Search query (optional) (default to undefined)
576
+ let sort: string; //Sorting column (optional) (default to undefined)
577
+ let order: 'asc' | 'desc'; //Sorting order (optional) (default to 'asc')
578
+ let limit: number; //Paging limit (optional) (default to 100)
579
+ let offset: number; //Paging offset (optional) (default to 0)
580
+
581
+ const { status, data } = await apiInstance.listGroupPacks(
582
+ groupId,
583
+ search,
584
+ sort,
585
+ order,
586
+ limit,
587
+ offset
588
+ );
589
+ ```
590
+
591
+ ### Parameters
592
+
593
+ |Name | Type | Description | Notes|
594
+ |------------- | ------------- | ------------- | -------------|
595
+ | **groupId** | [**string**] | A group identifier or slug | defaults to undefined|
596
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
597
+ | **sort** | [**string**] | Sorting column | (optional) defaults to undefined|
598
+ | **order** | [**&#39;asc&#39; | &#39;desc&#39;**]**Array<&#39;asc&#39; &#124; &#39;desc&#39;>** | Sorting order | (optional) defaults to 'asc'|
599
+ | **limit** | [**number**] | Paging limit | (optional) defaults to 100|
600
+ | **offset** | [**number**] | Paging offset | (optional) defaults to 0|
601
+
602
+
603
+ ### Return type
604
+
605
+ **ListGroupPacks200Response**
606
+
607
+ ### Authorization
608
+
609
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
610
+
611
+ ### HTTP request headers
612
+
613
+ - **Content-Type**: Not defined
614
+ - **Accept**: application/json
615
+
616
+
617
+ ### HTTP response details
618
+ | Status code | Description | Response headers |
619
+ |-------------|-------------|------------------|
620
+ |**200** | A collection of group packs | - |
621
+ |**403** | User is not authorized | - |
622
+ |**404** | Resource not found | - |
623
+ |**500** | Some internal server error | - |
624
+
625
+ [[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)
626
+
627
+ # **listGroupUsers**
628
+ > ListGroupUsers200Response listGroupUsers()
629
+
630
+
631
+ ### Example
632
+
633
+ ```typescript
634
+ import {
635
+ GroupApi,
636
+ Configuration
637
+ } from 'kleisterjs';
638
+
639
+ const configuration = new Configuration();
640
+ const apiInstance = new GroupApi(configuration);
641
+
642
+ let groupId: string; //A group identifier or slug (default to undefined)
643
+ let search: string; //Search query (optional) (default to undefined)
644
+ let sort: string; //Sorting column (optional) (default to undefined)
645
+ let order: 'asc' | 'desc'; //Sorting order (optional) (default to 'asc')
646
+ let limit: number; //Paging limit (optional) (default to 100)
647
+ let offset: number; //Paging offset (optional) (default to 0)
648
+
649
+ const { status, data } = await apiInstance.listGroupUsers(
650
+ groupId,
651
+ search,
652
+ sort,
653
+ order,
654
+ limit,
655
+ offset
656
+ );
657
+ ```
658
+
659
+ ### Parameters
660
+
661
+ |Name | Type | Description | Notes|
662
+ |------------- | ------------- | ------------- | -------------|
663
+ | **groupId** | [**string**] | A group identifier or slug | defaults to undefined|
664
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
665
+ | **sort** | [**string**] | Sorting column | (optional) defaults to undefined|
666
+ | **order** | [**&#39;asc&#39; | &#39;desc&#39;**]**Array<&#39;asc&#39; &#124; &#39;desc&#39;>** | Sorting order | (optional) defaults to 'asc'|
667
+ | **limit** | [**number**] | Paging limit | (optional) defaults to 100|
668
+ | **offset** | [**number**] | Paging offset | (optional) defaults to 0|
669
+
670
+
671
+ ### Return type
672
+
673
+ **ListGroupUsers200Response**
674
+
675
+ ### Authorization
676
+
677
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
678
+
679
+ ### HTTP request headers
680
+
681
+ - **Content-Type**: Not defined
682
+ - **Accept**: application/json
683
+
684
+
685
+ ### HTTP response details
686
+ | Status code | Description | Response headers |
687
+ |-------------|-------------|------------------|
688
+ |**200** | A collection of group users | - |
689
+ |**403** | User is not authorized | - |
690
+ |**404** | Resource not found | - |
691
+ |**500** | Some internal server error | - |
692
+
693
+ [[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)
694
+
695
+ # **listGroups**
696
+ > ListGroups200Response listGroups()
697
+
698
+
699
+ ### Example
700
+
701
+ ```typescript
702
+ import {
703
+ GroupApi,
704
+ Configuration
705
+ } from 'kleisterjs';
706
+
707
+ const configuration = new Configuration();
708
+ const apiInstance = new GroupApi(configuration);
709
+
710
+ let search: string; //Search query (optional) (default to undefined)
711
+ let sort: string; //Sorting column (optional) (default to undefined)
712
+ let order: 'asc' | 'desc'; //Sorting order (optional) (default to 'asc')
713
+ let limit: number; //Paging limit (optional) (default to 100)
714
+ let offset: number; //Paging offset (optional) (default to 0)
715
+
716
+ const { status, data } = await apiInstance.listGroups(
717
+ search,
718
+ sort,
719
+ order,
720
+ limit,
721
+ offset
722
+ );
723
+ ```
724
+
725
+ ### Parameters
726
+
727
+ |Name | Type | Description | Notes|
728
+ |------------- | ------------- | ------------- | -------------|
729
+ | **search** | [**string**] | Search query | (optional) defaults to undefined|
730
+ | **sort** | [**string**] | Sorting column | (optional) defaults to undefined|
731
+ | **order** | [**&#39;asc&#39; | &#39;desc&#39;**]**Array<&#39;asc&#39; &#124; &#39;desc&#39;>** | Sorting order | (optional) defaults to 'asc'|
732
+ | **limit** | [**number**] | Paging limit | (optional) defaults to 100|
733
+ | **offset** | [**number**] | Paging offset | (optional) defaults to 0|
734
+
735
+
736
+ ### Return type
737
+
738
+ **ListGroups200Response**
739
+
740
+ ### Authorization
741
+
742
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
743
+
744
+ ### HTTP request headers
745
+
746
+ - **Content-Type**: Not defined
747
+ - **Accept**: application/json
748
+
749
+
750
+ ### HTTP response details
751
+ | Status code | Description | Response headers |
752
+ |-------------|-------------|------------------|
753
+ |**200** | A collection of groups | - |
754
+ |**403** | User is not authorized | - |
755
+ |**500** | Some internal server error | - |
756
+
757
+ [[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)
758
+
759
+ # **permitGroupMod**
760
+ > Notification permitGroupMod(permitGroupModRequest)
761
+
762
+
763
+ ### Example
764
+
765
+ ```typescript
766
+ import {
767
+ GroupApi,
768
+ Configuration,
769
+ PermitGroupModRequest
770
+ } from 'kleisterjs';
771
+
772
+ const configuration = new Configuration();
773
+ const apiInstance = new GroupApi(configuration);
774
+
775
+ let groupId: string; //A group identifier or slug (default to undefined)
776
+ let permitGroupModRequest: PermitGroupModRequest; //The group mod data to permit
777
+
778
+ const { status, data } = await apiInstance.permitGroupMod(
779
+ groupId,
780
+ permitGroupModRequest
781
+ );
782
+ ```
783
+
784
+ ### Parameters
785
+
786
+ |Name | Type | Description | Notes|
787
+ |------------- | ------------- | ------------- | -------------|
788
+ | **permitGroupModRequest** | **PermitGroupModRequest**| The group mod data to permit | |
789
+ | **groupId** | [**string**] | A group identifier or slug | defaults to undefined|
790
+
791
+
792
+ ### Return type
793
+
794
+ **Notification**
795
+
796
+ ### Authorization
797
+
798
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
799
+
800
+ ### HTTP request headers
801
+
802
+ - **Content-Type**: application/json
803
+ - **Accept**: application/json
804
+
805
+
806
+ ### HTTP response details
807
+ | Status code | Description | Response headers |
808
+ |-------------|-------------|------------------|
809
+ |**200** | Plain success message | - |
810
+ |**400** | Failed to parse request | - |
811
+ |**403** | User is not authorized | - |
812
+ |**404** | Resource not found | - |
813
+ |**412** | Resource is not attached | - |
814
+ |**422** | Failed to validate request | - |
815
+ |**500** | Some internal server error | - |
816
+
817
+ [[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)
818
+
819
+ # **permitGroupPack**
820
+ > Notification permitGroupPack(permitGroupPackRequest)
821
+
822
+
823
+ ### Example
824
+
825
+ ```typescript
826
+ import {
827
+ GroupApi,
828
+ Configuration,
829
+ PermitGroupPackRequest
830
+ } from 'kleisterjs';
831
+
832
+ const configuration = new Configuration();
833
+ const apiInstance = new GroupApi(configuration);
834
+
835
+ let groupId: string; //A group identifier or slug (default to undefined)
836
+ let permitGroupPackRequest: PermitGroupPackRequest; //The group pack data to permit
837
+
838
+ const { status, data } = await apiInstance.permitGroupPack(
839
+ groupId,
840
+ permitGroupPackRequest
841
+ );
842
+ ```
843
+
844
+ ### Parameters
845
+
846
+ |Name | Type | Description | Notes|
847
+ |------------- | ------------- | ------------- | -------------|
848
+ | **permitGroupPackRequest** | **PermitGroupPackRequest**| The group pack data to permit | |
849
+ | **groupId** | [**string**] | A group identifier or slug | defaults to undefined|
850
+
851
+
852
+ ### Return type
853
+
854
+ **Notification**
855
+
856
+ ### Authorization
857
+
858
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
859
+
860
+ ### HTTP request headers
861
+
862
+ - **Content-Type**: application/json
863
+ - **Accept**: application/json
864
+
865
+
866
+ ### HTTP response details
867
+ | Status code | Description | Response headers |
868
+ |-------------|-------------|------------------|
869
+ |**200** | Plain success message | - |
870
+ |**400** | Failed to parse request | - |
871
+ |**403** | User is not authorized | - |
872
+ |**404** | Resource not found | - |
873
+ |**412** | Resource is not attached | - |
874
+ |**422** | Failed to validate request | - |
875
+ |**500** | Some internal server error | - |
876
+
877
+ [[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)
878
+
879
+ # **permitGroupUser**
880
+ > Notification permitGroupUser(permitPackUserRequest)
881
+
882
+
883
+ ### Example
884
+
885
+ ```typescript
886
+ import {
887
+ GroupApi,
888
+ Configuration,
889
+ PermitPackUserRequest
890
+ } from 'kleisterjs';
891
+
892
+ const configuration = new Configuration();
893
+ const apiInstance = new GroupApi(configuration);
894
+
895
+ let groupId: string; //A group identifier or slug (default to undefined)
896
+ let permitPackUserRequest: PermitPackUserRequest; //The group user data to permit
897
+
898
+ const { status, data } = await apiInstance.permitGroupUser(
899
+ groupId,
900
+ permitPackUserRequest
901
+ );
902
+ ```
903
+
904
+ ### Parameters
905
+
906
+ |Name | Type | Description | Notes|
907
+ |------------- | ------------- | ------------- | -------------|
908
+ | **permitPackUserRequest** | **PermitPackUserRequest**| The group user data to permit | |
909
+ | **groupId** | [**string**] | A group identifier or slug | defaults to undefined|
910
+
911
+
912
+ ### Return type
913
+
914
+ **Notification**
915
+
916
+ ### Authorization
917
+
918
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
919
+
920
+ ### HTTP request headers
921
+
922
+ - **Content-Type**: application/json
923
+ - **Accept**: application/json
924
+
925
+
926
+ ### HTTP response details
927
+ | Status code | Description | Response headers |
928
+ |-------------|-------------|------------------|
929
+ |**200** | Plain success message | - |
930
+ |**400** | Failed to parse request | - |
931
+ |**403** | User is not authorized | - |
932
+ |**404** | Resource not found | - |
933
+ |**412** | Resource is not attached | - |
934
+ |**422** | Failed to validate request | - |
935
+ |**500** | Some internal server error | - |
936
+
937
+ [[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)
938
+
939
+ # **showGroup**
940
+ > Group showGroup()
941
+
942
+
943
+ ### Example
944
+
945
+ ```typescript
946
+ import {
947
+ GroupApi,
948
+ Configuration
949
+ } from 'kleisterjs';
950
+
951
+ const configuration = new Configuration();
952
+ const apiInstance = new GroupApi(configuration);
953
+
954
+ let groupId: string; //A group identifier or slug (default to undefined)
955
+
956
+ const { status, data } = await apiInstance.showGroup(
957
+ groupId
958
+ );
959
+ ```
960
+
961
+ ### Parameters
962
+
963
+ |Name | Type | Description | Notes|
964
+ |------------- | ------------- | ------------- | -------------|
965
+ | **groupId** | [**string**] | A group identifier or slug | defaults to undefined|
966
+
967
+
968
+ ### Return type
969
+
970
+ **Group**
971
+
972
+ ### Authorization
973
+
974
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
975
+
976
+ ### HTTP request headers
977
+
978
+ - **Content-Type**: Not defined
979
+ - **Accept**: application/json
980
+
981
+
982
+ ### HTTP response details
983
+ | Status code | Description | Response headers |
984
+ |-------------|-------------|------------------|
985
+ |**200** | The details for a group | - |
986
+ |**403** | User is not authorized | - |
987
+ |**404** | Resource not found | - |
988
+ |**500** | Some internal server error | - |
989
+
990
+ [[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)
991
+
992
+ # **updateGroup**
993
+ > Group updateGroup(createGroupRequest)
994
+
995
+
996
+ ### Example
997
+
998
+ ```typescript
999
+ import {
1000
+ GroupApi,
1001
+ Configuration,
1002
+ CreateGroupRequest
1003
+ } from 'kleisterjs';
1004
+
1005
+ const configuration = new Configuration();
1006
+ const apiInstance = new GroupApi(configuration);
1007
+
1008
+ let groupId: string; //A group identifier or slug (default to undefined)
1009
+ let createGroupRequest: CreateGroupRequest; //The group data to update
1010
+
1011
+ const { status, data } = await apiInstance.updateGroup(
1012
+ groupId,
1013
+ createGroupRequest
1014
+ );
1015
+ ```
1016
+
1017
+ ### Parameters
1018
+
1019
+ |Name | Type | Description | Notes|
1020
+ |------------- | ------------- | ------------- | -------------|
1021
+ | **createGroupRequest** | **CreateGroupRequest**| The group data to update | |
1022
+ | **groupId** | [**string**] | A group identifier or slug | defaults to undefined|
1023
+
1024
+
1025
+ ### Return type
1026
+
1027
+ **Group**
1028
+
1029
+ ### Authorization
1030
+
1031
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
1032
+
1033
+ ### HTTP request headers
1034
+
1035
+ - **Content-Type**: application/json
1036
+ - **Accept**: application/json
1037
+
1038
+
1039
+ ### HTTP response details
1040
+ | Status code | Description | Response headers |
1041
+ |-------------|-------------|------------------|
1042
+ |**200** | The details for a group | - |
1043
+ |**400** | Failed to parse request | - |
1044
+ |**403** | User is not authorized | - |
1045
+ |**404** | Resource not found | - |
1046
+ |**422** | Failed to validate request | - |
1047
+ |**500** | Some internal server error | - |
1048
+
1049
+ [[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)
1050
+