@goauthentik/api 2024.6.1-1720888668 → 2024.6.1-1721654810
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/dist/apis/PropertymappingsApi.d.ts +0 -1
- package/dist/apis/PropertymappingsApi.js +0 -3
- package/dist/apis/SourcesApi.d.ts +2 -2
- package/dist/apis/SourcesApi.js +6 -6
- package/dist/apis/StagesApi.d.ts +1 -0
- package/dist/apis/StagesApi.js +3 -0
- package/dist/esm/apis/PropertymappingsApi.d.ts +0 -1
- package/dist/esm/apis/PropertymappingsApi.js +0 -3
- package/dist/esm/apis/SourcesApi.d.ts +2 -2
- package/dist/esm/apis/SourcesApi.js +6 -6
- package/dist/esm/apis/StagesApi.d.ts +1 -0
- package/dist/esm/apis/StagesApi.js +3 -0
- package/dist/esm/models/IdentificationChallenge.d.ts +6 -0
- package/dist/esm/models/IdentificationChallenge.js +2 -0
- package/dist/esm/models/IdentificationStage.d.ts +1 -1
- package/dist/esm/models/IdentificationStageRequest.d.ts +1 -1
- package/dist/esm/models/LDAPPropertyMapping.d.ts +0 -6
- package/dist/esm/models/LDAPPropertyMapping.js +0 -3
- package/dist/esm/models/LDAPPropertyMappingRequest.d.ts +0 -6
- package/dist/esm/models/LDAPPropertyMappingRequest.js +0 -3
- package/dist/esm/models/LDAPSource.d.ts +12 -12
- package/dist/esm/models/LDAPSource.js +4 -4
- package/dist/esm/models/LDAPSourceRequest.d.ts +12 -12
- package/dist/esm/models/LDAPSourceRequest.js +4 -4
- package/dist/esm/models/OAuthSource.d.ts +12 -0
- package/dist/esm/models/OAuthSource.js +4 -0
- package/dist/esm/models/OAuthSourceRequest.d.ts +12 -0
- package/dist/esm/models/OAuthSourceRequest.js +4 -0
- package/dist/esm/models/PasswordChallenge.d.ts +6 -0
- package/dist/esm/models/PasswordChallenge.js +2 -0
- package/dist/esm/models/PasswordStage.d.ts +6 -0
- package/dist/esm/models/PasswordStage.js +2 -0
- package/dist/esm/models/PasswordStageRequest.d.ts +6 -0
- package/dist/esm/models/PasswordStageRequest.js +2 -0
- package/dist/esm/models/PatchedIdentificationStageRequest.d.ts +1 -1
- package/dist/esm/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -6
- package/dist/esm/models/PatchedLDAPPropertyMappingRequest.js +0 -2
- package/dist/esm/models/PatchedLDAPSourceRequest.d.ts +12 -12
- package/dist/esm/models/PatchedLDAPSourceRequest.js +4 -4
- package/dist/esm/models/PatchedOAuthSourceRequest.d.ts +12 -0
- package/dist/esm/models/PatchedOAuthSourceRequest.js +4 -0
- package/dist/esm/models/PatchedPasswordStageRequest.d.ts +6 -0
- package/dist/esm/models/PatchedPasswordStageRequest.js +2 -0
- package/dist/esm/models/PatchedPlexSourceRequest.d.ts +12 -0
- package/dist/esm/models/PatchedPlexSourceRequest.js +4 -0
- package/dist/esm/models/PatchedSAMLSourceRequest.d.ts +12 -0
- package/dist/esm/models/PatchedSAMLSourceRequest.js +4 -0
- package/dist/esm/models/PlexSource.d.ts +12 -0
- package/dist/esm/models/PlexSource.js +4 -0
- package/dist/esm/models/PlexSourceRequest.d.ts +12 -0
- package/dist/esm/models/PlexSourceRequest.js +4 -0
- package/dist/esm/models/SAMLSource.d.ts +12 -0
- package/dist/esm/models/SAMLSource.js +4 -0
- package/dist/esm/models/SAMLSourceRequest.d.ts +12 -0
- package/dist/esm/models/SAMLSourceRequest.js +4 -0
- package/dist/esm/models/Source.d.ts +12 -0
- package/dist/esm/models/Source.js +4 -0
- package/dist/esm/models/SourceRequest.d.ts +12 -0
- package/dist/esm/models/SourceRequest.js +4 -0
- package/dist/models/IdentificationChallenge.d.ts +6 -0
- package/dist/models/IdentificationChallenge.js +2 -0
- package/dist/models/IdentificationStage.d.ts +1 -1
- package/dist/models/IdentificationStageRequest.d.ts +1 -1
- package/dist/models/LDAPPropertyMapping.d.ts +0 -6
- package/dist/models/LDAPPropertyMapping.js +0 -3
- package/dist/models/LDAPPropertyMappingRequest.d.ts +0 -6
- package/dist/models/LDAPPropertyMappingRequest.js +0 -3
- package/dist/models/LDAPSource.d.ts +12 -12
- package/dist/models/LDAPSource.js +4 -4
- package/dist/models/LDAPSourceRequest.d.ts +12 -12
- package/dist/models/LDAPSourceRequest.js +4 -4
- package/dist/models/OAuthSource.d.ts +12 -0
- package/dist/models/OAuthSource.js +4 -0
- package/dist/models/OAuthSourceRequest.d.ts +12 -0
- package/dist/models/OAuthSourceRequest.js +4 -0
- package/dist/models/PasswordChallenge.d.ts +6 -0
- package/dist/models/PasswordChallenge.js +2 -0
- package/dist/models/PasswordStage.d.ts +6 -0
- package/dist/models/PasswordStage.js +2 -0
- package/dist/models/PasswordStageRequest.d.ts +6 -0
- package/dist/models/PasswordStageRequest.js +2 -0
- package/dist/models/PatchedIdentificationStageRequest.d.ts +1 -1
- package/dist/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -6
- package/dist/models/PatchedLDAPPropertyMappingRequest.js +0 -2
- package/dist/models/PatchedLDAPSourceRequest.d.ts +12 -12
- package/dist/models/PatchedLDAPSourceRequest.js +4 -4
- package/dist/models/PatchedOAuthSourceRequest.d.ts +12 -0
- package/dist/models/PatchedOAuthSourceRequest.js +4 -0
- package/dist/models/PatchedPasswordStageRequest.d.ts +6 -0
- package/dist/models/PatchedPasswordStageRequest.js +2 -0
- package/dist/models/PatchedPlexSourceRequest.d.ts +12 -0
- package/dist/models/PatchedPlexSourceRequest.js +4 -0
- package/dist/models/PatchedSAMLSourceRequest.d.ts +12 -0
- package/dist/models/PatchedSAMLSourceRequest.js +4 -0
- package/dist/models/PlexSource.d.ts +12 -0
- package/dist/models/PlexSource.js +4 -0
- package/dist/models/PlexSourceRequest.d.ts +12 -0
- package/dist/models/PlexSourceRequest.js +4 -0
- package/dist/models/SAMLSource.d.ts +12 -0
- package/dist/models/SAMLSource.js +4 -0
- package/dist/models/SAMLSourceRequest.d.ts +12 -0
- package/dist/models/SAMLSourceRequest.js +4 -0
- package/dist/models/Source.d.ts +12 -0
- package/dist/models/Source.js +4 -0
- package/dist/models/SourceRequest.d.ts +12 -0
- package/dist/models/SourceRequest.js +4 -0
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +0 -5
- package/src/apis/SourcesApi.ts +10 -10
- package/src/apis/StagesApi.ts +5 -0
- package/src/models/IdentificationChallenge.ts +8 -0
- package/src/models/IdentificationStage.ts +1 -1
- package/src/models/IdentificationStageRequest.ts +1 -1
- package/src/models/LDAPPropertyMapping.ts +0 -9
- package/src/models/LDAPPropertyMappingRequest.ts +0 -9
- package/src/models/LDAPSource.ts +16 -16
- package/src/models/LDAPSourceRequest.ts +16 -16
- package/src/models/OAuthSource.ts +16 -0
- package/src/models/OAuthSourceRequest.ts +16 -0
- package/src/models/PasswordChallenge.ts +8 -0
- package/src/models/PasswordStage.ts +8 -0
- package/src/models/PasswordStageRequest.ts +8 -0
- package/src/models/PatchedIdentificationStageRequest.ts +1 -1
- package/src/models/PatchedLDAPPropertyMappingRequest.ts +0 -8
- package/src/models/PatchedLDAPSourceRequest.ts +16 -16
- package/src/models/PatchedOAuthSourceRequest.ts +16 -0
- package/src/models/PatchedPasswordStageRequest.ts +8 -0
- package/src/models/PatchedPlexSourceRequest.ts +16 -0
- package/src/models/PatchedSAMLSourceRequest.ts +16 -0
- package/src/models/PlexSource.ts +16 -0
- package/src/models/PlexSourceRequest.ts +16 -0
- package/src/models/SAMLSource.ts +16 -0
- package/src/models/SAMLSourceRequest.ts +16 -0
- package/src/models/Source.ts +16 -0
- package/src/models/SourceRequest.ts +16 -0
|
@@ -53,6 +53,18 @@ export interface LDAPSource {
|
|
|
53
53
|
* @memberof LDAPSource
|
|
54
54
|
*/
|
|
55
55
|
enrollmentFlow?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<string>}
|
|
59
|
+
* @memberof LDAPSource
|
|
60
|
+
*/
|
|
61
|
+
userPropertyMappings?: Array<string>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Array<string>}
|
|
65
|
+
* @memberof LDAPSource
|
|
66
|
+
*/
|
|
67
|
+
groupPropertyMappings?: Array<string>;
|
|
56
68
|
/**
|
|
57
69
|
* Get object component so that we know how to edit the object
|
|
58
70
|
* @type {string}
|
|
@@ -215,18 +227,6 @@ export interface LDAPSource {
|
|
|
215
227
|
* @memberof LDAPSource
|
|
216
228
|
*/
|
|
217
229
|
syncParentGroup?: string | null;
|
|
218
|
-
/**
|
|
219
|
-
*
|
|
220
|
-
* @type {Array<string>}
|
|
221
|
-
* @memberof LDAPSource
|
|
222
|
-
*/
|
|
223
|
-
propertyMappings?: Array<string>;
|
|
224
|
-
/**
|
|
225
|
-
* Property mappings used for group creation/updating.
|
|
226
|
-
* @type {Array<string>}
|
|
227
|
-
* @memberof LDAPSource
|
|
228
|
-
*/
|
|
229
|
-
propertyMappingsGroup?: Array<string>;
|
|
230
230
|
/**
|
|
231
231
|
* Get cached source connectivity
|
|
232
232
|
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
@@ -52,6 +52,8 @@ function LDAPSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
|
|
53
53
|
'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
54
54
|
'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
55
|
+
'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
56
|
+
'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
55
57
|
'component': json['component'],
|
|
56
58
|
'verboseName': json['verbose_name'],
|
|
57
59
|
'verboseNamePlural': json['verbose_name_plural'],
|
|
@@ -79,8 +81,6 @@ function LDAPSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
79
81
|
'syncUsersPassword': !(0, runtime_1.exists)(json, 'sync_users_password') ? undefined : json['sync_users_password'],
|
|
80
82
|
'syncGroups': !(0, runtime_1.exists)(json, 'sync_groups') ? undefined : json['sync_groups'],
|
|
81
83
|
'syncParentGroup': !(0, runtime_1.exists)(json, 'sync_parent_group') ? undefined : json['sync_parent_group'],
|
|
82
|
-
'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
|
|
83
|
-
'propertyMappingsGroup': !(0, runtime_1.exists)(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
|
|
84
84
|
'connectivity': json['connectivity'],
|
|
85
85
|
};
|
|
86
86
|
}
|
|
@@ -98,6 +98,8 @@ function LDAPSourceToJSON(value) {
|
|
|
98
98
|
'enabled': value.enabled,
|
|
99
99
|
'authentication_flow': value.authenticationFlow,
|
|
100
100
|
'enrollment_flow': value.enrollmentFlow,
|
|
101
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
102
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
101
103
|
'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
|
|
102
104
|
'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
|
|
103
105
|
'user_path_template': value.userPathTemplate,
|
|
@@ -119,8 +121,6 @@ function LDAPSourceToJSON(value) {
|
|
|
119
121
|
'sync_users_password': value.syncUsersPassword,
|
|
120
122
|
'sync_groups': value.syncGroups,
|
|
121
123
|
'sync_parent_group': value.syncParentGroup,
|
|
122
|
-
'property_mappings': value.propertyMappings,
|
|
123
|
-
'property_mappings_group': value.propertyMappingsGroup,
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
126
|
exports.LDAPSourceToJSON = LDAPSourceToJSON;
|
|
@@ -47,6 +47,18 @@ export interface LDAPSourceRequest {
|
|
|
47
47
|
* @memberof LDAPSourceRequest
|
|
48
48
|
*/
|
|
49
49
|
enrollmentFlow?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Array<string>}
|
|
53
|
+
* @memberof LDAPSourceRequest
|
|
54
|
+
*/
|
|
55
|
+
userPropertyMappings?: Array<string>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<string>}
|
|
59
|
+
* @memberof LDAPSourceRequest
|
|
60
|
+
*/
|
|
61
|
+
groupPropertyMappings?: Array<string>;
|
|
50
62
|
/**
|
|
51
63
|
*
|
|
52
64
|
* @type {PolicyEngineMode}
|
|
@@ -179,18 +191,6 @@ export interface LDAPSourceRequest {
|
|
|
179
191
|
* @memberof LDAPSourceRequest
|
|
180
192
|
*/
|
|
181
193
|
syncParentGroup?: string | null;
|
|
182
|
-
/**
|
|
183
|
-
*
|
|
184
|
-
* @type {Array<string>}
|
|
185
|
-
* @memberof LDAPSourceRequest
|
|
186
|
-
*/
|
|
187
|
-
propertyMappings?: Array<string>;
|
|
188
|
-
/**
|
|
189
|
-
* Property mappings used for group creation/updating.
|
|
190
|
-
* @type {Array<string>}
|
|
191
|
-
* @memberof LDAPSourceRequest
|
|
192
|
-
*/
|
|
193
|
-
propertyMappingsGroup?: Array<string>;
|
|
194
194
|
}
|
|
195
195
|
/**
|
|
196
196
|
* Check if a given object implements the LDAPSourceRequest interface.
|
|
@@ -43,6 +43,8 @@ function LDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
|
|
44
44
|
'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
45
45
|
'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
46
|
+
'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
47
|
+
'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
46
48
|
'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
|
47
49
|
'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
|
|
48
50
|
'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
@@ -65,8 +67,6 @@ function LDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
67
|
'syncUsersPassword': !(0, runtime_1.exists)(json, 'sync_users_password') ? undefined : json['sync_users_password'],
|
|
66
68
|
'syncGroups': !(0, runtime_1.exists)(json, 'sync_groups') ? undefined : json['sync_groups'],
|
|
67
69
|
'syncParentGroup': !(0, runtime_1.exists)(json, 'sync_parent_group') ? undefined : json['sync_parent_group'],
|
|
68
|
-
'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
|
|
69
|
-
'propertyMappingsGroup': !(0, runtime_1.exists)(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
exports.LDAPSourceRequestFromJSONTyped = LDAPSourceRequestFromJSONTyped;
|
|
@@ -83,6 +83,8 @@ function LDAPSourceRequestToJSON(value) {
|
|
|
83
83
|
'enabled': value.enabled,
|
|
84
84
|
'authentication_flow': value.authenticationFlow,
|
|
85
85
|
'enrollment_flow': value.enrollmentFlow,
|
|
86
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
87
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
86
88
|
'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
|
|
87
89
|
'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
|
|
88
90
|
'user_path_template': value.userPathTemplate,
|
|
@@ -105,8 +107,6 @@ function LDAPSourceRequestToJSON(value) {
|
|
|
105
107
|
'sync_users_password': value.syncUsersPassword,
|
|
106
108
|
'sync_groups': value.syncGroups,
|
|
107
109
|
'sync_parent_group': value.syncParentGroup,
|
|
108
|
-
'property_mappings': value.propertyMappings,
|
|
109
|
-
'property_mappings_group': value.propertyMappingsGroup,
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
112
|
exports.LDAPSourceRequestToJSON = LDAPSourceRequestToJSON;
|
|
@@ -55,6 +55,18 @@ export interface OAuthSource {
|
|
|
55
55
|
* @memberof OAuthSource
|
|
56
56
|
*/
|
|
57
57
|
enrollmentFlow?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<string>}
|
|
61
|
+
* @memberof OAuthSource
|
|
62
|
+
*/
|
|
63
|
+
userPropertyMappings?: Array<string>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Array<string>}
|
|
67
|
+
* @memberof OAuthSource
|
|
68
|
+
*/
|
|
69
|
+
groupPropertyMappings?: Array<string>;
|
|
58
70
|
/**
|
|
59
71
|
* Get object component so that we know how to edit the object
|
|
60
72
|
* @type {string}
|
|
@@ -55,6 +55,8 @@ function OAuthSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
55
|
'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
|
|
56
56
|
'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
57
57
|
'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
58
|
+
'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
59
|
+
'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
58
60
|
'component': json['component'],
|
|
59
61
|
'verboseName': json['verbose_name'],
|
|
60
62
|
'verboseNamePlural': json['verbose_name_plural'],
|
|
@@ -92,6 +94,8 @@ function OAuthSourceToJSON(value) {
|
|
|
92
94
|
'enabled': value.enabled,
|
|
93
95
|
'authentication_flow': value.authenticationFlow,
|
|
94
96
|
'enrollment_flow': value.enrollmentFlow,
|
|
97
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
98
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
95
99
|
'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
|
|
96
100
|
'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
|
|
97
101
|
'user_path_template': value.userPathTemplate,
|
|
@@ -48,6 +48,18 @@ export interface OAuthSourceRequest {
|
|
|
48
48
|
* @memberof OAuthSourceRequest
|
|
49
49
|
*/
|
|
50
50
|
enrollmentFlow?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Array<string>}
|
|
54
|
+
* @memberof OAuthSourceRequest
|
|
55
|
+
*/
|
|
56
|
+
userPropertyMappings?: Array<string>;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Array<string>}
|
|
60
|
+
* @memberof OAuthSourceRequest
|
|
61
|
+
*/
|
|
62
|
+
groupPropertyMappings?: Array<string>;
|
|
51
63
|
/**
|
|
52
64
|
*
|
|
53
65
|
* @type {PolicyEngineMode}
|
|
@@ -45,6 +45,8 @@ function OAuthSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
|
|
46
46
|
'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
47
47
|
'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
48
|
+
'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
49
|
+
'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
48
50
|
'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
|
49
51
|
'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
|
|
50
52
|
'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
@@ -75,6 +77,8 @@ function OAuthSourceRequestToJSON(value) {
|
|
|
75
77
|
'enabled': value.enabled,
|
|
76
78
|
'authentication_flow': value.authenticationFlow,
|
|
77
79
|
'enrollment_flow': value.enrollmentFlow,
|
|
80
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
81
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
78
82
|
'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
|
|
79
83
|
'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
|
|
80
84
|
'user_path_template': value.userPathTemplate,
|
|
@@ -55,6 +55,12 @@ export interface PasswordChallenge {
|
|
|
55
55
|
* @memberof PasswordChallenge
|
|
56
56
|
*/
|
|
57
57
|
recoveryUrl?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {boolean}
|
|
61
|
+
* @memberof PasswordChallenge
|
|
62
|
+
*/
|
|
63
|
+
allowShowPassword?: boolean;
|
|
58
64
|
}
|
|
59
65
|
/**
|
|
60
66
|
* Check if a given object implements the PasswordChallenge interface.
|
|
@@ -41,6 +41,7 @@ function PasswordChallengeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'pendingUser': json['pending_user'],
|
|
42
42
|
'pendingUserAvatar': json['pending_user_avatar'],
|
|
43
43
|
'recoveryUrl': !(0, runtime_1.exists)(json, 'recovery_url') ? undefined : json['recovery_url'],
|
|
44
|
+
'allowShowPassword': !(0, runtime_1.exists)(json, 'allow_show_password') ? undefined : json['allow_show_password'],
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
exports.PasswordChallengeFromJSONTyped = PasswordChallengeFromJSONTyped;
|
|
@@ -58,6 +59,7 @@ function PasswordChallengeToJSON(value) {
|
|
|
58
59
|
'pending_user': value.pendingUser,
|
|
59
60
|
'pending_user_avatar': value.pendingUserAvatar,
|
|
60
61
|
'recovery_url': value.recoveryUrl,
|
|
62
|
+
'allow_show_password': value.allowShowPassword,
|
|
61
63
|
};
|
|
62
64
|
}
|
|
63
65
|
exports.PasswordChallengeToJSON = PasswordChallengeToJSON;
|
|
@@ -77,6 +77,12 @@ export interface PasswordStage {
|
|
|
77
77
|
* @memberof PasswordStage
|
|
78
78
|
*/
|
|
79
79
|
failedAttemptsBeforeCancel?: number;
|
|
80
|
+
/**
|
|
81
|
+
* When enabled, provides a 'show password' button with the password input field.
|
|
82
|
+
* @type {boolean}
|
|
83
|
+
* @memberof PasswordStage
|
|
84
|
+
*/
|
|
85
|
+
allowShowPassword?: boolean;
|
|
80
86
|
}
|
|
81
87
|
/**
|
|
82
88
|
* Check if a given object implements the PasswordStage interface.
|
|
@@ -51,6 +51,7 @@ function PasswordStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
51
|
'backends': (json['backends'].map(BackendsEnum_1.BackendsEnumFromJSON)),
|
|
52
52
|
'configureFlow': !(0, runtime_1.exists)(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
53
53
|
'failedAttemptsBeforeCancel': !(0, runtime_1.exists)(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
|
|
54
|
+
'allowShowPassword': !(0, runtime_1.exists)(json, 'allow_show_password') ? undefined : json['allow_show_password'],
|
|
54
55
|
};
|
|
55
56
|
}
|
|
56
57
|
exports.PasswordStageFromJSONTyped = PasswordStageFromJSONTyped;
|
|
@@ -67,6 +68,7 @@ function PasswordStageToJSON(value) {
|
|
|
67
68
|
'backends': (value.backends.map(BackendsEnum_1.BackendsEnumToJSON)),
|
|
68
69
|
'configure_flow': value.configureFlow,
|
|
69
70
|
'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
|
|
71
|
+
'allow_show_password': value.allowShowPassword,
|
|
70
72
|
};
|
|
71
73
|
}
|
|
72
74
|
exports.PasswordStageToJSON = PasswordStageToJSON;
|
|
@@ -47,6 +47,12 @@ export interface PasswordStageRequest {
|
|
|
47
47
|
* @memberof PasswordStageRequest
|
|
48
48
|
*/
|
|
49
49
|
failedAttemptsBeforeCancel?: number;
|
|
50
|
+
/**
|
|
51
|
+
* When enabled, provides a 'show password' button with the password input field.
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof PasswordStageRequest
|
|
54
|
+
*/
|
|
55
|
+
allowShowPassword?: boolean;
|
|
50
56
|
}
|
|
51
57
|
/**
|
|
52
58
|
* Check if a given object implements the PasswordStageRequest interface.
|
|
@@ -41,6 +41,7 @@ function PasswordStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
'backends': (json['backends'].map(BackendsEnum_1.BackendsEnumFromJSON)),
|
|
42
42
|
'configureFlow': !(0, runtime_1.exists)(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
43
43
|
'failedAttemptsBeforeCancel': !(0, runtime_1.exists)(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
|
|
44
|
+
'allowShowPassword': !(0, runtime_1.exists)(json, 'allow_show_password') ? undefined : json['allow_show_password'],
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
exports.PasswordStageRequestFromJSONTyped = PasswordStageRequestFromJSONTyped;
|
|
@@ -57,6 +58,7 @@ function PasswordStageRequestToJSON(value) {
|
|
|
57
58
|
'backends': (value.backends.map(BackendsEnum_1.BackendsEnumToJSON)),
|
|
58
59
|
'configure_flow': value.configureFlow,
|
|
59
60
|
'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
|
|
61
|
+
'allow_show_password': value.allowShowPassword,
|
|
60
62
|
};
|
|
61
63
|
}
|
|
62
64
|
exports.PasswordStageRequestToJSON = PasswordStageRequestToJSON;
|
|
@@ -36,7 +36,7 @@ export interface PatchedIdentificationStageRequest {
|
|
|
36
36
|
*/
|
|
37
37
|
userFields?: Array<UserFieldsEnum>;
|
|
38
38
|
/**
|
|
39
|
-
* When set, shows a password field, instead of showing the password field as
|
|
39
|
+
* When set, shows a password field, instead of showing the password field as separate step.
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof PatchedIdentificationStageRequest
|
|
42
42
|
*/
|
|
@@ -33,12 +33,6 @@ export interface PatchedLDAPPropertyMappingRequest {
|
|
|
33
33
|
* @memberof PatchedLDAPPropertyMappingRequest
|
|
34
34
|
*/
|
|
35
35
|
expression?: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof PatchedLDAPPropertyMappingRequest
|
|
40
|
-
*/
|
|
41
|
-
objectField?: string;
|
|
42
36
|
}
|
|
43
37
|
/**
|
|
44
38
|
* Check if a given object implements the PatchedLDAPPropertyMappingRequest interface.
|
|
@@ -35,7 +35,6 @@ function PatchedLDAPPropertyMappingRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
35
35
|
'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
|
|
36
36
|
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
37
37
|
'expression': !(0, runtime_1.exists)(json, 'expression') ? undefined : json['expression'],
|
|
38
|
-
'objectField': !(0, runtime_1.exists)(json, 'object_field') ? undefined : json['object_field'],
|
|
39
38
|
};
|
|
40
39
|
}
|
|
41
40
|
exports.PatchedLDAPPropertyMappingRequestFromJSONTyped = PatchedLDAPPropertyMappingRequestFromJSONTyped;
|
|
@@ -50,7 +49,6 @@ function PatchedLDAPPropertyMappingRequestToJSON(value) {
|
|
|
50
49
|
'managed': value.managed,
|
|
51
50
|
'name': value.name,
|
|
52
51
|
'expression': value.expression,
|
|
53
|
-
'object_field': value.objectField,
|
|
54
52
|
};
|
|
55
53
|
}
|
|
56
54
|
exports.PatchedLDAPPropertyMappingRequestToJSON = PatchedLDAPPropertyMappingRequestToJSON;
|
|
@@ -47,6 +47,18 @@ export interface PatchedLDAPSourceRequest {
|
|
|
47
47
|
* @memberof PatchedLDAPSourceRequest
|
|
48
48
|
*/
|
|
49
49
|
enrollmentFlow?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Array<string>}
|
|
53
|
+
* @memberof PatchedLDAPSourceRequest
|
|
54
|
+
*/
|
|
55
|
+
userPropertyMappings?: Array<string>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<string>}
|
|
59
|
+
* @memberof PatchedLDAPSourceRequest
|
|
60
|
+
*/
|
|
61
|
+
groupPropertyMappings?: Array<string>;
|
|
50
62
|
/**
|
|
51
63
|
*
|
|
52
64
|
* @type {PolicyEngineMode}
|
|
@@ -179,18 +191,6 @@ export interface PatchedLDAPSourceRequest {
|
|
|
179
191
|
* @memberof PatchedLDAPSourceRequest
|
|
180
192
|
*/
|
|
181
193
|
syncParentGroup?: string | null;
|
|
182
|
-
/**
|
|
183
|
-
*
|
|
184
|
-
* @type {Array<string>}
|
|
185
|
-
* @memberof PatchedLDAPSourceRequest
|
|
186
|
-
*/
|
|
187
|
-
propertyMappings?: Array<string>;
|
|
188
|
-
/**
|
|
189
|
-
* Property mappings used for group creation/updating.
|
|
190
|
-
* @type {Array<string>}
|
|
191
|
-
* @memberof PatchedLDAPSourceRequest
|
|
192
|
-
*/
|
|
193
|
-
propertyMappingsGroup?: Array<string>;
|
|
194
194
|
}
|
|
195
195
|
/**
|
|
196
196
|
* Check if a given object implements the PatchedLDAPSourceRequest interface.
|
|
@@ -39,6 +39,8 @@ function PatchedLDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
|
|
40
40
|
'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
41
41
|
'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
42
|
+
'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
43
|
+
'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
42
44
|
'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
|
43
45
|
'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
|
|
44
46
|
'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
@@ -61,8 +63,6 @@ function PatchedLDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
63
|
'syncUsersPassword': !(0, runtime_1.exists)(json, 'sync_users_password') ? undefined : json['sync_users_password'],
|
|
62
64
|
'syncGroups': !(0, runtime_1.exists)(json, 'sync_groups') ? undefined : json['sync_groups'],
|
|
63
65
|
'syncParentGroup': !(0, runtime_1.exists)(json, 'sync_parent_group') ? undefined : json['sync_parent_group'],
|
|
64
|
-
'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
|
|
65
|
-
'propertyMappingsGroup': !(0, runtime_1.exists)(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
exports.PatchedLDAPSourceRequestFromJSONTyped = PatchedLDAPSourceRequestFromJSONTyped;
|
|
@@ -79,6 +79,8 @@ function PatchedLDAPSourceRequestToJSON(value) {
|
|
|
79
79
|
'enabled': value.enabled,
|
|
80
80
|
'authentication_flow': value.authenticationFlow,
|
|
81
81
|
'enrollment_flow': value.enrollmentFlow,
|
|
82
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
83
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
82
84
|
'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
|
|
83
85
|
'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
|
|
84
86
|
'user_path_template': value.userPathTemplate,
|
|
@@ -101,8 +103,6 @@ function PatchedLDAPSourceRequestToJSON(value) {
|
|
|
101
103
|
'sync_users_password': value.syncUsersPassword,
|
|
102
104
|
'sync_groups': value.syncGroups,
|
|
103
105
|
'sync_parent_group': value.syncParentGroup,
|
|
104
|
-
'property_mappings': value.propertyMappings,
|
|
105
|
-
'property_mappings_group': value.propertyMappingsGroup,
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
108
|
exports.PatchedLDAPSourceRequestToJSON = PatchedLDAPSourceRequestToJSON;
|
|
@@ -48,6 +48,18 @@ export interface PatchedOAuthSourceRequest {
|
|
|
48
48
|
* @memberof PatchedOAuthSourceRequest
|
|
49
49
|
*/
|
|
50
50
|
enrollmentFlow?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {Array<string>}
|
|
54
|
+
* @memberof PatchedOAuthSourceRequest
|
|
55
|
+
*/
|
|
56
|
+
userPropertyMappings?: Array<string>;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Array<string>}
|
|
60
|
+
* @memberof PatchedOAuthSourceRequest
|
|
61
|
+
*/
|
|
62
|
+
groupPropertyMappings?: Array<string>;
|
|
51
63
|
/**
|
|
52
64
|
*
|
|
53
65
|
* @type {PolicyEngineMode}
|
|
@@ -40,6 +40,8 @@ function PatchedOAuthSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
|
|
41
41
|
'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
42
42
|
'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
43
|
+
'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
44
|
+
'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
43
45
|
'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
|
44
46
|
'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
|
|
45
47
|
'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
@@ -70,6 +72,8 @@ function PatchedOAuthSourceRequestToJSON(value) {
|
|
|
70
72
|
'enabled': value.enabled,
|
|
71
73
|
'authentication_flow': value.authenticationFlow,
|
|
72
74
|
'enrollment_flow': value.enrollmentFlow,
|
|
75
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
76
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
73
77
|
'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
|
|
74
78
|
'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
|
|
75
79
|
'user_path_template': value.userPathTemplate,
|
|
@@ -47,6 +47,12 @@ export interface PatchedPasswordStageRequest {
|
|
|
47
47
|
* @memberof PatchedPasswordStageRequest
|
|
48
48
|
*/
|
|
49
49
|
failedAttemptsBeforeCancel?: number;
|
|
50
|
+
/**
|
|
51
|
+
* When enabled, provides a 'show password' button with the password input field.
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof PatchedPasswordStageRequest
|
|
54
|
+
*/
|
|
55
|
+
allowShowPassword?: boolean;
|
|
50
56
|
}
|
|
51
57
|
/**
|
|
52
58
|
* Check if a given object implements the PatchedPasswordStageRequest interface.
|
|
@@ -39,6 +39,7 @@ function PatchedPasswordStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'backends': !(0, runtime_1.exists)(json, 'backends') ? undefined : (json['backends'].map(BackendsEnum_1.BackendsEnumFromJSON)),
|
|
40
40
|
'configureFlow': !(0, runtime_1.exists)(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
41
41
|
'failedAttemptsBeforeCancel': !(0, runtime_1.exists)(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
|
|
42
|
+
'allowShowPassword': !(0, runtime_1.exists)(json, 'allow_show_password') ? undefined : json['allow_show_password'],
|
|
42
43
|
};
|
|
43
44
|
}
|
|
44
45
|
exports.PatchedPasswordStageRequestFromJSONTyped = PatchedPasswordStageRequestFromJSONTyped;
|
|
@@ -55,6 +56,7 @@ function PatchedPasswordStageRequestToJSON(value) {
|
|
|
55
56
|
'backends': value.backends === undefined ? undefined : (value.backends.map(BackendsEnum_1.BackendsEnumToJSON)),
|
|
56
57
|
'configure_flow': value.configureFlow,
|
|
57
58
|
'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
|
|
59
|
+
'allow_show_password': value.allowShowPassword,
|
|
58
60
|
};
|
|
59
61
|
}
|
|
60
62
|
exports.PatchedPasswordStageRequestToJSON = PatchedPasswordStageRequestToJSON;
|
|
@@ -47,6 +47,18 @@ export interface PatchedPlexSourceRequest {
|
|
|
47
47
|
* @memberof PatchedPlexSourceRequest
|
|
48
48
|
*/
|
|
49
49
|
enrollmentFlow?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Array<string>}
|
|
53
|
+
* @memberof PatchedPlexSourceRequest
|
|
54
|
+
*/
|
|
55
|
+
userPropertyMappings?: Array<string>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<string>}
|
|
59
|
+
* @memberof PatchedPlexSourceRequest
|
|
60
|
+
*/
|
|
61
|
+
groupPropertyMappings?: Array<string>;
|
|
50
62
|
/**
|
|
51
63
|
*
|
|
52
64
|
* @type {PolicyEngineMode}
|
|
@@ -39,6 +39,8 @@ function PatchedPlexSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
|
|
40
40
|
'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
41
41
|
'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
42
|
+
'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
43
|
+
'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
42
44
|
'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
|
43
45
|
'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
|
|
44
46
|
'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
@@ -62,6 +64,8 @@ function PatchedPlexSourceRequestToJSON(value) {
|
|
|
62
64
|
'enabled': value.enabled,
|
|
63
65
|
'authentication_flow': value.authenticationFlow,
|
|
64
66
|
'enrollment_flow': value.enrollmentFlow,
|
|
67
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
68
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
65
69
|
'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
|
|
66
70
|
'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
|
|
67
71
|
'user_path_template': value.userPathTemplate,
|
|
@@ -51,6 +51,18 @@ export interface PatchedSAMLSourceRequest {
|
|
|
51
51
|
* @memberof PatchedSAMLSourceRequest
|
|
52
52
|
*/
|
|
53
53
|
enrollmentFlow?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof PatchedSAMLSourceRequest
|
|
58
|
+
*/
|
|
59
|
+
userPropertyMappings?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof PatchedSAMLSourceRequest
|
|
64
|
+
*/
|
|
65
|
+
groupPropertyMappings?: Array<string>;
|
|
54
66
|
/**
|
|
55
67
|
*
|
|
56
68
|
* @type {PolicyEngineMode}
|
|
@@ -43,6 +43,8 @@ function PatchedSAMLSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
|
|
44
44
|
'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
45
45
|
'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
46
|
+
'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
47
|
+
'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
46
48
|
'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
|
47
49
|
'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
|
|
48
50
|
'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
@@ -74,6 +76,8 @@ function PatchedSAMLSourceRequestToJSON(value) {
|
|
|
74
76
|
'enabled': value.enabled,
|
|
75
77
|
'authentication_flow': value.authenticationFlow,
|
|
76
78
|
'enrollment_flow': value.enrollmentFlow,
|
|
79
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
80
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
77
81
|
'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
|
|
78
82
|
'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
|
|
79
83
|
'user_path_template': value.userPathTemplate,
|
|
@@ -53,6 +53,18 @@ export interface PlexSource {
|
|
|
53
53
|
* @memberof PlexSource
|
|
54
54
|
*/
|
|
55
55
|
enrollmentFlow?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<string>}
|
|
59
|
+
* @memberof PlexSource
|
|
60
|
+
*/
|
|
61
|
+
userPropertyMappings?: Array<string>;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Array<string>}
|
|
65
|
+
* @memberof PlexSource
|
|
66
|
+
*/
|
|
67
|
+
groupPropertyMappings?: Array<string>;
|
|
56
68
|
/**
|
|
57
69
|
* Get object component so that we know how to edit the object
|
|
58
70
|
* @type {string}
|
|
@@ -50,6 +50,8 @@ function PlexSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
50
|
'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
|
|
51
51
|
'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
52
52
|
'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
53
|
+
'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
54
|
+
'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
53
55
|
'component': json['component'],
|
|
54
56
|
'verboseName': json['verbose_name'],
|
|
55
57
|
'verboseNamePlural': json['verbose_name_plural'],
|
|
@@ -79,6 +81,8 @@ function PlexSourceToJSON(value) {
|
|
|
79
81
|
'enabled': value.enabled,
|
|
80
82
|
'authentication_flow': value.authenticationFlow,
|
|
81
83
|
'enrollment_flow': value.enrollmentFlow,
|
|
84
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
85
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
82
86
|
'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
|
|
83
87
|
'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
|
|
84
88
|
'user_path_template': value.userPathTemplate,
|
|
@@ -47,6 +47,18 @@ export interface PlexSourceRequest {
|
|
|
47
47
|
* @memberof PlexSourceRequest
|
|
48
48
|
*/
|
|
49
49
|
enrollmentFlow?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Array<string>}
|
|
53
|
+
* @memberof PlexSourceRequest
|
|
54
|
+
*/
|
|
55
|
+
userPropertyMappings?: Array<string>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {Array<string>}
|
|
59
|
+
* @memberof PlexSourceRequest
|
|
60
|
+
*/
|
|
61
|
+
groupPropertyMappings?: Array<string>;
|
|
50
62
|
/**
|
|
51
63
|
*
|
|
52
64
|
* @type {PolicyEngineMode}
|