@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
@@ -37,8 +37,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
37
37
|
const queryParameters = {};
|
38
38
|
const headerParameters = {};
|
39
39
|
headerParameters['Content-Type'] = 'application/json';
|
40
|
-
if (this.configuration && this.configuration.
|
41
|
-
|
40
|
+
if (this.configuration && this.configuration.accessToken) {
|
41
|
+
const token = this.configuration.accessToken;
|
42
|
+
const tokenString = yield token("authentik", []);
|
43
|
+
if (tokenString) {
|
44
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
45
|
+
}
|
42
46
|
}
|
43
47
|
const response = yield this.request({
|
44
48
|
path: `/outposts/instances/`,
|
@@ -66,8 +70,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
66
70
|
return __awaiter(this, void 0, void 0, function* () {
|
67
71
|
const queryParameters = {};
|
68
72
|
const headerParameters = {};
|
69
|
-
if (this.configuration && this.configuration.
|
70
|
-
|
73
|
+
if (this.configuration && this.configuration.accessToken) {
|
74
|
+
const token = this.configuration.accessToken;
|
75
|
+
const tokenString = yield token("authentik", []);
|
76
|
+
if (tokenString) {
|
77
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
78
|
+
}
|
71
79
|
}
|
72
80
|
const response = yield this.request({
|
73
81
|
path: `/outposts/instances/default_settings/`,
|
@@ -97,8 +105,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
97
105
|
}
|
98
106
|
const queryParameters = {};
|
99
107
|
const headerParameters = {};
|
100
|
-
if (this.configuration && this.configuration.
|
101
|
-
|
108
|
+
if (this.configuration && this.configuration.accessToken) {
|
109
|
+
const token = this.configuration.accessToken;
|
110
|
+
const tokenString = yield token("authentik", []);
|
111
|
+
if (tokenString) {
|
112
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
113
|
+
}
|
102
114
|
}
|
103
115
|
const response = yield this.request({
|
104
116
|
path: `/outposts/instances/{uuid}/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -157,8 +169,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
157
169
|
queryParameters['service_connection__name__iexact'] = requestParameters.serviceConnectionNameIexact;
|
158
170
|
}
|
159
171
|
const headerParameters = {};
|
160
|
-
if (this.configuration && this.configuration.
|
161
|
-
|
172
|
+
if (this.configuration && this.configuration.accessToken) {
|
173
|
+
const token = this.configuration.accessToken;
|
174
|
+
const tokenString = yield token("authentik", []);
|
175
|
+
if (tokenString) {
|
176
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
177
|
+
}
|
162
178
|
}
|
163
179
|
const response = yield this.request({
|
164
180
|
path: `/outposts/instances/{uuid}/health/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -221,8 +237,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
221
237
|
queryParameters['service_connection__name__iexact'] = requestParameters.serviceConnectionNameIexact;
|
222
238
|
}
|
223
239
|
const headerParameters = {};
|
224
|
-
if (this.configuration && this.configuration.
|
225
|
-
|
240
|
+
if (this.configuration && this.configuration.accessToken) {
|
241
|
+
const token = this.configuration.accessToken;
|
242
|
+
const tokenString = yield token("authentik", []);
|
243
|
+
if (tokenString) {
|
244
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
245
|
+
}
|
226
246
|
}
|
227
247
|
const response = yield this.request({
|
228
248
|
path: `/outposts/instances/`,
|
@@ -253,8 +273,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
253
273
|
const queryParameters = {};
|
254
274
|
const headerParameters = {};
|
255
275
|
headerParameters['Content-Type'] = 'application/json';
|
256
|
-
if (this.configuration && this.configuration.
|
257
|
-
|
276
|
+
if (this.configuration && this.configuration.accessToken) {
|
277
|
+
const token = this.configuration.accessToken;
|
278
|
+
const tokenString = yield token("authentik", []);
|
279
|
+
if (tokenString) {
|
280
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
281
|
+
}
|
258
282
|
}
|
259
283
|
const response = yield this.request({
|
260
284
|
path: `/outposts/instances/{uuid}/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -285,8 +309,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
285
309
|
}
|
286
310
|
const queryParameters = {};
|
287
311
|
const headerParameters = {};
|
288
|
-
if (this.configuration && this.configuration.
|
289
|
-
|
312
|
+
if (this.configuration && this.configuration.accessToken) {
|
313
|
+
const token = this.configuration.accessToken;
|
314
|
+
const tokenString = yield token("authentik", []);
|
315
|
+
if (tokenString) {
|
316
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
317
|
+
}
|
290
318
|
}
|
291
319
|
const response = yield this.request({
|
292
320
|
path: `/outposts/instances/{uuid}/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -320,8 +348,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
320
348
|
const queryParameters = {};
|
321
349
|
const headerParameters = {};
|
322
350
|
headerParameters['Content-Type'] = 'application/json';
|
323
|
-
if (this.configuration && this.configuration.
|
324
|
-
|
351
|
+
if (this.configuration && this.configuration.accessToken) {
|
352
|
+
const token = this.configuration.accessToken;
|
353
|
+
const tokenString = yield token("authentik", []);
|
354
|
+
if (tokenString) {
|
355
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
356
|
+
}
|
325
357
|
}
|
326
358
|
const response = yield this.request({
|
327
359
|
path: `/outposts/instances/{uuid}/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -352,8 +384,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
352
384
|
}
|
353
385
|
const queryParameters = {};
|
354
386
|
const headerParameters = {};
|
355
|
-
if (this.configuration && this.configuration.
|
356
|
-
|
387
|
+
if (this.configuration && this.configuration.accessToken) {
|
388
|
+
const token = this.configuration.accessToken;
|
389
|
+
const tokenString = yield token("authentik", []);
|
390
|
+
if (tokenString) {
|
391
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
392
|
+
}
|
357
393
|
}
|
358
394
|
const response = yield this.request({
|
359
395
|
path: `/outposts/instances/{uuid}/used_by/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -395,8 +431,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
395
431
|
queryParameters['search'] = requestParameters.search;
|
396
432
|
}
|
397
433
|
const headerParameters = {};
|
398
|
-
if (this.configuration && this.configuration.
|
399
|
-
|
434
|
+
if (this.configuration && this.configuration.accessToken) {
|
435
|
+
const token = this.configuration.accessToken;
|
436
|
+
const tokenString = yield token("authentik", []);
|
437
|
+
if (tokenString) {
|
438
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
439
|
+
}
|
400
440
|
}
|
401
441
|
const response = yield this.request({
|
402
442
|
path: `/outposts/ldap/`,
|
@@ -426,8 +466,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
426
466
|
}
|
427
467
|
const queryParameters = {};
|
428
468
|
const headerParameters = {};
|
429
|
-
if (this.configuration && this.configuration.
|
430
|
-
|
469
|
+
if (this.configuration && this.configuration.accessToken) {
|
470
|
+
const token = this.configuration.accessToken;
|
471
|
+
const tokenString = yield token("authentik", []);
|
472
|
+
if (tokenString) {
|
473
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
474
|
+
}
|
431
475
|
}
|
432
476
|
const response = yield this.request({
|
433
477
|
path: `/outposts/ldap/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
@@ -469,8 +513,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
469
513
|
queryParameters['search'] = requestParameters.search;
|
470
514
|
}
|
471
515
|
const headerParameters = {};
|
472
|
-
if (this.configuration && this.configuration.
|
473
|
-
|
516
|
+
if (this.configuration && this.configuration.accessToken) {
|
517
|
+
const token = this.configuration.accessToken;
|
518
|
+
const tokenString = yield token("authentik", []);
|
519
|
+
if (tokenString) {
|
520
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
521
|
+
}
|
474
522
|
}
|
475
523
|
const response = yield this.request({
|
476
524
|
path: `/outposts/proxy/`,
|
@@ -500,8 +548,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
500
548
|
}
|
501
549
|
const queryParameters = {};
|
502
550
|
const headerParameters = {};
|
503
|
-
if (this.configuration && this.configuration.
|
504
|
-
|
551
|
+
if (this.configuration && this.configuration.accessToken) {
|
552
|
+
const token = this.configuration.accessToken;
|
553
|
+
const tokenString = yield token("authentik", []);
|
554
|
+
if (tokenString) {
|
555
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
556
|
+
}
|
505
557
|
}
|
506
558
|
const response = yield this.request({
|
507
559
|
path: `/outposts/proxy/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
@@ -543,8 +595,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
543
595
|
queryParameters['search'] = requestParameters.search;
|
544
596
|
}
|
545
597
|
const headerParameters = {};
|
546
|
-
if (this.configuration && this.configuration.
|
547
|
-
|
598
|
+
if (this.configuration && this.configuration.accessToken) {
|
599
|
+
const token = this.configuration.accessToken;
|
600
|
+
const tokenString = yield token("authentik", []);
|
601
|
+
if (tokenString) {
|
602
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
603
|
+
}
|
548
604
|
}
|
549
605
|
const response = yield this.request({
|
550
606
|
path: `/outposts/radius/`,
|
@@ -574,8 +630,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
574
630
|
}
|
575
631
|
const queryParameters = {};
|
576
632
|
const headerParameters = {};
|
577
|
-
if (this.configuration && this.configuration.
|
578
|
-
|
633
|
+
if (this.configuration && this.configuration.accessToken) {
|
634
|
+
const token = this.configuration.accessToken;
|
635
|
+
const tokenString = yield token("authentik", []);
|
636
|
+
if (tokenString) {
|
637
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
638
|
+
}
|
579
639
|
}
|
580
640
|
const response = yield this.request({
|
581
641
|
path: `/outposts/radius/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
@@ -605,8 +665,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
605
665
|
}
|
606
666
|
const queryParameters = {};
|
607
667
|
const headerParameters = {};
|
608
|
-
if (this.configuration && this.configuration.
|
609
|
-
|
668
|
+
if (this.configuration && this.configuration.accessToken) {
|
669
|
+
const token = this.configuration.accessToken;
|
670
|
+
const tokenString = yield token("authentik", []);
|
671
|
+
if (tokenString) {
|
672
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
673
|
+
}
|
610
674
|
}
|
611
675
|
const response = yield this.request({
|
612
676
|
path: `/outposts/service_connections/all/{uuid}/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -647,8 +711,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
647
711
|
queryParameters['search'] = requestParameters.search;
|
648
712
|
}
|
649
713
|
const headerParameters = {};
|
650
|
-
if (this.configuration && this.configuration.
|
651
|
-
|
714
|
+
if (this.configuration && this.configuration.accessToken) {
|
715
|
+
const token = this.configuration.accessToken;
|
716
|
+
const tokenString = yield token("authentik", []);
|
717
|
+
if (tokenString) {
|
718
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
719
|
+
}
|
652
720
|
}
|
653
721
|
const response = yield this.request({
|
654
722
|
path: `/outposts/service_connections/all/`,
|
@@ -678,8 +746,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
678
746
|
}
|
679
747
|
const queryParameters = {};
|
680
748
|
const headerParameters = {};
|
681
|
-
if (this.configuration && this.configuration.
|
682
|
-
|
749
|
+
if (this.configuration && this.configuration.accessToken) {
|
750
|
+
const token = this.configuration.accessToken;
|
751
|
+
const tokenString = yield token("authentik", []);
|
752
|
+
if (tokenString) {
|
753
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
754
|
+
}
|
683
755
|
}
|
684
756
|
const response = yield this.request({
|
685
757
|
path: `/outposts/service_connections/all/{uuid}/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -709,8 +781,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
709
781
|
}
|
710
782
|
const queryParameters = {};
|
711
783
|
const headerParameters = {};
|
712
|
-
if (this.configuration && this.configuration.
|
713
|
-
|
784
|
+
if (this.configuration && this.configuration.accessToken) {
|
785
|
+
const token = this.configuration.accessToken;
|
786
|
+
const tokenString = yield token("authentik", []);
|
787
|
+
if (tokenString) {
|
788
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
789
|
+
}
|
714
790
|
}
|
715
791
|
const response = yield this.request({
|
716
792
|
path: `/outposts/service_connections/all/{uuid}/state/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -737,8 +813,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
737
813
|
return __awaiter(this, void 0, void 0, function* () {
|
738
814
|
const queryParameters = {};
|
739
815
|
const headerParameters = {};
|
740
|
-
if (this.configuration && this.configuration.
|
741
|
-
|
816
|
+
if (this.configuration && this.configuration.accessToken) {
|
817
|
+
const token = this.configuration.accessToken;
|
818
|
+
const tokenString = yield token("authentik", []);
|
819
|
+
if (tokenString) {
|
820
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
821
|
+
}
|
742
822
|
}
|
743
823
|
const response = yield this.request({
|
744
824
|
path: `/outposts/service_connections/all/types/`,
|
@@ -768,8 +848,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
768
848
|
}
|
769
849
|
const queryParameters = {};
|
770
850
|
const headerParameters = {};
|
771
|
-
if (this.configuration && this.configuration.
|
772
|
-
|
851
|
+
if (this.configuration && this.configuration.accessToken) {
|
852
|
+
const token = this.configuration.accessToken;
|
853
|
+
const tokenString = yield token("authentik", []);
|
854
|
+
if (tokenString) {
|
855
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
856
|
+
}
|
773
857
|
}
|
774
858
|
const response = yield this.request({
|
775
859
|
path: `/outposts/service_connections/all/{uuid}/used_by/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -800,8 +884,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
800
884
|
const queryParameters = {};
|
801
885
|
const headerParameters = {};
|
802
886
|
headerParameters['Content-Type'] = 'application/json';
|
803
|
-
if (this.configuration && this.configuration.
|
804
|
-
|
887
|
+
if (this.configuration && this.configuration.accessToken) {
|
888
|
+
const token = this.configuration.accessToken;
|
889
|
+
const tokenString = yield token("authentik", []);
|
890
|
+
if (tokenString) {
|
891
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
892
|
+
}
|
805
893
|
}
|
806
894
|
const response = yield this.request({
|
807
895
|
path: `/outposts/service_connections/docker/`,
|
@@ -832,8 +920,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
832
920
|
}
|
833
921
|
const queryParameters = {};
|
834
922
|
const headerParameters = {};
|
835
|
-
if (this.configuration && this.configuration.
|
836
|
-
|
923
|
+
if (this.configuration && this.configuration.accessToken) {
|
924
|
+
const token = this.configuration.accessToken;
|
925
|
+
const tokenString = yield token("authentik", []);
|
926
|
+
if (tokenString) {
|
927
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
928
|
+
}
|
837
929
|
}
|
838
930
|
const response = yield this.request({
|
839
931
|
path: `/outposts/service_connections/docker/{uuid}/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -886,8 +978,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
886
978
|
queryParameters['url'] = requestParameters.url;
|
887
979
|
}
|
888
980
|
const headerParameters = {};
|
889
|
-
if (this.configuration && this.configuration.
|
890
|
-
|
981
|
+
if (this.configuration && this.configuration.accessToken) {
|
982
|
+
const token = this.configuration.accessToken;
|
983
|
+
const tokenString = yield token("authentik", []);
|
984
|
+
if (tokenString) {
|
985
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
986
|
+
}
|
891
987
|
}
|
892
988
|
const response = yield this.request({
|
893
989
|
path: `/outposts/service_connections/docker/`,
|
@@ -918,8 +1014,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
918
1014
|
const queryParameters = {};
|
919
1015
|
const headerParameters = {};
|
920
1016
|
headerParameters['Content-Type'] = 'application/json';
|
921
|
-
if (this.configuration && this.configuration.
|
922
|
-
|
1017
|
+
if (this.configuration && this.configuration.accessToken) {
|
1018
|
+
const token = this.configuration.accessToken;
|
1019
|
+
const tokenString = yield token("authentik", []);
|
1020
|
+
if (tokenString) {
|
1021
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1022
|
+
}
|
923
1023
|
}
|
924
1024
|
const response = yield this.request({
|
925
1025
|
path: `/outposts/service_connections/docker/{uuid}/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -950,8 +1050,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
950
1050
|
}
|
951
1051
|
const queryParameters = {};
|
952
1052
|
const headerParameters = {};
|
953
|
-
if (this.configuration && this.configuration.
|
954
|
-
|
1053
|
+
if (this.configuration && this.configuration.accessToken) {
|
1054
|
+
const token = this.configuration.accessToken;
|
1055
|
+
const tokenString = yield token("authentik", []);
|
1056
|
+
if (tokenString) {
|
1057
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1058
|
+
}
|
955
1059
|
}
|
956
1060
|
const response = yield this.request({
|
957
1061
|
path: `/outposts/service_connections/docker/{uuid}/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -985,8 +1089,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
985
1089
|
const queryParameters = {};
|
986
1090
|
const headerParameters = {};
|
987
1091
|
headerParameters['Content-Type'] = 'application/json';
|
988
|
-
if (this.configuration && this.configuration.
|
989
|
-
|
1092
|
+
if (this.configuration && this.configuration.accessToken) {
|
1093
|
+
const token = this.configuration.accessToken;
|
1094
|
+
const tokenString = yield token("authentik", []);
|
1095
|
+
if (tokenString) {
|
1096
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1097
|
+
}
|
990
1098
|
}
|
991
1099
|
const response = yield this.request({
|
992
1100
|
path: `/outposts/service_connections/docker/{uuid}/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -1017,8 +1125,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
1017
1125
|
}
|
1018
1126
|
const queryParameters = {};
|
1019
1127
|
const headerParameters = {};
|
1020
|
-
if (this.configuration && this.configuration.
|
1021
|
-
|
1128
|
+
if (this.configuration && this.configuration.accessToken) {
|
1129
|
+
const token = this.configuration.accessToken;
|
1130
|
+
const tokenString = yield token("authentik", []);
|
1131
|
+
if (tokenString) {
|
1132
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1133
|
+
}
|
1022
1134
|
}
|
1023
1135
|
const response = yield this.request({
|
1024
1136
|
path: `/outposts/service_connections/docker/{uuid}/used_by/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -1049,8 +1161,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
1049
1161
|
const queryParameters = {};
|
1050
1162
|
const headerParameters = {};
|
1051
1163
|
headerParameters['Content-Type'] = 'application/json';
|
1052
|
-
if (this.configuration && this.configuration.
|
1053
|
-
|
1164
|
+
if (this.configuration && this.configuration.accessToken) {
|
1165
|
+
const token = this.configuration.accessToken;
|
1166
|
+
const tokenString = yield token("authentik", []);
|
1167
|
+
if (tokenString) {
|
1168
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1169
|
+
}
|
1054
1170
|
}
|
1055
1171
|
const response = yield this.request({
|
1056
1172
|
path: `/outposts/service_connections/kubernetes/`,
|
@@ -1081,8 +1197,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
1081
1197
|
}
|
1082
1198
|
const queryParameters = {};
|
1083
1199
|
const headerParameters = {};
|
1084
|
-
if (this.configuration && this.configuration.
|
1085
|
-
|
1200
|
+
if (this.configuration && this.configuration.accessToken) {
|
1201
|
+
const token = this.configuration.accessToken;
|
1202
|
+
const tokenString = yield token("authentik", []);
|
1203
|
+
if (tokenString) {
|
1204
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1205
|
+
}
|
1086
1206
|
}
|
1087
1207
|
const response = yield this.request({
|
1088
1208
|
path: `/outposts/service_connections/kubernetes/{uuid}/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -1126,8 +1246,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
1126
1246
|
queryParameters['search'] = requestParameters.search;
|
1127
1247
|
}
|
1128
1248
|
const headerParameters = {};
|
1129
|
-
if (this.configuration && this.configuration.
|
1130
|
-
|
1249
|
+
if (this.configuration && this.configuration.accessToken) {
|
1250
|
+
const token = this.configuration.accessToken;
|
1251
|
+
const tokenString = yield token("authentik", []);
|
1252
|
+
if (tokenString) {
|
1253
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1254
|
+
}
|
1131
1255
|
}
|
1132
1256
|
const response = yield this.request({
|
1133
1257
|
path: `/outposts/service_connections/kubernetes/`,
|
@@ -1158,8 +1282,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
1158
1282
|
const queryParameters = {};
|
1159
1283
|
const headerParameters = {};
|
1160
1284
|
headerParameters['Content-Type'] = 'application/json';
|
1161
|
-
if (this.configuration && this.configuration.
|
1162
|
-
|
1285
|
+
if (this.configuration && this.configuration.accessToken) {
|
1286
|
+
const token = this.configuration.accessToken;
|
1287
|
+
const tokenString = yield token("authentik", []);
|
1288
|
+
if (tokenString) {
|
1289
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1290
|
+
}
|
1163
1291
|
}
|
1164
1292
|
const response = yield this.request({
|
1165
1293
|
path: `/outposts/service_connections/kubernetes/{uuid}/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -1190,8 +1318,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
1190
1318
|
}
|
1191
1319
|
const queryParameters = {};
|
1192
1320
|
const headerParameters = {};
|
1193
|
-
if (this.configuration && this.configuration.
|
1194
|
-
|
1321
|
+
if (this.configuration && this.configuration.accessToken) {
|
1322
|
+
const token = this.configuration.accessToken;
|
1323
|
+
const tokenString = yield token("authentik", []);
|
1324
|
+
if (tokenString) {
|
1325
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1326
|
+
}
|
1195
1327
|
}
|
1196
1328
|
const response = yield this.request({
|
1197
1329
|
path: `/outposts/service_connections/kubernetes/{uuid}/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -1225,8 +1357,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
1225
1357
|
const queryParameters = {};
|
1226
1358
|
const headerParameters = {};
|
1227
1359
|
headerParameters['Content-Type'] = 'application/json';
|
1228
|
-
if (this.configuration && this.configuration.
|
1229
|
-
|
1360
|
+
if (this.configuration && this.configuration.accessToken) {
|
1361
|
+
const token = this.configuration.accessToken;
|
1362
|
+
const tokenString = yield token("authentik", []);
|
1363
|
+
if (tokenString) {
|
1364
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1365
|
+
}
|
1230
1366
|
}
|
1231
1367
|
const response = yield this.request({
|
1232
1368
|
path: `/outposts/service_connections/kubernetes/{uuid}/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|
@@ -1257,8 +1393,12 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
1257
1393
|
}
|
1258
1394
|
const queryParameters = {};
|
1259
1395
|
const headerParameters = {};
|
1260
|
-
if (this.configuration && this.configuration.
|
1261
|
-
|
1396
|
+
if (this.configuration && this.configuration.accessToken) {
|
1397
|
+
const token = this.configuration.accessToken;
|
1398
|
+
const tokenString = yield token("authentik", []);
|
1399
|
+
if (tokenString) {
|
1400
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
1401
|
+
}
|
1262
1402
|
}
|
1263
1403
|
const response = yield this.request({
|
1264
1404
|
path: `/outposts/service_connections/kubernetes/{uuid}/used_by/`.replace(`{${"uuid"}}`, encodeURIComponent(String(requestParameters.uuid))),
|