@goauthentik/api 2024.10.5-1734006367 → 2024.10.5-1734524927
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 +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,93 @@
|
|
|
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 { FlowSet } from './FlowSet';
|
|
13
|
+
import type { RedirectStageModeEnum } from './RedirectStageModeEnum';
|
|
14
|
+
/**
|
|
15
|
+
* RedirectStage Serializer
|
|
16
|
+
* @export
|
|
17
|
+
* @interface RedirectStage
|
|
18
|
+
*/
|
|
19
|
+
export interface RedirectStage {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof RedirectStage
|
|
24
|
+
*/
|
|
25
|
+
readonly pk: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof RedirectStage
|
|
30
|
+
*/
|
|
31
|
+
name: string;
|
|
32
|
+
/**
|
|
33
|
+
* Get object type so that we know how to edit the object
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof RedirectStage
|
|
36
|
+
*/
|
|
37
|
+
readonly component: string;
|
|
38
|
+
/**
|
|
39
|
+
* Return object's verbose_name
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof RedirectStage
|
|
42
|
+
*/
|
|
43
|
+
readonly verboseName: string;
|
|
44
|
+
/**
|
|
45
|
+
* Return object's plural verbose_name
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof RedirectStage
|
|
48
|
+
*/
|
|
49
|
+
readonly verboseNamePlural: string;
|
|
50
|
+
/**
|
|
51
|
+
* Return internal model name
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof RedirectStage
|
|
54
|
+
*/
|
|
55
|
+
readonly metaModelName: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<FlowSet>}
|
|
59
|
+
* @memberof RedirectStage
|
|
60
|
+
*/
|
|
61
|
+
flowSet?: Array<FlowSet>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {boolean}
|
|
65
|
+
* @memberof RedirectStage
|
|
66
|
+
*/
|
|
67
|
+
keepContext?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {RedirectStageModeEnum}
|
|
71
|
+
* @memberof RedirectStage
|
|
72
|
+
*/
|
|
73
|
+
mode: RedirectStageModeEnum;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof RedirectStage
|
|
78
|
+
*/
|
|
79
|
+
targetStatic?: string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof RedirectStage
|
|
84
|
+
*/
|
|
85
|
+
targetFlow?: string | null;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Check if a given object implements the RedirectStage interface.
|
|
89
|
+
*/
|
|
90
|
+
export declare function instanceOfRedirectStage(value: object): boolean;
|
|
91
|
+
export declare function RedirectStageFromJSON(json: any): RedirectStage;
|
|
92
|
+
export declare function RedirectStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectStage;
|
|
93
|
+
export declare function RedirectStageToJSON(value?: RedirectStage | null): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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 { FlowSetFromJSON, FlowSetToJSON, } from './FlowSet';
|
|
16
|
+
import { RedirectStageModeEnumFromJSON, RedirectStageModeEnumToJSON, } from './RedirectStageModeEnum';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the RedirectStage interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfRedirectStage(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "pk" in value;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "component" in value;
|
|
25
|
+
isInstance = isInstance && "verboseName" in value;
|
|
26
|
+
isInstance = isInstance && "verboseNamePlural" in value;
|
|
27
|
+
isInstance = isInstance && "metaModelName" in value;
|
|
28
|
+
isInstance = isInstance && "mode" in value;
|
|
29
|
+
return isInstance;
|
|
30
|
+
}
|
|
31
|
+
export function RedirectStageFromJSON(json) {
|
|
32
|
+
return RedirectStageFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function RedirectStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'pk': json['pk'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
'component': json['component'],
|
|
42
|
+
'verboseName': json['verbose_name'],
|
|
43
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
|
44
|
+
'metaModelName': json['meta_model_name'],
|
|
45
|
+
'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetFromJSON)),
|
|
46
|
+
'keepContext': !exists(json, 'keep_context') ? undefined : json['keep_context'],
|
|
47
|
+
'mode': RedirectStageModeEnumFromJSON(json['mode']),
|
|
48
|
+
'targetStatic': !exists(json, 'target_static') ? undefined : json['target_static'],
|
|
49
|
+
'targetFlow': !exists(json, 'target_flow') ? undefined : json['target_flow'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export function RedirectStageToJSON(value) {
|
|
53
|
+
if (value === undefined) {
|
|
54
|
+
return undefined;
|
|
55
|
+
}
|
|
56
|
+
if (value === null) {
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'name': value.name,
|
|
61
|
+
'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetToJSON)),
|
|
62
|
+
'keep_context': value.keepContext,
|
|
63
|
+
'mode': RedirectStageModeEnumToJSON(value.mode),
|
|
64
|
+
'target_static': value.targetStatic,
|
|
65
|
+
'target_flow': value.targetFlow,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const RedirectStageModeEnum: {
|
|
17
|
+
readonly Static: "static";
|
|
18
|
+
readonly Flow: "flow";
|
|
19
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
20
|
+
};
|
|
21
|
+
export type RedirectStageModeEnum = typeof RedirectStageModeEnum[keyof typeof RedirectStageModeEnum];
|
|
22
|
+
export declare function RedirectStageModeEnumFromJSON(json: any): RedirectStageModeEnum;
|
|
23
|
+
export declare function RedirectStageModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectStageModeEnum;
|
|
24
|
+
export declare function RedirectStageModeEnumToJSON(value?: RedirectStageModeEnum | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const RedirectStageModeEnum = {
|
|
19
|
+
Static: 'static',
|
|
20
|
+
Flow: 'flow',
|
|
21
|
+
UnknownDefaultOpenApi: '11184809'
|
|
22
|
+
};
|
|
23
|
+
export function RedirectStageModeEnumFromJSON(json) {
|
|
24
|
+
return RedirectStageModeEnumFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function RedirectStageModeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
export function RedirectStageModeEnumToJSON(value) {
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
@@ -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 RedirectStageRequest
|
|
18
|
+
*/
|
|
19
|
+
export interface RedirectStageRequest {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof RedirectStageRequest
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<FlowSetRequest>}
|
|
29
|
+
* @memberof RedirectStageRequest
|
|
30
|
+
*/
|
|
31
|
+
flowSet?: Array<FlowSetRequest>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof RedirectStageRequest
|
|
36
|
+
*/
|
|
37
|
+
keepContext?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {RedirectStageModeEnum}
|
|
41
|
+
* @memberof RedirectStageRequest
|
|
42
|
+
*/
|
|
43
|
+
mode: RedirectStageModeEnum;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof RedirectStageRequest
|
|
48
|
+
*/
|
|
49
|
+
targetStatic?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof RedirectStageRequest
|
|
54
|
+
*/
|
|
55
|
+
targetFlow?: string | null;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the RedirectStageRequest interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfRedirectStageRequest(value: object): boolean;
|
|
61
|
+
export declare function RedirectStageRequestFromJSON(json: any): RedirectStageRequest;
|
|
62
|
+
export declare function RedirectStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectStageRequest;
|
|
63
|
+
export declare function RedirectStageRequestToJSON(value?: RedirectStageRequest | null): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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 RedirectStageRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfRedirectStageRequest(value) {
|
|
21
|
+
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "name" in value;
|
|
23
|
+
isInstance = isInstance && "mode" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
export function RedirectStageRequestFromJSON(json) {
|
|
27
|
+
return RedirectStageRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function RedirectStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if ((json === undefined) || (json === null)) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'name': json['name'],
|
|
35
|
+
'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequestFromJSON)),
|
|
36
|
+
'keepContext': !exists(json, 'keep_context') ? undefined : json['keep_context'],
|
|
37
|
+
'mode': RedirectStageModeEnumFromJSON(json['mode']),
|
|
38
|
+
'targetStatic': !exists(json, 'target_static') ? undefined : json['target_static'],
|
|
39
|
+
'targetFlow': !exists(json, 'target_flow') ? undefined : json['target_flow'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function RedirectStageRequestToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'name': value.name,
|
|
51
|
+
'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequestToJSON)),
|
|
52
|
+
'keep_context': value.keepContext,
|
|
53
|
+
'mode': RedirectStageModeEnumToJSON(value.mode),
|
|
54
|
+
'target_static': value.targetStatic,
|
|
55
|
+
'target_flow': value.targetFlow,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -28,12 +28,18 @@ export interface UserKerberosSourceConnection {
|
|
|
28
28
|
* @memberof UserKerberosSourceConnection
|
|
29
29
|
*/
|
|
30
30
|
user: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UserKerberosSourceConnection
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {Source}
|
|
34
40
|
* @memberof UserKerberosSourceConnection
|
|
35
41
|
*/
|
|
36
|
-
readonly
|
|
42
|
+
readonly sourceObj: Source;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {Date}
|
|
@@ -20,6 +20,7 @@ export function instanceOfUserKerberosSourceConnection(value) {
|
|
|
20
20
|
isInstance = isInstance && "pk" in value;
|
|
21
21
|
isInstance = isInstance && "user" in value;
|
|
22
22
|
isInstance = isInstance && "source" in value;
|
|
23
|
+
isInstance = isInstance && "sourceObj" in value;
|
|
23
24
|
isInstance = isInstance && "created" in value;
|
|
24
25
|
isInstance = isInstance && "identifier" in value;
|
|
25
26
|
return isInstance;
|
|
@@ -34,7 +35,8 @@ export function UserKerberosSourceConnectionFromJSONTyped(json, ignoreDiscrimina
|
|
|
34
35
|
return {
|
|
35
36
|
'pk': json['pk'],
|
|
36
37
|
'user': json['user'],
|
|
37
|
-
'source':
|
|
38
|
+
'source': json['source'],
|
|
39
|
+
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
38
40
|
'created': (new Date(json['created'])),
|
|
39
41
|
'identifier': json['identifier'],
|
|
40
42
|
};
|
|
@@ -48,6 +50,7 @@ export function UserKerberosSourceConnectionToJSON(value) {
|
|
|
48
50
|
}
|
|
49
51
|
return {
|
|
50
52
|
'user': value.user,
|
|
53
|
+
'source': value.source,
|
|
51
54
|
'identifier': value.identifier,
|
|
52
55
|
};
|
|
53
56
|
}
|
|
@@ -21,6 +21,12 @@ export interface UserKerberosSourceConnectionRequest {
|
|
|
21
21
|
* @memberof UserKerberosSourceConnectionRequest
|
|
22
22
|
*/
|
|
23
23
|
user: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserKerberosSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source: string;
|
|
24
30
|
/**
|
|
25
31
|
*
|
|
26
32
|
* @type {string}
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
export function instanceOfUserKerberosSourceConnectionRequest(value) {
|
|
18
18
|
let isInstance = true;
|
|
19
19
|
isInstance = isInstance && "user" in value;
|
|
20
|
+
isInstance = isInstance && "source" in value;
|
|
20
21
|
isInstance = isInstance && "identifier" in value;
|
|
21
22
|
return isInstance;
|
|
22
23
|
}
|
|
@@ -29,6 +30,7 @@ export function UserKerberosSourceConnectionRequestFromJSONTyped(json, ignoreDis
|
|
|
29
30
|
}
|
|
30
31
|
return {
|
|
31
32
|
'user': json['user'],
|
|
33
|
+
'source': json['source'],
|
|
32
34
|
'identifier': json['identifier'],
|
|
33
35
|
};
|
|
34
36
|
}
|
|
@@ -41,6 +43,7 @@ export function UserKerberosSourceConnectionRequestToJSON(value) {
|
|
|
41
43
|
}
|
|
42
44
|
return {
|
|
43
45
|
'user': value.user,
|
|
46
|
+
'source': value.source,
|
|
44
47
|
'identifier': value.identifier,
|
|
45
48
|
};
|
|
46
49
|
}
|
|
@@ -27,13 +27,19 @@ export interface UserOAuthSourceConnection {
|
|
|
27
27
|
* @type {number}
|
|
28
28
|
* @memberof UserOAuthSourceConnection
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
user: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UserOAuthSourceConnection
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {Source}
|
|
34
40
|
* @memberof UserOAuthSourceConnection
|
|
35
41
|
*/
|
|
36
|
-
readonly
|
|
42
|
+
readonly sourceObj: Source;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {Date}
|
|
@@ -20,6 +20,7 @@ export function instanceOfUserOAuthSourceConnection(value) {
|
|
|
20
20
|
isInstance = isInstance && "pk" in value;
|
|
21
21
|
isInstance = isInstance && "user" in value;
|
|
22
22
|
isInstance = isInstance && "source" in value;
|
|
23
|
+
isInstance = isInstance && "sourceObj" in value;
|
|
23
24
|
isInstance = isInstance && "created" in value;
|
|
24
25
|
isInstance = isInstance && "identifier" in value;
|
|
25
26
|
return isInstance;
|
|
@@ -34,7 +35,8 @@ export function UserOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminator
|
|
|
34
35
|
return {
|
|
35
36
|
'pk': json['pk'],
|
|
36
37
|
'user': json['user'],
|
|
37
|
-
'source':
|
|
38
|
+
'source': json['source'],
|
|
39
|
+
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
38
40
|
'created': (new Date(json['created'])),
|
|
39
41
|
'identifier': json['identifier'],
|
|
40
42
|
};
|
|
@@ -47,6 +49,8 @@ export function UserOAuthSourceConnectionToJSON(value) {
|
|
|
47
49
|
return null;
|
|
48
50
|
}
|
|
49
51
|
return {
|
|
52
|
+
'user': value.user,
|
|
53
|
+
'source': value.source,
|
|
50
54
|
'identifier': value.identifier,
|
|
51
55
|
};
|
|
52
56
|
}
|
|
@@ -15,6 +15,18 @@
|
|
|
15
15
|
* @interface UserOAuthSourceConnectionRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface UserOAuthSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UserOAuthSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
user: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserOAuthSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source: string;
|
|
18
30
|
/**
|
|
19
31
|
*
|
|
20
32
|
* @type {string}
|
|
@@ -17,6 +17,8 @@ import { exists } from '../runtime';
|
|
|
17
17
|
*/
|
|
18
18
|
export function instanceOfUserOAuthSourceConnectionRequest(value) {
|
|
19
19
|
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "user" in value;
|
|
21
|
+
isInstance = isInstance && "source" in value;
|
|
20
22
|
isInstance = isInstance && "identifier" in value;
|
|
21
23
|
return isInstance;
|
|
22
24
|
}
|
|
@@ -28,6 +30,8 @@ export function UserOAuthSourceConnectionRequestFromJSONTyped(json, ignoreDiscri
|
|
|
28
30
|
return json;
|
|
29
31
|
}
|
|
30
32
|
return {
|
|
33
|
+
'user': json['user'],
|
|
34
|
+
'source': json['source'],
|
|
31
35
|
'identifier': json['identifier'],
|
|
32
36
|
'accessToken': !exists(json, 'access_token') ? undefined : json['access_token'],
|
|
33
37
|
};
|
|
@@ -40,6 +44,8 @@ export function UserOAuthSourceConnectionRequestToJSON(value) {
|
|
|
40
44
|
return null;
|
|
41
45
|
}
|
|
42
46
|
return {
|
|
47
|
+
'user': value.user,
|
|
48
|
+
'source': value.source,
|
|
43
49
|
'identifier': value.identifier,
|
|
44
50
|
'access_token': value.accessToken,
|
|
45
51
|
};
|
|
@@ -27,13 +27,19 @@ export interface UserPlexSourceConnection {
|
|
|
27
27
|
* @type {number}
|
|
28
28
|
* @memberof UserPlexSourceConnection
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
user: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UserPlexSourceConnection
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {Source}
|
|
34
40
|
* @memberof UserPlexSourceConnection
|
|
35
41
|
*/
|
|
36
|
-
readonly
|
|
42
|
+
readonly sourceObj: Source;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {Date}
|
|
@@ -20,6 +20,7 @@ export function instanceOfUserPlexSourceConnection(value) {
|
|
|
20
20
|
isInstance = isInstance && "pk" in value;
|
|
21
21
|
isInstance = isInstance && "user" in value;
|
|
22
22
|
isInstance = isInstance && "source" in value;
|
|
23
|
+
isInstance = isInstance && "sourceObj" in value;
|
|
23
24
|
isInstance = isInstance && "created" in value;
|
|
24
25
|
isInstance = isInstance && "identifier" in value;
|
|
25
26
|
return isInstance;
|
|
@@ -34,7 +35,8 @@ export function UserPlexSourceConnectionFromJSONTyped(json, ignoreDiscriminator)
|
|
|
34
35
|
return {
|
|
35
36
|
'pk': json['pk'],
|
|
36
37
|
'user': json['user'],
|
|
37
|
-
'source':
|
|
38
|
+
'source': json['source'],
|
|
39
|
+
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
38
40
|
'created': (new Date(json['created'])),
|
|
39
41
|
'identifier': json['identifier'],
|
|
40
42
|
};
|
|
@@ -47,6 +49,8 @@ export function UserPlexSourceConnectionToJSON(value) {
|
|
|
47
49
|
return null;
|
|
48
50
|
}
|
|
49
51
|
return {
|
|
52
|
+
'user': value.user,
|
|
53
|
+
'source': value.source,
|
|
50
54
|
'identifier': value.identifier,
|
|
51
55
|
};
|
|
52
56
|
}
|
|
@@ -15,6 +15,18 @@
|
|
|
15
15
|
* @interface UserPlexSourceConnectionRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface UserPlexSourceConnectionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UserPlexSourceConnectionRequest
|
|
22
|
+
*/
|
|
23
|
+
user: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserPlexSourceConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
source: string;
|
|
18
30
|
/**
|
|
19
31
|
*
|
|
20
32
|
* @type {string}
|
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export function instanceOfUserPlexSourceConnectionRequest(value) {
|
|
18
18
|
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "user" in value;
|
|
20
|
+
isInstance = isInstance && "source" in value;
|
|
19
21
|
isInstance = isInstance && "identifier" in value;
|
|
20
22
|
isInstance = isInstance && "plexToken" in value;
|
|
21
23
|
return isInstance;
|
|
@@ -28,6 +30,8 @@ export function UserPlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscrim
|
|
|
28
30
|
return json;
|
|
29
31
|
}
|
|
30
32
|
return {
|
|
33
|
+
'user': json['user'],
|
|
34
|
+
'source': json['source'],
|
|
31
35
|
'identifier': json['identifier'],
|
|
32
36
|
'plexToken': json['plex_token'],
|
|
33
37
|
};
|
|
@@ -40,6 +44,8 @@ export function UserPlexSourceConnectionRequestToJSON(value) {
|
|
|
40
44
|
return null;
|
|
41
45
|
}
|
|
42
46
|
return {
|
|
47
|
+
'user': value.user,
|
|
48
|
+
'source': value.source,
|
|
43
49
|
'identifier': value.identifier,
|
|
44
50
|
'plex_token': value.plexToken,
|
|
45
51
|
};
|
|
@@ -27,13 +27,19 @@ export interface UserSAMLSourceConnection {
|
|
|
27
27
|
* @type {number}
|
|
28
28
|
* @memberof UserSAMLSourceConnection
|
|
29
29
|
*/
|
|
30
|
-
|
|
30
|
+
user: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UserSAMLSourceConnection
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
31
37
|
/**
|
|
32
38
|
*
|
|
33
39
|
* @type {Source}
|
|
34
40
|
* @memberof UserSAMLSourceConnection
|
|
35
41
|
*/
|
|
36
|
-
readonly
|
|
42
|
+
readonly sourceObj: Source;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {Date}
|
|
@@ -20,6 +20,7 @@ export function instanceOfUserSAMLSourceConnection(value) {
|
|
|
20
20
|
isInstance = isInstance && "pk" in value;
|
|
21
21
|
isInstance = isInstance && "user" in value;
|
|
22
22
|
isInstance = isInstance && "source" in value;
|
|
23
|
+
isInstance = isInstance && "sourceObj" in value;
|
|
23
24
|
isInstance = isInstance && "created" in value;
|
|
24
25
|
isInstance = isInstance && "identifier" in value;
|
|
25
26
|
return isInstance;
|
|
@@ -34,7 +35,8 @@ export function UserSAMLSourceConnectionFromJSONTyped(json, ignoreDiscriminator)
|
|
|
34
35
|
return {
|
|
35
36
|
'pk': json['pk'],
|
|
36
37
|
'user': json['user'],
|
|
37
|
-
'source':
|
|
38
|
+
'source': json['source'],
|
|
39
|
+
'sourceObj': SourceFromJSON(json['source_obj']),
|
|
38
40
|
'created': (new Date(json['created'])),
|
|
39
41
|
'identifier': json['identifier'],
|
|
40
42
|
};
|
|
@@ -47,6 +49,8 @@ export function UserSAMLSourceConnectionToJSON(value) {
|
|
|
47
49
|
return null;
|
|
48
50
|
}
|
|
49
51
|
return {
|
|
52
|
+
'user': value.user,
|
|
53
|
+
'source': value.source,
|
|
50
54
|
'identifier': value.identifier,
|
|
51
55
|
};
|
|
52
56
|
}
|