@goauthentik/api 2024.6.1-1721916595 → 2024.6.1-1721927330
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 +5 -0
- package/dist/apis/OutpostsApi.d.ts +7 -28
- package/dist/apis/OutpostsApi.js +11 -78
- package/dist/apis/PropertymappingsApi.d.ts +87 -1
- package/dist/apis/PropertymappingsApi.js +274 -0
- package/dist/apis/RbacApi.d.ts +2 -0
- package/dist/apis/RbacApi.js +2 -0
- package/dist/esm/apis/OutpostsApi.d.ts +7 -28
- package/dist/esm/apis/OutpostsApi.js +12 -79
- package/dist/esm/apis/PropertymappingsApi.d.ts +87 -1
- package/dist/esm/apis/PropertymappingsApi.js +275 -1
- package/dist/esm/apis/RbacApi.d.ts +2 -0
- package/dist/esm/apis/RbacApi.js +2 -0
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/PaginatedRadiusProviderPropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedRadiusProviderPropertyMappingList.js +48 -0
- package/dist/esm/models/PatchedRadiusProviderPropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/PatchedRadiusProviderPropertyMappingRequest.js +47 -0
- package/dist/esm/models/RadiusCheckAccess.d.ts +38 -0
- package/dist/esm/models/RadiusCheckAccess.js +47 -0
- package/dist/esm/models/RadiusProviderPropertyMapping.d.ts +73 -0
- package/dist/esm/models/RadiusProviderPropertyMapping.js +59 -0
- package/dist/esm/models/RadiusProviderPropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/RadiusProviderPropertyMappingRequest.js +49 -0
- package/dist/esm/models/index.d.ts +5 -0
- package/dist/esm/models/index.js +5 -0
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/PaginatedRadiusProviderPropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedRadiusProviderPropertyMappingList.js +55 -0
- package/dist/models/PatchedRadiusProviderPropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedRadiusProviderPropertyMappingRequest.js +54 -0
- package/dist/models/RadiusCheckAccess.d.ts +38 -0
- package/dist/models/RadiusCheckAccess.js +54 -0
- package/dist/models/RadiusProviderPropertyMapping.d.ts +73 -0
- package/dist/models/RadiusProviderPropertyMapping.js +66 -0
- package/dist/models/RadiusProviderPropertyMappingRequest.d.ts +43 -0
- package/dist/models/RadiusProviderPropertyMappingRequest.js +56 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
- package/src/apis/OutpostsApi.ts +17 -102
- package/src/apis/PropertymappingsApi.ts +355 -0
- package/src/apis/RbacApi.ts +2 -0
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/PaginatedRadiusProviderPropertyMappingList.ts +88 -0
- package/src/models/PatchedRadiusProviderPropertyMappingRequest.ts +81 -0
- package/src/models/RadiusCheckAccess.ts +81 -0
- package/src/models/RadiusProviderPropertyMapping.ts +123 -0
- package/src/models/RadiusProviderPropertyMappingRequest.ts +83 -0
- package/src/models/index.ts +5 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -323,6 +323,7 @@ src/models/PaginatedRACPropertyMappingList.ts
|
|
|
323
323
|
src/models/PaginatedRACProviderList.ts
|
|
324
324
|
src/models/PaginatedRadiusOutpostConfigList.ts
|
|
325
325
|
src/models/PaginatedRadiusProviderList.ts
|
|
326
|
+
src/models/PaginatedRadiusProviderPropertyMappingList.ts
|
|
326
327
|
src/models/PaginatedReputationList.ts
|
|
327
328
|
src/models/PaginatedReputationPolicyList.ts
|
|
328
329
|
src/models/PaginatedRoleAssignedObjectPermissionList.ts
|
|
@@ -428,6 +429,7 @@ src/models/PatchedPromptStageRequest.ts
|
|
|
428
429
|
src/models/PatchedProxyProviderRequest.ts
|
|
429
430
|
src/models/PatchedRACPropertyMappingRequest.ts
|
|
430
431
|
src/models/PatchedRACProviderRequest.ts
|
|
432
|
+
src/models/PatchedRadiusProviderPropertyMappingRequest.ts
|
|
431
433
|
src/models/PatchedRadiusProviderRequest.ts
|
|
432
434
|
src/models/PatchedReputationPolicyRequest.ts
|
|
433
435
|
src/models/PatchedRoleRequest.ts
|
|
@@ -496,8 +498,11 @@ src/models/RACPropertyMapping.ts
|
|
|
496
498
|
src/models/RACPropertyMappingRequest.ts
|
|
497
499
|
src/models/RACProvider.ts
|
|
498
500
|
src/models/RACProviderRequest.ts
|
|
501
|
+
src/models/RadiusCheckAccess.ts
|
|
499
502
|
src/models/RadiusOutpostConfig.ts
|
|
500
503
|
src/models/RadiusProvider.ts
|
|
504
|
+
src/models/RadiusProviderPropertyMapping.ts
|
|
505
|
+
src/models/RadiusProviderPropertyMappingRequest.ts
|
|
501
506
|
src/models/RadiusProviderRequest.ts
|
|
502
507
|
src/models/RedirectChallenge.ts
|
|
503
508
|
src/models/Reputation.ts
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { DockerServiceConnection, DockerServiceConnectionRequest, KubernetesServiceConnection, KubernetesServiceConnectionRequest,
|
|
13
|
+
import type { DockerServiceConnection, DockerServiceConnectionRequest, KubernetesServiceConnection, KubernetesServiceConnectionRequest, Outpost, OutpostDefaultConfig, OutpostHealth, OutpostRequest, PaginatedDockerServiceConnectionList, PaginatedKubernetesServiceConnectionList, PaginatedLDAPOutpostConfigList, PaginatedOutpostList, PaginatedProxyOutpostConfigList, PaginatedRadiusOutpostConfigList, PaginatedServiceConnectionList, PatchedDockerServiceConnectionRequest, PatchedKubernetesServiceConnectionRequest, PatchedOutpostRequest, RadiusCheckAccess, ServiceConnection, ServiceConnectionState, TypeCreate, UsedBy } from '../models';
|
|
14
14
|
export interface OutpostsInstancesCreateRequest {
|
|
15
15
|
outpostRequest: OutpostRequest;
|
|
16
16
|
}
|
|
@@ -65,9 +65,6 @@ export interface OutpostsLdapListRequest {
|
|
|
65
65
|
pageSize?: number;
|
|
66
66
|
search?: string;
|
|
67
67
|
}
|
|
68
|
-
export interface OutpostsLdapRetrieveRequest {
|
|
69
|
-
id: number;
|
|
70
|
-
}
|
|
71
68
|
export interface OutpostsProxyListRequest {
|
|
72
69
|
name?: string;
|
|
73
70
|
ordering?: string;
|
|
@@ -75,8 +72,9 @@ export interface OutpostsProxyListRequest {
|
|
|
75
72
|
pageSize?: number;
|
|
76
73
|
search?: string;
|
|
77
74
|
}
|
|
78
|
-
export interface
|
|
75
|
+
export interface OutpostsRadiusCheckAccessRetrieveRequest {
|
|
79
76
|
id: number;
|
|
77
|
+
appSlug?: string;
|
|
80
78
|
}
|
|
81
79
|
export interface OutpostsRadiusListRequest {
|
|
82
80
|
name?: string;
|
|
@@ -85,9 +83,6 @@ export interface OutpostsRadiusListRequest {
|
|
|
85
83
|
pageSize?: number;
|
|
86
84
|
search?: string;
|
|
87
85
|
}
|
|
88
|
-
export interface OutpostsRadiusRetrieveRequest {
|
|
89
|
-
id: number;
|
|
90
|
-
}
|
|
91
86
|
export interface OutpostsServiceConnectionsAllDestroyRequest {
|
|
92
87
|
uuid: string;
|
|
93
88
|
}
|
|
@@ -250,14 +245,6 @@ export declare class OutpostsApi extends runtime.BaseAPI {
|
|
|
250
245
|
* LDAPProvider Viewset
|
|
251
246
|
*/
|
|
252
247
|
outpostsLdapList(requestParameters?: OutpostsLdapListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedLDAPOutpostConfigList>;
|
|
253
|
-
/**
|
|
254
|
-
* LDAPProvider Viewset
|
|
255
|
-
*/
|
|
256
|
-
outpostsLdapRetrieveRaw(requestParameters: OutpostsLdapRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LDAPOutpostConfig>>;
|
|
257
|
-
/**
|
|
258
|
-
* LDAPProvider Viewset
|
|
259
|
-
*/
|
|
260
|
-
outpostsLdapRetrieve(requestParameters: OutpostsLdapRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LDAPOutpostConfig>;
|
|
261
248
|
/**
|
|
262
249
|
* ProxyProvider Viewset
|
|
263
250
|
*/
|
|
@@ -267,13 +254,13 @@ export declare class OutpostsApi extends runtime.BaseAPI {
|
|
|
267
254
|
*/
|
|
268
255
|
outpostsProxyList(requestParameters?: OutpostsProxyListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProxyOutpostConfigList>;
|
|
269
256
|
/**
|
|
270
|
-
*
|
|
257
|
+
* Check access to a single application by slug
|
|
271
258
|
*/
|
|
272
|
-
|
|
259
|
+
outpostsRadiusCheckAccessRetrieveRaw(requestParameters: OutpostsRadiusCheckAccessRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RadiusCheckAccess>>;
|
|
273
260
|
/**
|
|
274
|
-
*
|
|
261
|
+
* Check access to a single application by slug
|
|
275
262
|
*/
|
|
276
|
-
|
|
263
|
+
outpostsRadiusCheckAccessRetrieve(requestParameters: OutpostsRadiusCheckAccessRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RadiusCheckAccess>;
|
|
277
264
|
/**
|
|
278
265
|
* RadiusProvider Viewset
|
|
279
266
|
*/
|
|
@@ -282,14 +269,6 @@ export declare class OutpostsApi extends runtime.BaseAPI {
|
|
|
282
269
|
* RadiusProvider Viewset
|
|
283
270
|
*/
|
|
284
271
|
outpostsRadiusList(requestParameters?: OutpostsRadiusListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedRadiusOutpostConfigList>;
|
|
285
|
-
/**
|
|
286
|
-
* RadiusProvider Viewset
|
|
287
|
-
*/
|
|
288
|
-
outpostsRadiusRetrieveRaw(requestParameters: OutpostsRadiusRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RadiusOutpostConfig>>;
|
|
289
|
-
/**
|
|
290
|
-
* RadiusProvider Viewset
|
|
291
|
-
*/
|
|
292
|
-
outpostsRadiusRetrieve(requestParameters: OutpostsRadiusRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RadiusOutpostConfig>;
|
|
293
272
|
/**
|
|
294
273
|
* ServiceConnection Viewset
|
|
295
274
|
*/
|
package/dist/apis/OutpostsApi.js
CHANGED
|
@@ -459,41 +459,6 @@ class OutpostsApi extends runtime.BaseAPI {
|
|
|
459
459
|
return yield response.value();
|
|
460
460
|
});
|
|
461
461
|
}
|
|
462
|
-
/**
|
|
463
|
-
* LDAPProvider Viewset
|
|
464
|
-
*/
|
|
465
|
-
outpostsLdapRetrieveRaw(requestParameters, initOverrides) {
|
|
466
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
467
|
-
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
468
|
-
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling outpostsLdapRetrieve.');
|
|
469
|
-
}
|
|
470
|
-
const queryParameters = {};
|
|
471
|
-
const headerParameters = {};
|
|
472
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
473
|
-
const token = this.configuration.accessToken;
|
|
474
|
-
const tokenString = yield token("authentik", []);
|
|
475
|
-
if (tokenString) {
|
|
476
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
const response = yield this.request({
|
|
480
|
-
path: `/outposts/ldap/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
481
|
-
method: 'GET',
|
|
482
|
-
headers: headerParameters,
|
|
483
|
-
query: queryParameters,
|
|
484
|
-
}, initOverrides);
|
|
485
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.LDAPOutpostConfigFromJSON)(jsonValue));
|
|
486
|
-
});
|
|
487
|
-
}
|
|
488
|
-
/**
|
|
489
|
-
* LDAPProvider Viewset
|
|
490
|
-
*/
|
|
491
|
-
outpostsLdapRetrieve(requestParameters, initOverrides) {
|
|
492
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
493
|
-
const response = yield this.outpostsLdapRetrieveRaw(requestParameters, initOverrides);
|
|
494
|
-
return yield response.value();
|
|
495
|
-
});
|
|
496
|
-
}
|
|
497
462
|
/**
|
|
498
463
|
* ProxyProvider Viewset
|
|
499
464
|
*/
|
|
@@ -542,14 +507,17 @@ class OutpostsApi extends runtime.BaseAPI {
|
|
|
542
507
|
});
|
|
543
508
|
}
|
|
544
509
|
/**
|
|
545
|
-
*
|
|
510
|
+
* Check access to a single application by slug
|
|
546
511
|
*/
|
|
547
|
-
|
|
512
|
+
outpostsRadiusCheckAccessRetrieveRaw(requestParameters, initOverrides) {
|
|
548
513
|
return __awaiter(this, void 0, void 0, function* () {
|
|
549
514
|
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
550
|
-
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling
|
|
515
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling outpostsRadiusCheckAccessRetrieve.');
|
|
551
516
|
}
|
|
552
517
|
const queryParameters = {};
|
|
518
|
+
if (requestParameters.appSlug !== undefined) {
|
|
519
|
+
queryParameters['app_slug'] = requestParameters.appSlug;
|
|
520
|
+
}
|
|
553
521
|
const headerParameters = {};
|
|
554
522
|
if (this.configuration && this.configuration.accessToken) {
|
|
555
523
|
const token = this.configuration.accessToken;
|
|
@@ -559,20 +527,20 @@ class OutpostsApi extends runtime.BaseAPI {
|
|
|
559
527
|
}
|
|
560
528
|
}
|
|
561
529
|
const response = yield this.request({
|
|
562
|
-
path: `/outposts/
|
|
530
|
+
path: `/outposts/radius/{id}/check_access/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
563
531
|
method: 'GET',
|
|
564
532
|
headers: headerParameters,
|
|
565
533
|
query: queryParameters,
|
|
566
534
|
}, initOverrides);
|
|
567
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.
|
|
535
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.RadiusCheckAccessFromJSON)(jsonValue));
|
|
568
536
|
});
|
|
569
537
|
}
|
|
570
538
|
/**
|
|
571
|
-
*
|
|
539
|
+
* Check access to a single application by slug
|
|
572
540
|
*/
|
|
573
|
-
|
|
541
|
+
outpostsRadiusCheckAccessRetrieve(requestParameters, initOverrides) {
|
|
574
542
|
return __awaiter(this, void 0, void 0, function* () {
|
|
575
|
-
const response = yield this.
|
|
543
|
+
const response = yield this.outpostsRadiusCheckAccessRetrieveRaw(requestParameters, initOverrides);
|
|
576
544
|
return yield response.value();
|
|
577
545
|
});
|
|
578
546
|
}
|
|
@@ -623,41 +591,6 @@ class OutpostsApi extends runtime.BaseAPI {
|
|
|
623
591
|
return yield response.value();
|
|
624
592
|
});
|
|
625
593
|
}
|
|
626
|
-
/**
|
|
627
|
-
* RadiusProvider Viewset
|
|
628
|
-
*/
|
|
629
|
-
outpostsRadiusRetrieveRaw(requestParameters, initOverrides) {
|
|
630
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
631
|
-
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
632
|
-
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling outpostsRadiusRetrieve.');
|
|
633
|
-
}
|
|
634
|
-
const queryParameters = {};
|
|
635
|
-
const headerParameters = {};
|
|
636
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
637
|
-
const token = this.configuration.accessToken;
|
|
638
|
-
const tokenString = yield token("authentik", []);
|
|
639
|
-
if (tokenString) {
|
|
640
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
const response = yield this.request({
|
|
644
|
-
path: `/outposts/radius/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
645
|
-
method: 'GET',
|
|
646
|
-
headers: headerParameters,
|
|
647
|
-
query: queryParameters,
|
|
648
|
-
}, initOverrides);
|
|
649
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.RadiusOutpostConfigFromJSON)(jsonValue));
|
|
650
|
-
});
|
|
651
|
-
}
|
|
652
|
-
/**
|
|
653
|
-
* RadiusProvider Viewset
|
|
654
|
-
*/
|
|
655
|
-
outpostsRadiusRetrieve(requestParameters, initOverrides) {
|
|
656
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
657
|
-
const response = yield this.outpostsRadiusRetrieveRaw(requestParameters, initOverrides);
|
|
658
|
-
return yield response.value();
|
|
659
|
-
});
|
|
660
|
-
}
|
|
661
594
|
/**
|
|
662
595
|
* ServiceConnection Viewset
|
|
663
596
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { GoogleWorkspaceProviderMapping, GoogleWorkspaceProviderMappingRequest, LDAPSourcePropertyMapping, LDAPSourcePropertyMappingRequest, MicrosoftEntraProviderMapping, MicrosoftEntraProviderMappingRequest, NotificationWebhookMapping, NotificationWebhookMappingRequest, PaginatedGoogleWorkspaceProviderMappingList, PaginatedLDAPSourcePropertyMappingList, PaginatedMicrosoftEntraProviderMappingList, PaginatedNotificationWebhookMappingList, PaginatedPropertyMappingList, PaginatedRACPropertyMappingList, PaginatedSAMLPropertyMappingList, PaginatedSCIMMappingList, PaginatedScopeMappingList, PatchedGoogleWorkspaceProviderMappingRequest, PatchedLDAPSourcePropertyMappingRequest, PatchedMicrosoftEntraProviderMappingRequest, PatchedNotificationWebhookMappingRequest, PatchedRACPropertyMappingRequest, PatchedSAMLPropertyMappingRequest, PatchedSCIMMappingRequest, PatchedScopeMappingRequest, PropertyMapping, PropertyMappingTestRequest, PropertyMappingTestResult, RACPropertyMapping, RACPropertyMappingRequest, SAMLPropertyMapping, SAMLPropertyMappingRequest, SCIMMapping, SCIMMappingRequest, ScopeMapping, ScopeMappingRequest, TypeCreate, UsedBy } from '../models';
|
|
13
|
+
import type { GoogleWorkspaceProviderMapping, GoogleWorkspaceProviderMappingRequest, LDAPSourcePropertyMapping, LDAPSourcePropertyMappingRequest, MicrosoftEntraProviderMapping, MicrosoftEntraProviderMappingRequest, NotificationWebhookMapping, NotificationWebhookMappingRequest, PaginatedGoogleWorkspaceProviderMappingList, PaginatedLDAPSourcePropertyMappingList, PaginatedMicrosoftEntraProviderMappingList, PaginatedNotificationWebhookMappingList, PaginatedPropertyMappingList, PaginatedRACPropertyMappingList, PaginatedRadiusProviderPropertyMappingList, PaginatedSAMLPropertyMappingList, PaginatedSCIMMappingList, PaginatedScopeMappingList, PatchedGoogleWorkspaceProviderMappingRequest, PatchedLDAPSourcePropertyMappingRequest, PatchedMicrosoftEntraProviderMappingRequest, PatchedNotificationWebhookMappingRequest, PatchedRACPropertyMappingRequest, PatchedRadiusProviderPropertyMappingRequest, PatchedSAMLPropertyMappingRequest, PatchedSCIMMappingRequest, PatchedScopeMappingRequest, PropertyMapping, PropertyMappingTestRequest, PropertyMappingTestResult, RACPropertyMapping, RACPropertyMappingRequest, RadiusProviderPropertyMapping, RadiusProviderPropertyMappingRequest, SAMLPropertyMapping, SAMLPropertyMappingRequest, SCIMMapping, SCIMMappingRequest, ScopeMapping, ScopeMappingRequest, TypeCreate, UsedBy } from '../models';
|
|
14
14
|
export interface PropertymappingsAllDestroyRequest {
|
|
15
15
|
pmUuid: string;
|
|
16
16
|
}
|
|
@@ -147,6 +147,36 @@ export interface PropertymappingsRacUpdateRequest {
|
|
|
147
147
|
export interface PropertymappingsRacUsedByListRequest {
|
|
148
148
|
pmUuid: string;
|
|
149
149
|
}
|
|
150
|
+
export interface PropertymappingsRadiusCreateRequest {
|
|
151
|
+
radiusProviderPropertyMappingRequest: RadiusProviderPropertyMappingRequest;
|
|
152
|
+
}
|
|
153
|
+
export interface PropertymappingsRadiusDestroyRequest {
|
|
154
|
+
pmUuid: string;
|
|
155
|
+
}
|
|
156
|
+
export interface PropertymappingsRadiusListRequest {
|
|
157
|
+
expression?: string;
|
|
158
|
+
managed?: Array<string>;
|
|
159
|
+
name?: string;
|
|
160
|
+
ordering?: string;
|
|
161
|
+
page?: number;
|
|
162
|
+
pageSize?: number;
|
|
163
|
+
pmUuid?: string;
|
|
164
|
+
search?: string;
|
|
165
|
+
}
|
|
166
|
+
export interface PropertymappingsRadiusPartialUpdateRequest {
|
|
167
|
+
pmUuid: string;
|
|
168
|
+
patchedRadiusProviderPropertyMappingRequest?: PatchedRadiusProviderPropertyMappingRequest;
|
|
169
|
+
}
|
|
170
|
+
export interface PropertymappingsRadiusRetrieveRequest {
|
|
171
|
+
pmUuid: string;
|
|
172
|
+
}
|
|
173
|
+
export interface PropertymappingsRadiusUpdateRequest {
|
|
174
|
+
pmUuid: string;
|
|
175
|
+
radiusProviderPropertyMappingRequest: RadiusProviderPropertyMappingRequest;
|
|
176
|
+
}
|
|
177
|
+
export interface PropertymappingsRadiusUsedByListRequest {
|
|
178
|
+
pmUuid: string;
|
|
179
|
+
}
|
|
150
180
|
export interface PropertymappingsSamlCreateRequest {
|
|
151
181
|
sAMLPropertyMappingRequest: SAMLPropertyMappingRequest;
|
|
152
182
|
}
|
|
@@ -544,6 +574,62 @@ export declare class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
544
574
|
* Get a list of all objects that use this object
|
|
545
575
|
*/
|
|
546
576
|
propertymappingsRacUsedByList(requestParameters: PropertymappingsRacUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
|
|
577
|
+
/**
|
|
578
|
+
* RadiusProviderPropertyMapping Viewset
|
|
579
|
+
*/
|
|
580
|
+
propertymappingsRadiusCreateRaw(requestParameters: PropertymappingsRadiusCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RadiusProviderPropertyMapping>>;
|
|
581
|
+
/**
|
|
582
|
+
* RadiusProviderPropertyMapping Viewset
|
|
583
|
+
*/
|
|
584
|
+
propertymappingsRadiusCreate(requestParameters: PropertymappingsRadiusCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RadiusProviderPropertyMapping>;
|
|
585
|
+
/**
|
|
586
|
+
* RadiusProviderPropertyMapping Viewset
|
|
587
|
+
*/
|
|
588
|
+
propertymappingsRadiusDestroyRaw(requestParameters: PropertymappingsRadiusDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
589
|
+
/**
|
|
590
|
+
* RadiusProviderPropertyMapping Viewset
|
|
591
|
+
*/
|
|
592
|
+
propertymappingsRadiusDestroy(requestParameters: PropertymappingsRadiusDestroyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
593
|
+
/**
|
|
594
|
+
* RadiusProviderPropertyMapping Viewset
|
|
595
|
+
*/
|
|
596
|
+
propertymappingsRadiusListRaw(requestParameters: PropertymappingsRadiusListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedRadiusProviderPropertyMappingList>>;
|
|
597
|
+
/**
|
|
598
|
+
* RadiusProviderPropertyMapping Viewset
|
|
599
|
+
*/
|
|
600
|
+
propertymappingsRadiusList(requestParameters?: PropertymappingsRadiusListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedRadiusProviderPropertyMappingList>;
|
|
601
|
+
/**
|
|
602
|
+
* RadiusProviderPropertyMapping Viewset
|
|
603
|
+
*/
|
|
604
|
+
propertymappingsRadiusPartialUpdateRaw(requestParameters: PropertymappingsRadiusPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RadiusProviderPropertyMapping>>;
|
|
605
|
+
/**
|
|
606
|
+
* RadiusProviderPropertyMapping Viewset
|
|
607
|
+
*/
|
|
608
|
+
propertymappingsRadiusPartialUpdate(requestParameters: PropertymappingsRadiusPartialUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RadiusProviderPropertyMapping>;
|
|
609
|
+
/**
|
|
610
|
+
* RadiusProviderPropertyMapping Viewset
|
|
611
|
+
*/
|
|
612
|
+
propertymappingsRadiusRetrieveRaw(requestParameters: PropertymappingsRadiusRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RadiusProviderPropertyMapping>>;
|
|
613
|
+
/**
|
|
614
|
+
* RadiusProviderPropertyMapping Viewset
|
|
615
|
+
*/
|
|
616
|
+
propertymappingsRadiusRetrieve(requestParameters: PropertymappingsRadiusRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RadiusProviderPropertyMapping>;
|
|
617
|
+
/**
|
|
618
|
+
* RadiusProviderPropertyMapping Viewset
|
|
619
|
+
*/
|
|
620
|
+
propertymappingsRadiusUpdateRaw(requestParameters: PropertymappingsRadiusUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RadiusProviderPropertyMapping>>;
|
|
621
|
+
/**
|
|
622
|
+
* RadiusProviderPropertyMapping Viewset
|
|
623
|
+
*/
|
|
624
|
+
propertymappingsRadiusUpdate(requestParameters: PropertymappingsRadiusUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RadiusProviderPropertyMapping>;
|
|
625
|
+
/**
|
|
626
|
+
* Get a list of all objects that use this object
|
|
627
|
+
*/
|
|
628
|
+
propertymappingsRadiusUsedByListRaw(requestParameters: PropertymappingsRadiusUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<UsedBy>>>;
|
|
629
|
+
/**
|
|
630
|
+
* Get a list of all objects that use this object
|
|
631
|
+
*/
|
|
632
|
+
propertymappingsRadiusUsedByList(requestParameters: PropertymappingsRadiusUsedByListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<UsedBy>>;
|
|
547
633
|
/**
|
|
548
634
|
* SAMLPropertyMapping Viewset
|
|
549
635
|
*/
|
|
@@ -1333,6 +1333,280 @@ class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
1333
1333
|
return yield response.value();
|
|
1334
1334
|
});
|
|
1335
1335
|
}
|
|
1336
|
+
/**
|
|
1337
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1338
|
+
*/
|
|
1339
|
+
propertymappingsRadiusCreateRaw(requestParameters, initOverrides) {
|
|
1340
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1341
|
+
if (requestParameters.radiusProviderPropertyMappingRequest === null || requestParameters.radiusProviderPropertyMappingRequest === undefined) {
|
|
1342
|
+
throw new runtime.RequiredError('radiusProviderPropertyMappingRequest', 'Required parameter requestParameters.radiusProviderPropertyMappingRequest was null or undefined when calling propertymappingsRadiusCreate.');
|
|
1343
|
+
}
|
|
1344
|
+
const queryParameters = {};
|
|
1345
|
+
const headerParameters = {};
|
|
1346
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1347
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1348
|
+
const token = this.configuration.accessToken;
|
|
1349
|
+
const tokenString = yield token("authentik", []);
|
|
1350
|
+
if (tokenString) {
|
|
1351
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
const response = yield this.request({
|
|
1355
|
+
path: `/propertymappings/radius/`,
|
|
1356
|
+
method: 'POST',
|
|
1357
|
+
headers: headerParameters,
|
|
1358
|
+
query: queryParameters,
|
|
1359
|
+
body: (0, models_1.RadiusProviderPropertyMappingRequestToJSON)(requestParameters.radiusProviderPropertyMappingRequest),
|
|
1360
|
+
}, initOverrides);
|
|
1361
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.RadiusProviderPropertyMappingFromJSON)(jsonValue));
|
|
1362
|
+
});
|
|
1363
|
+
}
|
|
1364
|
+
/**
|
|
1365
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1366
|
+
*/
|
|
1367
|
+
propertymappingsRadiusCreate(requestParameters, initOverrides) {
|
|
1368
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1369
|
+
const response = yield this.propertymappingsRadiusCreateRaw(requestParameters, initOverrides);
|
|
1370
|
+
return yield response.value();
|
|
1371
|
+
});
|
|
1372
|
+
}
|
|
1373
|
+
/**
|
|
1374
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1375
|
+
*/
|
|
1376
|
+
propertymappingsRadiusDestroyRaw(requestParameters, initOverrides) {
|
|
1377
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1378
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1379
|
+
throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRadiusDestroy.');
|
|
1380
|
+
}
|
|
1381
|
+
const queryParameters = {};
|
|
1382
|
+
const headerParameters = {};
|
|
1383
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1384
|
+
const token = this.configuration.accessToken;
|
|
1385
|
+
const tokenString = yield token("authentik", []);
|
|
1386
|
+
if (tokenString) {
|
|
1387
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1388
|
+
}
|
|
1389
|
+
}
|
|
1390
|
+
const response = yield this.request({
|
|
1391
|
+
path: `/propertymappings/radius/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1392
|
+
method: 'DELETE',
|
|
1393
|
+
headers: headerParameters,
|
|
1394
|
+
query: queryParameters,
|
|
1395
|
+
}, initOverrides);
|
|
1396
|
+
return new runtime.VoidApiResponse(response);
|
|
1397
|
+
});
|
|
1398
|
+
}
|
|
1399
|
+
/**
|
|
1400
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1401
|
+
*/
|
|
1402
|
+
propertymappingsRadiusDestroy(requestParameters, initOverrides) {
|
|
1403
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1404
|
+
yield this.propertymappingsRadiusDestroyRaw(requestParameters, initOverrides);
|
|
1405
|
+
});
|
|
1406
|
+
}
|
|
1407
|
+
/**
|
|
1408
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1409
|
+
*/
|
|
1410
|
+
propertymappingsRadiusListRaw(requestParameters, initOverrides) {
|
|
1411
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1412
|
+
const queryParameters = {};
|
|
1413
|
+
if (requestParameters.expression !== undefined) {
|
|
1414
|
+
queryParameters['expression'] = requestParameters.expression;
|
|
1415
|
+
}
|
|
1416
|
+
if (requestParameters.managed) {
|
|
1417
|
+
queryParameters['managed'] = requestParameters.managed;
|
|
1418
|
+
}
|
|
1419
|
+
if (requestParameters.name !== undefined) {
|
|
1420
|
+
queryParameters['name'] = requestParameters.name;
|
|
1421
|
+
}
|
|
1422
|
+
if (requestParameters.ordering !== undefined) {
|
|
1423
|
+
queryParameters['ordering'] = requestParameters.ordering;
|
|
1424
|
+
}
|
|
1425
|
+
if (requestParameters.page !== undefined) {
|
|
1426
|
+
queryParameters['page'] = requestParameters.page;
|
|
1427
|
+
}
|
|
1428
|
+
if (requestParameters.pageSize !== undefined) {
|
|
1429
|
+
queryParameters['page_size'] = requestParameters.pageSize;
|
|
1430
|
+
}
|
|
1431
|
+
if (requestParameters.pmUuid !== undefined) {
|
|
1432
|
+
queryParameters['pm_uuid'] = requestParameters.pmUuid;
|
|
1433
|
+
}
|
|
1434
|
+
if (requestParameters.search !== undefined) {
|
|
1435
|
+
queryParameters['search'] = requestParameters.search;
|
|
1436
|
+
}
|
|
1437
|
+
const headerParameters = {};
|
|
1438
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1439
|
+
const token = this.configuration.accessToken;
|
|
1440
|
+
const tokenString = yield token("authentik", []);
|
|
1441
|
+
if (tokenString) {
|
|
1442
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
const response = yield this.request({
|
|
1446
|
+
path: `/propertymappings/radius/`,
|
|
1447
|
+
method: 'GET',
|
|
1448
|
+
headers: headerParameters,
|
|
1449
|
+
query: queryParameters,
|
|
1450
|
+
}, initOverrides);
|
|
1451
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.PaginatedRadiusProviderPropertyMappingListFromJSON)(jsonValue));
|
|
1452
|
+
});
|
|
1453
|
+
}
|
|
1454
|
+
/**
|
|
1455
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1456
|
+
*/
|
|
1457
|
+
propertymappingsRadiusList(requestParameters = {}, initOverrides) {
|
|
1458
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1459
|
+
const response = yield this.propertymappingsRadiusListRaw(requestParameters, initOverrides);
|
|
1460
|
+
return yield response.value();
|
|
1461
|
+
});
|
|
1462
|
+
}
|
|
1463
|
+
/**
|
|
1464
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1465
|
+
*/
|
|
1466
|
+
propertymappingsRadiusPartialUpdateRaw(requestParameters, initOverrides) {
|
|
1467
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1468
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1469
|
+
throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRadiusPartialUpdate.');
|
|
1470
|
+
}
|
|
1471
|
+
const queryParameters = {};
|
|
1472
|
+
const headerParameters = {};
|
|
1473
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1474
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1475
|
+
const token = this.configuration.accessToken;
|
|
1476
|
+
const tokenString = yield token("authentik", []);
|
|
1477
|
+
if (tokenString) {
|
|
1478
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
const response = yield this.request({
|
|
1482
|
+
path: `/propertymappings/radius/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1483
|
+
method: 'PATCH',
|
|
1484
|
+
headers: headerParameters,
|
|
1485
|
+
query: queryParameters,
|
|
1486
|
+
body: (0, models_1.PatchedRadiusProviderPropertyMappingRequestToJSON)(requestParameters.patchedRadiusProviderPropertyMappingRequest),
|
|
1487
|
+
}, initOverrides);
|
|
1488
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.RadiusProviderPropertyMappingFromJSON)(jsonValue));
|
|
1489
|
+
});
|
|
1490
|
+
}
|
|
1491
|
+
/**
|
|
1492
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1493
|
+
*/
|
|
1494
|
+
propertymappingsRadiusPartialUpdate(requestParameters, initOverrides) {
|
|
1495
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1496
|
+
const response = yield this.propertymappingsRadiusPartialUpdateRaw(requestParameters, initOverrides);
|
|
1497
|
+
return yield response.value();
|
|
1498
|
+
});
|
|
1499
|
+
}
|
|
1500
|
+
/**
|
|
1501
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1502
|
+
*/
|
|
1503
|
+
propertymappingsRadiusRetrieveRaw(requestParameters, initOverrides) {
|
|
1504
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1505
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1506
|
+
throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRadiusRetrieve.');
|
|
1507
|
+
}
|
|
1508
|
+
const queryParameters = {};
|
|
1509
|
+
const headerParameters = {};
|
|
1510
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1511
|
+
const token = this.configuration.accessToken;
|
|
1512
|
+
const tokenString = yield token("authentik", []);
|
|
1513
|
+
if (tokenString) {
|
|
1514
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
const response = yield this.request({
|
|
1518
|
+
path: `/propertymappings/radius/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1519
|
+
method: 'GET',
|
|
1520
|
+
headers: headerParameters,
|
|
1521
|
+
query: queryParameters,
|
|
1522
|
+
}, initOverrides);
|
|
1523
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.RadiusProviderPropertyMappingFromJSON)(jsonValue));
|
|
1524
|
+
});
|
|
1525
|
+
}
|
|
1526
|
+
/**
|
|
1527
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1528
|
+
*/
|
|
1529
|
+
propertymappingsRadiusRetrieve(requestParameters, initOverrides) {
|
|
1530
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1531
|
+
const response = yield this.propertymappingsRadiusRetrieveRaw(requestParameters, initOverrides);
|
|
1532
|
+
return yield response.value();
|
|
1533
|
+
});
|
|
1534
|
+
}
|
|
1535
|
+
/**
|
|
1536
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1537
|
+
*/
|
|
1538
|
+
propertymappingsRadiusUpdateRaw(requestParameters, initOverrides) {
|
|
1539
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1540
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1541
|
+
throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRadiusUpdate.');
|
|
1542
|
+
}
|
|
1543
|
+
if (requestParameters.radiusProviderPropertyMappingRequest === null || requestParameters.radiusProviderPropertyMappingRequest === undefined) {
|
|
1544
|
+
throw new runtime.RequiredError('radiusProviderPropertyMappingRequest', 'Required parameter requestParameters.radiusProviderPropertyMappingRequest was null or undefined when calling propertymappingsRadiusUpdate.');
|
|
1545
|
+
}
|
|
1546
|
+
const queryParameters = {};
|
|
1547
|
+
const headerParameters = {};
|
|
1548
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1549
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1550
|
+
const token = this.configuration.accessToken;
|
|
1551
|
+
const tokenString = yield token("authentik", []);
|
|
1552
|
+
if (tokenString) {
|
|
1553
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1554
|
+
}
|
|
1555
|
+
}
|
|
1556
|
+
const response = yield this.request({
|
|
1557
|
+
path: `/propertymappings/radius/{pm_uuid}/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1558
|
+
method: 'PUT',
|
|
1559
|
+
headers: headerParameters,
|
|
1560
|
+
query: queryParameters,
|
|
1561
|
+
body: (0, models_1.RadiusProviderPropertyMappingRequestToJSON)(requestParameters.radiusProviderPropertyMappingRequest),
|
|
1562
|
+
}, initOverrides);
|
|
1563
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.RadiusProviderPropertyMappingFromJSON)(jsonValue));
|
|
1564
|
+
});
|
|
1565
|
+
}
|
|
1566
|
+
/**
|
|
1567
|
+
* RadiusProviderPropertyMapping Viewset
|
|
1568
|
+
*/
|
|
1569
|
+
propertymappingsRadiusUpdate(requestParameters, initOverrides) {
|
|
1570
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1571
|
+
const response = yield this.propertymappingsRadiusUpdateRaw(requestParameters, initOverrides);
|
|
1572
|
+
return yield response.value();
|
|
1573
|
+
});
|
|
1574
|
+
}
|
|
1575
|
+
/**
|
|
1576
|
+
* Get a list of all objects that use this object
|
|
1577
|
+
*/
|
|
1578
|
+
propertymappingsRadiusUsedByListRaw(requestParameters, initOverrides) {
|
|
1579
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1580
|
+
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
|
1581
|
+
throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsRadiusUsedByList.');
|
|
1582
|
+
}
|
|
1583
|
+
const queryParameters = {};
|
|
1584
|
+
const headerParameters = {};
|
|
1585
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1586
|
+
const token = this.configuration.accessToken;
|
|
1587
|
+
const tokenString = yield token("authentik", []);
|
|
1588
|
+
if (tokenString) {
|
|
1589
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1592
|
+
const response = yield this.request({
|
|
1593
|
+
path: `/propertymappings/radius/{pm_uuid}/used_by/`.replace(`{${"pm_uuid"}}`, encodeURIComponent(String(requestParameters.pmUuid))),
|
|
1594
|
+
method: 'GET',
|
|
1595
|
+
headers: headerParameters,
|
|
1596
|
+
query: queryParameters,
|
|
1597
|
+
}, initOverrides);
|
|
1598
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(models_1.UsedByFromJSON));
|
|
1599
|
+
});
|
|
1600
|
+
}
|
|
1601
|
+
/**
|
|
1602
|
+
* Get a list of all objects that use this object
|
|
1603
|
+
*/
|
|
1604
|
+
propertymappingsRadiusUsedByList(requestParameters, initOverrides) {
|
|
1605
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1606
|
+
const response = yield this.propertymappingsRadiusUsedByListRaw(requestParameters, initOverrides);
|
|
1607
|
+
return yield response.value();
|
|
1608
|
+
});
|
|
1609
|
+
}
|
|
1336
1610
|
/**
|
|
1337
1611
|
* SAMLPropertyMapping Viewset
|
|
1338
1612
|
*/
|
package/dist/apis/RbacApi.d.ts
CHANGED
|
@@ -280,6 +280,7 @@ export declare const RbacPermissionsAssignedByRolesListModelEnum: {
|
|
|
280
280
|
readonly ProvidersRacRacpropertymapping: "authentik_providers_rac.racpropertymapping";
|
|
281
281
|
readonly ProvidersRacRacprovider: "authentik_providers_rac.racprovider";
|
|
282
282
|
readonly ProvidersRadiusRadiusprovider: "authentik_providers_radius.radiusprovider";
|
|
283
|
+
readonly ProvidersRadiusRadiusproviderpropertymapping: "authentik_providers_radius.radiusproviderpropertymapping";
|
|
283
284
|
readonly ProvidersSamlSamlpropertymapping: "authentik_providers_saml.samlpropertymapping";
|
|
284
285
|
readonly ProvidersSamlSamlprovider: "authentik_providers_saml.samlprovider";
|
|
285
286
|
readonly ProvidersScimScimmapping: "authentik_providers_scim.scimmapping";
|
|
@@ -367,6 +368,7 @@ export declare const RbacPermissionsAssignedByUsersListModelEnum: {
|
|
|
367
368
|
readonly ProvidersRacRacpropertymapping: "authentik_providers_rac.racpropertymapping";
|
|
368
369
|
readonly ProvidersRacRacprovider: "authentik_providers_rac.racprovider";
|
|
369
370
|
readonly ProvidersRadiusRadiusprovider: "authentik_providers_radius.radiusprovider";
|
|
371
|
+
readonly ProvidersRadiusRadiusproviderpropertymapping: "authentik_providers_radius.radiusproviderpropertymapping";
|
|
370
372
|
readonly ProvidersSamlSamlpropertymapping: "authentik_providers_saml.samlpropertymapping";
|
|
371
373
|
readonly ProvidersSamlSamlprovider: "authentik_providers_saml.samlprovider";
|
|
372
374
|
readonly ProvidersScimScimmapping: "authentik_providers_scim.scimmapping";
|