@goauthentik/api 2024.6.1-1721092506 → 2024.6.1-1721725857
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/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/models/Brand.d.ts +6 -0
- package/dist/esm/models/Brand.js +2 -0
- package/dist/esm/models/BrandRequest.d.ts +6 -0
- package/dist/esm/models/BrandRequest.js +2 -0
- 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/PatchedBrandRequest.d.ts +6 -0
- package/dist/esm/models/PatchedBrandRequest.js +2 -0
- 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/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/Brand.d.ts +6 -0
- package/dist/models/Brand.js +2 -0
- package/dist/models/BrandRequest.d.ts +6 -0
- package/dist/models/BrandRequest.js +2 -0
- 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/PatchedBrandRequest.d.ts +6 -0
- package/dist/models/PatchedBrandRequest.js +2 -0
- 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/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/models/Brand.ts +8 -0
- package/src/models/BrandRequest.ts +8 -0
- 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/PatchedBrandRequest.ts +8 -0
- package/src/models/PatchedLDAPPropertyMappingRequest.ts +0 -8
- package/src/models/PatchedLDAPSourceRequest.ts +16 -16
- package/src/models/PatchedOAuthSourceRequest.ts +16 -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
package/src/models/PlexSource.ts
CHANGED
|
@@ -68,6 +68,18 @@ export interface PlexSource {
|
|
|
68
68
|
* @memberof PlexSource
|
|
69
69
|
*/
|
|
70
70
|
enrollmentFlow?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<string>}
|
|
74
|
+
* @memberof PlexSource
|
|
75
|
+
*/
|
|
76
|
+
userPropertyMappings?: Array<string>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {Array<string>}
|
|
80
|
+
* @memberof PlexSource
|
|
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}
|
|
@@ -183,6 +195,8 @@ export function PlexSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
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
|
'component': json['component'],
|
|
187
201
|
'verboseName': json['verbose_name'],
|
|
188
202
|
'verboseNamePlural': json['verbose_name_plural'],
|
|
@@ -213,6 +227,8 @@ export function PlexSourceToJSON(value?: PlexSource | null): any {
|
|
|
213
227
|
'enabled': value.enabled,
|
|
214
228
|
'authentication_flow': value.authenticationFlow,
|
|
215
229
|
'enrollment_flow': value.enrollmentFlow,
|
|
230
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
231
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
216
232
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
217
233
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
|
218
234
|
'user_path_template': value.userPathTemplate,
|
|
@@ -62,6 +62,18 @@ export interface PlexSourceRequest {
|
|
|
62
62
|
* @memberof PlexSourceRequest
|
|
63
63
|
*/
|
|
64
64
|
enrollmentFlow?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Array<string>}
|
|
68
|
+
* @memberof PlexSourceRequest
|
|
69
|
+
*/
|
|
70
|
+
userPropertyMappings?: Array<string>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<string>}
|
|
74
|
+
* @memberof PlexSourceRequest
|
|
75
|
+
*/
|
|
76
|
+
groupPropertyMappings?: Array<string>;
|
|
65
77
|
/**
|
|
66
78
|
*
|
|
67
79
|
* @type {PolicyEngineMode}
|
|
@@ -133,6 +145,8 @@ export function PlexSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
133
145
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
134
146
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
135
147
|
'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
148
|
+
'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
149
|
+
'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
136
150
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
137
151
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
138
152
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
@@ -157,6 +171,8 @@ export function PlexSourceRequestToJSON(value?: PlexSourceRequest | null): any {
|
|
|
157
171
|
'enabled': value.enabled,
|
|
158
172
|
'authentication_flow': value.authenticationFlow,
|
|
159
173
|
'enrollment_flow': value.enrollmentFlow,
|
|
174
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
175
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
160
176
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
161
177
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
|
162
178
|
'user_path_template': value.userPathTemplate,
|
package/src/models/SAMLSource.ts
CHANGED
|
@@ -92,6 +92,18 @@ export interface SAMLSource {
|
|
|
92
92
|
* @memberof SAMLSource
|
|
93
93
|
*/
|
|
94
94
|
enrollmentFlow?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {Array<string>}
|
|
98
|
+
* @memberof SAMLSource
|
|
99
|
+
*/
|
|
100
|
+
userPropertyMappings?: Array<string>;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {Array<string>}
|
|
104
|
+
* @memberof SAMLSource
|
|
105
|
+
*/
|
|
106
|
+
groupPropertyMappings?: Array<string>;
|
|
95
107
|
/**
|
|
96
108
|
* Get object component so that we know how to edit the object
|
|
97
109
|
* @type {string}
|
|
@@ -256,6 +268,8 @@ export function SAMLSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
256
268
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
257
269
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
258
270
|
'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
271
|
+
'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
272
|
+
'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
259
273
|
'component': json['component'],
|
|
260
274
|
'verboseName': json['verbose_name'],
|
|
261
275
|
'verboseNamePlural': json['verbose_name_plural'],
|
|
@@ -294,6 +308,8 @@ export function SAMLSourceToJSON(value?: SAMLSource | null): any {
|
|
|
294
308
|
'enabled': value.enabled,
|
|
295
309
|
'authentication_flow': value.authenticationFlow,
|
|
296
310
|
'enrollment_flow': value.enrollmentFlow,
|
|
311
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
312
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
297
313
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
298
314
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
|
299
315
|
'user_path_template': value.userPathTemplate,
|
|
@@ -86,6 +86,18 @@ export interface SAMLSourceRequest {
|
|
|
86
86
|
* @memberof SAMLSourceRequest
|
|
87
87
|
*/
|
|
88
88
|
enrollmentFlow?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {Array<string>}
|
|
92
|
+
* @memberof SAMLSourceRequest
|
|
93
|
+
*/
|
|
94
|
+
userPropertyMappings?: Array<string>;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {Array<string>}
|
|
98
|
+
* @memberof SAMLSourceRequest
|
|
99
|
+
*/
|
|
100
|
+
groupPropertyMappings?: Array<string>;
|
|
89
101
|
/**
|
|
90
102
|
*
|
|
91
103
|
* @type {PolicyEngineMode}
|
|
@@ -206,6 +218,8 @@ export function SAMLSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
206
218
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
207
219
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
208
220
|
'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
221
|
+
'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
222
|
+
'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
209
223
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
210
224
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
211
225
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
@@ -238,6 +252,8 @@ export function SAMLSourceRequestToJSON(value?: SAMLSourceRequest | null): any {
|
|
|
238
252
|
'enabled': value.enabled,
|
|
239
253
|
'authentication_flow': value.authenticationFlow,
|
|
240
254
|
'enrollment_flow': value.enrollmentFlow,
|
|
255
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
256
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
241
257
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
242
258
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
|
243
259
|
'user_path_template': value.userPathTemplate,
|
package/src/models/Source.ts
CHANGED
|
@@ -68,6 +68,18 @@ export interface Source {
|
|
|
68
68
|
* @memberof Source
|
|
69
69
|
*/
|
|
70
70
|
enrollmentFlow?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<string>}
|
|
74
|
+
* @memberof Source
|
|
75
|
+
*/
|
|
76
|
+
userPropertyMappings?: Array<string>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {Array<string>}
|
|
80
|
+
* @memberof Source
|
|
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}
|
|
@@ -159,6 +171,8 @@ export function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): So
|
|
|
159
171
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
160
172
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
161
173
|
'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
174
|
+
'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
175
|
+
'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
162
176
|
'component': json['component'],
|
|
163
177
|
'verboseName': json['verbose_name'],
|
|
164
178
|
'verboseNamePlural': json['verbose_name_plural'],
|
|
@@ -185,6 +199,8 @@ export function SourceToJSON(value?: Source | null): any {
|
|
|
185
199
|
'enabled': value.enabled,
|
|
186
200
|
'authentication_flow': value.authenticationFlow,
|
|
187
201
|
'enrollment_flow': value.enrollmentFlow,
|
|
202
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
203
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
188
204
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
189
205
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
|
190
206
|
'user_path_template': value.userPathTemplate,
|
|
@@ -62,6 +62,18 @@ export interface SourceRequest {
|
|
|
62
62
|
* @memberof SourceRequest
|
|
63
63
|
*/
|
|
64
64
|
enrollmentFlow?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Array<string>}
|
|
68
|
+
* @memberof SourceRequest
|
|
69
|
+
*/
|
|
70
|
+
userPropertyMappings?: Array<string>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<string>}
|
|
74
|
+
* @memberof SourceRequest
|
|
75
|
+
*/
|
|
76
|
+
groupPropertyMappings?: Array<string>;
|
|
65
77
|
/**
|
|
66
78
|
*
|
|
67
79
|
* @type {PolicyEngineMode}
|
|
@@ -108,6 +120,8 @@ export function SourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
108
120
|
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
109
121
|
'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
|
|
110
122
|
'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
123
|
+
'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
|
|
124
|
+
'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
|
|
111
125
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
112
126
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
113
127
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
@@ -128,6 +142,8 @@ export function SourceRequestToJSON(value?: SourceRequest | null): any {
|
|
|
128
142
|
'enabled': value.enabled,
|
|
129
143
|
'authentication_flow': value.authenticationFlow,
|
|
130
144
|
'enrollment_flow': value.enrollmentFlow,
|
|
145
|
+
'user_property_mappings': value.userPropertyMappings,
|
|
146
|
+
'group_property_mappings': value.groupPropertyMappings,
|
|
131
147
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
|
132
148
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
|
133
149
|
'user_path_template': value.userPathTemplate,
|