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,27 @@
1
+ # PackAvatar
2
+
3
+ Model to represent pack avatar
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **slug** | **string** | | [optional] [default to undefined]
10
+ **url** | **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 { PackAvatar } from 'kleisterjs';
18
+
19
+ const instance: PackAvatar = {
20
+ slug,
21
+ url,
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,22 @@
1
+ # PermitGroupModRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **mod** | **string** | | [default to undefined]
9
+ **perm** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PermitGroupModRequest } from 'kleisterjs';
15
+
16
+ const instance: PermitGroupModRequest = {
17
+ mod,
18
+ perm,
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,22 @@
1
+ # PermitGroupPackRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **pack** | **string** | | [default to undefined]
9
+ **perm** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PermitGroupPackRequest } from 'kleisterjs';
15
+
16
+ const instance: PermitGroupPackRequest = {
17
+ pack,
18
+ perm,
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,22 @@
1
+ # PermitPackGroupRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **group** | **string** | | [default to undefined]
9
+ **perm** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PermitPackGroupRequest } from 'kleisterjs';
15
+
16
+ const instance: PermitPackGroupRequest = {
17
+ group,
18
+ perm,
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,22 @@
1
+ # PermitPackUserRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **user** | **string** | | [default to undefined]
9
+ **perm** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { PermitPackUserRequest } from 'kleisterjs';
15
+
16
+ const instance: PermitPackUserRequest = {
17
+ user,
18
+ perm,
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,47 @@
1
+ # Profile
2
+
3
+ Model to represent profile
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | | [optional] [default to undefined]
10
+ **username** | **string** | | [optional] [default to undefined]
11
+ **password** | **string** | | [optional] [default to undefined]
12
+ **email** | **string** | | [optional] [default to undefined]
13
+ **fullname** | **string** | | [optional] [default to undefined]
14
+ **profile** | **string** | | [optional] [default to undefined]
15
+ **admin** | **boolean** | | [optional] [readonly] [default to undefined]
16
+ **active** | **boolean** | | [optional] [readonly] [default to undefined]
17
+ **created_at** | **string** | | [optional] [readonly] [default to undefined]
18
+ **updated_at** | **string** | | [optional] [readonly] [default to undefined]
19
+ **auths** | [**Array<UserAuth>**](UserAuth.md) | | [optional] [readonly] [default to undefined]
20
+ **groups** | [**Array<UserGroup>**](UserGroup.md) | | [optional] [readonly] [default to undefined]
21
+ **mods** | [**Array<UserMod>**](UserMod.md) | | [optional] [readonly] [default to undefined]
22
+ **packs** | [**Array<UserPack>**](UserPack.md) | | [optional] [readonly] [default to undefined]
23
+
24
+ ## Example
25
+
26
+ ```typescript
27
+ import { Profile } from 'kleisterjs';
28
+
29
+ const instance: Profile = {
30
+ id,
31
+ username,
32
+ password,
33
+ email,
34
+ fullname,
35
+ profile,
36
+ admin,
37
+ active,
38
+ created_at,
39
+ updated_at,
40
+ auths,
41
+ groups,
42
+ mods,
43
+ packs,
44
+ };
45
+ ```
46
+
47
+ [[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,155 @@
1
+ # ProfileApi
2
+
3
+ All URIs are relative to *https://try.kleister.eu/api/v1*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**showProfile**](#showprofile) | **GET** /profile/self | Fetch profile details of the personal account|
8
+ |[**tokenProfile**](#tokenprofile) | **GET** /profile/token | Retrieve an unlimited auth token|
9
+ |[**updateProfile**](#updateprofile) | **PUT** /profile/self | Update your own profile information|
10
+
11
+ # **showProfile**
12
+ > Profile showProfile()
13
+
14
+
15
+ ### Example
16
+
17
+ ```typescript
18
+ import {
19
+ ProfileApi,
20
+ Configuration
21
+ } from 'kleisterjs';
22
+
23
+ const configuration = new Configuration();
24
+ const apiInstance = new ProfileApi(configuration);
25
+
26
+ const { status, data } = await apiInstance.showProfile();
27
+ ```
28
+
29
+ ### Parameters
30
+ This endpoint does not have any parameters.
31
+
32
+
33
+ ### Return type
34
+
35
+ **Profile**
36
+
37
+ ### Authorization
38
+
39
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
40
+
41
+ ### HTTP request headers
42
+
43
+ - **Content-Type**: Not defined
44
+ - **Accept**: application/json
45
+
46
+
47
+ ### HTTP response details
48
+ | Status code | Description | Response headers |
49
+ |-------------|-------------|------------------|
50
+ |**200** | The current profile details | - |
51
+ |**403** | User is not authorized | - |
52
+ |**500** | Some internal server error | - |
53
+
54
+ [[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)
55
+
56
+ # **tokenProfile**
57
+ > AuthToken tokenProfile()
58
+
59
+
60
+ ### Example
61
+
62
+ ```typescript
63
+ import {
64
+ ProfileApi,
65
+ Configuration
66
+ } from 'kleisterjs';
67
+
68
+ const configuration = new Configuration();
69
+ const apiInstance = new ProfileApi(configuration);
70
+
71
+ const { status, data } = await apiInstance.tokenProfile();
72
+ ```
73
+
74
+ ### Parameters
75
+ This endpoint does not have any parameters.
76
+
77
+
78
+ ### Return type
79
+
80
+ **AuthToken**
81
+
82
+ ### Authorization
83
+
84
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
85
+
86
+ ### HTTP request headers
87
+
88
+ - **Content-Type**: Not defined
89
+ - **Accept**: application/json
90
+
91
+
92
+ ### HTTP response details
93
+ | Status code | Description | Response headers |
94
+ |-------------|-------------|------------------|
95
+ |**200** | Generated token never expiring | - |
96
+ |**403** | User is not authorized | - |
97
+ |**500** | Some internal server error | - |
98
+
99
+ [[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)
100
+
101
+ # **updateProfile**
102
+ > Profile updateProfile(updateProfileRequest)
103
+
104
+
105
+ ### Example
106
+
107
+ ```typescript
108
+ import {
109
+ ProfileApi,
110
+ Configuration,
111
+ UpdateProfileRequest
112
+ } from 'kleisterjs';
113
+
114
+ const configuration = new Configuration();
115
+ const apiInstance = new ProfileApi(configuration);
116
+
117
+ let updateProfileRequest: UpdateProfileRequest; //The profile data to update
118
+
119
+ const { status, data } = await apiInstance.updateProfile(
120
+ updateProfileRequest
121
+ );
122
+ ```
123
+
124
+ ### Parameters
125
+
126
+ |Name | Type | Description | Notes|
127
+ |------------- | ------------- | ------------- | -------------|
128
+ | **updateProfileRequest** | **UpdateProfileRequest**| The profile data to update | |
129
+
130
+
131
+ ### Return type
132
+
133
+ **Profile**
134
+
135
+ ### Authorization
136
+
137
+ [Basic](../README.md#Basic), [Header](../README.md#Header), [Bearer](../README.md#Bearer)
138
+
139
+ ### HTTP request headers
140
+
141
+ - **Content-Type**: application/json
142
+ - **Accept**: application/json
143
+
144
+
145
+ ### HTTP response details
146
+ | Status code | Description | Response headers |
147
+ |-------------|-------------|------------------|
148
+ |**200** | The current profile details | - |
149
+ |**400** | Failed to parse request | - |
150
+ |**403** | User is not authorized | - |
151
+ |**422** | Failed to validate request | - |
152
+ |**500** | Some internal server error | - |
153
+
154
+ [[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)
155
+
@@ -0,0 +1,27 @@
1
+ # Provider
2
+
3
+ Model to represent auth provider
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **name** | **string** | | [optional] [readonly] [default to undefined]
10
+ **driver** | **string** | | [optional] [readonly] [default to undefined]
11
+ **display** | **string** | | [optional] [readonly] [default to undefined]
12
+ **icon** | **string** | | [optional] [readonly] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { Provider } from 'kleisterjs';
18
+
19
+ const instance: Provider = {
20
+ name,
21
+ driver,
22
+ display,
23
+ icon,
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)
package/docs/Quilt.md ADDED
@@ -0,0 +1,27 @@
1
+ # Quilt
2
+
3
+ Model to represent quilt
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 { Quilt } from 'kleisterjs';
18
+
19
+ const instance: Quilt = {
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
+ # QuiltApi
2
+
3
+ All URIs are relative to *https://try.kleister.eu/api/v1*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**attachQuiltToBuild**](#attachquilttobuild) | **POST** /quilt/{quilt_id}/builds | Attach a build to a Quilt version|
8
+ |[**deleteQuiltFromBuild**](#deletequiltfrombuild) | **DELETE** /quilt/{quilt_id}/builds | Unlink a build from a Quilt version|
9
+ |[**listQuiltBuilds**](#listquiltbuilds) | **GET** /quilt/{quilt_id}/builds | Fetch the builds attached to a Quilt version|
10
+ |[**listQuilts**](#listquilts) | **GET** /quilt | Fetch the available Quilt versions|
11
+ |[**updateQuilt**](#updatequilt) | **PUT** /quilt | Update the available Quilt versions|
12
+
13
+ # **attachQuiltToBuild**
14
+ > Notification attachQuiltToBuild(attachMinecraftToBuildRequest)
15
+
16
+
17
+ ### Example
18
+
19
+ ```typescript
20
+ import {
21
+ QuiltApi,
22
+ Configuration,
23
+ AttachMinecraftToBuildRequest
24
+ } from 'kleisterjs';
25
+
26
+ const configuration = new Configuration();
27
+ const apiInstance = new QuiltApi(configuration);
28
+
29
+ let quiltId: string; //A quilt identifier or slug (default to undefined)
30
+ let attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest; //The quilt build data to create or update
31
+
32
+ const { status, data } = await apiInstance.attachQuiltToBuild(
33
+ quiltId,
34
+ attachMinecraftToBuildRequest
35
+ );
36
+ ```
37
+
38
+ ### Parameters
39
+
40
+ |Name | Type | Description | Notes|
41
+ |------------- | ------------- | ------------- | -------------|
42
+ | **attachMinecraftToBuildRequest** | **AttachMinecraftToBuildRequest**| The quilt build data to create or update | |
43
+ | **quiltId** | [**string**] | A quilt 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
+ # **deleteQuiltFromBuild**
74
+ > Notification deleteQuiltFromBuild(attachMinecraftToBuildRequest)
75
+
76
+
77
+ ### Example
78
+
79
+ ```typescript
80
+ import {
81
+ QuiltApi,
82
+ Configuration,
83
+ AttachMinecraftToBuildRequest
84
+ } from 'kleisterjs';
85
+
86
+ const configuration = new Configuration();
87
+ const apiInstance = new QuiltApi(configuration);
88
+
89
+ let quiltId: string; //A quilt identifier or slug (default to undefined)
90
+ let attachMinecraftToBuildRequest: AttachMinecraftToBuildRequest; //The quilt build data to create or update
91
+
92
+ const { status, data } = await apiInstance.deleteQuiltFromBuild(
93
+ quiltId,
94
+ attachMinecraftToBuildRequest
95
+ );
96
+ ```
97
+
98
+ ### Parameters
99
+
100
+ |Name | Type | Description | Notes|
101
+ |------------- | ------------- | ------------- | -------------|
102
+ | **attachMinecraftToBuildRequest** | **AttachMinecraftToBuildRequest**| The quilt build data to create or update | |
103
+ | **quiltId** | [**string**] | A quilt 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
+ # **listQuiltBuilds**
133
+ > ListQuiltBuilds200Response listQuiltBuilds()
134
+
135
+
136
+ ### Example
137
+
138
+ ```typescript
139
+ import {
140
+ QuiltApi,
141
+ Configuration
142
+ } from 'kleisterjs';
143
+
144
+ const configuration = new Configuration();
145
+ const apiInstance = new QuiltApi(configuration);
146
+
147
+ let quiltId: string; //A quilt 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.listQuiltBuilds(
155
+ quiltId,
156
+ search,
157
+ sort,
158
+ order,
159
+ limit,
160
+ offset
161
+ );
162
+ ```
163
+
164
+ ### Parameters
165
+
166
+ |Name | Type | Description | Notes|
167
+ |------------- | ------------- | ------------- | -------------|
168
+ | **quiltId** | [**string**] | A quilt 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
+ **ListQuiltBuilds200Response**
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 quilt 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
+ # **listQuilts**
201
+ > ListQuilts200Response listQuilts()
202
+
203
+
204
+ ### Example
205
+
206
+ ```typescript
207
+ import {
208
+ QuiltApi,
209
+ Configuration
210
+ } from 'kleisterjs';
211
+
212
+ const configuration = new Configuration();
213
+ const apiInstance = new QuiltApi(configuration);
214
+
215
+ let search: string; //Search query (optional) (default to undefined)
216
+
217
+ const { status, data } = await apiInstance.listQuilts(
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
+ **ListQuilts200Response**
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 quilts | - |
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
+ # **updateQuilt**
253
+ > Notification updateQuilt()
254
+
255
+
256
+ ### Example
257
+
258
+ ```typescript
259
+ import {
260
+ QuiltApi,
261
+ Configuration
262
+ } from 'kleisterjs';
263
+
264
+ const configuration = new Configuration();
265
+ const apiInstance = new QuiltApi(configuration);
266
+
267
+ const { status, data } = await apiInstance.updateQuilt();
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
+
@@ -0,0 +1,20 @@
1
+ # RedirectAuthRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **token** | **string** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { RedirectAuthRequest } from 'kleisterjs';
14
+
15
+ const instance: RedirectAuthRequest = {
16
+ token,
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)