@goauthentik/api 2024.2.2-1712833564 → 2024.2.2-1712922569
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/apis/AdminApi.js +60 -20
- package/dist/apis/AuthenticatorsApi.js +372 -124
- package/dist/apis/CoreApi.js +372 -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.js +372 -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/AuthenticatorValidateStage.d.ts +13 -0
- package/dist/esm/models/AuthenticatorValidateStage.js +5 -0
- package/dist/esm/models/AuthenticatorValidateStageRequest.d.ts +6 -0
- package/dist/esm/models/AuthenticatorValidateStageRequest.js +2 -0
- package/dist/esm/models/PatchedAuthenticatorValidateStageRequest.d.ts +6 -0
- package/dist/esm/models/PatchedAuthenticatorValidateStageRequest.js +2 -0
- package/dist/models/AuthenticatorValidateStage.d.ts +13 -0
- package/dist/models/AuthenticatorValidateStage.js +5 -0
- package/dist/models/AuthenticatorValidateStageRequest.d.ts +6 -0
- package/dist/models/AuthenticatorValidateStageRequest.js +2 -0
- package/dist/models/PatchedAuthenticatorValidateStageRequest.d.ts +6 -0
- package/dist/models/PatchedAuthenticatorValidateStageRequest.js +2 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +70 -30
- package/src/apis/AuthenticatorsApi.ts +434 -186
- package/src/apis/CoreApi.ts +434 -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/AuthenticatorValidateStage.ts +22 -0
- package/src/models/AuthenticatorValidateStageRequest.ts +8 -0
- package/src/models/PatchedAuthenticatorValidateStageRequest.ts +8 -0
@@ -33,8 +33,12 @@ export class AdminApi extends runtime.BaseAPI {
|
|
33
33
|
return __awaiter(this, void 0, void 0, function* () {
|
34
34
|
const queryParameters = {};
|
35
35
|
const headerParameters = {};
|
36
|
-
if (this.configuration && this.configuration.
|
37
|
-
|
36
|
+
if (this.configuration && this.configuration.accessToken) {
|
37
|
+
const token = this.configuration.accessToken;
|
38
|
+
const tokenString = yield token("authentik", []);
|
39
|
+
if (tokenString) {
|
40
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
41
|
+
}
|
38
42
|
}
|
39
43
|
const response = yield this.request({
|
40
44
|
path: `/admin/apps/`,
|
@@ -61,8 +65,12 @@ export class AdminApi extends runtime.BaseAPI {
|
|
61
65
|
return __awaiter(this, void 0, void 0, function* () {
|
62
66
|
const queryParameters = {};
|
63
67
|
const headerParameters = {};
|
64
|
-
if (this.configuration && this.configuration.
|
65
|
-
|
68
|
+
if (this.configuration && this.configuration.accessToken) {
|
69
|
+
const token = this.configuration.accessToken;
|
70
|
+
const tokenString = yield token("authentik", []);
|
71
|
+
if (tokenString) {
|
72
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
73
|
+
}
|
66
74
|
}
|
67
75
|
const response = yield this.request({
|
68
76
|
path: `/admin/metrics/`,
|
@@ -89,8 +97,12 @@ export class AdminApi extends runtime.BaseAPI {
|
|
89
97
|
return __awaiter(this, void 0, void 0, function* () {
|
90
98
|
const queryParameters = {};
|
91
99
|
const headerParameters = {};
|
92
|
-
if (this.configuration && this.configuration.
|
93
|
-
|
100
|
+
if (this.configuration && this.configuration.accessToken) {
|
101
|
+
const token = this.configuration.accessToken;
|
102
|
+
const tokenString = yield token("authentik", []);
|
103
|
+
if (tokenString) {
|
104
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
105
|
+
}
|
94
106
|
}
|
95
107
|
const response = yield this.request({
|
96
108
|
path: `/admin/models/`,
|
@@ -118,8 +130,12 @@ export class AdminApi extends runtime.BaseAPI {
|
|
118
130
|
const queryParameters = {};
|
119
131
|
const headerParameters = {};
|
120
132
|
headerParameters['Content-Type'] = 'application/json';
|
121
|
-
if (this.configuration && this.configuration.
|
122
|
-
|
133
|
+
if (this.configuration && this.configuration.accessToken) {
|
134
|
+
const token = this.configuration.accessToken;
|
135
|
+
const tokenString = yield token("authentik", []);
|
136
|
+
if (tokenString) {
|
137
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
138
|
+
}
|
123
139
|
}
|
124
140
|
const response = yield this.request({
|
125
141
|
path: `/admin/settings/`,
|
@@ -147,8 +163,12 @@ export class AdminApi extends runtime.BaseAPI {
|
|
147
163
|
return __awaiter(this, void 0, void 0, function* () {
|
148
164
|
const queryParameters = {};
|
149
165
|
const headerParameters = {};
|
150
|
-
if (this.configuration && this.configuration.
|
151
|
-
|
166
|
+
if (this.configuration && this.configuration.accessToken) {
|
167
|
+
const token = this.configuration.accessToken;
|
168
|
+
const tokenString = yield token("authentik", []);
|
169
|
+
if (tokenString) {
|
170
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
171
|
+
}
|
152
172
|
}
|
153
173
|
const response = yield this.request({
|
154
174
|
path: `/admin/settings/`,
|
@@ -176,8 +196,12 @@ export class AdminApi extends runtime.BaseAPI {
|
|
176
196
|
const queryParameters = {};
|
177
197
|
const headerParameters = {};
|
178
198
|
headerParameters['Content-Type'] = 'application/json';
|
179
|
-
if (this.configuration && this.configuration.
|
180
|
-
|
199
|
+
if (this.configuration && this.configuration.accessToken) {
|
200
|
+
const token = this.configuration.accessToken;
|
201
|
+
const tokenString = yield token("authentik", []);
|
202
|
+
if (tokenString) {
|
203
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
204
|
+
}
|
181
205
|
}
|
182
206
|
const response = yield this.request({
|
183
207
|
path: `/admin/settings/`,
|
@@ -205,8 +229,12 @@ export class AdminApi extends runtime.BaseAPI {
|
|
205
229
|
return __awaiter(this, void 0, void 0, function* () {
|
206
230
|
const queryParameters = {};
|
207
231
|
const headerParameters = {};
|
208
|
-
if (this.configuration && this.configuration.
|
209
|
-
|
232
|
+
if (this.configuration && this.configuration.accessToken) {
|
233
|
+
const token = this.configuration.accessToken;
|
234
|
+
const tokenString = yield token("authentik", []);
|
235
|
+
if (tokenString) {
|
236
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
237
|
+
}
|
210
238
|
}
|
211
239
|
const response = yield this.request({
|
212
240
|
path: `/admin/system/`,
|
@@ -233,8 +261,12 @@ export class AdminApi extends runtime.BaseAPI {
|
|
233
261
|
return __awaiter(this, void 0, void 0, function* () {
|
234
262
|
const queryParameters = {};
|
235
263
|
const headerParameters = {};
|
236
|
-
if (this.configuration && this.configuration.
|
237
|
-
|
264
|
+
if (this.configuration && this.configuration.accessToken) {
|
265
|
+
const token = this.configuration.accessToken;
|
266
|
+
const tokenString = yield token("authentik", []);
|
267
|
+
if (tokenString) {
|
268
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
269
|
+
}
|
238
270
|
}
|
239
271
|
const response = yield this.request({
|
240
272
|
path: `/admin/system/`,
|
@@ -261,8 +293,12 @@ export class AdminApi extends runtime.BaseAPI {
|
|
261
293
|
return __awaiter(this, void 0, void 0, function* () {
|
262
294
|
const queryParameters = {};
|
263
295
|
const headerParameters = {};
|
264
|
-
if (this.configuration && this.configuration.
|
265
|
-
|
296
|
+
if (this.configuration && this.configuration.accessToken) {
|
297
|
+
const token = this.configuration.accessToken;
|
298
|
+
const tokenString = yield token("authentik", []);
|
299
|
+
if (tokenString) {
|
300
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
301
|
+
}
|
266
302
|
}
|
267
303
|
const response = yield this.request({
|
268
304
|
path: `/admin/version/`,
|
@@ -289,8 +325,12 @@ export class AdminApi extends runtime.BaseAPI {
|
|
289
325
|
return __awaiter(this, void 0, void 0, function* () {
|
290
326
|
const queryParameters = {};
|
291
327
|
const headerParameters = {};
|
292
|
-
if (this.configuration && this.configuration.
|
293
|
-
|
328
|
+
if (this.configuration && this.configuration.accessToken) {
|
329
|
+
const token = this.configuration.accessToken;
|
330
|
+
const tokenString = yield token("authentik", []);
|
331
|
+
if (tokenString) {
|
332
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
333
|
+
}
|
294
334
|
}
|
295
335
|
const response = yield this.request({
|
296
336
|
path: `/admin/workers/`,
|