@goauthentik/api 2024.6.1-1720888668 → 2024.6.1-1721654810

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. package/dist/apis/PropertymappingsApi.d.ts +0 -1
  2. package/dist/apis/PropertymappingsApi.js +0 -3
  3. package/dist/apis/SourcesApi.d.ts +2 -2
  4. package/dist/apis/SourcesApi.js +6 -6
  5. package/dist/apis/StagesApi.d.ts +1 -0
  6. package/dist/apis/StagesApi.js +3 -0
  7. package/dist/esm/apis/PropertymappingsApi.d.ts +0 -1
  8. package/dist/esm/apis/PropertymappingsApi.js +0 -3
  9. package/dist/esm/apis/SourcesApi.d.ts +2 -2
  10. package/dist/esm/apis/SourcesApi.js +6 -6
  11. package/dist/esm/apis/StagesApi.d.ts +1 -0
  12. package/dist/esm/apis/StagesApi.js +3 -0
  13. package/dist/esm/models/IdentificationChallenge.d.ts +6 -0
  14. package/dist/esm/models/IdentificationChallenge.js +2 -0
  15. package/dist/esm/models/IdentificationStage.d.ts +1 -1
  16. package/dist/esm/models/IdentificationStageRequest.d.ts +1 -1
  17. package/dist/esm/models/LDAPPropertyMapping.d.ts +0 -6
  18. package/dist/esm/models/LDAPPropertyMapping.js +0 -3
  19. package/dist/esm/models/LDAPPropertyMappingRequest.d.ts +0 -6
  20. package/dist/esm/models/LDAPPropertyMappingRequest.js +0 -3
  21. package/dist/esm/models/LDAPSource.d.ts +12 -12
  22. package/dist/esm/models/LDAPSource.js +4 -4
  23. package/dist/esm/models/LDAPSourceRequest.d.ts +12 -12
  24. package/dist/esm/models/LDAPSourceRequest.js +4 -4
  25. package/dist/esm/models/OAuthSource.d.ts +12 -0
  26. package/dist/esm/models/OAuthSource.js +4 -0
  27. package/dist/esm/models/OAuthSourceRequest.d.ts +12 -0
  28. package/dist/esm/models/OAuthSourceRequest.js +4 -0
  29. package/dist/esm/models/PasswordChallenge.d.ts +6 -0
  30. package/dist/esm/models/PasswordChallenge.js +2 -0
  31. package/dist/esm/models/PasswordStage.d.ts +6 -0
  32. package/dist/esm/models/PasswordStage.js +2 -0
  33. package/dist/esm/models/PasswordStageRequest.d.ts +6 -0
  34. package/dist/esm/models/PasswordStageRequest.js +2 -0
  35. package/dist/esm/models/PatchedIdentificationStageRequest.d.ts +1 -1
  36. package/dist/esm/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -6
  37. package/dist/esm/models/PatchedLDAPPropertyMappingRequest.js +0 -2
  38. package/dist/esm/models/PatchedLDAPSourceRequest.d.ts +12 -12
  39. package/dist/esm/models/PatchedLDAPSourceRequest.js +4 -4
  40. package/dist/esm/models/PatchedOAuthSourceRequest.d.ts +12 -0
  41. package/dist/esm/models/PatchedOAuthSourceRequest.js +4 -0
  42. package/dist/esm/models/PatchedPasswordStageRequest.d.ts +6 -0
  43. package/dist/esm/models/PatchedPasswordStageRequest.js +2 -0
  44. package/dist/esm/models/PatchedPlexSourceRequest.d.ts +12 -0
  45. package/dist/esm/models/PatchedPlexSourceRequest.js +4 -0
  46. package/dist/esm/models/PatchedSAMLSourceRequest.d.ts +12 -0
  47. package/dist/esm/models/PatchedSAMLSourceRequest.js +4 -0
  48. package/dist/esm/models/PlexSource.d.ts +12 -0
  49. package/dist/esm/models/PlexSource.js +4 -0
  50. package/dist/esm/models/PlexSourceRequest.d.ts +12 -0
  51. package/dist/esm/models/PlexSourceRequest.js +4 -0
  52. package/dist/esm/models/SAMLSource.d.ts +12 -0
  53. package/dist/esm/models/SAMLSource.js +4 -0
  54. package/dist/esm/models/SAMLSourceRequest.d.ts +12 -0
  55. package/dist/esm/models/SAMLSourceRequest.js +4 -0
  56. package/dist/esm/models/Source.d.ts +12 -0
  57. package/dist/esm/models/Source.js +4 -0
  58. package/dist/esm/models/SourceRequest.d.ts +12 -0
  59. package/dist/esm/models/SourceRequest.js +4 -0
  60. package/dist/models/IdentificationChallenge.d.ts +6 -0
  61. package/dist/models/IdentificationChallenge.js +2 -0
  62. package/dist/models/IdentificationStage.d.ts +1 -1
  63. package/dist/models/IdentificationStageRequest.d.ts +1 -1
  64. package/dist/models/LDAPPropertyMapping.d.ts +0 -6
  65. package/dist/models/LDAPPropertyMapping.js +0 -3
  66. package/dist/models/LDAPPropertyMappingRequest.d.ts +0 -6
  67. package/dist/models/LDAPPropertyMappingRequest.js +0 -3
  68. package/dist/models/LDAPSource.d.ts +12 -12
  69. package/dist/models/LDAPSource.js +4 -4
  70. package/dist/models/LDAPSourceRequest.d.ts +12 -12
  71. package/dist/models/LDAPSourceRequest.js +4 -4
  72. package/dist/models/OAuthSource.d.ts +12 -0
  73. package/dist/models/OAuthSource.js +4 -0
  74. package/dist/models/OAuthSourceRequest.d.ts +12 -0
  75. package/dist/models/OAuthSourceRequest.js +4 -0
  76. package/dist/models/PasswordChallenge.d.ts +6 -0
  77. package/dist/models/PasswordChallenge.js +2 -0
  78. package/dist/models/PasswordStage.d.ts +6 -0
  79. package/dist/models/PasswordStage.js +2 -0
  80. package/dist/models/PasswordStageRequest.d.ts +6 -0
  81. package/dist/models/PasswordStageRequest.js +2 -0
  82. package/dist/models/PatchedIdentificationStageRequest.d.ts +1 -1
  83. package/dist/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -6
  84. package/dist/models/PatchedLDAPPropertyMappingRequest.js +0 -2
  85. package/dist/models/PatchedLDAPSourceRequest.d.ts +12 -12
  86. package/dist/models/PatchedLDAPSourceRequest.js +4 -4
  87. package/dist/models/PatchedOAuthSourceRequest.d.ts +12 -0
  88. package/dist/models/PatchedOAuthSourceRequest.js +4 -0
  89. package/dist/models/PatchedPasswordStageRequest.d.ts +6 -0
  90. package/dist/models/PatchedPasswordStageRequest.js +2 -0
  91. package/dist/models/PatchedPlexSourceRequest.d.ts +12 -0
  92. package/dist/models/PatchedPlexSourceRequest.js +4 -0
  93. package/dist/models/PatchedSAMLSourceRequest.d.ts +12 -0
  94. package/dist/models/PatchedSAMLSourceRequest.js +4 -0
  95. package/dist/models/PlexSource.d.ts +12 -0
  96. package/dist/models/PlexSource.js +4 -0
  97. package/dist/models/PlexSourceRequest.d.ts +12 -0
  98. package/dist/models/PlexSourceRequest.js +4 -0
  99. package/dist/models/SAMLSource.d.ts +12 -0
  100. package/dist/models/SAMLSource.js +4 -0
  101. package/dist/models/SAMLSourceRequest.d.ts +12 -0
  102. package/dist/models/SAMLSourceRequest.js +4 -0
  103. package/dist/models/Source.d.ts +12 -0
  104. package/dist/models/Source.js +4 -0
  105. package/dist/models/SourceRequest.d.ts +12 -0
  106. package/dist/models/SourceRequest.js +4 -0
  107. package/package.json +1 -1
  108. package/src/apis/PropertymappingsApi.ts +0 -5
  109. package/src/apis/SourcesApi.ts +10 -10
  110. package/src/apis/StagesApi.ts +5 -0
  111. package/src/models/IdentificationChallenge.ts +8 -0
  112. package/src/models/IdentificationStage.ts +1 -1
  113. package/src/models/IdentificationStageRequest.ts +1 -1
  114. package/src/models/LDAPPropertyMapping.ts +0 -9
  115. package/src/models/LDAPPropertyMappingRequest.ts +0 -9
  116. package/src/models/LDAPSource.ts +16 -16
  117. package/src/models/LDAPSourceRequest.ts +16 -16
  118. package/src/models/OAuthSource.ts +16 -0
  119. package/src/models/OAuthSourceRequest.ts +16 -0
  120. package/src/models/PasswordChallenge.ts +8 -0
  121. package/src/models/PasswordStage.ts +8 -0
  122. package/src/models/PasswordStageRequest.ts +8 -0
  123. package/src/models/PatchedIdentificationStageRequest.ts +1 -1
  124. package/src/models/PatchedLDAPPropertyMappingRequest.ts +0 -8
  125. package/src/models/PatchedLDAPSourceRequest.ts +16 -16
  126. package/src/models/PatchedOAuthSourceRequest.ts +16 -0
  127. package/src/models/PatchedPasswordStageRequest.ts +8 -0
  128. package/src/models/PatchedPlexSourceRequest.ts +16 -0
  129. package/src/models/PatchedSAMLSourceRequest.ts +16 -0
  130. package/src/models/PlexSource.ts +16 -0
  131. package/src/models/PlexSourceRequest.ts +16 -0
  132. package/src/models/SAMLSource.ts +16 -0
  133. package/src/models/SAMLSourceRequest.ts +16 -0
  134. package/src/models/Source.ts +16 -0
  135. package/src/models/SourceRequest.ts +16 -0
