@goauthentik/api 2024.6.1-1721909829 → 2024.6.1-1721927330
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +9 -4
- package/dist/apis/OutpostsApi.d.ts +7 -28
- package/dist/apis/OutpostsApi.js +11 -78
- package/dist/apis/PropertymappingsApi.d.ts +173 -87
- package/dist/apis/PropertymappingsApi.js +575 -301
- package/dist/apis/RbacApi.d.ts +4 -2
- package/dist/apis/RbacApi.js +4 -2
- package/dist/esm/apis/OutpostsApi.d.ts +7 -28
- package/dist/esm/apis/OutpostsApi.js +12 -79
- package/dist/esm/apis/PropertymappingsApi.d.ts +173 -87
- package/dist/esm/apis/PropertymappingsApi.js +576 -302
- package/dist/esm/apis/RbacApi.d.ts +4 -2
- package/dist/esm/apis/RbacApi.js +4 -2
- package/dist/esm/models/{LDAPPropertyMapping.d.ts → LDAPSourcePropertyMapping.d.ts} +15 -15
- package/dist/esm/models/{LDAPPropertyMapping.js → LDAPSourcePropertyMapping.js} +6 -6
- package/dist/{models/LDAPPropertyMappingRequest.d.ts → esm/models/LDAPSourcePropertyMappingRequest.d.ts} +10 -10
- package/dist/esm/models/{LDAPPropertyMappingRequest.js → LDAPSourcePropertyMappingRequest.js} +6 -6
- package/dist/esm/models/ModelEnum.d.ts +2 -1
- package/dist/esm/models/ModelEnum.js +2 -1
- package/dist/esm/models/PaginatedLDAPSourcePropertyMappingList.d.ts +39 -0
- package/dist/esm/models/{PaginatedLDAPPropertyMappingList.js → PaginatedLDAPSourcePropertyMappingList.js} +9 -9
- package/dist/esm/models/PaginatedRadiusProviderPropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedRadiusProviderPropertyMappingList.js +48 -0
- package/dist/esm/models/PatchedLDAPSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/{PatchedLDAPPropertyMappingRequest.js → PatchedLDAPSourcePropertyMappingRequest.js} +6 -6
- 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 +9 -4
- package/dist/esm/models/index.js +9 -4
- package/dist/models/{LDAPPropertyMapping.d.ts → LDAPSourcePropertyMapping.d.ts} +15 -15
- package/dist/models/{LDAPPropertyMapping.js → LDAPSourcePropertyMapping.js} +11 -11
- package/dist/{esm/models/LDAPPropertyMappingRequest.d.ts → models/LDAPSourcePropertyMappingRequest.d.ts} +10 -10
- package/dist/models/{LDAPPropertyMappingRequest.js → LDAPSourcePropertyMappingRequest.js} +11 -11
- package/dist/models/ModelEnum.d.ts +2 -1
- package/dist/models/ModelEnum.js +2 -1
- package/dist/models/PaginatedLDAPSourcePropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedLDAPSourcePropertyMappingList.js +55 -0
- package/dist/models/PaginatedRadiusProviderPropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedRadiusProviderPropertyMappingList.js +55 -0
- package/dist/models/PatchedLDAPSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedLDAPSourcePropertyMappingRequest.js +54 -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 +9 -4
- package/dist/models/index.js +9 -4
- package/package.json +1 -1
- package/src/apis/OutpostsApi.ts +17 -102
- package/src/apis/PropertymappingsApi.ts +888 -533
- package/src/apis/RbacApi.ts +4 -2
- package/src/models/{LDAPPropertyMapping.ts → LDAPSourcePropertyMapping.ts} +16 -16
- package/src/models/{LDAPPropertyMappingRequest.ts → LDAPSourcePropertyMappingRequest.ts} +11 -11
- package/src/models/ModelEnum.ts +2 -1
- package/src/models/PaginatedLDAPSourcePropertyMappingList.ts +88 -0
- package/src/models/PaginatedRadiusProviderPropertyMappingList.ts +88 -0
- package/src/models/{PatchedLDAPPropertyMappingRequest.ts → PatchedLDAPSourcePropertyMappingRequest.ts} +11 -11
- 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 +9 -4
- package/dist/esm/models/PaginatedLDAPPropertyMappingList.d.ts +0 -39
- package/dist/esm/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -43
- package/dist/models/PaginatedLDAPPropertyMappingList.d.ts +0 -39
- package/dist/models/PaginatedLDAPPropertyMappingList.js +0 -55
- package/dist/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -43
- package/dist/models/PatchedLDAPPropertyMappingRequest.js +0 -54
- package/src/models/PaginatedLDAPPropertyMappingList.ts +0 -88
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.1
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* RadiusProviderPropertyMapping Serializer
|
14
|
+
* @export
|
15
|
+
* @interface RadiusProviderPropertyMappingRequest
|
16
|
+
*/
|
17
|
+
export interface RadiusProviderPropertyMappingRequest {
|
18
|
+
/**
|
19
|
+
* Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
20
|
+
* @type {string}
|
21
|
+
* @memberof RadiusProviderPropertyMappingRequest
|
22
|
+
*/
|
23
|
+
managed?: string | null;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof RadiusProviderPropertyMappingRequest
|
28
|
+
*/
|
29
|
+
name: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof RadiusProviderPropertyMappingRequest
|
34
|
+
*/
|
35
|
+
expression: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the RadiusProviderPropertyMappingRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfRadiusProviderPropertyMappingRequest(value: object): boolean;
|
41
|
+
export declare function RadiusProviderPropertyMappingRequestFromJSON(json: any): RadiusProviderPropertyMappingRequest;
|
42
|
+
export declare function RadiusProviderPropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RadiusProviderPropertyMappingRequest;
|
43
|
+
export declare function RadiusProviderPropertyMappingRequestToJSON(value?: RadiusProviderPropertyMappingRequest | null): any;
|
@@ -0,0 +1,56 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.6.1
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.RadiusProviderPropertyMappingRequestToJSON = exports.RadiusProviderPropertyMappingRequestFromJSONTyped = exports.RadiusProviderPropertyMappingRequestFromJSON = exports.instanceOfRadiusProviderPropertyMappingRequest = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the RadiusProviderPropertyMappingRequest interface.
|
20
|
+
*/
|
21
|
+
function instanceOfRadiusProviderPropertyMappingRequest(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
isInstance = isInstance && "name" in value;
|
24
|
+
isInstance = isInstance && "expression" in value;
|
25
|
+
return isInstance;
|
26
|
+
}
|
27
|
+
exports.instanceOfRadiusProviderPropertyMappingRequest = instanceOfRadiusProviderPropertyMappingRequest;
|
28
|
+
function RadiusProviderPropertyMappingRequestFromJSON(json) {
|
29
|
+
return RadiusProviderPropertyMappingRequestFromJSONTyped(json, false);
|
30
|
+
}
|
31
|
+
exports.RadiusProviderPropertyMappingRequestFromJSON = RadiusProviderPropertyMappingRequestFromJSON;
|
32
|
+
function RadiusProviderPropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
33
|
+
if ((json === undefined) || (json === null)) {
|
34
|
+
return json;
|
35
|
+
}
|
36
|
+
return {
|
37
|
+
'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
|
38
|
+
'name': json['name'],
|
39
|
+
'expression': json['expression'],
|
40
|
+
};
|
41
|
+
}
|
42
|
+
exports.RadiusProviderPropertyMappingRequestFromJSONTyped = RadiusProviderPropertyMappingRequestFromJSONTyped;
|
43
|
+
function RadiusProviderPropertyMappingRequestToJSON(value) {
|
44
|
+
if (value === undefined) {
|
45
|
+
return undefined;
|
46
|
+
}
|
47
|
+
if (value === null) {
|
48
|
+
return null;
|
49
|
+
}
|
50
|
+
return {
|
51
|
+
'managed': value.managed,
|
52
|
+
'name': value.name,
|
53
|
+
'expression': value.expression,
|
54
|
+
};
|
55
|
+
}
|
56
|
+
exports.RadiusProviderPropertyMappingRequestToJSON = RadiusProviderPropertyMappingRequestToJSON;
|
package/dist/models/index.d.ts
CHANGED
@@ -167,11 +167,11 @@ export * from './KubernetesServiceConnectionRequest';
|
|
167
167
|
export * from './LDAPAPIAccessMode';
|
168
168
|
export * from './LDAPDebug';
|
169
169
|
export * from './LDAPOutpostConfig';
|
170
|
-
export * from './LDAPPropertyMapping';
|
171
|
-
export * from './LDAPPropertyMappingRequest';
|
172
170
|
export * from './LDAPProvider';
|
173
171
|
export * from './LDAPProviderRequest';
|
174
172
|
export * from './LDAPSource';
|
173
|
+
export * from './LDAPSourcePropertyMapping';
|
174
|
+
export * from './LDAPSourcePropertyMappingRequest';
|
175
175
|
export * from './LDAPSourceRequest';
|
176
176
|
export * from './License';
|
177
177
|
export * from './LicenseForecast';
|
@@ -263,9 +263,9 @@ export * from './PaginatedInvitationList';
|
|
263
263
|
export * from './PaginatedInvitationStageList';
|
264
264
|
export * from './PaginatedKubernetesServiceConnectionList';
|
265
265
|
export * from './PaginatedLDAPOutpostConfigList';
|
266
|
-
export * from './PaginatedLDAPPropertyMappingList';
|
267
266
|
export * from './PaginatedLDAPProviderList';
|
268
267
|
export * from './PaginatedLDAPSourceList';
|
268
|
+
export * from './PaginatedLDAPSourcePropertyMappingList';
|
269
269
|
export * from './PaginatedLicenseList';
|
270
270
|
export * from './PaginatedMicrosoftEntraProviderGroupList';
|
271
271
|
export * from './PaginatedMicrosoftEntraProviderList';
|
@@ -296,6 +296,7 @@ export * from './PaginatedRACPropertyMappingList';
|
|
296
296
|
export * from './PaginatedRACProviderList';
|
297
297
|
export * from './PaginatedRadiusOutpostConfigList';
|
298
298
|
export * from './PaginatedRadiusProviderList';
|
299
|
+
export * from './PaginatedRadiusProviderPropertyMappingList';
|
299
300
|
export * from './PaginatedReputationList';
|
300
301
|
export * from './PaginatedReputationPolicyList';
|
301
302
|
export * from './PaginatedRoleAssignedObjectPermissionList';
|
@@ -376,8 +377,8 @@ export * from './PatchedIdentificationStageRequest';
|
|
376
377
|
export * from './PatchedInvitationRequest';
|
377
378
|
export * from './PatchedInvitationStageRequest';
|
378
379
|
export * from './PatchedKubernetesServiceConnectionRequest';
|
379
|
-
export * from './PatchedLDAPPropertyMappingRequest';
|
380
380
|
export * from './PatchedLDAPProviderRequest';
|
381
|
+
export * from './PatchedLDAPSourcePropertyMappingRequest';
|
381
382
|
export * from './PatchedLDAPSourceRequest';
|
382
383
|
export * from './PatchedLicenseRequest';
|
383
384
|
export * from './PatchedMicrosoftEntraProviderMappingRequest';
|
@@ -401,6 +402,7 @@ export * from './PatchedPromptStageRequest';
|
|
401
402
|
export * from './PatchedProxyProviderRequest';
|
402
403
|
export * from './PatchedRACPropertyMappingRequest';
|
403
404
|
export * from './PatchedRACProviderRequest';
|
405
|
+
export * from './PatchedRadiusProviderPropertyMappingRequest';
|
404
406
|
export * from './PatchedRadiusProviderRequest';
|
405
407
|
export * from './PatchedReputationPolicyRequest';
|
406
408
|
export * from './PatchedRoleRequest';
|
@@ -469,8 +471,11 @@ export * from './RACPropertyMapping';
|
|
469
471
|
export * from './RACPropertyMappingRequest';
|
470
472
|
export * from './RACProvider';
|
471
473
|
export * from './RACProviderRequest';
|
474
|
+
export * from './RadiusCheckAccess';
|
472
475
|
export * from './RadiusOutpostConfig';
|
473
476
|
export * from './RadiusProvider';
|
477
|
+
export * from './RadiusProviderPropertyMapping';
|
478
|
+
export * from './RadiusProviderPropertyMappingRequest';
|
474
479
|
export * from './RadiusProviderRequest';
|
475
480
|
export * from './RedirectChallenge';
|
476
481
|
export * from './Reputation';
|
package/dist/models/index.js
CHANGED
@@ -185,11 +185,11 @@ __exportStar(require("./KubernetesServiceConnectionRequest"), exports);
|
|
185
185
|
__exportStar(require("./LDAPAPIAccessMode"), exports);
|
186
186
|
__exportStar(require("./LDAPDebug"), exports);
|
187
187
|
__exportStar(require("./LDAPOutpostConfig"), exports);
|
188
|
-
__exportStar(require("./LDAPPropertyMapping"), exports);
|
189
|
-
__exportStar(require("./LDAPPropertyMappingRequest"), exports);
|
190
188
|
__exportStar(require("./LDAPProvider"), exports);
|
191
189
|
__exportStar(require("./LDAPProviderRequest"), exports);
|
192
190
|
__exportStar(require("./LDAPSource"), exports);
|
191
|
+
__exportStar(require("./LDAPSourcePropertyMapping"), exports);
|
192
|
+
__exportStar(require("./LDAPSourcePropertyMappingRequest"), exports);
|
193
193
|
__exportStar(require("./LDAPSourceRequest"), exports);
|
194
194
|
__exportStar(require("./License"), exports);
|
195
195
|
__exportStar(require("./LicenseForecast"), exports);
|
@@ -281,9 +281,9 @@ __exportStar(require("./PaginatedInvitationList"), exports);
|
|
281
281
|
__exportStar(require("./PaginatedInvitationStageList"), exports);
|
282
282
|
__exportStar(require("./PaginatedKubernetesServiceConnectionList"), exports);
|
283
283
|
__exportStar(require("./PaginatedLDAPOutpostConfigList"), exports);
|
284
|
-
__exportStar(require("./PaginatedLDAPPropertyMappingList"), exports);
|
285
284
|
__exportStar(require("./PaginatedLDAPProviderList"), exports);
|
286
285
|
__exportStar(require("./PaginatedLDAPSourceList"), exports);
|
286
|
+
__exportStar(require("./PaginatedLDAPSourcePropertyMappingList"), exports);
|
287
287
|
__exportStar(require("./PaginatedLicenseList"), exports);
|
288
288
|
__exportStar(require("./PaginatedMicrosoftEntraProviderGroupList"), exports);
|
289
289
|
__exportStar(require("./PaginatedMicrosoftEntraProviderList"), exports);
|
@@ -314,6 +314,7 @@ __exportStar(require("./PaginatedRACPropertyMappingList"), exports);
|
|
314
314
|
__exportStar(require("./PaginatedRACProviderList"), exports);
|
315
315
|
__exportStar(require("./PaginatedRadiusOutpostConfigList"), exports);
|
316
316
|
__exportStar(require("./PaginatedRadiusProviderList"), exports);
|
317
|
+
__exportStar(require("./PaginatedRadiusProviderPropertyMappingList"), exports);
|
317
318
|
__exportStar(require("./PaginatedReputationList"), exports);
|
318
319
|
__exportStar(require("./PaginatedReputationPolicyList"), exports);
|
319
320
|
__exportStar(require("./PaginatedRoleAssignedObjectPermissionList"), exports);
|
@@ -394,8 +395,8 @@ __exportStar(require("./PatchedIdentificationStageRequest"), exports);
|
|
394
395
|
__exportStar(require("./PatchedInvitationRequest"), exports);
|
395
396
|
__exportStar(require("./PatchedInvitationStageRequest"), exports);
|
396
397
|
__exportStar(require("./PatchedKubernetesServiceConnectionRequest"), exports);
|
397
|
-
__exportStar(require("./PatchedLDAPPropertyMappingRequest"), exports);
|
398
398
|
__exportStar(require("./PatchedLDAPProviderRequest"), exports);
|
399
|
+
__exportStar(require("./PatchedLDAPSourcePropertyMappingRequest"), exports);
|
399
400
|
__exportStar(require("./PatchedLDAPSourceRequest"), exports);
|
400
401
|
__exportStar(require("./PatchedLicenseRequest"), exports);
|
401
402
|
__exportStar(require("./PatchedMicrosoftEntraProviderMappingRequest"), exports);
|
@@ -419,6 +420,7 @@ __exportStar(require("./PatchedPromptStageRequest"), exports);
|
|
419
420
|
__exportStar(require("./PatchedProxyProviderRequest"), exports);
|
420
421
|
__exportStar(require("./PatchedRACPropertyMappingRequest"), exports);
|
421
422
|
__exportStar(require("./PatchedRACProviderRequest"), exports);
|
423
|
+
__exportStar(require("./PatchedRadiusProviderPropertyMappingRequest"), exports);
|
422
424
|
__exportStar(require("./PatchedRadiusProviderRequest"), exports);
|
423
425
|
__exportStar(require("./PatchedReputationPolicyRequest"), exports);
|
424
426
|
__exportStar(require("./PatchedRoleRequest"), exports);
|
@@ -487,8 +489,11 @@ __exportStar(require("./RACPropertyMapping"), exports);
|
|
487
489
|
__exportStar(require("./RACPropertyMappingRequest"), exports);
|
488
490
|
__exportStar(require("./RACProvider"), exports);
|
489
491
|
__exportStar(require("./RACProviderRequest"), exports);
|
492
|
+
__exportStar(require("./RadiusCheckAccess"), exports);
|
490
493
|
__exportStar(require("./RadiusOutpostConfig"), exports);
|
491
494
|
__exportStar(require("./RadiusProvider"), exports);
|
495
|
+
__exportStar(require("./RadiusProviderPropertyMapping"), exports);
|
496
|
+
__exportStar(require("./RadiusProviderPropertyMappingRequest"), exports);
|
492
497
|
__exportStar(require("./RadiusProviderRequest"), exports);
|
493
498
|
__exportStar(require("./RedirectChallenge"), exports);
|
494
499
|
__exportStar(require("./Reputation"), exports);
|
package/package.json
CHANGED
package/src/apis/OutpostsApi.ts
CHANGED
@@ -20,7 +20,6 @@ import type {
|
|
20
20
|
GenericError,
|
21
21
|
KubernetesServiceConnection,
|
22
22
|
KubernetesServiceConnectionRequest,
|
23
|
-
LDAPOutpostConfig,
|
24
23
|
Outpost,
|
25
24
|
OutpostDefaultConfig,
|
26
25
|
OutpostHealth,
|
@@ -35,8 +34,7 @@ import type {
|
|
35
34
|
PatchedDockerServiceConnectionRequest,
|
36
35
|
PatchedKubernetesServiceConnectionRequest,
|
37
36
|
PatchedOutpostRequest,
|
38
|
-
|
39
|
-
RadiusOutpostConfig,
|
37
|
+
RadiusCheckAccess,
|
40
38
|
ServiceConnection,
|
41
39
|
ServiceConnectionState,
|
42
40
|
TypeCreate,
|
@@ -54,8 +52,6 @@ import {
|
|
54
52
|
KubernetesServiceConnectionToJSON,
|
55
53
|
KubernetesServiceConnectionRequestFromJSON,
|
56
54
|
KubernetesServiceConnectionRequestToJSON,
|
57
|
-
LDAPOutpostConfigFromJSON,
|
58
|
-
LDAPOutpostConfigToJSON,
|
59
55
|
OutpostFromJSON,
|
60
56
|
OutpostToJSON,
|
61
57
|
OutpostDefaultConfigFromJSON,
|
@@ -84,10 +80,8 @@ import {
|
|
84
80
|
PatchedKubernetesServiceConnectionRequestToJSON,
|
85
81
|
PatchedOutpostRequestFromJSON,
|
86
82
|
PatchedOutpostRequestToJSON,
|
87
|
-
|
88
|
-
|
89
|
-
RadiusOutpostConfigFromJSON,
|
90
|
-
RadiusOutpostConfigToJSON,
|
83
|
+
RadiusCheckAccessFromJSON,
|
84
|
+
RadiusCheckAccessToJSON,
|
91
85
|
ServiceConnectionFromJSON,
|
92
86
|
ServiceConnectionToJSON,
|
93
87
|
ServiceConnectionStateFromJSON,
|
@@ -163,10 +157,6 @@ export interface OutpostsLdapListRequest {
|
|
163
157
|
search?: string;
|
164
158
|
}
|
165
159
|
|
166
|
-
export interface OutpostsLdapRetrieveRequest {
|
167
|
-
id: number;
|
168
|
-
}
|
169
|
-
|
170
160
|
export interface OutpostsProxyListRequest {
|
171
161
|
name?: string;
|
172
162
|
ordering?: string;
|
@@ -175,8 +165,9 @@ export interface OutpostsProxyListRequest {
|
|
175
165
|
search?: string;
|
176
166
|
}
|
177
167
|
|
178
|
-
export interface
|
168
|
+
export interface OutpostsRadiusCheckAccessRetrieveRequest {
|
179
169
|
id: number;
|
170
|
+
appSlug?: string;
|
180
171
|
}
|
181
172
|
|
182
173
|
export interface OutpostsRadiusListRequest {
|
@@ -187,10 +178,6 @@ export interface OutpostsRadiusListRequest {
|
|
187
178
|
search?: string;
|
188
179
|
}
|
189
180
|
|
190
|
-
export interface OutpostsRadiusRetrieveRequest {
|
191
|
-
id: number;
|
192
|
-
}
|
193
|
-
|
194
181
|
export interface OutpostsServiceConnectionsAllDestroyRequest {
|
195
182
|
uuid: string;
|
196
183
|
}
|
@@ -781,44 +768,6 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
781
768
|
return await response.value();
|
782
769
|
}
|
783
770
|
|
784
|
-
/**
|
785
|
-
* LDAPProvider Viewset
|
786
|
-
*/
|
787
|
-
async outpostsLdapRetrieveRaw(requestParameters: OutpostsLdapRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LDAPOutpostConfig>> {
|
788
|
-
if (requestParameters.id === null || requestParameters.id === undefined) {
|
789
|
-
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling outpostsLdapRetrieve.');
|
790
|
-
}
|
791
|
-
|
792
|
-
const queryParameters: any = {};
|
793
|
-
|
794
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
795
|
-
|
796
|
-
if (this.configuration && this.configuration.accessToken) {
|
797
|
-
const token = this.configuration.accessToken;
|
798
|
-
const tokenString = await token("authentik", []);
|
799
|
-
|
800
|
-
if (tokenString) {
|
801
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
802
|
-
}
|
803
|
-
}
|
804
|
-
const response = await this.request({
|
805
|
-
path: `/outposts/ldap/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
806
|
-
method: 'GET',
|
807
|
-
headers: headerParameters,
|
808
|
-
query: queryParameters,
|
809
|
-
}, initOverrides);
|
810
|
-
|
811
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => LDAPOutpostConfigFromJSON(jsonValue));
|
812
|
-
}
|
813
|
-
|
814
|
-
/**
|
815
|
-
* LDAPProvider Viewset
|
816
|
-
*/
|
817
|
-
async outpostsLdapRetrieve(requestParameters: OutpostsLdapRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LDAPOutpostConfig> {
|
818
|
-
const response = await this.outpostsLdapRetrieveRaw(requestParameters, initOverrides);
|
819
|
-
return await response.value();
|
820
|
-
}
|
821
|
-
|
822
771
|
/**
|
823
772
|
* ProxyProvider Viewset
|
824
773
|
*/
|
@@ -874,15 +823,19 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
874
823
|
}
|
875
824
|
|
876
825
|
/**
|
877
|
-
*
|
826
|
+
* Check access to a single application by slug
|
878
827
|
*/
|
879
|
-
async
|
828
|
+
async outpostsRadiusCheckAccessRetrieveRaw(requestParameters: OutpostsRadiusCheckAccessRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RadiusCheckAccess>> {
|
880
829
|
if (requestParameters.id === null || requestParameters.id === undefined) {
|
881
|
-
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling
|
830
|
+
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling outpostsRadiusCheckAccessRetrieve.');
|
882
831
|
}
|
883
832
|
|
884
833
|
const queryParameters: any = {};
|
885
834
|
|
835
|
+
if (requestParameters.appSlug !== undefined) {
|
836
|
+
queryParameters['app_slug'] = requestParameters.appSlug;
|
837
|
+
}
|
838
|
+
|
886
839
|
const headerParameters: runtime.HTTPHeaders = {};
|
887
840
|
|
888
841
|
if (this.configuration && this.configuration.accessToken) {
|
@@ -894,20 +847,20 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
894
847
|
}
|
895
848
|
}
|
896
849
|
const response = await this.request({
|
897
|
-
path: `/outposts/
|
850
|
+
path: `/outposts/radius/{id}/check_access/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
898
851
|
method: 'GET',
|
899
852
|
headers: headerParameters,
|
900
853
|
query: queryParameters,
|
901
854
|
}, initOverrides);
|
902
855
|
|
903
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
856
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RadiusCheckAccessFromJSON(jsonValue));
|
904
857
|
}
|
905
858
|
|
906
859
|
/**
|
907
|
-
*
|
860
|
+
* Check access to a single application by slug
|
908
861
|
*/
|
909
|
-
async
|
910
|
-
const response = await this.
|
862
|
+
async outpostsRadiusCheckAccessRetrieve(requestParameters: OutpostsRadiusCheckAccessRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RadiusCheckAccess> {
|
863
|
+
const response = await this.outpostsRadiusCheckAccessRetrieveRaw(requestParameters, initOverrides);
|
911
864
|
return await response.value();
|
912
865
|
}
|
913
866
|
|
@@ -965,44 +918,6 @@ export class OutpostsApi extends runtime.BaseAPI {
|
|
965
918
|
return await response.value();
|
966
919
|
}
|
967
920
|
|
968
|
-
/**
|
969
|
-
* RadiusProvider Viewset
|
970
|
-
*/
|
971
|
-
async outpostsRadiusRetrieveRaw(requestParameters: OutpostsRadiusRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RadiusOutpostConfig>> {
|
972
|
-
if (requestParameters.id === null || requestParameters.id === undefined) {
|
973
|
-
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling outpostsRadiusRetrieve.');
|
974
|
-
}
|
975
|
-
|
976
|
-
const queryParameters: any = {};
|
977
|
-
|
978
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
979
|
-
|
980
|
-
if (this.configuration && this.configuration.accessToken) {
|
981
|
-
const token = this.configuration.accessToken;
|
982
|
-
const tokenString = await token("authentik", []);
|
983
|
-
|
984
|
-
if (tokenString) {
|
985
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
986
|
-
}
|
987
|
-
}
|
988
|
-
const response = await this.request({
|
989
|
-
path: `/outposts/radius/{id}/`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
990
|
-
method: 'GET',
|
991
|
-
headers: headerParameters,
|
992
|
-
query: queryParameters,
|
993
|
-
}, initOverrides);
|
994
|
-
|
995
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => RadiusOutpostConfigFromJSON(jsonValue));
|
996
|
-
}
|
997
|
-
|
998
|
-
/**
|
999
|
-
* RadiusProvider Viewset
|
1000
|
-
*/
|
1001
|
-
async outpostsRadiusRetrieve(requestParameters: OutpostsRadiusRetrieveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RadiusOutpostConfig> {
|
1002
|
-
const response = await this.outpostsRadiusRetrieveRaw(requestParameters, initOverrides);
|
1003
|
-
return await response.value();
|
1004
|
-
}
|
1005
|
-
|
1006
921
|
/**
|
1007
922
|
* ServiceConnection Viewset
|
1008
923
|
*/
|