@goauthentik/api 2024.8.3-1729167001 → 2024.8.3-1729699127
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 +25 -0
- package/dist/apis/AuthenticatorsApi.d.ts +110 -1
- package/dist/apis/AuthenticatorsApi.js +347 -0
- package/dist/apis/PropertymappingsApi.d.ts +86 -1
- package/dist/apis/PropertymappingsApi.js +271 -0
- package/dist/apis/RbacApi.d.ts +10 -0
- package/dist/apis/RbacApi.js +10 -0
- package/dist/apis/SourcesApi.d.ts +257 -1
- package/dist/apis/SourcesApi.js +841 -28
- package/dist/apis/StagesApi.d.ts +85 -1
- package/dist/apis/StagesApi.js +268 -0
- package/dist/esm/apis/AuthenticatorsApi.d.ts +110 -1
- package/dist/esm/apis/AuthenticatorsApi.js +348 -1
- package/dist/esm/apis/PropertymappingsApi.d.ts +86 -1
- package/dist/esm/apis/PropertymappingsApi.js +272 -1
- package/dist/esm/apis/RbacApi.d.ts +10 -0
- package/dist/esm/apis/RbacApi.js +10 -0
- package/dist/esm/apis/SourcesApi.d.ts +257 -1
- package/dist/esm/apis/SourcesApi.js +842 -29
- package/dist/esm/apis/StagesApi.d.ts +85 -1
- package/dist/esm/apis/StagesApi.js +269 -1
- package/dist/esm/models/AppEnum.d.ts +2 -0
- package/dist/esm/models/AppEnum.js +2 -0
- package/dist/esm/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
- package/dist/esm/models/AuthenticatorEndpointGDTCStage.js +64 -0
- package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
- package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.js +54 -0
- package/dist/esm/models/BackendsEnum.d.ts +1 -0
- package/dist/esm/models/BackendsEnum.js +1 -0
- package/dist/esm/models/ChallengeTypes.d.ts +3 -0
- package/dist/esm/models/ChallengeTypes.js +5 -0
- package/dist/esm/models/Device.d.ts +2 -2
- package/dist/esm/models/EndpointDevice.d.ts +37 -0
- package/dist/esm/models/EndpointDevice.js +46 -0
- package/dist/esm/models/EndpointDeviceRequest.d.ts +37 -0
- package/dist/esm/models/EndpointDeviceRequest.js +46 -0
- package/dist/esm/models/FlowChallengeResponseRequest.d.ts +4 -1
- package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
- package/dist/esm/models/FrameChallenge.d.ts +65 -0
- package/dist/esm/models/FrameChallenge.js +56 -0
- package/dist/esm/models/FrameChallengeResponseRequest.d.ts +31 -0
- package/dist/esm/models/FrameChallengeResponseRequest.js +43 -0
- package/dist/esm/models/GroupKerberosSourceConnection.d.ts +56 -0
- package/dist/esm/models/GroupKerberosSourceConnection.js +50 -0
- package/dist/esm/models/KerberosSource.d.ts +198 -0
- package/dist/esm/models/KerberosSource.js +103 -0
- package/dist/esm/models/KerberosSourcePropertyMapping.d.ts +73 -0
- package/dist/esm/models/KerberosSourcePropertyMapping.js +59 -0
- package/dist/esm/models/KerberosSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/KerberosSourcePropertyMappingRequest.js +49 -0
- package/dist/esm/models/KerberosSourceRequest.d.ts +166 -0
- package/dist/esm/models/KerberosSourceRequest.js +93 -0
- package/dist/esm/models/KerberosSyncStatus.d.ts +38 -0
- package/dist/esm/models/KerberosSyncStatus.js +44 -0
- package/dist/esm/models/ModelEnum.d.ts +5 -0
- package/dist/esm/models/ModelEnum.js +5 -0
- package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
- package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.js +48 -0
- package/dist/esm/models/PaginatedEndpointDeviceList.d.ts +39 -0
- package/dist/esm/models/PaginatedEndpointDeviceList.js +48 -0
- package/dist/esm/models/PaginatedGroupKerberosSourceConnectionList.d.ts +39 -0
- package/dist/esm/models/PaginatedGroupKerberosSourceConnectionList.js +48 -0
- package/dist/esm/models/PaginatedKerberosSourceList.d.ts +39 -0
- package/dist/esm/models/PaginatedKerberosSourceList.js +48 -0
- package/dist/esm/models/PaginatedKerberosSourcePropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedKerberosSourcePropertyMappingList.js +48 -0
- package/dist/esm/models/PaginatedUserKerberosSourceConnectionList.d.ts +39 -0
- package/dist/esm/models/PaginatedUserKerberosSourceConnectionList.js +48 -0
- package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
- package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +52 -0
- package/dist/esm/models/PatchedEndpointDeviceRequest.d.ts +37 -0
- package/dist/esm/models/PatchedEndpointDeviceRequest.js +45 -0
- package/dist/esm/models/PatchedKerberosSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/PatchedKerberosSourcePropertyMappingRequest.js +47 -0
- package/dist/esm/models/PatchedKerberosSourceRequest.d.ts +166 -0
- package/dist/esm/models/PatchedKerberosSourceRequest.js +90 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.js +45 -0
- package/dist/esm/models/UserKerberosSourceConnection.d.ts +56 -0
- package/dist/esm/models/UserKerberosSourceConnection.js +53 -0
- package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/UserKerberosSourceConnectionRequest.js +46 -0
- package/dist/esm/models/index.d.ts +25 -0
- package/dist/esm/models/index.js +25 -0
- package/dist/models/AppEnum.d.ts +2 -0
- package/dist/models/AppEnum.js +2 -0
- package/dist/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
- package/dist/models/AuthenticatorEndpointGDTCStage.js +71 -0
- package/dist/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
- package/dist/models/AuthenticatorEndpointGDTCStageRequest.js +61 -0
- package/dist/models/BackendsEnum.d.ts +1 -0
- package/dist/models/BackendsEnum.js +1 -0
- package/dist/models/ChallengeTypes.d.ts +3 -0
- package/dist/models/ChallengeTypes.js +5 -0
- package/dist/models/Device.d.ts +2 -2
- package/dist/models/EndpointDevice.d.ts +37 -0
- package/dist/models/EndpointDevice.js +53 -0
- package/dist/models/EndpointDeviceRequest.d.ts +37 -0
- package/dist/models/EndpointDeviceRequest.js +53 -0
- package/dist/models/FlowChallengeResponseRequest.d.ts +4 -1
- package/dist/models/FlowChallengeResponseRequest.js +5 -0
- package/dist/models/FrameChallenge.d.ts +65 -0
- package/dist/models/FrameChallenge.js +63 -0
- package/dist/models/FrameChallengeResponseRequest.d.ts +31 -0
- package/dist/models/FrameChallengeResponseRequest.js +50 -0
- package/dist/models/GroupKerberosSourceConnection.d.ts +56 -0
- package/dist/models/GroupKerberosSourceConnection.js +57 -0
- package/dist/models/KerberosSource.d.ts +198 -0
- package/dist/models/KerberosSource.js +110 -0
- package/dist/models/KerberosSourcePropertyMapping.d.ts +73 -0
- package/dist/models/KerberosSourcePropertyMapping.js +66 -0
- package/dist/models/KerberosSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/KerberosSourcePropertyMappingRequest.js +56 -0
- package/dist/models/KerberosSourceRequest.d.ts +166 -0
- package/dist/models/KerberosSourceRequest.js +100 -0
- package/dist/models/KerberosSyncStatus.d.ts +38 -0
- package/dist/models/KerberosSyncStatus.js +51 -0
- package/dist/models/ModelEnum.d.ts +5 -0
- package/dist/models/ModelEnum.js +5 -0
- package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
- package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.js +55 -0
- package/dist/models/PaginatedEndpointDeviceList.d.ts +39 -0
- package/dist/models/PaginatedEndpointDeviceList.js +55 -0
- package/dist/models/PaginatedGroupKerberosSourceConnectionList.d.ts +39 -0
- package/dist/models/PaginatedGroupKerberosSourceConnectionList.js +55 -0
- package/dist/models/PaginatedKerberosSourceList.d.ts +39 -0
- package/dist/models/PaginatedKerberosSourceList.js +55 -0
- package/dist/models/PaginatedKerberosSourcePropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedKerberosSourcePropertyMappingList.js +55 -0
- package/dist/models/PaginatedUserKerberosSourceConnectionList.d.ts +39 -0
- package/dist/models/PaginatedUserKerberosSourceConnectionList.js +55 -0
- package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
- package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +59 -0
- package/dist/models/PatchedEndpointDeviceRequest.d.ts +37 -0
- package/dist/models/PatchedEndpointDeviceRequest.js +52 -0
- package/dist/models/PatchedKerberosSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedKerberosSourcePropertyMappingRequest.js +54 -0
- package/dist/models/PatchedKerberosSourceRequest.d.ts +166 -0
- package/dist/models/PatchedKerberosSourceRequest.js +97 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +37 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.js +52 -0
- package/dist/models/UserKerberosSourceConnection.d.ts +56 -0
- package/dist/models/UserKerberosSourceConnection.js +60 -0
- package/dist/models/UserKerberosSourceConnectionRequest.d.ts +37 -0
- package/dist/models/UserKerberosSourceConnectionRequest.js +53 -0
- package/dist/models/index.d.ts +25 -0
- package/dist/models/index.js +25 -0
- package/package.json +1 -1
- package/src/apis/AuthenticatorsApi.ts +444 -0
- package/src/apis/PropertymappingsApi.ts +350 -0
- package/src/apis/RbacApi.ts +10 -0
- package/src/apis/SourcesApi.ts +1200 -153
- package/src/apis/StagesApi.ts +345 -0
- package/src/models/AppEnum.ts +2 -0
- package/src/models/AuthenticatorEndpointGDTCStage.ts +146 -0
- package/src/models/AuthenticatorEndpointGDTCStageRequest.ts +106 -0
- package/src/models/BackendsEnum.ts +1 -0
- package/src/models/ChallengeTypes.ts +12 -1
- package/src/models/Device.ts +2 -2
- package/src/models/EndpointDevice.ts +74 -0
- package/src/models/EndpointDeviceRequest.ts +74 -0
- package/src/models/FlowChallengeResponseRequest.ts +12 -1
- package/src/models/FrameChallenge.ts +120 -0
- package/src/models/FrameChallengeResponseRequest.ts +65 -0
- package/src/models/GroupKerberosSourceConnection.ts +104 -0
- package/src/models/KerberosSource.ts +303 -0
- package/src/models/KerberosSourcePropertyMapping.ts +123 -0
- package/src/models/KerberosSourcePropertyMappingRequest.ts +83 -0
- package/src/models/KerberosSourceRequest.ts +263 -0
- package/src/models/KerberosSyncStatus.ts +80 -0
- package/src/models/ModelEnum.ts +5 -0
- package/src/models/PaginatedAuthenticatorEndpointGDTCStageList.ts +88 -0
- package/src/models/PaginatedEndpointDeviceList.ts +88 -0
- package/src/models/PaginatedGroupKerberosSourceConnectionList.ts +88 -0
- package/src/models/PaginatedKerberosSourceList.ts +88 -0
- package/src/models/PaginatedKerberosSourcePropertyMappingList.ts +88 -0
- package/src/models/PaginatedUserKerberosSourceConnectionList.ts +88 -0
- package/src/models/PatchedAuthenticatorEndpointGDTCStageRequest.ts +104 -0
- package/src/models/PatchedEndpointDeviceRequest.ts +73 -0
- package/src/models/PatchedKerberosSourcePropertyMappingRequest.ts +81 -0
- package/src/models/PatchedKerberosSourceRequest.ts +260 -0
- package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +73 -0
- package/src/models/UserKerberosSourceConnection.ts +106 -0
- package/src/models/UserKerberosSourceConnectionRequest.ts +75 -0
- package/src/models/index.ts +25 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.8.3
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
15
|
+
import { GroupMatchingModeEnumFromJSON, GroupMatchingModeEnumToJSON, } from './GroupMatchingModeEnum';
|
|
16
|
+
import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
|
|
17
|
+
import { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the KerberosSourceRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfKerberosSourceRequest(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "slug" in value;
|
|
25
|
+
isInstance = isInstance && "realm" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
export function KerberosSourceRequestFromJSON(json) {
|
|
29
|
+
return KerberosSourceRequestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function KerberosSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'name': json['name'],
|
|
37
|
+
'slug': json['slug'],
|
|
38
|
+
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
39
|
+
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
40
|
+
'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
41
|
+
'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
42
|
+
'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
43
|
+
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
44
|
+
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
45
|
+
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
46
|
+
'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
|
47
|
+
'realm': json['realm'],
|
|
48
|
+
'krb5Conf': !exists(json, 'krb5_conf') ? undefined : json['krb5_conf'],
|
|
49
|
+
'syncUsers': !exists(json, 'sync_users') ? undefined : json['sync_users'],
|
|
50
|
+
'syncUsersPassword': !exists(json, 'sync_users_password') ? undefined : json['sync_users_password'],
|
|
51
|
+
'syncPrincipal': !exists(json, 'sync_principal') ? undefined : json['sync_principal'],
|
|
52
|
+
'syncPassword': !exists(json, 'sync_password') ? undefined : json['sync_password'],
|
|
53
|
+
'syncKeytab': !exists(json, 'sync_keytab') ? undefined : json['sync_keytab'],
|
|
54
|
+
'syncCcache': !exists(json, 'sync_ccache') ? undefined : json['sync_ccache'],
|
|
55
|
+
'spnegoServerName': !exists(json, 'spnego_server_name') ? undefined : json['spnego_server_name'],
|
|
56
|
+
'spnegoKeytab': !exists(json, 'spnego_keytab') ? undefined : json['spnego_keytab'],
|
|
57
|
+
'spnegoCcache': !exists(json, 'spnego_ccache') ? undefined : json['spnego_ccache'],
|
|
58
|
+
'passwordLoginUpdateInternalPassword': !exists(json, 'password_login_update_internal_password') ? undefined : json['password_login_update_internal_password'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
export function KerberosSourceRequestToJSON(value) {
|
|
62
|
+
if (value === undefined) {
|
|
63
|
+
return undefined;
|
|
64
|
+
}
|
|
65
|
+
if (value === null) {
|
|
66
|
+
return null;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'name': value.name,
|
|
70
|
+
'slug': value.slug,
|
|
71
|
+
'enabled': value.enabled,
|
|
72
|
+
'authentication_flow': value.authenticationFlow,
|
|
73
|
+
'enrollment_flow': value.enrollmentFlow,
|
|
74
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
75
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
76
|
+
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
77
|
+
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
|
78
|
+
'user_path_template': value.userPathTemplate,
|
|
79
|
+
'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
|
|
80
|
+
'realm': value.realm,
|
|
81
|
+
'krb5_conf': value.krb5Conf,
|
|
82
|
+
'sync_users': value.syncUsers,
|
|
83
|
+
'sync_users_password': value.syncUsersPassword,
|
|
84
|
+
'sync_principal': value.syncPrincipal,
|
|
85
|
+
'sync_password': value.syncPassword,
|
|
86
|
+
'sync_keytab': value.syncKeytab,
|
|
87
|
+
'sync_ccache': value.syncCcache,
|
|
88
|
+
'spnego_server_name': value.spnegoServerName,
|
|
89
|
+
'spnego_keytab': value.spnegoKeytab,
|
|
90
|
+
'spnego_ccache': value.spnegoCcache,
|
|
91
|
+
'password_login_update_internal_password': value.passwordLoginUpdateInternalPassword,
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.8.3
|
|
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
|
+
import type { SystemTask } from './SystemTask';
|
|
13
|
+
/**
|
|
14
|
+
* Kerberos Source sync status
|
|
15
|
+
* @export
|
|
16
|
+
* @interface KerberosSyncStatus
|
|
17
|
+
*/
|
|
18
|
+
export interface KerberosSyncStatus {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof KerberosSyncStatus
|
|
23
|
+
*/
|
|
24
|
+
readonly isRunning: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<SystemTask>}
|
|
28
|
+
* @memberof KerberosSyncStatus
|
|
29
|
+
*/
|
|
30
|
+
readonly tasks: Array<SystemTask>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the KerberosSyncStatus interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfKerberosSyncStatus(value: object): boolean;
|
|
36
|
+
export declare function KerberosSyncStatusFromJSON(json: any): KerberosSyncStatus;
|
|
37
|
+
export declare function KerberosSyncStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): KerberosSyncStatus;
|
|
38
|
+
export declare function KerberosSyncStatusToJSON(value?: KerberosSyncStatus | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.8.3
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { SystemTaskFromJSON, } from './SystemTask';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the KerberosSyncStatus interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfKerberosSyncStatus(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "isRunning" in value;
|
|
21
|
+
isInstance = isInstance && "tasks" in value;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
export function KerberosSyncStatusFromJSON(json) {
|
|
25
|
+
return KerberosSyncStatusFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function KerberosSyncStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if ((json === undefined) || (json === null)) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'isRunning': json['is_running'],
|
|
33
|
+
'tasks': (json['tasks'].map(SystemTaskFromJSON)),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function KerberosSyncStatusToJSON(value) {
|
|
37
|
+
if (value === undefined) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
if (value === null) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return {};
|
|
44
|
+
}
|
|
@@ -40,6 +40,10 @@ export declare const ModelEnum: {
|
|
|
40
40
|
readonly ProvidersScimScimprovider: "authentik_providers_scim.scimprovider";
|
|
41
41
|
readonly ProvidersScimScimmapping: "authentik_providers_scim.scimmapping";
|
|
42
42
|
readonly RbacRole: "authentik_rbac.role";
|
|
43
|
+
readonly SourcesKerberosKerberossource: "authentik_sources_kerberos.kerberossource";
|
|
44
|
+
readonly SourcesKerberosKerberossourcepropertymapping: "authentik_sources_kerberos.kerberossourcepropertymapping";
|
|
45
|
+
readonly SourcesKerberosUserkerberossourceconnection: "authentik_sources_kerberos.userkerberossourceconnection";
|
|
46
|
+
readonly SourcesKerberosGroupkerberossourceconnection: "authentik_sources_kerberos.groupkerberossourceconnection";
|
|
43
47
|
readonly SourcesLdapLdapsource: "authentik_sources_ldap.ldapsource";
|
|
44
48
|
readonly SourcesLdapLdapsourcepropertymapping: "authentik_sources_ldap.ldapsourcepropertymapping";
|
|
45
49
|
readonly SourcesOauthOauthsource: "authentik_sources_oauth.oauthsource";
|
|
@@ -97,6 +101,7 @@ export declare const ModelEnum: {
|
|
|
97
101
|
readonly ProvidersRacRacprovider: "authentik_providers_rac.racprovider";
|
|
98
102
|
readonly ProvidersRacEndpoint: "authentik_providers_rac.endpoint";
|
|
99
103
|
readonly ProvidersRacRacpropertymapping: "authentik_providers_rac.racpropertymapping";
|
|
104
|
+
readonly StagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: "authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage";
|
|
100
105
|
readonly StagesSourceSourcestage: "authentik_stages_source.sourcestage";
|
|
101
106
|
readonly EventsEvent: "authentik_events.event";
|
|
102
107
|
readonly EventsNotificationtransport: "authentik_events.notificationtransport";
|
|
@@ -42,6 +42,10 @@ export const ModelEnum = {
|
|
|
42
42
|
ProvidersScimScimprovider: 'authentik_providers_scim.scimprovider',
|
|
43
43
|
ProvidersScimScimmapping: 'authentik_providers_scim.scimmapping',
|
|
44
44
|
RbacRole: 'authentik_rbac.role',
|
|
45
|
+
SourcesKerberosKerberossource: 'authentik_sources_kerberos.kerberossource',
|
|
46
|
+
SourcesKerberosKerberossourcepropertymapping: 'authentik_sources_kerberos.kerberossourcepropertymapping',
|
|
47
|
+
SourcesKerberosUserkerberossourceconnection: 'authentik_sources_kerberos.userkerberossourceconnection',
|
|
48
|
+
SourcesKerberosGroupkerberossourceconnection: 'authentik_sources_kerberos.groupkerberossourceconnection',
|
|
45
49
|
SourcesLdapLdapsource: 'authentik_sources_ldap.ldapsource',
|
|
46
50
|
SourcesLdapLdapsourcepropertymapping: 'authentik_sources_ldap.ldapsourcepropertymapping',
|
|
47
51
|
SourcesOauthOauthsource: 'authentik_sources_oauth.oauthsource',
|
|
@@ -99,6 +103,7 @@ export const ModelEnum = {
|
|
|
99
103
|
ProvidersRacRacprovider: 'authentik_providers_rac.racprovider',
|
|
100
104
|
ProvidersRacEndpoint: 'authentik_providers_rac.endpoint',
|
|
101
105
|
ProvidersRacRacpropertymapping: 'authentik_providers_rac.racpropertymapping',
|
|
106
|
+
StagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: 'authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage',
|
|
102
107
|
StagesSourceSourcestage: 'authentik_stages_source.sourcestage',
|
|
103
108
|
EventsEvent: 'authentik_events.event',
|
|
104
109
|
EventsNotificationtransport: 'authentik_events.notificationtransport',
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.8.3
|
|
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
|
+
import type { AuthenticatorEndpointGDTCStage } from './AuthenticatorEndpointGDTCStage';
|
|
13
|
+
import type { Pagination } from './Pagination';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedAuthenticatorEndpointGDTCStageList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedAuthenticatorEndpointGDTCStageList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedAuthenticatorEndpointGDTCStageList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<AuthenticatorEndpointGDTCStage>}
|
|
29
|
+
* @memberof PaginatedAuthenticatorEndpointGDTCStageList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<AuthenticatorEndpointGDTCStage>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedAuthenticatorEndpointGDTCStageList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedAuthenticatorEndpointGDTCStageList(value: object): boolean;
|
|
37
|
+
export declare function PaginatedAuthenticatorEndpointGDTCStageListFromJSON(json: any): PaginatedAuthenticatorEndpointGDTCStageList;
|
|
38
|
+
export declare function PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedAuthenticatorEndpointGDTCStageList;
|
|
39
|
+
export declare function PaginatedAuthenticatorEndpointGDTCStageListToJSON(value?: PaginatedAuthenticatorEndpointGDTCStageList | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.8.3
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { AuthenticatorEndpointGDTCStageFromJSON, AuthenticatorEndpointGDTCStageToJSON, } from './AuthenticatorEndpointGDTCStage';
|
|
15
|
+
import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PaginatedAuthenticatorEndpointGDTCStageList interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPaginatedAuthenticatorEndpointGDTCStageList(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
|
22
|
+
isInstance = isInstance && "results" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
export function PaginatedAuthenticatorEndpointGDTCStageListFromJSON(json) {
|
|
26
|
+
return PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
34
|
+
'results': (json['results'].map(AuthenticatorEndpointGDTCStageFromJSON)),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function PaginatedAuthenticatorEndpointGDTCStageListToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'pagination': PaginationToJSON(value.pagination),
|
|
46
|
+
'results': (value.results.map(AuthenticatorEndpointGDTCStageToJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.8.3
|
|
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
|
+
import type { EndpointDevice } from './EndpointDevice';
|
|
13
|
+
import type { Pagination } from './Pagination';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedEndpointDeviceList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedEndpointDeviceList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedEndpointDeviceList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<EndpointDevice>}
|
|
29
|
+
* @memberof PaginatedEndpointDeviceList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<EndpointDevice>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedEndpointDeviceList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedEndpointDeviceList(value: object): boolean;
|
|
37
|
+
export declare function PaginatedEndpointDeviceListFromJSON(json: any): PaginatedEndpointDeviceList;
|
|
38
|
+
export declare function PaginatedEndpointDeviceListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedEndpointDeviceList;
|
|
39
|
+
export declare function PaginatedEndpointDeviceListToJSON(value?: PaginatedEndpointDeviceList | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.8.3
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { EndpointDeviceFromJSON, EndpointDeviceToJSON, } from './EndpointDevice';
|
|
15
|
+
import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PaginatedEndpointDeviceList interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPaginatedEndpointDeviceList(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
|
22
|
+
isInstance = isInstance && "results" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
export function PaginatedEndpointDeviceListFromJSON(json) {
|
|
26
|
+
return PaginatedEndpointDeviceListFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function PaginatedEndpointDeviceListFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
34
|
+
'results': (json['results'].map(EndpointDeviceFromJSON)),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function PaginatedEndpointDeviceListToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'pagination': PaginationToJSON(value.pagination),
|
|
46
|
+
'results': (value.results.map(EndpointDeviceToJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.8.3
|
|
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
|
+
import type { GroupKerberosSourceConnection } from './GroupKerberosSourceConnection';
|
|
13
|
+
import type { Pagination } from './Pagination';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedGroupKerberosSourceConnectionList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedGroupKerberosSourceConnectionList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedGroupKerberosSourceConnectionList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<GroupKerberosSourceConnection>}
|
|
29
|
+
* @memberof PaginatedGroupKerberosSourceConnectionList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<GroupKerberosSourceConnection>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedGroupKerberosSourceConnectionList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedGroupKerberosSourceConnectionList(value: object): boolean;
|
|
37
|
+
export declare function PaginatedGroupKerberosSourceConnectionListFromJSON(json: any): PaginatedGroupKerberosSourceConnectionList;
|
|
38
|
+
export declare function PaginatedGroupKerberosSourceConnectionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGroupKerberosSourceConnectionList;
|
|
39
|
+
export declare function PaginatedGroupKerberosSourceConnectionListToJSON(value?: PaginatedGroupKerberosSourceConnectionList | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.8.3
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { GroupKerberosSourceConnectionFromJSON, GroupKerberosSourceConnectionToJSON, } from './GroupKerberosSourceConnection';
|
|
15
|
+
import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PaginatedGroupKerberosSourceConnectionList interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPaginatedGroupKerberosSourceConnectionList(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
|
22
|
+
isInstance = isInstance && "results" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
export function PaginatedGroupKerberosSourceConnectionListFromJSON(json) {
|
|
26
|
+
return PaginatedGroupKerberosSourceConnectionListFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function PaginatedGroupKerberosSourceConnectionListFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
34
|
+
'results': (json['results'].map(GroupKerberosSourceConnectionFromJSON)),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function PaginatedGroupKerberosSourceConnectionListToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'pagination': PaginationToJSON(value.pagination),
|
|
46
|
+
'results': (value.results.map(GroupKerberosSourceConnectionToJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.8.3
|
|
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
|
+
import type { KerberosSource } from './KerberosSource';
|
|
13
|
+
import type { Pagination } from './Pagination';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedKerberosSourceList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedKerberosSourceList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedKerberosSourceList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<KerberosSource>}
|
|
29
|
+
* @memberof PaginatedKerberosSourceList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<KerberosSource>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedKerberosSourceList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedKerberosSourceList(value: object): boolean;
|
|
37
|
+
export declare function PaginatedKerberosSourceListFromJSON(json: any): PaginatedKerberosSourceList;
|
|
38
|
+
export declare function PaginatedKerberosSourceListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedKerberosSourceList;
|
|
39
|
+
export declare function PaginatedKerberosSourceListToJSON(value?: PaginatedKerberosSourceList | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.8.3
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { KerberosSourceFromJSON, KerberosSourceToJSON, } from './KerberosSource';
|
|
15
|
+
import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PaginatedKerberosSourceList interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPaginatedKerberosSourceList(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
|
22
|
+
isInstance = isInstance && "results" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
export function PaginatedKerberosSourceListFromJSON(json) {
|
|
26
|
+
return PaginatedKerberosSourceListFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function PaginatedKerberosSourceListFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
34
|
+
'results': (json['results'].map(KerberosSourceFromJSON)),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function PaginatedKerberosSourceListToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'pagination': PaginationToJSON(value.pagination),
|
|
46
|
+
'results': (value.results.map(KerberosSourceToJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.8.3
|
|
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
|
+
import type { KerberosSourcePropertyMapping } from './KerberosSourcePropertyMapping';
|
|
13
|
+
import type { Pagination } from './Pagination';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedKerberosSourcePropertyMappingList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedKerberosSourcePropertyMappingList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedKerberosSourcePropertyMappingList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<KerberosSourcePropertyMapping>}
|
|
29
|
+
* @memberof PaginatedKerberosSourcePropertyMappingList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<KerberosSourcePropertyMapping>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedKerberosSourcePropertyMappingList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedKerberosSourcePropertyMappingList(value: object): boolean;
|
|
37
|
+
export declare function PaginatedKerberosSourcePropertyMappingListFromJSON(json: any): PaginatedKerberosSourcePropertyMappingList;
|
|
38
|
+
export declare function PaginatedKerberosSourcePropertyMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedKerberosSourcePropertyMappingList;
|
|
39
|
+
export declare function PaginatedKerberosSourcePropertyMappingListToJSON(value?: PaginatedKerberosSourcePropertyMappingList | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.8.3
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { KerberosSourcePropertyMappingFromJSON, KerberosSourcePropertyMappingToJSON, } from './KerberosSourcePropertyMapping';
|
|
15
|
+
import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PaginatedKerberosSourcePropertyMappingList interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPaginatedKerberosSourcePropertyMappingList(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
|
22
|
+
isInstance = isInstance && "results" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
export function PaginatedKerberosSourcePropertyMappingListFromJSON(json) {
|
|
26
|
+
return PaginatedKerberosSourcePropertyMappingListFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function PaginatedKerberosSourcePropertyMappingListFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
34
|
+
'results': (json['results'].map(KerberosSourcePropertyMappingFromJSON)),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function PaginatedKerberosSourcePropertyMappingListToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'pagination': PaginationToJSON(value.pagination),
|
|
46
|
+
'results': (value.results.map(KerberosSourcePropertyMappingToJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|