@@ -42,6 +42,8 @@ function PlexSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
43
43
  'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
44
44
  'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
45
+ 'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
46
+ 'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
45
47
  'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
46
48
  'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
47
49
  'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
@@ -65,6 +67,8 @@ function PlexSourceRequestToJSON(value) {
65
67
  'enabled': value.enabled,
66
68
  'authentication_flow': value.authenticationFlow,
67
69
  'enrollment_flow': value.enrollmentFlow,
70
+ 'user_property_mappings': value.userPropertyMappings,
71
+ 'group_property_mappings': value.groupPropertyMappings,
68
72
  'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
69
73
  'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
70
74
  'user_path_template': value.userPathTemplate,
@@ -57,6 +57,18 @@ export interface SAMLSource {
57
57
  * @memberof SAMLSource
58
58
  */
59
59
  enrollmentFlow?: string | null;
60
+ /**
61
+ *
62
+ * @type {Array<string>}
63
+ * @memberof SAMLSource
64
+ */
65
+ userPropertyMappings?: Array<string>;
66
+ /**
67
+ *
68
+ * @type {Array<string>}
69
+ * @memberof SAMLSource
70
+ */
71
+ groupPropertyMappings?: Array<string>;
60
72
  /**
61
73
  * Get object component so that we know how to edit the object
62
74
  * @type {string}
@@ -55,6 +55,8 @@ function SAMLSourceFromJSONTyped(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 SAMLSourceToJSON(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,
@@ -51,6 +51,18 @@ export interface SAMLSourceRequest {
51
51
  * @memberof SAMLSourceRequest
52
52
  */
53
53
  enrollmentFlow?: string | null;
54
+ /**
55
+ *
56
+ * @type {Array<string>}
57
+ * @memberof SAMLSourceRequest
58
+ */
59
+ userPropertyMappings?: Array<string>;
60
+ /**
61
+ *
62
+ * @type {Array<string>}
63
+ * @memberof SAMLSourceRequest
64
+ */
65
+ groupPropertyMappings?: Array<string>;
54
66
  /**
55
67
  *
56
68
  * @type {PolicyEngineMode}
@@ -47,6 +47,8 @@ function SAMLSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
47
47
  'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
48
48
  'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
49
49
  'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
50
+ 'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
51
+ 'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
50
52
  'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
51
53
  'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
52
54
  'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
@@ -78,6 +80,8 @@ function SAMLSourceRequestToJSON(value) {
78
80
  'enabled': value.enabled,
79
81
  'authentication_flow': value.authenticationFlow,
80
82
  'enrollment_flow': value.enrollmentFlow,
83
+ 'user_property_mappings': value.userPropertyMappings,
84
+ 'group_property_mappings': value.groupPropertyMappings,
81
85
  'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
82
86
  'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
83
87
  'user_path_template': value.userPathTemplate,
@@ -53,6 +53,18 @@ export interface Source {
53
53
  * @memberof Source
54
54
  */
55
55
  enrollmentFlow?: string | null;
56
+ /**
57
+ *
58
+ * @type {Array<string>}
59
+ * @memberof Source
60
+ */
61
+ userPropertyMappings?: Array<string>;
62
+ /**
63
+ *
64
+ * @type {Array<string>}
65
+ * @memberof Source
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}
@@ -49,6 +49,8 @@ function SourceFromJSONTyped(json, ignoreDiscriminator) {
49
49
  'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
50
50
  'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
51
51
  'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
52
+ 'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
53
+ 'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
52
54
  'component': json['component'],
53
55
  'verboseName': json['verbose_name'],
54
56
  'verboseNamePlural': json['verbose_name_plural'],
@@ -74,6 +76,8 @@ function SourceToJSON(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,
@@ -47,6 +47,18 @@ export interface SourceRequest {
47
47
  * @memberof SourceRequest
48
48
  */
49
49
  enrollmentFlow?: string | null;
50
+ /**
51
+ *
52
+ * @type {Array<string>}
53
+ * @memberof SourceRequest
54
+ */
55
+ userPropertyMappings?: Array<string>;
56
+ /**
57
+ *
58
+ * @type {Array<string>}
59
+ * @memberof SourceRequest
60
+ */
61
+ groupPropertyMappings?: Array<string>;
50
62
  /**
51
63
  *
52
64
  * @type {PolicyEngineMode}
@@ -41,6 +41,8 @@ function SourceRequestFromJSONTyped(json, ignoreDiscriminator) {
41
41
  'enabled': !(0, runtime_1.exists)(json, 'enabled') ? undefined : json['enabled'],
42
42
  'authenticationFlow': !(0, runtime_1.exists)(json, 'authentication_flow') ? undefined : json['authentication_flow'],
43
43
  'enrollmentFlow': !(0, runtime_1.exists)(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
44
+ 'userPropertyMappings': !(0, runtime_1.exists)(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
45
+ 'groupPropertyMappings': !(0, runtime_1.exists)(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
44
46
  'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
45
47
  'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
46
48
  'userPathTemplate': !(0, runtime_1.exists)(json, 'user_path_template') ? undefined : json['user_path_template'],
@@ -60,6 +62,8 @@ function SourceRequestToJSON(value) {
60
62
  'enabled': value.enabled,
61
63
  'authentication_flow': value.authenticationFlow,
62
64
  'enrollment_flow': value.enrollmentFlow,
65
+ 'user_property_mappings': value.userPropertyMappings,
66
+ 'group_property_mappings': value.groupPropertyMappings,
63
67
  'policy_engine_mode': (0, PolicyEngineMode_1.PolicyEngineModeToJSON)(value.policyEngineMode),
64
68
  'user_matching_mode': (0, UserMatchingModeEnum_1.UserMatchingModeEnumToJSON)(value.userMatchingMode),
65
69
  'user_path_template': value.userPathTemplate,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2024.6.1-1720888668",
3
+ "version": "2024.6.1-1721654810",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -177,7 +177,6 @@ export interface PropertymappingsLdapListRequest {
177
177
  expression?: string;
178
178
  managed?: Array<string>;
179
179
  name?: string;
180
- objectField?: string;
181
180
  ordering?: string;
182
181
  page?: number;
183
182
  pageSize?: number;
@@ -805,10 +804,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
805
804
  queryParameters['name'] = requestParameters.name;
806
805
  }
807
806
 
808
- if (requestParameters.objectField !== undefined) {
809
- queryParameters['object_field'] = requestParameters.objectField;
810
- }
811
-
812
807
  if (requestParameters.ordering !== undefined) {
813
808
  queryParameters['ordering'] = requestParameters.ordering;
814
809
  }
@@ -241,6 +241,7 @@ export interface SourcesLdapListRequest {
241
241
  enabled?: boolean;
242
242
  groupMembershipField?: string;
243
243
  groupObjectFilter?: string;
244
+ groupPropertyMappings?: Array<string>;
244
245
  name?: string;
245
246
  objectUniquenessField?: string;
246
247
  ordering?: string;
@@ -248,8 +249,6 @@ export interface SourcesLdapListRequest {
248
249
  pageSize?: number;
249
250
  passwordLoginUpdateInternalPassword?: boolean;
250
251
  peerCertificate?: string;
251
- propertyMappings?: Array<string>;
252
- propertyMappingsGroup?: Array<string>;
253
252
  search?: string;
254
253
  serverUri?: string;
255
254
  slug?: string;
@@ -260,6 +259,7 @@ export interface SourcesLdapListRequest {
260
259
  syncUsers?: boolean;
261
260
  syncUsersPassword?: boolean;
262
261
  userObjectFilter?: string;
262
+ userPropertyMappings?: Array<string>;
263
263
  }
264
264
 
265
265
  export interface SourcesLdapPartialUpdateRequest {
@@ -1190,6 +1190,10 @@ export class SourcesApi extends runtime.BaseAPI {
1190
1190
  queryParameters['group_object_filter'] = requestParameters.groupObjectFilter;
1191
1191
  }
1192
1192
 
1193
+ if (requestParameters.groupPropertyMappings) {
1194
+ queryParameters['group_property_mappings'] = requestParameters.groupPropertyMappings;
1195
+ }
1196
+
1193
1197
  if (requestParameters.name !== undefined) {
1194
1198
  queryParameters['name'] = requestParameters.name;
1195
1199
  }
@@ -1218,14 +1222,6 @@ export class SourcesApi extends runtime.BaseAPI {
1218
1222
  queryParameters['peer_certificate'] = requestParameters.peerCertificate;
1219
1223
  }
1220
1224
 
1221
- if (requestParameters.propertyMappings) {
1222
- queryParameters['property_mappings'] = requestParameters.propertyMappings;
1223
- }
1224
-
1225
- if (requestParameters.propertyMappingsGroup) {
1226
- queryParameters['property_mappings_group'] = requestParameters.propertyMappingsGroup;
1227
- }
1228
-
1229
1225
  if (requestParameters.search !== undefined) {
1230
1226
  queryParameters['search'] = requestParameters.search;
1231
1227
  }
@@ -1266,6 +1262,10 @@ export class SourcesApi extends runtime.BaseAPI {
1266
1262
  queryParameters['user_object_filter'] = requestParameters.userObjectFilter;
1267
1263
  }
1268
1264
 
1265
+ if (requestParameters.userPropertyMappings) {
1266
+ queryParameters['user_property_mappings'] = requestParameters.userPropertyMappings;
1267
+ }
1268
+
1269
1269
  const headerParameters: runtime.HTTPHeaders = {};
1270
1270
 
1271
1271
  if (this.configuration && this.configuration.accessToken) {
@@ -919,6 +919,7 @@ export interface StagesPasswordDestroyRequest {
919
919
  }
920
920
 
921
921
  export interface StagesPasswordListRequest {
922
+ allowShowPassword?: boolean;
922
923
  configureFlow?: string;
923
924
  failedAttemptsBeforeCancel?: number;
924
925
  name?: string;
@@ -6166,6 +6167,10 @@ export class StagesApi extends runtime.BaseAPI {
6166
6167
  async stagesPasswordListRaw(requestParameters: StagesPasswordListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedPasswordStageList>> {
6167
6168
  const queryParameters: any = {};
6168
6169
 
6170
+ if (requestParameters.allowShowPassword !== undefined) {
6171
+ queryParameters['allow_show_password'] = requestParameters.allowShowPassword;
6172
+ }
6173
+
6169
6174
  if (requestParameters.configureFlow !== undefined) {
6170
6175
  queryParameters['configure_flow'] = requestParameters.configureFlow;
6171
6176
  }
@@ -74,6 +74,12 @@ export interface IdentificationChallenge {
74
74
  * @memberof IdentificationChallenge
75
75
  */
76
76
  passwordFields: boolean;
77
+ /**
78
+ *
79
+ * @type {boolean}
80
+ * @memberof IdentificationChallenge
81
+ */
82
+ allowShowPassword?: boolean;
77
83
  /**
78
84
  *
79
85
  * @type {string}
@@ -153,6 +159,7 @@ export function IdentificationChallengeFromJSONTyped(json: any, ignoreDiscrimina
153
159
  'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
154
160
  'userFields': json['user_fields'],
155
161
  'passwordFields': json['password_fields'],
162
+ 'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
156
163
  'applicationPre': !exists(json, 'application_pre') ? undefined : json['application_pre'],
157
164
  'flowDesignation': FlowDesignationEnumFromJSON(json['flow_designation']),
158
165
  'enrollUrl': !exists(json, 'enroll_url') ? undefined : json['enroll_url'],
@@ -178,6 +185,7 @@ export function IdentificationChallengeToJSON(value?: IdentificationChallenge |
178
185
  'response_errors': value.responseErrors,
179
186
  'user_fields': value.userFields,
180
187
  'password_fields': value.passwordFields,
188
+ 'allow_show_password': value.allowShowPassword,
181
189
  'application_pre': value.applicationPre,
182
190
  'flow_designation': FlowDesignationEnumToJSON(value.flowDesignation),
183
191
  'enroll_url': value.enrollUrl,
@@ -81,7 +81,7 @@ export interface IdentificationStage {
81
81
  */
82
82
  userFields?: Array<UserFieldsEnum>;
83
83
  /**
84
- * When set, shows a password field, instead of showing the password field as seaprate step.
84
+ * When set, shows a password field, instead of showing the password field as separate step.
85
85
  * @type {string}
86
86
  * @memberof IdentificationStage
87
87
  */
@@ -51,7 +51,7 @@ export interface IdentificationStageRequest {
51
51
  */
52
52
  userFields?: Array<UserFieldsEnum>;
53
53
  /**
54
- * When set, shows a password field, instead of showing the password field as seaprate step.
54
+ * When set, shows a password field, instead of showing the password field as separate step.
55
55
  * @type {string}
56
56
  * @memberof IdentificationStageRequest
57
57
  */
@@ -67,12 +67,6 @@ export interface LDAPPropertyMapping {
67
67
  * @memberof LDAPPropertyMapping
68
68
  */
69
69
  readonly metaModelName: string;
70
- /**
71
- *
72
- * @type {string}
73
- * @memberof LDAPPropertyMapping
74
- */
75
- objectField: string;
76
70
  }
77
71
 
78
72
  /**
@@ -87,7 +81,6 @@ export function instanceOfLDAPPropertyMapping(value: object): boolean {
87
81
  isInstance = isInstance && "verboseName" in value;
88
82
  isInstance = isInstance && "verboseNamePlural" in value;
89
83
  isInstance = isInstance && "metaModelName" in value;
90
- isInstance = isInstance && "objectField" in value;
91
84
 
92
85
  return isInstance;
93
86
  }
@@ -110,7 +103,6 @@ export function LDAPPropertyMappingFromJSONTyped(json: any, ignoreDiscriminator:
110
103
  'verboseName': json['verbose_name'],
111
104
  'verboseNamePlural': json['verbose_name_plural'],
112
105
  'metaModelName': json['meta_model_name'],
113
- 'objectField': json['object_field'],
114
106
  };
115
107
  }
116
108
 
@@ -126,7 +118,6 @@ export function LDAPPropertyMappingToJSON(value?: LDAPPropertyMapping | null): a
126
118
  'managed': value.managed,
127
119
  'name': value.name,
128
120
  'expression': value.expression,
129
- 'object_field': value.objectField,
130
121
  };
131
122
  }
132
123
 
@@ -37,12 +37,6 @@ export interface LDAPPropertyMappingRequest {
37
37
  * @memberof LDAPPropertyMappingRequest
38
38
  */
39
39
  expression: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof LDAPPropertyMappingRequest
44
- */
45
- objectField: string;
46
40
  }
47
41
 
48
42
  /**
@@ -52,7 +46,6 @@ export function instanceOfLDAPPropertyMappingRequest(value: object): boolean {
52
46
  let isInstance = true;
53
47
  isInstance = isInstance && "name" in value;
54
48
  isInstance = isInstance && "expression" in value;
55
- isInstance = isInstance && "objectField" in value;
56
49
 
57
50
  return isInstance;
58
51
  }
@@ -70,7 +63,6 @@ export function LDAPPropertyMappingRequestFromJSONTyped(json: any, ignoreDiscrim
70
63
  'managed': !exists(json, 'managed') ? undefined : json['managed'],
71
64
  'name': json['name'],
72
65
  'expression': json['expression'],
73
- 'objectField': json['object_field'],
74
66
  };
75
67
  }
76
68
 
@@ -86,7 +78,6 @@ export function LDAPPropertyMappingRequestToJSON(value?: LDAPPropertyMappingRequ
86
78
  'managed': value.managed,
87
79
  'name': value.name,
88
80
  'expression': value.expression,
89
- 'object_field': value.objectField,
90
81
  };
91
82
  }
92
83
 
@@ -68,6 +68,18 @@ export interface LDAPSource {
68
68
  * @memberof LDAPSource
69
69
  */
70
70
  enrollmentFlow?: string | null;
71
+ /**
72
+ *
73
+ * @type {Array<string>}
74
+ * @memberof LDAPSource
75
+ */
76
+ userPropertyMappings?: Array<string>;
77
+ /**
78
+ *
79
+ * @type {Array<string>}
80
+ * @memberof LDAPSource
81
+ */
82
+ groupPropertyMappings?: Array<string>;
71
83
  /**
72
84
  * Get object component so that we know how to edit the object
73
85
  * @type {string}
@@ -230,18 +242,6 @@ export interface LDAPSource {
230
242
  * @memberof LDAPSource
231
243
  */
232
244
  syncParentGroup?: string | null;
233
- /**
234
- *
235
- * @type {Array<string>}
236
- * @memberof LDAPSource
237
- */
238
- propertyMappings?: Array<string>;
239
- /**
240
- * Property mappings used for group creation/updating.
241
- * @type {Array<string>}
242
- * @memberof LDAPSource
243
- */
244
- propertyMappingsGroup?: Array<string>;
245
245
  /**
246
246
  * Get cached source connectivity
247
247
  * @type {{ [key: string]: { [key: string]: string; }; }}
@@ -287,6 +287,8 @@ export function LDAPSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
287
287
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
288
288
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
289
289
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
290
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
291
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
290
292
  'component': json['component'],
291
293
  'verboseName': json['verbose_name'],
292
294
  'verboseNamePlural': json['verbose_name_plural'],
@@ -314,8 +316,6 @@ export function LDAPSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
314
316
  'syncUsersPassword': !exists(json, 'sync_users_password') ? undefined : json['sync_users_password'],
315
317
  'syncGroups': !exists(json, 'sync_groups') ? undefined : json['sync_groups'],
316
318
  'syncParentGroup': !exists(json, 'sync_parent_group') ? undefined : json['sync_parent_group'],
317
- 'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
318
- 'propertyMappingsGroup': !exists(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
319
319
  'connectivity': json['connectivity'],
320
320
  };
321
321
  }
@@ -334,6 +334,8 @@ export function LDAPSourceToJSON(value?: LDAPSource | null): any {
334
334
  'enabled': value.enabled,
335
335
  'authentication_flow': value.authenticationFlow,
336
336
  'enrollment_flow': value.enrollmentFlow,
337
+ 'user_property_mappings': value.userPropertyMappings,
338
+ 'group_property_mappings': value.groupPropertyMappings,
337
339
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
338
340
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
339
341
  'user_path_template': value.userPathTemplate,
@@ -355,8 +357,6 @@ export function LDAPSourceToJSON(value?: LDAPSource | null): any {
355
357
  'sync_users_password': value.syncUsersPassword,
356
358
  'sync_groups': value.syncGroups,
357
359
  'sync_parent_group': value.syncParentGroup,
358
- 'property_mappings': value.propertyMappings,
359
- 'property_mappings_group': value.propertyMappingsGroup,
360
360
  };
361
361
  }
362
362
 
@@ -62,6 +62,18 @@ export interface LDAPSourceRequest {
62
62
  * @memberof LDAPSourceRequest
63
63
  */
64
64
  enrollmentFlow?: string | null;
65
+ /**
66
+ *
67
+ * @type {Array<string>}
68
+ * @memberof LDAPSourceRequest
69
+ */
70
+ userPropertyMappings?: Array<string>;
71
+ /**
72
+ *
73
+ * @type {Array<string>}
74
+ * @memberof LDAPSourceRequest
75
+ */
76
+ groupPropertyMappings?: Array<string>;
65
77
  /**
66
78
  *
67
79
  * @type {PolicyEngineMode}
@@ -194,18 +206,6 @@ export interface LDAPSourceRequest {
194
206
  * @memberof LDAPSourceRequest
195
207
  */
196
208
  syncParentGroup?: string | null;
197
- /**
198
- *
199
- * @type {Array<string>}
200
- * @memberof LDAPSourceRequest
201
- */
202
- propertyMappings?: Array<string>;
203
- /**
204
- * Property mappings used for group creation/updating.
205
- * @type {Array<string>}
206
- * @memberof LDAPSourceRequest
207
- */
208
- propertyMappingsGroup?: Array<string>;
209
209
  }
210
210
 
211
211
  /**
@@ -236,6 +236,8 @@ export function LDAPSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: b
236
236
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
237
237
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
238
238
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
239
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
240
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
239
241
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
240
242
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
241
243
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
@@ -258,8 +260,6 @@ export function LDAPSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: b
258
260
  'syncUsersPassword': !exists(json, 'sync_users_password') ? undefined : json['sync_users_password'],
259
261
  'syncGroups': !exists(json, 'sync_groups') ? undefined : json['sync_groups'],
260
262
  'syncParentGroup': !exists(json, 'sync_parent_group') ? undefined : json['sync_parent_group'],
261
- 'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
262
- 'propertyMappingsGroup': !exists(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
263
263
  };
264
264
  }
265
265
 
@@ -277,6 +277,8 @@ export function LDAPSourceRequestToJSON(value?: LDAPSourceRequest | null): any {
277
277
  'enabled': value.enabled,
278
278
  'authentication_flow': value.authenticationFlow,
279
279
  'enrollment_flow': value.enrollmentFlow,
280
+ 'user_property_mappings': value.userPropertyMappings,
281
+ 'group_property_mappings': value.groupPropertyMappings,
280
282
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
281
283
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
282
284
  'user_path_template': value.userPathTemplate,
@@ -299,8 +301,6 @@ export function LDAPSourceRequestToJSON(value?: LDAPSourceRequest | null): any {
299
301
  'sync_users_password': value.syncUsersPassword,
300
302
  'sync_groups': value.syncGroups,
301
303
  'sync_parent_group': value.syncParentGroup,
302
- 'property_mappings': value.propertyMappings,
303
- 'property_mappings_group': value.propertyMappingsGroup,
304
304
  };
305
305
  }
306
306
 
@@ -80,6 +80,18 @@ export interface OAuthSource {
80
80
  * @memberof OAuthSource
81
81
  */
82
82
  enrollmentFlow?: string | null;
83
+ /**
84
+ *
85
+ * @type {Array<string>}
86
+ * @memberof OAuthSource
87
+ */
88
+ userPropertyMappings?: Array<string>;
89
+ /**
90
+ *
91
+ * @type {Array<string>}
92
+ * @memberof OAuthSource
93
+ */
94
+ groupPropertyMappings?: Array<string>;
83
95
  /**
84
96
  * Get object component so that we know how to edit the object
85
97
  * @type {string}
@@ -246,6 +258,8 @@ export function OAuthSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean
246
258
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
247
259
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
248
260
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
261
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
262
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
249
263
  'component': json['component'],
250
264
  'verboseName': json['verbose_name'],
251
265
  'verboseNamePlural': json['verbose_name_plural'],
@@ -284,6 +298,8 @@ export function OAuthSourceToJSON(value?: OAuthSource | null): any {
284
298
  'enabled': value.enabled,
285
299
  'authentication_flow': value.authenticationFlow,
286
300
  'enrollment_flow': value.enrollmentFlow,
301
+ 'user_property_mappings': value.userPropertyMappings,
302
+ 'group_property_mappings': value.groupPropertyMappings,
287
303
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
288
304
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
289
305
  'user_path_template': value.userPathTemplate,
@@ -68,6 +68,18 @@ export interface OAuthSourceRequest {
68
68
  * @memberof OAuthSourceRequest
69
69
  */
70
70
  enrollmentFlow?: string | null;
71
+ /**
72
+ *
73
+ * @type {Array<string>}
74
+ * @memberof OAuthSourceRequest
75
+ */
76
+ userPropertyMappings?: Array<string>;
77
+ /**
78
+ *
79
+ * @type {Array<string>}
80
+ * @memberof OAuthSourceRequest
81
+ */
82
+ groupPropertyMappings?: Array<string>;
71
83
  /**
72
84
  *
73
85
  * @type {PolicyEngineMode}
@@ -183,6 +195,8 @@ export function OAuthSourceRequestFromJSONTyped(json: any, ignoreDiscriminator:
183
195
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
184
196
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
185
197
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
198
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
199
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
186
200
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
187
201
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
188
202
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
@@ -214,6 +228,8 @@ export function OAuthSourceRequestToJSON(value?: OAuthSourceRequest | null): any
214
228
  'enabled': value.enabled,
215
229
  'authentication_flow': value.authenticationFlow,
216
230
  'enrollment_flow': value.enrollmentFlow,
231
+ 'user_property_mappings': value.userPropertyMappings,
232
+ 'group_property_mappings': value.groupPropertyMappings,
217
233
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
218
234
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
219
235
  'user_path_template': value.userPathTemplate,
@@ -68,6 +68,12 @@ export interface PasswordChallenge {
68
68
  * @memberof PasswordChallenge
69
69
  */
70
70
  recoveryUrl?: string;
71
+ /**
72
+ *
73
+ * @type {boolean}
74
+ * @memberof PasswordChallenge
75
+ */
76
+ allowShowPassword?: boolean;
71
77
  }
72
78
 
73
79
  /**
@@ -97,6 +103,7 @@ export function PasswordChallengeFromJSONTyped(json: any, ignoreDiscriminator: b
97
103
  'pendingUser': json['pending_user'],
98
104
  'pendingUserAvatar': json['pending_user_avatar'],
99
105
  'recoveryUrl': !exists(json, 'recovery_url') ? undefined : json['recovery_url'],
106
+ 'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
100
107
  };
101
108
  }
102
109
 
@@ -115,6 +122,7 @@ export function PasswordChallengeToJSON(value?: PasswordChallenge | null): any {
115
122
  'pending_user': value.pendingUser,
116
123
  'pending_user_avatar': value.pendingUserAvatar,
117
124
  'recovery_url': value.recoveryUrl,
125
+ 'allow_show_password': value.allowShowPassword,
118
126
  };
119
127
  }
120
128