@goauthentik/api 2024.2.2-1712833826 → 2024.2.2-1713180481
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.
- package/.openapi-generator/FILES +0 -1
- package/dist/apis/AdminApi.js +60 -20
- package/dist/apis/AuthenticatorsApi.js +372 -124
- package/dist/apis/CoreApi.d.ts +2 -0
- package/dist/apis/CoreApi.js +378 -124
- package/dist/apis/CryptoApi.js +60 -20
- package/dist/apis/EnterpriseApi.js +60 -20
- package/dist/apis/EventsApi.js +210 -70
- package/dist/apis/FlowsApi.js +150 -50
- package/dist/apis/ManagedApi.js +54 -18
- package/dist/apis/Oauth2Api.js +72 -24
- package/dist/apis/OutpostsApi.js +210 -70
- package/dist/apis/PoliciesApi.js +366 -122
- package/dist/apis/PropertymappingsApi.js +288 -96
- package/dist/apis/ProvidersApi.js +360 -120
- package/dist/apis/RacApi.js +78 -26
- package/dist/apis/RbacApi.js +102 -34
- package/dist/apis/RootApi.js +6 -2
- package/dist/apis/SchemaApi.js +6 -2
- package/dist/apis/SourcesApi.js +414 -138
- package/dist/apis/StagesApi.js +1002 -334
- package/dist/esm/apis/AdminApi.js +60 -20
- package/dist/esm/apis/AuthenticatorsApi.js +372 -124
- package/dist/esm/apis/CoreApi.d.ts +2 -0
- package/dist/esm/apis/CoreApi.js +378 -124
- package/dist/esm/apis/CryptoApi.js +60 -20
- package/dist/esm/apis/EnterpriseApi.js +60 -20
- package/dist/esm/apis/EventsApi.js +210 -70
- package/dist/esm/apis/FlowsApi.js +150 -50
- package/dist/esm/apis/ManagedApi.js +54 -18
- package/dist/esm/apis/Oauth2Api.js +72 -24
- package/dist/esm/apis/OutpostsApi.js +210 -70
- package/dist/esm/apis/PoliciesApi.js +366 -122
- package/dist/esm/apis/PropertymappingsApi.js +288 -96
- package/dist/esm/apis/ProvidersApi.js +360 -120
- package/dist/esm/apis/RacApi.js +78 -26
- package/dist/esm/apis/RbacApi.js +102 -34
- package/dist/esm/apis/RootApi.js +6 -2
- package/dist/esm/apis/SchemaApi.js +6 -2
- package/dist/esm/apis/SourcesApi.js +414 -138
- package/dist/esm/apis/StagesApi.js +1002 -334
- package/dist/esm/models/index.d.ts +0 -1
- package/dist/esm/models/index.js +0 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +70 -30
- package/src/apis/AuthenticatorsApi.ts +434 -186
- package/src/apis/CoreApi.ts +444 -186
- package/src/apis/CryptoApi.ts +70 -30
- package/src/apis/EnterpriseApi.ts +70 -30
- package/src/apis/EventsApi.ts +245 -105
- package/src/apis/FlowsApi.ts +175 -75
- package/src/apis/ManagedApi.ts +63 -27
- package/src/apis/Oauth2Api.ts +84 -36
- package/src/apis/OutpostsApi.ts +245 -105
- package/src/apis/PoliciesApi.ts +427 -183
- package/src/apis/PropertymappingsApi.ts +336 -144
- package/src/apis/ProvidersApi.ts +420 -180
- package/src/apis/RacApi.ts +91 -39
- package/src/apis/RbacApi.ts +119 -51
- package/src/apis/RootApi.ts +7 -3
- package/src/apis/SchemaApi.ts +7 -3
- package/src/apis/SourcesApi.ts +483 -207
- package/src/apis/StagesApi.ts +1169 -501
- package/src/models/index.ts +0 -1
- package/dist/esm/models/UserGroupRequest.d.ts +0 -51
- package/dist/esm/models/UserGroupRequest.js +0 -50
- package/dist/models/UserGroupRequest.d.ts +0 -51
- package/dist/models/UserGroupRequest.js +0 -57
- package/src/models/UserGroupRequest.ts +0 -90
package/.openapi-generator/FILES
CHANGED
|
@@ -542,7 +542,6 @@ src/models/UserDeleteStage.ts
|
|
|
542
542
|
src/models/UserDeleteStageRequest.ts
|
|
543
543
|
src/models/UserFieldsEnum.ts
|
|
544
544
|
src/models/UserGroup.ts
|
|
545
|
-
src/models/UserGroupRequest.ts
|
|
546
545
|
src/models/UserLoginChallenge.ts
|
|
547
546
|
src/models/UserLoginChallengeResponseRequest.ts
|
|
548
547
|
src/models/UserLoginStage.ts
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -36,8 +36,12 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
36
36
|
return __awaiter(this, void 0, void 0, function* () {
|
|
37
37
|
const queryParameters = {};
|
|
38
38
|
const headerParameters = {};
|
|
39
|
-
if (this.configuration && this.configuration.
|
|
40
|
-
|
|
39
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
40
|
+
const token = this.configuration.accessToken;
|
|
41
|
+
const tokenString = yield token("authentik", []);
|
|
42
|
+
if (tokenString) {
|
|
43
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
44
|
+
}
|
|
41
45
|
}
|
|
42
46
|
const response = yield this.request({
|
|
43
47
|
path: `/admin/apps/`,
|
|
@@ -64,8 +68,12 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
64
68
|
return __awaiter(this, void 0, void 0, function* () {
|
|
65
69
|
const queryParameters = {};
|
|
66
70
|
const headerParameters = {};
|
|
67
|
-
if (this.configuration && this.configuration.
|
|
68
|
-
|
|
71
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
72
|
+
const token = this.configuration.accessToken;
|
|
73
|
+
const tokenString = yield token("authentik", []);
|
|
74
|
+
if (tokenString) {
|
|
75
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
76
|
+
}
|
|
69
77
|
}
|
|
70
78
|
const response = yield this.request({
|
|
71
79
|
path: `/admin/metrics/`,
|
|
@@ -92,8 +100,12 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
92
100
|
return __awaiter(this, void 0, void 0, function* () {
|
|
93
101
|
const queryParameters = {};
|
|
94
102
|
const headerParameters = {};
|
|
95
|
-
if (this.configuration && this.configuration.
|
|
96
|
-
|
|
103
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
104
|
+
const token = this.configuration.accessToken;
|
|
105
|
+
const tokenString = yield token("authentik", []);
|
|
106
|
+
if (tokenString) {
|
|
107
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
108
|
+
}
|
|
97
109
|
}
|
|
98
110
|
const response = yield this.request({
|
|
99
111
|
path: `/admin/models/`,
|
|
@@ -121,8 +133,12 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
121
133
|
const queryParameters = {};
|
|
122
134
|
const headerParameters = {};
|
|
123
135
|
headerParameters['Content-Type'] = 'application/json';
|
|
124
|
-
if (this.configuration && this.configuration.
|
|
125
|
-
|
|
136
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
137
|
+
const token = this.configuration.accessToken;
|
|
138
|
+
const tokenString = yield token("authentik", []);
|
|
139
|
+
if (tokenString) {
|
|
140
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
141
|
+
}
|
|
126
142
|
}
|
|
127
143
|
const response = yield this.request({
|
|
128
144
|
path: `/admin/settings/`,
|
|
@@ -150,8 +166,12 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
150
166
|
return __awaiter(this, void 0, void 0, function* () {
|
|
151
167
|
const queryParameters = {};
|
|
152
168
|
const headerParameters = {};
|
|
153
|
-
if (this.configuration && this.configuration.
|
|
154
|
-
|
|
169
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
170
|
+
const token = this.configuration.accessToken;
|
|
171
|
+
const tokenString = yield token("authentik", []);
|
|
172
|
+
if (tokenString) {
|
|
173
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
174
|
+
}
|
|
155
175
|
}
|
|
156
176
|
const response = yield this.request({
|
|
157
177
|
path: `/admin/settings/`,
|
|
@@ -179,8 +199,12 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
179
199
|
const queryParameters = {};
|
|
180
200
|
const headerParameters = {};
|
|
181
201
|
headerParameters['Content-Type'] = 'application/json';
|
|
182
|
-
if (this.configuration && this.configuration.
|
|
183
|
-
|
|
202
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
203
|
+
const token = this.configuration.accessToken;
|
|
204
|
+
const tokenString = yield token("authentik", []);
|
|
205
|
+
if (tokenString) {
|
|
206
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
207
|
+
}
|
|
184
208
|
}
|
|
185
209
|
const response = yield this.request({
|
|
186
210
|
path: `/admin/settings/`,
|
|
@@ -208,8 +232,12 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
208
232
|
return __awaiter(this, void 0, void 0, function* () {
|
|
209
233
|
const queryParameters = {};
|
|
210
234
|
const headerParameters = {};
|
|
211
|
-
if (this.configuration && this.configuration.
|
|
212
|
-
|
|
235
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
236
|
+
const token = this.configuration.accessToken;
|
|
237
|
+
const tokenString = yield token("authentik", []);
|
|
238
|
+
if (tokenString) {
|
|
239
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
240
|
+
}
|
|
213
241
|
}
|
|
214
242
|
const response = yield this.request({
|
|
215
243
|
path: `/admin/system/`,
|
|
@@ -236,8 +264,12 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
236
264
|
return __awaiter(this, void 0, void 0, function* () {
|
|
237
265
|
const queryParameters = {};
|
|
238
266
|
const headerParameters = {};
|
|
239
|
-
if (this.configuration && this.configuration.
|
|
240
|
-
|
|
267
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
268
|
+
const token = this.configuration.accessToken;
|
|
269
|
+
const tokenString = yield token("authentik", []);
|
|
270
|
+
if (tokenString) {
|
|
271
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
272
|
+
}
|
|
241
273
|
}
|
|
242
274
|
const response = yield this.request({
|
|
243
275
|
path: `/admin/system/`,
|
|
@@ -264,8 +296,12 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
264
296
|
return __awaiter(this, void 0, void 0, function* () {
|
|
265
297
|
const queryParameters = {};
|
|
266
298
|
const headerParameters = {};
|
|
267
|
-
if (this.configuration && this.configuration.
|
|
268
|
-
|
|
299
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
300
|
+
const token = this.configuration.accessToken;
|
|
301
|
+
const tokenString = yield token("authentik", []);
|
|
302
|
+
if (tokenString) {
|
|
303
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
304
|
+
}
|
|
269
305
|
}
|
|
270
306
|
const response = yield this.request({
|
|
271
307
|
path: `/admin/version/`,
|
|
@@ -292,8 +328,12 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
292
328
|
return __awaiter(this, void 0, void 0, function* () {
|
|
293
329
|
const queryParameters = {};
|
|
294
330
|
const headerParameters = {};
|
|
295
|
-
if (this.configuration && this.configuration.
|
|
296
|
-
|
|
331
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
332
|
+
const token = this.configuration.accessToken;
|
|
333
|
+
const tokenString = yield token("authentik", []);
|
|
334
|
+
if (tokenString) {
|
|
335
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
336
|
+
}
|
|
297
337
|
}
|
|
298
338
|
const response = yield this.request({
|
|
299
339
|
path: `/admin/workers/`,
|