@goauthentik/api 2024.10.5-1734006367 → 2024.10.5-1734524927
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +16 -0
- package/dist/apis/RbacApi.d.ts +2 -0
- package/dist/apis/RbacApi.js +2 -0
- package/dist/apis/SourcesApi.d.ts +21 -5
- package/dist/apis/SourcesApi.js +51 -6
- package/dist/apis/StagesApi.d.ts +84 -1
- package/dist/apis/StagesApi.js +265 -0
- package/dist/esm/apis/RbacApi.d.ts +2 -0
- package/dist/esm/apis/RbacApi.js +2 -0
- package/dist/esm/apis/SourcesApi.d.ts +21 -5
- package/dist/esm/apis/SourcesApi.js +52 -7
- package/dist/esm/apis/StagesApi.d.ts +84 -1
- package/dist/esm/apis/StagesApi.js +266 -1
- package/dist/esm/models/AppEnum.d.ts +1 -0
- package/dist/esm/models/AppEnum.js +1 -0
- package/dist/esm/models/AuthenticationEnum.d.ts +1 -0
- package/dist/esm/models/AuthenticationEnum.js +1 -0
- package/dist/esm/models/FlowChallengeResponseRequest.d.ts +4 -1
- package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
- package/dist/esm/models/GroupKerberosSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupKerberosSourceConnection.js +8 -2
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupOAuthSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupOAuthSourceConnection.js +8 -2
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupPlexSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupPlexSourceConnection.js +8 -2
- package/dist/esm/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupPlexSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupSAMLSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupSAMLSourceConnection.js +8 -2
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.js +49 -0
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/PaginatedRedirectStageList.d.ts +39 -0
- package/dist/esm/models/PaginatedRedirectStageList.js +48 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedRedirectStageRequest.d.ts +63 -0
- package/dist/esm/models/PatchedRedirectStageRequest.js +55 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.js +45 -0
- package/dist/esm/models/RedirectChallengeResponseRequest.d.ts +37 -0
- package/dist/esm/models/RedirectChallengeResponseRequest.js +46 -0
- package/dist/esm/models/RedirectStage.d.ts +93 -0
- package/dist/esm/models/RedirectStage.js +67 -0
- package/dist/esm/models/RedirectStageModeEnum.d.ts +24 -0
- package/dist/esm/models/RedirectStageModeEnum.js +31 -0
- package/dist/esm/models/RedirectStageRequest.d.ts +63 -0
- package/dist/esm/models/RedirectStageRequest.js +57 -0
- package/dist/esm/models/UserKerberosSourceConnection.d.ts +7 -1
- package/dist/esm/models/UserKerberosSourceConnection.js +4 -1
- package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/UserKerberosSourceConnectionRequest.js +3 -0
- package/dist/esm/models/UserOAuthSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserOAuthSourceConnection.js +5 -1
- package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserOAuthSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserPlexSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserPlexSourceConnection.js +5 -1
- package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserPlexSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserSAMLSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserSAMLSourceConnection.js +5 -1
- package/dist/esm/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserSAMLSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserSourceConnection.d.ts +9 -3
- package/dist/esm/models/UserSourceConnection.js +7 -2
- package/dist/esm/models/UserSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/UserSourceConnectionRequest.js +46 -0
- package/dist/esm/models/index.d.ts +16 -0
- package/dist/esm/models/index.js +16 -0
- package/dist/models/AppEnum.d.ts +1 -0
- package/dist/models/AppEnum.js +1 -0
- package/dist/models/AuthenticationEnum.d.ts +1 -0
- package/dist/models/AuthenticationEnum.js +1 -0
- package/dist/models/FlowChallengeResponseRequest.d.ts +4 -1
- package/dist/models/FlowChallengeResponseRequest.js +5 -0
- package/dist/models/GroupKerberosSourceConnection.d.ts +9 -3
- package/dist/models/GroupKerberosSourceConnection.js +8 -2
- package/dist/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupKerberosSourceConnectionRequest.js +56 -0
- package/dist/models/GroupOAuthSourceConnection.d.ts +9 -3
- package/dist/models/GroupOAuthSourceConnection.js +8 -2
- package/dist/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupOAuthSourceConnectionRequest.js +56 -0
- package/dist/models/GroupPlexSourceConnection.d.ts +9 -3
- package/dist/models/GroupPlexSourceConnection.js +8 -2
- package/dist/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupPlexSourceConnectionRequest.js +56 -0
- package/dist/models/GroupSAMLSourceConnection.d.ts +9 -3
- package/dist/models/GroupSAMLSourceConnection.js +8 -2
- package/dist/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupSAMLSourceConnectionRequest.js +56 -0
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/PaginatedRedirectStageList.d.ts +39 -0
- package/dist/models/PaginatedRedirectStageList.js +55 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedRedirectStageRequest.d.ts +63 -0
- package/dist/models/PatchedRedirectStageRequest.js +62 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
- package/dist/models/PatchedUserSourceConnectionRequest.js +52 -0
- package/dist/models/RedirectChallengeResponseRequest.d.ts +37 -0
- package/dist/models/RedirectChallengeResponseRequest.js +53 -0
- package/dist/models/RedirectStage.d.ts +93 -0
- package/dist/models/RedirectStage.js +74 -0
- package/dist/models/RedirectStageModeEnum.d.ts +24 -0
- package/dist/models/RedirectStageModeEnum.js +37 -0
- package/dist/models/RedirectStageRequest.d.ts +63 -0
- package/dist/models/RedirectStageRequest.js +64 -0
- package/dist/models/UserKerberosSourceConnection.d.ts +7 -1
- package/dist/models/UserKerberosSourceConnection.js +4 -1
- package/dist/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/models/UserKerberosSourceConnectionRequest.js +3 -0
- package/dist/models/UserOAuthSourceConnection.d.ts +8 -2
- package/dist/models/UserOAuthSourceConnection.js +5 -1
- package/dist/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserOAuthSourceConnectionRequest.js +6 -0
- package/dist/models/UserPlexSourceConnection.d.ts +8 -2
- package/dist/models/UserPlexSourceConnection.js +5 -1
- package/dist/models/UserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserPlexSourceConnectionRequest.js +6 -0
- package/dist/models/UserSAMLSourceConnection.d.ts +8 -2
- package/dist/models/UserSAMLSourceConnection.js +5 -1
- package/dist/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserSAMLSourceConnectionRequest.js +6 -0
- package/dist/models/UserSourceConnection.d.ts +9 -3
- package/dist/models/UserSourceConnection.js +7 -2
- package/dist/models/UserSourceConnectionRequest.d.ts +37 -0
- package/dist/models/UserSourceConnectionRequest.js +53 -0
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.js +16 -0
- package/package.json +1 -1
- package/src/apis/RbacApi.ts +2 -0
- package/src/apis/SourcesApi.ts +118 -6
- package/src/apis/StagesApi.ts +340 -0
- package/src/models/AppEnum.ts +1 -0
- package/src/models/AuthenticationEnum.ts +1 -0
- package/src/models/FlowChallengeResponseRequest.ts +12 -1
- package/src/models/GroupKerberosSourceConnection.ts +15 -4
- package/src/models/GroupKerberosSourceConnectionRequest.ts +84 -0
- package/src/models/GroupOAuthSourceConnection.ts +15 -4
- package/src/models/GroupOAuthSourceConnectionRequest.ts +84 -0
- package/src/models/GroupPlexSourceConnection.ts +15 -4
- package/src/models/GroupPlexSourceConnectionRequest.ts +84 -0
- package/src/models/GroupSAMLSourceConnection.ts +15 -4
- package/src/models/GroupSAMLSourceConnectionRequest.ts +84 -0
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/PaginatedRedirectStageList.ts +88 -0
- package/src/models/PatchedGroupKerberosSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupOAuthSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupPlexSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupSAMLSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedRedirectStageRequest.ts +118 -0
- package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +8 -0
- package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserPlexSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserSAMLSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserSourceConnectionRequest.ts +73 -0
- package/src/models/RedirectChallengeResponseRequest.ts +74 -0
- package/src/models/RedirectStage.ts +160 -0
- package/src/models/RedirectStageModeEnum.ts +39 -0
- package/src/models/RedirectStageRequest.ts +120 -0
- package/src/models/UserKerberosSourceConnection.ts +11 -2
- package/src/models/UserKerberosSourceConnectionRequest.ts +9 -0
- package/src/models/UserOAuthSourceConnection.ts +13 -3
- package/src/models/UserOAuthSourceConnectionRequest.ts +18 -0
- package/src/models/UserPlexSourceConnection.ts +13 -3
- package/src/models/UserPlexSourceConnectionRequest.ts +18 -0
- package/src/models/UserSAMLSourceConnection.ts +13 -3
- package/src/models/UserSAMLSourceConnectionRequest.ts +18 -0
- package/src/models/UserSourceConnection.ts +14 -4
- package/src/models/UserSourceConnectionRequest.ts +75 -0
- package/src/models/index.ts +16 -0
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
* Plex Group-Source connection Serializer
|
14
|
+
* @export
|
15
|
+
* @interface PatchedGroupPlexSourceConnectionRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedGroupPlexSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof PatchedGroupPlexSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
group?: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedGroupPlexSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof PatchedGroupPlexSourceConnectionRequest
|
34
|
+
*/
|
35
|
+
identifier?: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PatchedGroupPlexSourceConnectionRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPatchedGroupPlexSourceConnectionRequest(value: object): boolean;
|
41
|
+
export declare function PatchedGroupPlexSourceConnectionRequestFromJSON(json: any): PatchedGroupPlexSourceConnectionRequest;
|
42
|
+
export declare function PatchedGroupPlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupPlexSourceConnectionRequest;
|
43
|
+
export declare function PatchedGroupPlexSourceConnectionRequestToJSON(value?: PatchedGroupPlexSourceConnectionRequest | null): any;
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
/**
|
16
|
+
* Check if a given object implements the PatchedGroupPlexSourceConnectionRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfPatchedGroupPlexSourceConnectionRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
return isInstance;
|
21
|
+
}
|
22
|
+
export function PatchedGroupPlexSourceConnectionRequestFromJSON(json) {
|
23
|
+
return PatchedGroupPlexSourceConnectionRequestFromJSONTyped(json, false);
|
24
|
+
}
|
25
|
+
export function PatchedGroupPlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
26
|
+
if ((json === undefined) || (json === null)) {
|
27
|
+
return json;
|
28
|
+
}
|
29
|
+
return {
|
30
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
31
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
32
|
+
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
33
|
+
};
|
34
|
+
}
|
35
|
+
export function PatchedGroupPlexSourceConnectionRequestToJSON(value) {
|
36
|
+
if (value === undefined) {
|
37
|
+
return undefined;
|
38
|
+
}
|
39
|
+
if (value === null) {
|
40
|
+
return null;
|
41
|
+
}
|
42
|
+
return {
|
43
|
+
'group': value.group,
|
44
|
+
'source': value.source,
|
45
|
+
'identifier': value.identifier,
|
46
|
+
};
|
47
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
* OAuth Group-Source connection Serializer
|
14
|
+
* @export
|
15
|
+
* @interface PatchedGroupSAMLSourceConnectionRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedGroupSAMLSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof PatchedGroupSAMLSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
group?: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedGroupSAMLSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof PatchedGroupSAMLSourceConnectionRequest
|
34
|
+
*/
|
35
|
+
identifier?: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PatchedGroupSAMLSourceConnectionRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPatchedGroupSAMLSourceConnectionRequest(value: object): boolean;
|
41
|
+
export declare function PatchedGroupSAMLSourceConnectionRequestFromJSON(json: any): PatchedGroupSAMLSourceConnectionRequest;
|
42
|
+
export declare function PatchedGroupSAMLSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupSAMLSourceConnectionRequest;
|
43
|
+
export declare function PatchedGroupSAMLSourceConnectionRequestToJSON(value?: PatchedGroupSAMLSourceConnectionRequest | null): any;
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
/**
|
16
|
+
* Check if a given object implements the PatchedGroupSAMLSourceConnectionRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfPatchedGroupSAMLSourceConnectionRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
return isInstance;
|
21
|
+
}
|
22
|
+
export function PatchedGroupSAMLSourceConnectionRequestFromJSON(json) {
|
23
|
+
return PatchedGroupSAMLSourceConnectionRequestFromJSONTyped(json, false);
|
24
|
+
}
|
25
|
+
export function PatchedGroupSAMLSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
26
|
+
if ((json === undefined) || (json === null)) {
|
27
|
+
return json;
|
28
|
+
}
|
29
|
+
return {
|
30
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
31
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
32
|
+
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
33
|
+
};
|
34
|
+
}
|
35
|
+
export function PatchedGroupSAMLSourceConnectionRequestToJSON(value) {
|
36
|
+
if (value === undefined) {
|
37
|
+
return undefined;
|
38
|
+
}
|
39
|
+
if (value === null) {
|
40
|
+
return null;
|
41
|
+
}
|
42
|
+
return {
|
43
|
+
'group': value.group,
|
44
|
+
'source': value.source,
|
45
|
+
'identifier': value.identifier,
|
46
|
+
};
|
47
|
+
}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
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 { FlowSetRequest } from './FlowSetRequest';
|
13
|
+
import type { RedirectStageModeEnum } from './RedirectStageModeEnum';
|
14
|
+
/**
|
15
|
+
* RedirectStage Serializer
|
16
|
+
* @export
|
17
|
+
* @interface PatchedRedirectStageRequest
|
18
|
+
*/
|
19
|
+
export interface PatchedRedirectStageRequest {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {string}
|
23
|
+
* @memberof PatchedRedirectStageRequest
|
24
|
+
*/
|
25
|
+
name?: string;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {Array<FlowSetRequest>}
|
29
|
+
* @memberof PatchedRedirectStageRequest
|
30
|
+
*/
|
31
|
+
flowSet?: Array<FlowSetRequest>;
|
32
|
+
/**
|
33
|
+
*
|
34
|
+
* @type {boolean}
|
35
|
+
* @memberof PatchedRedirectStageRequest
|
36
|
+
*/
|
37
|
+
keepContext?: boolean;
|
38
|
+
/**
|
39
|
+
*
|
40
|
+
* @type {RedirectStageModeEnum}
|
41
|
+
* @memberof PatchedRedirectStageRequest
|
42
|
+
*/
|
43
|
+
mode?: RedirectStageModeEnum;
|
44
|
+
/**
|
45
|
+
*
|
46
|
+
* @type {string}
|
47
|
+
* @memberof PatchedRedirectStageRequest
|
48
|
+
*/
|
49
|
+
targetStatic?: string;
|
50
|
+
/**
|
51
|
+
*
|
52
|
+
* @type {string}
|
53
|
+
* @memberof PatchedRedirectStageRequest
|
54
|
+
*/
|
55
|
+
targetFlow?: string | null;
|
56
|
+
}
|
57
|
+
/**
|
58
|
+
* Check if a given object implements the PatchedRedirectStageRequest interface.
|
59
|
+
*/
|
60
|
+
export declare function instanceOfPatchedRedirectStageRequest(value: object): boolean;
|
61
|
+
export declare function PatchedRedirectStageRequestFromJSON(json: any): PatchedRedirectStageRequest;
|
62
|
+
export declare function PatchedRedirectStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedRedirectStageRequest;
|
63
|
+
export declare function PatchedRedirectStageRequestToJSON(value?: PatchedRedirectStageRequest | null): any;
|
@@ -0,0 +1,55 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.10.5
|
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 { FlowSetRequestFromJSON, FlowSetRequestToJSON, } from './FlowSetRequest';
|
16
|
+
import { RedirectStageModeEnumFromJSON, RedirectStageModeEnumToJSON, } from './RedirectStageModeEnum';
|
17
|
+
/**
|
18
|
+
* Check if a given object implements the PatchedRedirectStageRequest interface.
|
19
|
+
*/
|
20
|
+
export function instanceOfPatchedRedirectStageRequest(value) {
|
21
|
+
let isInstance = true;
|
22
|
+
return isInstance;
|
23
|
+
}
|
24
|
+
export function PatchedRedirectStageRequestFromJSON(json) {
|
25
|
+
return PatchedRedirectStageRequestFromJSONTyped(json, false);
|
26
|
+
}
|
27
|
+
export function PatchedRedirectStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
28
|
+
if ((json === undefined) || (json === null)) {
|
29
|
+
return json;
|
30
|
+
}
|
31
|
+
return {
|
32
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
33
|
+
'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequestFromJSON)),
|
34
|
+
'keepContext': !exists(json, 'keep_context') ? undefined : json['keep_context'],
|
35
|
+
'mode': !exists(json, 'mode') ? undefined : RedirectStageModeEnumFromJSON(json['mode']),
|
36
|
+
'targetStatic': !exists(json, 'target_static') ? undefined : json['target_static'],
|
37
|
+
'targetFlow': !exists(json, 'target_flow') ? undefined : json['target_flow'],
|
38
|
+
};
|
39
|
+
}
|
40
|
+
export function PatchedRedirectStageRequestToJSON(value) {
|
41
|
+
if (value === undefined) {
|
42
|
+
return undefined;
|
43
|
+
}
|
44
|
+
if (value === null) {
|
45
|
+
return null;
|
46
|
+
}
|
47
|
+
return {
|
48
|
+
'name': value.name,
|
49
|
+
'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequestToJSON)),
|
50
|
+
'keep_context': value.keepContext,
|
51
|
+
'mode': RedirectStageModeEnumToJSON(value.mode),
|
52
|
+
'target_static': value.targetStatic,
|
53
|
+
'target_flow': value.targetFlow,
|
54
|
+
};
|
55
|
+
}
|
@@ -21,6 +21,12 @@ export interface PatchedUserKerberosSourceConnectionRequest {
|
|
21
21
|
* @memberof PatchedUserKerberosSourceConnectionRequest
|
22
22
|
*/
|
23
23
|
user?: number;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedUserKerberosSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
24
30
|
/**
|
25
31
|
*
|
26
32
|
* @type {string}
|
@@ -28,6 +28,7 @@ export function PatchedUserKerberosSourceConnectionRequestFromJSONTyped(json, ig
|
|
28
28
|
}
|
29
29
|
return {
|
30
30
|
'user': !exists(json, 'user') ? undefined : json['user'],
|
31
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
31
32
|
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
32
33
|
};
|
33
34
|
}
|
@@ -40,6 +41,7 @@ export function PatchedUserKerberosSourceConnectionRequestToJSON(value) {
|
|
40
41
|
}
|
41
42
|
return {
|
42
43
|
'user': value.user,
|
44
|
+
'source': value.source,
|
43
45
|
'identifier': value.identifier,
|
44
46
|
};
|
45
47
|
}
|
@@ -15,6 +15,18 @@
|
|
15
15
|
* @interface PatchedUserOAuthSourceConnectionRequest
|
16
16
|
*/
|
17
17
|
export interface PatchedUserOAuthSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {number}
|
21
|
+
* @memberof PatchedUserOAuthSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
user?: number;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedUserOAuthSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
18
30
|
/**
|
19
31
|
*
|
20
32
|
* @type {string}
|
@@ -27,6 +27,8 @@ export function PatchedUserOAuthSourceConnectionRequestFromJSONTyped(json, ignor
|
|
27
27
|
return json;
|
28
28
|
}
|
29
29
|
return {
|
30
|
+
'user': !exists(json, 'user') ? undefined : json['user'],
|
31
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
30
32
|
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
31
33
|
'accessToken': !exists(json, 'access_token') ? undefined : json['access_token'],
|
32
34
|
};
|
@@ -39,6 +41,8 @@ export function PatchedUserOAuthSourceConnectionRequestToJSON(value) {
|
|
39
41
|
return null;
|
40
42
|
}
|
41
43
|
return {
|
44
|
+
'user': value.user,
|
45
|
+
'source': value.source,
|
42
46
|
'identifier': value.identifier,
|
43
47
|
'access_token': value.accessToken,
|
44
48
|
};
|
@@ -15,6 +15,18 @@
|
|
15
15
|
* @interface PatchedUserPlexSourceConnectionRequest
|
16
16
|
*/
|
17
17
|
export interface PatchedUserPlexSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {number}
|
21
|
+
* @memberof PatchedUserPlexSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
user?: number;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedUserPlexSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
18
30
|
/**
|
19
31
|
*
|
20
32
|
* @type {string}
|
@@ -27,6 +27,8 @@ export function PatchedUserPlexSourceConnectionRequestFromJSONTyped(json, ignore
|
|
27
27
|
return json;
|
28
28
|
}
|
29
29
|
return {
|
30
|
+
'user': !exists(json, 'user') ? undefined : json['user'],
|
31
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
30
32
|
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
31
33
|
'plexToken': !exists(json, 'plex_token') ? undefined : json['plex_token'],
|
32
34
|
};
|
@@ -39,6 +41,8 @@ export function PatchedUserPlexSourceConnectionRequestToJSON(value) {
|
|
39
41
|
return null;
|
40
42
|
}
|
41
43
|
return {
|
44
|
+
'user': value.user,
|
45
|
+
'source': value.source,
|
42
46
|
'identifier': value.identifier,
|
43
47
|
'plex_token': value.plexToken,
|
44
48
|
};
|
@@ -15,6 +15,18 @@
|
|
15
15
|
* @interface PatchedUserSAMLSourceConnectionRequest
|
16
16
|
*/
|
17
17
|
export interface PatchedUserSAMLSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {number}
|
21
|
+
* @memberof PatchedUserSAMLSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
user?: number;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedUserSAMLSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
18
30
|
/**
|
19
31
|
*
|
20
32
|
* @type {string}
|
@@ -27,6 +27,8 @@ export function PatchedUserSAMLSourceConnectionRequestFromJSONTyped(json, ignore
|
|
27
27
|
return json;
|
28
28
|
}
|
29
29
|
return {
|
30
|
+
'user': !exists(json, 'user') ? undefined : json['user'],
|
31
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
30
32
|
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
31
33
|
};
|
32
34
|
}
|
@@ -38,6 +40,8 @@ export function PatchedUserSAMLSourceConnectionRequestToJSON(value) {
|
|
38
40
|
return null;
|
39
41
|
}
|
40
42
|
return {
|
43
|
+
'user': value.user,
|
44
|
+
'source': value.source,
|
41
45
|
'identifier': value.identifier,
|
42
46
|
};
|
43
47
|
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
* User source connection
|
14
|
+
* @export
|
15
|
+
* @interface PatchedUserSourceConnectionRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedUserSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {number}
|
21
|
+
* @memberof PatchedUserSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
user?: number;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedUserSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
30
|
+
}
|
31
|
+
/**
|
32
|
+
* Check if a given object implements the PatchedUserSourceConnectionRequest interface.
|
33
|
+
*/
|
34
|
+
export declare function instanceOfPatchedUserSourceConnectionRequest(value: object): boolean;
|
35
|
+
export declare function PatchedUserSourceConnectionRequestFromJSON(json: any): PatchedUserSourceConnectionRequest;
|
36
|
+
export declare function PatchedUserSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedUserSourceConnectionRequest;
|
37
|
+
export declare function PatchedUserSourceConnectionRequestToJSON(value?: PatchedUserSourceConnectionRequest | null): any;
|
@@ -0,0 +1,45 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
/**
|
16
|
+
* Check if a given object implements the PatchedUserSourceConnectionRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfPatchedUserSourceConnectionRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
return isInstance;
|
21
|
+
}
|
22
|
+
export function PatchedUserSourceConnectionRequestFromJSON(json) {
|
23
|
+
return PatchedUserSourceConnectionRequestFromJSONTyped(json, false);
|
24
|
+
}
|
25
|
+
export function PatchedUserSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
26
|
+
if ((json === undefined) || (json === null)) {
|
27
|
+
return json;
|
28
|
+
}
|
29
|
+
return {
|
30
|
+
'user': !exists(json, 'user') ? undefined : json['user'],
|
31
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
32
|
+
};
|
33
|
+
}
|
34
|
+
export function PatchedUserSourceConnectionRequestToJSON(value) {
|
35
|
+
if (value === undefined) {
|
36
|
+
return undefined;
|
37
|
+
}
|
38
|
+
if (value === null) {
|
39
|
+
return null;
|
40
|
+
}
|
41
|
+
return {
|
42
|
+
'user': value.user,
|
43
|
+
'source': value.source,
|
44
|
+
};
|
45
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
* Redirect challenge response
|
14
|
+
* @export
|
15
|
+
* @interface RedirectChallengeResponseRequest
|
16
|
+
*/
|
17
|
+
export interface RedirectChallengeResponseRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof RedirectChallengeResponseRequest
|
22
|
+
*/
|
23
|
+
component?: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof RedirectChallengeResponseRequest
|
28
|
+
*/
|
29
|
+
to: string;
|
30
|
+
}
|
31
|
+
/**
|
32
|
+
* Check if a given object implements the RedirectChallengeResponseRequest interface.
|
33
|
+
*/
|
34
|
+
export declare function instanceOfRedirectChallengeResponseRequest(value: object): boolean;
|
35
|
+
export declare function RedirectChallengeResponseRequestFromJSON(json: any): RedirectChallengeResponseRequest;
|
36
|
+
export declare function RedirectChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectChallengeResponseRequest;
|
37
|
+
export declare function RedirectChallengeResponseRequestToJSON(value?: RedirectChallengeResponseRequest | null): any;
|
@@ -0,0 +1,46 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
/**
|
16
|
+
* Check if a given object implements the RedirectChallengeResponseRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfRedirectChallengeResponseRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
isInstance = isInstance && "to" in value;
|
21
|
+
return isInstance;
|
22
|
+
}
|
23
|
+
export function RedirectChallengeResponseRequestFromJSON(json) {
|
24
|
+
return RedirectChallengeResponseRequestFromJSONTyped(json, false);
|
25
|
+
}
|
26
|
+
export function RedirectChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
|
27
|
+
if ((json === undefined) || (json === null)) {
|
28
|
+
return json;
|
29
|
+
}
|
30
|
+
return {
|
31
|
+
'component': !exists(json, 'component') ? undefined : json['component'],
|
32
|
+
'to': json['to'],
|
33
|
+
};
|
34
|
+
}
|
35
|
+
export function RedirectChallengeResponseRequestToJSON(value) {
|
36
|
+
if (value === undefined) {
|
37
|
+
return undefined;
|
38
|
+
}
|
39
|
+
if (value === null) {
|
40
|
+
return null;
|
41
|
+
}
|
42
|
+
return {
|
43
|
+
'component': value.component,
|
44
|
+
'to': value.to,
|
45
|
+
};
|
46
|
+
}
|