@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
|
@@ -338,9 +338,6 @@ class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
338
338
|
if (requestParameters.name !== undefined) {
|
|
339
339
|
queryParameters['name'] = requestParameters.name;
|
|
340
340
|
}
|
|
341
|
-
if (requestParameters.objectField !== undefined) {
|
|
342
|
-
queryParameters['object_field'] = requestParameters.objectField;
|
|
343
|
-
}
|
|
344
341
|
if (requestParameters.ordering !== undefined) {
|
|
345
342
|
queryParameters['ordering'] = requestParameters.ordering;
|
|
346
343
|
}
|
|
@@ -56,6 +56,7 @@ export interface SourcesLdapListRequest {
|
|
|
56
56
|
enabled?: boolean;
|
|
57
57
|
groupMembershipField?: string;
|
|
58
58
|
groupObjectFilter?: string;
|
|
59
|
+
groupPropertyMappings?: Array<string>;
|
|
59
60
|
name?: string;
|
|
60
61
|
objectUniquenessField?: string;
|
|
61
62
|
ordering?: string;
|
|
@@ -63,8 +64,6 @@ export interface SourcesLdapListRequest {
|
|
|
63
64
|
pageSize?: number;
|
|
64
65
|
passwordLoginUpdateInternalPassword?: boolean;
|
|
65
66
|
peerCertificate?: string;
|
|
66
|
-
propertyMappings?: Array<string>;
|
|
67
|
-
propertyMappingsGroup?: Array<string>;
|
|
68
67
|
search?: string;
|
|
69
68
|
serverUri?: string;
|
|
70
69
|
slug?: string;
|
|
@@ -75,6 +74,7 @@ export interface SourcesLdapListRequest {
|
|
|
75
74
|
syncUsers?: boolean;
|
|
76
75
|
syncUsersPassword?: boolean;
|
|
77
76
|
userObjectFilter?: string;
|
|
77
|
+
userPropertyMappings?: Array<string>;
|
|
78
78
|
}
|
|
79
79
|
export interface SourcesLdapPartialUpdateRequest {
|
|
80
80
|
slug: string;
|
package/dist/apis/SourcesApi.js
CHANGED
|
@@ -481,6 +481,9 @@ class SourcesApi extends runtime.BaseAPI {
|
|
|
481
481
|
if (requestParameters.groupObjectFilter !== undefined) {
|
|
482
482
|
queryParameters['group_object_filter'] = requestParameters.groupObjectFilter;
|
|
483
483
|
}
|
|
484
|
+
if (requestParameters.groupPropertyMappings) {
|
|
485
|
+
queryParameters['group_property_mappings'] = requestParameters.groupPropertyMappings;
|
|
486
|
+
}
|
|
484
487
|
if (requestParameters.name !== undefined) {
|
|
485
488
|
queryParameters['name'] = requestParameters.name;
|
|
486
489
|
}
|
|
@@ -502,12 +505,6 @@ class SourcesApi extends runtime.BaseAPI {
|
|
|
502
505
|
if (requestParameters.peerCertificate !== undefined) {
|
|
503
506
|
queryParameters['peer_certificate'] = requestParameters.peerCertificate;
|
|
504
507
|
}
|
|
505
|
-
if (requestParameters.propertyMappings) {
|
|
506
|
-
queryParameters['property_mappings'] = requestParameters.propertyMappings;
|
|
507
|
-
}
|
|
508
|
-
if (requestParameters.propertyMappingsGroup) {
|
|
509
|
-
queryParameters['property_mappings_group'] = requestParameters.propertyMappingsGroup;
|
|
510
|
-
}
|
|
511
508
|
if (requestParameters.search !== undefined) {
|
|
512
509
|
queryParameters['search'] = requestParameters.search;
|
|
513
510
|
}
|
|
@@ -538,6 +535,9 @@ class SourcesApi extends runtime.BaseAPI {
|
|
|
538
535
|
if (requestParameters.userObjectFilter !== undefined) {
|
|
539
536
|
queryParameters['user_object_filter'] = requestParameters.userObjectFilter;
|
|
540
537
|
}
|
|
538
|
+
if (requestParameters.userPropertyMappings) {
|
|
539
|
+
queryParameters['user_property_mappings'] = requestParameters.userPropertyMappings;
|
|
540
|
+
}
|
|
541
541
|
const headerParameters = {};
|
|
542
542
|
if (this.configuration && this.configuration.accessToken) {
|
|
543
543
|
const token = this.configuration.accessToken;
|
package/dist/apis/StagesApi.d.ts
CHANGED
package/dist/apis/StagesApi.js
CHANGED
|
@@ -4455,6 +4455,9 @@ class StagesApi extends runtime.BaseAPI {
|
|
|
4455
4455
|
stagesPasswordListRaw(requestParameters, initOverrides) {
|
|
4456
4456
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4457
4457
|
const queryParameters = {};
|
|
4458
|
+
if (requestParameters.allowShowPassword !== undefined) {
|
|
4459
|
+
queryParameters['allow_show_password'] = requestParameters.allowShowPassword;
|
|
4460
|
+
}
|
|
4458
4461
|
if (requestParameters.configureFlow !== undefined) {
|
|
4459
4462
|
queryParameters['configure_flow'] = requestParameters.configureFlow;
|
|
4460
4463
|
}
|
|
@@ -335,9 +335,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
|
335
335
|
if (requestParameters.name !== undefined) {
|
|
336
336
|
queryParameters['name'] = requestParameters.name;
|
|
337
337
|
}
|
|
338
|
-
if (requestParameters.objectField !== undefined) {
|
|
339
|
-
queryParameters['object_field'] = requestParameters.objectField;
|
|
340
|
-
}
|
|
341
338
|
if (requestParameters.ordering !== undefined) {
|
|
342
339
|
queryParameters['ordering'] = requestParameters.ordering;
|
|
343
340
|
}
|
|
@@ -56,6 +56,7 @@ export interface SourcesLdapListRequest {
|
|
|
56
56
|
enabled?: boolean;
|
|
57
57
|
groupMembershipField?: string;
|
|
58
58
|
groupObjectFilter?: string;
|
|
59
|
+
groupPropertyMappings?: Array<string>;
|
|
59
60
|
name?: string;
|
|
60
61
|
objectUniquenessField?: string;
|
|
61
62
|
ordering?: string;
|
|
@@ -63,8 +64,6 @@ export interface SourcesLdapListRequest {
|
|
|
63
64
|
pageSize?: number;
|
|
64
65
|
passwordLoginUpdateInternalPassword?: boolean;
|
|
65
66
|
peerCertificate?: string;
|
|
66
|
-
propertyMappings?: Array<string>;
|
|
67
|
-
propertyMappingsGroup?: Array<string>;
|
|
68
67
|
search?: string;
|
|
69
68
|
serverUri?: string;
|
|
70
69
|
slug?: string;
|
|
@@ -75,6 +74,7 @@ export interface SourcesLdapListRequest {
|
|
|
75
74
|
syncUsers?: boolean;
|
|
76
75
|
syncUsersPassword?: boolean;
|
|
77
76
|
userObjectFilter?: string;
|
|
77
|
+
userPropertyMappings?: Array<string>;
|
|
78
78
|
}
|
|
79
79
|
export interface SourcesLdapPartialUpdateRequest {
|
|
80
80
|
slug: string;
|
|
@@ -478,6 +478,9 @@ export class SourcesApi extends runtime.BaseAPI {
|
|
|
478
478
|
if (requestParameters.groupObjectFilter !== undefined) {
|
|
479
479
|
queryParameters['group_object_filter'] = requestParameters.groupObjectFilter;
|
|
480
480
|
}
|
|
481
|
+
if (requestParameters.groupPropertyMappings) {
|
|
482
|
+
queryParameters['group_property_mappings'] = requestParameters.groupPropertyMappings;
|
|
483
|
+
}
|
|
481
484
|
if (requestParameters.name !== undefined) {
|
|
482
485
|
queryParameters['name'] = requestParameters.name;
|
|
483
486
|
}
|
|
@@ -499,12 +502,6 @@ export class SourcesApi extends runtime.BaseAPI {
|
|
|
499
502
|
if (requestParameters.peerCertificate !== undefined) {
|
|
500
503
|
queryParameters['peer_certificate'] = requestParameters.peerCertificate;
|
|
501
504
|
}
|
|
502
|
-
if (requestParameters.propertyMappings) {
|
|
503
|
-
queryParameters['property_mappings'] = requestParameters.propertyMappings;
|
|
504
|
-
}
|
|
505
|
-
if (requestParameters.propertyMappingsGroup) {
|
|
506
|
-
queryParameters['property_mappings_group'] = requestParameters.propertyMappingsGroup;
|
|
507
|
-
}
|
|
508
505
|
if (requestParameters.search !== undefined) {
|
|
509
506
|
queryParameters['search'] = requestParameters.search;
|
|
510
507
|
}
|
|
@@ -535,6 +532,9 @@ export class SourcesApi extends runtime.BaseAPI {
|
|
|
535
532
|
if (requestParameters.userObjectFilter !== undefined) {
|
|
536
533
|
queryParameters['user_object_filter'] = requestParameters.userObjectFilter;
|
|
537
534
|
}
|
|
535
|
+
if (requestParameters.userPropertyMappings) {
|
|
536
|
+
queryParameters['user_property_mappings'] = requestParameters.userPropertyMappings;
|
|
537
|
+
}
|
|
538
538
|
const headerParameters = {};
|
|
539
539
|
if (this.configuration && this.configuration.accessToken) {
|
|
540
540
|
const token = this.configuration.accessToken;
|
|
@@ -4452,6 +4452,9 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
4452
4452
|
stagesPasswordListRaw(requestParameters, initOverrides) {
|
|
4453
4453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4454
4454
|
const queryParameters = {};
|
|
4455
|
+
if (requestParameters.allowShowPassword !== undefined) {
|
|
4456
|
+
queryParameters['allow_show_password'] = requestParameters.allowShowPassword;
|
|
4457
|
+
}
|
|
4455
4458
|
if (requestParameters.configureFlow !== undefined) {
|
|
4456
4459
|
queryParameters['configure_flow'] = requestParameters.configureFlow;
|
|
4457
4460
|
}
|
|
@@ -51,6 +51,12 @@ export interface IdentificationChallenge {
|
|
|
51
51
|
* @memberof IdentificationChallenge
|
|
52
52
|
*/
|
|
53
53
|
passwordFields: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof IdentificationChallenge
|
|
58
|
+
*/
|
|
59
|
+
allowShowPassword?: boolean;
|
|
54
60
|
/**
|
|
55
61
|
*
|
|
56
62
|
* @type {string}
|
|
@@ -40,6 +40,7 @@ export function IdentificationChallengeFromJSONTyped(json, ignoreDiscriminator)
|
|
|
40
40
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
|
41
41
|
'userFields': json['user_fields'],
|
|
42
42
|
'passwordFields': json['password_fields'],
|
|
43
|
+
'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
|
|
43
44
|
'applicationPre': !exists(json, 'application_pre') ? undefined : json['application_pre'],
|
|
44
45
|
'flowDesignation': FlowDesignationEnumFromJSON(json['flow_designation']),
|
|
45
46
|
'enrollUrl': !exists(json, 'enroll_url') ? undefined : json['enroll_url'],
|
|
@@ -63,6 +64,7 @@ export function IdentificationChallengeToJSON(value) {
|
|
|
63
64
|
'response_errors': value.responseErrors,
|
|
64
65
|
'user_fields': value.userFields,
|
|
65
66
|
'password_fields': value.passwordFields,
|
|
67
|
+
'allow_show_password': value.allowShowPassword,
|
|
66
68
|
'application_pre': value.applicationPre,
|
|
67
69
|
'flow_designation': FlowDesignationEnumToJSON(value.flowDesignation),
|
|
68
70
|
'enroll_url': value.enrollUrl,
|
|
@@ -66,7 +66,7 @@ export interface IdentificationStage {
|
|
|
66
66
|
*/
|
|
67
67
|
userFields?: Array<UserFieldsEnum>;
|
|
68
68
|
/**
|
|
69
|
-
* When set, shows a password field, instead of showing the password field as
|
|
69
|
+
* When set, shows a password field, instead of showing the password field as separate step.
|
|
70
70
|
* @type {string}
|
|
71
71
|
* @memberof IdentificationStage
|
|
72
72
|
*/
|
|
@@ -36,7 +36,7 @@ export interface IdentificationStageRequest {
|
|
|
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 IdentificationStageRequest
|
|
42
42
|
*/
|
|
@@ -63,12 +63,6 @@ export interface LDAPPropertyMapping {
|
|
|
63
63
|
* @memberof LDAPPropertyMapping
|
|
64
64
|
*/
|
|
65
65
|
readonly metaModelName: string;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof LDAPPropertyMapping
|
|
70
|
-
*/
|
|
71
|
-
objectField: string;
|
|
72
66
|
}
|
|
73
67
|
/**
|
|
74
68
|
* Check if a given object implements the LDAPPropertyMapping interface.
|
|
@@ -24,7 +24,6 @@ export function instanceOfLDAPPropertyMapping(value) {
|
|
|
24
24
|
isInstance = isInstance && "verboseName" in value;
|
|
25
25
|
isInstance = isInstance && "verboseNamePlural" in value;
|
|
26
26
|
isInstance = isInstance && "metaModelName" in value;
|
|
27
|
-
isInstance = isInstance && "objectField" in value;
|
|
28
27
|
return isInstance;
|
|
29
28
|
}
|
|
30
29
|
export function LDAPPropertyMappingFromJSON(json) {
|
|
@@ -43,7 +42,6 @@ export function LDAPPropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
42
|
'verboseName': json['verbose_name'],
|
|
44
43
|
'verboseNamePlural': json['verbose_name_plural'],
|
|
45
44
|
'metaModelName': json['meta_model_name'],
|
|
46
|
-
'objectField': json['object_field'],
|
|
47
45
|
};
|
|
48
46
|
}
|
|
49
47
|
export function LDAPPropertyMappingToJSON(value) {
|
|
@@ -57,6 +55,5 @@ export function LDAPPropertyMappingToJSON(value) {
|
|
|
57
55
|
'managed': value.managed,
|
|
58
56
|
'name': value.name,
|
|
59
57
|
'expression': value.expression,
|
|
60
|
-
'object_field': value.objectField,
|
|
61
58
|
};
|
|
62
59
|
}
|
|
@@ -33,12 +33,6 @@ export interface LDAPPropertyMappingRequest {
|
|
|
33
33
|
* @memberof LDAPPropertyMappingRequest
|
|
34
34
|
*/
|
|
35
35
|
expression: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof LDAPPropertyMappingRequest
|
|
40
|
-
*/
|
|
41
|
-
objectField: string;
|
|
42
36
|
}
|
|
43
37
|
/**
|
|
44
38
|
* Check if a given object implements the LDAPPropertyMappingRequest interface.
|
|
@@ -19,7 +19,6 @@ export function instanceOfLDAPPropertyMappingRequest(value) {
|
|
|
19
19
|
let isInstance = true;
|
|
20
20
|
isInstance = isInstance && "name" in value;
|
|
21
21
|
isInstance = isInstance && "expression" in value;
|
|
22
|
-
isInstance = isInstance && "objectField" in value;
|
|
23
22
|
return isInstance;
|
|
24
23
|
}
|
|
25
24
|
export function LDAPPropertyMappingRequestFromJSON(json) {
|
|
@@ -33,7 +32,6 @@ export function LDAPPropertyMappingRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
33
32
|
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
|
34
33
|
'name': json['name'],
|
|
35
34
|
'expression': json['expression'],
|
|
36
|
-
'objectField': json['object_field'],
|
|
37
35
|
};
|
|
38
36
|
}
|
|
39
37
|
export function LDAPPropertyMappingRequestToJSON(value) {
|
|
@@ -47,6 +45,5 @@ export function LDAPPropertyMappingRequestToJSON(value) {
|
|
|
47
45
|
'managed': value.managed,
|
|
48
46
|
'name': value.name,
|
|
49
47
|
'expression': value.expression,
|
|
50
|
-
'object_field': value.objectField,
|
|
51
48
|
};
|
|
52
49
|
}
|
|
@@ -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; }; }}
|
|
@@ -47,6 +47,8 @@ export function LDAPSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
48
48
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
49
49
|
'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
50
|
+
'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
51
|
+
'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
50
52
|
'component': json['component'],
|
|
51
53
|
'verboseName': json['verbose_name'],
|
|
52
54
|
'verboseNamePlural': json['verbose_name_plural'],
|
|
@@ -74,8 +76,6 @@ export function LDAPSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
74
76
|
'syncUsersPassword': !exists(json, 'sync_users_password') ? undefined : json['sync_users_password'],
|
|
75
77
|
'syncGroups': !exists(json, 'sync_groups') ? undefined : json['sync_groups'],
|
|
76
78
|
'syncParentGroup': !exists(json, 'sync_parent_group') ? undefined : json['sync_parent_group'],
|
|
77
|
-
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
|
78
|
-
'propertyMappingsGroup': !exists(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
|
|
79
79
|
'connectivity': json['connectivity'],
|
|
80
80
|
};
|
|
81
81
|
}
|
|
@@ -92,6 +92,8 @@ export function LDAPSourceToJSON(value) {
|
|
|
92
92
|
'enabled': value.enabled,
|
|
93
93
|
'authentication_flow': value.authenticationFlow,
|
|
94
94
|
'enrollment_flow': value.enrollmentFlow,
|
|
95
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
96
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
95
97
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
96
98
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
|
97
99
|
'user_path_template': value.userPathTemplate,
|
|
@@ -113,7 +115,5 @@ export function LDAPSourceToJSON(value) {
|
|
|
113
115
|
'sync_users_password': value.syncUsersPassword,
|
|
114
116
|
'sync_groups': value.syncGroups,
|
|
115
117
|
'sync_parent_group': value.syncParentGroup,
|
|
116
|
-
'property_mappings': value.propertyMappings,
|
|
117
|
-
'property_mappings_group': value.propertyMappingsGroup,
|
|
118
118
|
};
|
|
119
119
|
}
|
|
@@ -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.
|
|
@@ -38,6 +38,8 @@ export function LDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
39
39
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
40
40
|
'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
41
|
+
'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
42
|
+
'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
41
43
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
42
44
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
43
45
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
@@ -60,8 +62,6 @@ export function LDAPSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
62
|
'syncUsersPassword': !exists(json, 'sync_users_password') ? undefined : json['sync_users_password'],
|
|
61
63
|
'syncGroups': !exists(json, 'sync_groups') ? undefined : json['sync_groups'],
|
|
62
64
|
'syncParentGroup': !exists(json, 'sync_parent_group') ? undefined : json['sync_parent_group'],
|
|
63
|
-
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
|
64
|
-
'propertyMappingsGroup': !exists(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
export function LDAPSourceRequestToJSON(value) {
|
|
@@ -77,6 +77,8 @@ export function LDAPSourceRequestToJSON(value) {
|
|
|
77
77
|
'enabled': value.enabled,
|
|
78
78
|
'authentication_flow': value.authenticationFlow,
|
|
79
79
|
'enrollment_flow': value.enrollmentFlow,
|
|
80
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
81
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
80
82
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
81
83
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
|
82
84
|
'user_path_template': value.userPathTemplate,
|
|
@@ -99,7 +101,5 @@ export function LDAPSourceRequestToJSON(value) {
|
|
|
99
101
|
'sync_users_password': value.syncUsersPassword,
|
|
100
102
|
'sync_groups': value.syncGroups,
|
|
101
103
|
'sync_parent_group': value.syncParentGroup,
|
|
102
|
-
'property_mappings': value.propertyMappings,
|
|
103
|
-
'property_mappings_group': value.propertyMappingsGroup,
|
|
104
104
|
};
|
|
105
105
|
}
|
|
@@ -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}
|
|
@@ -50,6 +50,8 @@ export function OAuthSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
50
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
51
51
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
52
52
|
'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
53
|
+
'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
54
|
+
'groupPropertyMappings': !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'],
|
|
@@ -86,6 +88,8 @@ export function OAuthSourceToJSON(value) {
|
|
|
86
88
|
'enabled': value.enabled,
|
|
87
89
|
'authentication_flow': value.authenticationFlow,
|
|
88
90
|
'enrollment_flow': value.enrollmentFlow,
|
|
91
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
92
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
89
93
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
90
94
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
|
91
95
|
'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}
|
|
@@ -40,6 +40,8 @@ export function OAuthSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
41
41
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
42
42
|
'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
43
|
+
'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
44
|
+
'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
43
45
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
44
46
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
45
47
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
@@ -69,6 +71,8 @@ export function OAuthSourceRequestToJSON(value) {
|
|
|
69
71
|
'enabled': value.enabled,
|
|
70
72
|
'authentication_flow': value.authenticationFlow,
|
|
71
73
|
'enrollment_flow': value.enrollmentFlow,
|
|
74
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
75
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
72
76
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
73
77
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
|
74
78
|
'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.
|
|
@@ -36,6 +36,7 @@ export function PasswordChallengeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'pendingUser': json['pending_user'],
|
|
37
37
|
'pendingUserAvatar': json['pending_user_avatar'],
|
|
38
38
|
'recoveryUrl': !exists(json, 'recovery_url') ? undefined : json['recovery_url'],
|
|
39
|
+
'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
42
|
export function PasswordChallengeToJSON(value) {
|
|
@@ -52,5 +53,6 @@ export function PasswordChallengeToJSON(value) {
|
|
|
52
53
|
'pending_user': value.pendingUser,
|
|
53
54
|
'pending_user_avatar': value.pendingUserAvatar,
|
|
54
55
|
'recovery_url': value.recoveryUrl,
|
|
56
|
+
'allow_show_password': value.allowShowPassword,
|
|
55
57
|
};
|
|
56
58
|
}
|
|
@@ -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.
|
|
@@ -46,6 +46,7 @@ export function PasswordStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
'backends': (json['backends'].map(BackendsEnumFromJSON)),
|
|
47
47
|
'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
48
48
|
'failedAttemptsBeforeCancel': !exists(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
|
|
49
|
+
'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
52
|
export function PasswordStageToJSON(value) {
|
|
@@ -61,5 +62,6 @@ export function PasswordStageToJSON(value) {
|
|
|
61
62
|
'backends': (value.backends.map(BackendsEnumToJSON)),
|
|
62
63
|
'configure_flow': value.configureFlow,
|
|
63
64
|
'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
|
|
65
|
+
'allow_show_password': value.allowShowPassword,
|
|
64
66
|
};
|
|
65
67
|
}
|
|
@@ -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.
|
|
@@ -36,6 +36,7 @@ export function PasswordStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'backends': (json['backends'].map(BackendsEnumFromJSON)),
|
|
37
37
|
'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
|
|
38
38
|
'failedAttemptsBeforeCancel': !exists(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
|
|
39
|
+
'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
42
|
export function PasswordStageRequestToJSON(value) {
|
|
@@ -51,5 +52,6 @@ export function PasswordStageRequestToJSON(value) {
|
|
|
51
52
|
'backends': (value.backends.map(BackendsEnumToJSON)),
|
|
52
53
|
'configure_flow': value.configureFlow,
|
|
53
54
|
'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
|
|
55
|
+
'allow_show_password': value.allowShowPassword,
|
|
54
56
|
};
|
|
55
57
|
}
|
|
@@ -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
|
*/
|