@goauthentik/api 2024.6.1-1721092506 → 2024.6.1-1721654810

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) 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/esm/apis/PropertymappingsApi.d.ts +0 -1
  6. package/dist/esm/apis/PropertymappingsApi.js +0 -3
  7. package/dist/esm/apis/SourcesApi.d.ts +2 -2
  8. package/dist/esm/apis/SourcesApi.js +6 -6
  9. package/dist/esm/models/LDAPPropertyMapping.d.ts +0 -6
  10. package/dist/esm/models/LDAPPropertyMapping.js +0 -3
  11. package/dist/esm/models/LDAPPropertyMappingRequest.d.ts +0 -6
  12. package/dist/esm/models/LDAPPropertyMappingRequest.js +0 -3
  13. package/dist/esm/models/LDAPSource.d.ts +12 -12
  14. package/dist/esm/models/LDAPSource.js +4 -4
  15. package/dist/esm/models/LDAPSourceRequest.d.ts +12 -12
  16. package/dist/esm/models/LDAPSourceRequest.js +4 -4
  17. package/dist/esm/models/OAuthSource.d.ts +12 -0
  18. package/dist/esm/models/OAuthSource.js +4 -0
  19. package/dist/esm/models/OAuthSourceRequest.d.ts +12 -0
  20. package/dist/esm/models/OAuthSourceRequest.js +4 -0
  21. package/dist/esm/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -6
  22. package/dist/esm/models/PatchedLDAPPropertyMappingRequest.js +0 -2
  23. package/dist/esm/models/PatchedLDAPSourceRequest.d.ts +12 -12
  24. package/dist/esm/models/PatchedLDAPSourceRequest.js +4 -4
  25. package/dist/esm/models/PatchedOAuthSourceRequest.d.ts +12 -0
  26. package/dist/esm/models/PatchedOAuthSourceRequest.js +4 -0
  27. package/dist/esm/models/PatchedPlexSourceRequest.d.ts +12 -0
  28. package/dist/esm/models/PatchedPlexSourceRequest.js +4 -0
  29. package/dist/esm/models/PatchedSAMLSourceRequest.d.ts +12 -0
  30. package/dist/esm/models/PatchedSAMLSourceRequest.js +4 -0
  31. package/dist/esm/models/PlexSource.d.ts +12 -0
  32. package/dist/esm/models/PlexSource.js +4 -0
  33. package/dist/esm/models/PlexSourceRequest.d.ts +12 -0
  34. package/dist/esm/models/PlexSourceRequest.js +4 -0
  35. package/dist/esm/models/SAMLSource.d.ts +12 -0
  36. package/dist/esm/models/SAMLSource.js +4 -0
  37. package/dist/esm/models/SAMLSourceRequest.d.ts +12 -0
  38. package/dist/esm/models/SAMLSourceRequest.js +4 -0
  39. package/dist/esm/models/Source.d.ts +12 -0
  40. package/dist/esm/models/Source.js +4 -0
  41. package/dist/esm/models/SourceRequest.d.ts +12 -0
  42. package/dist/esm/models/SourceRequest.js +4 -0
  43. package/dist/models/LDAPPropertyMapping.d.ts +0 -6
  44. package/dist/models/LDAPPropertyMapping.js +0 -3
  45. package/dist/models/LDAPPropertyMappingRequest.d.ts +0 -6
  46. package/dist/models/LDAPPropertyMappingRequest.js +0 -3
  47. package/dist/models/LDAPSource.d.ts +12 -12
  48. package/dist/models/LDAPSource.js +4 -4
  49. package/dist/models/LDAPSourceRequest.d.ts +12 -12
  50. package/dist/models/LDAPSourceRequest.js +4 -4
  51. package/dist/models/OAuthSource.d.ts +12 -0
  52. package/dist/models/OAuthSource.js +4 -0
  53. package/dist/models/OAuthSourceRequest.d.ts +12 -0
  54. package/dist/models/OAuthSourceRequest.js +4 -0
  55. package/dist/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -6
  56. package/dist/models/PatchedLDAPPropertyMappingRequest.js +0 -2
  57. package/dist/models/PatchedLDAPSourceRequest.d.ts +12 -12
  58. package/dist/models/PatchedLDAPSourceRequest.js +4 -4
  59. package/dist/models/PatchedOAuthSourceRequest.d.ts +12 -0
  60. package/dist/models/PatchedOAuthSourceRequest.js +4 -0
  61. package/dist/models/PatchedPlexSourceRequest.d.ts +12 -0
  62. package/dist/models/PatchedPlexSourceRequest.js +4 -0
  63. package/dist/models/PatchedSAMLSourceRequest.d.ts +12 -0
  64. package/dist/models/PatchedSAMLSourceRequest.js +4 -0
  65. package/dist/models/PlexSource.d.ts +12 -0
  66. package/dist/models/PlexSource.js +4 -0
  67. package/dist/models/PlexSourceRequest.d.ts +12 -0
  68. package/dist/models/PlexSourceRequest.js +4 -0
  69. package/dist/models/SAMLSource.d.ts +12 -0
  70. package/dist/models/SAMLSource.js +4 -0
  71. package/dist/models/SAMLSourceRequest.d.ts +12 -0
  72. package/dist/models/SAMLSourceRequest.js +4 -0
  73. package/dist/models/Source.d.ts +12 -0
  74. package/dist/models/Source.js +4 -0
  75. package/dist/models/SourceRequest.d.ts +12 -0
  76. package/dist/models/SourceRequest.js +4 -0
  77. package/package.json +1 -1
  78. package/src/apis/PropertymappingsApi.ts +0 -5
  79. package/src/apis/SourcesApi.ts +10 -10
  80. package/src/models/LDAPPropertyMapping.ts +0 -9
  81. package/src/models/LDAPPropertyMappingRequest.ts +0 -9
  82. package/src/models/LDAPSource.ts +16 -16
  83. package/src/models/LDAPSourceRequest.ts +16 -16
  84. package/src/models/OAuthSource.ts +16 -0
  85. package/src/models/OAuthSourceRequest.ts +16 -0
  86. package/src/models/PatchedLDAPPropertyMappingRequest.ts +0 -8
  87. package/src/models/PatchedLDAPSourceRequest.ts +16 -16
  88. package/src/models/PatchedOAuthSourceRequest.ts +16 -0
  89. package/src/models/PatchedPlexSourceRequest.ts +16 -0
  90. package/src/models/PatchedSAMLSourceRequest.ts +16 -0
  91. package/src/models/PlexSource.ts +16 -0
  92. package/src/models/PlexSourceRequest.ts +16 -0
  93. package/src/models/SAMLSource.ts +16 -0
  94. package/src/models/SAMLSourceRequest.ts +16 -0
  95. package/src/models/Source.ts +16 -0
  96. package/src/models/SourceRequest.ts +16 -0
@@ -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,
@@ -37,12 +37,6 @@ export interface PatchedLDAPPropertyMappingRequest {
37
37
  * @memberof PatchedLDAPPropertyMappingRequest
38
38
  */
39
39
  expression?: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof PatchedLDAPPropertyMappingRequest
44
- */
45
- objectField?: string;
46
40
  }
47
41
 
48
42
  /**
@@ -67,7 +61,6 @@ export function PatchedLDAPPropertyMappingRequestFromJSONTyped(json: any, ignore
67
61
  'managed': !exists(json, 'managed') ? undefined : json['managed'],
68
62
  'name': !exists(json, 'name') ? undefined : json['name'],
69
63
  'expression': !exists(json, 'expression') ? undefined : json['expression'],
70
- 'objectField': !exists(json, 'object_field') ? undefined : json['object_field'],
71
64
  };
72
65
  }
73
66
 
@@ -83,7 +76,6 @@ export function PatchedLDAPPropertyMappingRequestToJSON(value?: PatchedLDAPPrope
83
76
  'managed': value.managed,
84
77
  'name': value.name,
85
78
  'expression': value.expression,
86
- 'object_field': value.objectField,
87
79
  };
88
80
  }
89
81
 
@@ -62,6 +62,18 @@ export interface PatchedLDAPSourceRequest {
62
62
  * @memberof PatchedLDAPSourceRequest
63
63
  */
64
64
  enrollmentFlow?: string | null;
65
+ /**
66
+ *
67
+ * @type {Array<string>}
68
+ * @memberof PatchedLDAPSourceRequest
69
+ */
70
+ userPropertyMappings?: Array<string>;
71
+ /**
72
+ *
73
+ * @type {Array<string>}
74
+ * @memberof PatchedLDAPSourceRequest
75
+ */
76
+ groupPropertyMappings?: Array<string>;
65
77
  /**
66
78
  *
67
79
  * @type {PolicyEngineMode}
@@ -194,18 +206,6 @@ export interface PatchedLDAPSourceRequest {
194
206
  * @memberof PatchedLDAPSourceRequest
195
207
  */
196
208
  syncParentGroup?: string | null;
197
- /**
198
- *
199
- * @type {Array<string>}
200
- * @memberof PatchedLDAPSourceRequest
201
- */
202
- propertyMappings?: Array<string>;
203
- /**
204
- * Property mappings used for group creation/updating.
205
- * @type {Array<string>}
206
- * @memberof PatchedLDAPSourceRequest
207
- */
208
- propertyMappingsGroup?: Array<string>;
209
209
  }
210
210
 
211
211
  /**
@@ -232,6 +232,8 @@ export function PatchedLDAPSourceRequestFromJSONTyped(json: any, ignoreDiscrimin
232
232
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
233
233
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
234
234
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
235
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
236
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
235
237
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
236
238
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
237
239
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
@@ -254,8 +256,6 @@ export function PatchedLDAPSourceRequestFromJSONTyped(json: any, ignoreDiscrimin
254
256
  'syncUsersPassword': !exists(json, 'sync_users_password') ? undefined : json['sync_users_password'],
255
257
  'syncGroups': !exists(json, 'sync_groups') ? undefined : json['sync_groups'],
256
258
  'syncParentGroup': !exists(json, 'sync_parent_group') ? undefined : json['sync_parent_group'],
257
- 'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
258
- 'propertyMappingsGroup': !exists(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
259
259
  };
260
260
  }
261
261
 
@@ -273,6 +273,8 @@ export function PatchedLDAPSourceRequestToJSON(value?: PatchedLDAPSourceRequest
273
273
  'enabled': value.enabled,
274
274
  'authentication_flow': value.authenticationFlow,
275
275
  'enrollment_flow': value.enrollmentFlow,
276
+ 'user_property_mappings': value.userPropertyMappings,
277
+ 'group_property_mappings': value.groupPropertyMappings,
276
278
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
277
279
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
278
280
  'user_path_template': value.userPathTemplate,
@@ -295,8 +297,6 @@ export function PatchedLDAPSourceRequestToJSON(value?: PatchedLDAPSourceRequest
295
297
  'sync_users_password': value.syncUsersPassword,
296
298
  'sync_groups': value.syncGroups,
297
299
  'sync_parent_group': value.syncParentGroup,
298
- 'property_mappings': value.propertyMappings,
299
- 'property_mappings_group': value.propertyMappingsGroup,
300
300
  };
301
301
  }
302
302
 
@@ -68,6 +68,18 @@ export interface PatchedOAuthSourceRequest {
68
68
  * @memberof PatchedOAuthSourceRequest
69
69
  */
70
70
  enrollmentFlow?: string | null;
71
+ /**
72
+ *
73
+ * @type {Array<string>}
74
+ * @memberof PatchedOAuthSourceRequest
75
+ */
76
+ userPropertyMappings?: Array<string>;
77
+ /**
78
+ *
79
+ * @type {Array<string>}
80
+ * @memberof PatchedOAuthSourceRequest
81
+ */
82
+ groupPropertyMappings?: Array<string>;
71
83
  /**
72
84
  *
73
85
  * @type {PolicyEngineMode}
@@ -178,6 +190,8 @@ export function PatchedOAuthSourceRequestFromJSONTyped(json: any, ignoreDiscrimi
178
190
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
179
191
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
180
192
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
193
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
194
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
181
195
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
182
196
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
183
197
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
@@ -209,6 +223,8 @@ export function PatchedOAuthSourceRequestToJSON(value?: PatchedOAuthSourceReques
209
223
  'enabled': value.enabled,
210
224
  'authentication_flow': value.authenticationFlow,
211
225
  'enrollment_flow': value.enrollmentFlow,
226
+ 'user_property_mappings': value.userPropertyMappings,
227
+ 'group_property_mappings': value.groupPropertyMappings,
212
228
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
213
229
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
214
230
  'user_path_template': value.userPathTemplate,
@@ -62,6 +62,18 @@ export interface PatchedPlexSourceRequest {
62
62
  * @memberof PatchedPlexSourceRequest
63
63
  */
64
64
  enrollmentFlow?: string | null;
65
+ /**
66
+ *
67
+ * @type {Array<string>}
68
+ * @memberof PatchedPlexSourceRequest
69
+ */
70
+ userPropertyMappings?: Array<string>;
71
+ /**
72
+ *
73
+ * @type {Array<string>}
74
+ * @memberof PatchedPlexSourceRequest
75
+ */
76
+ groupPropertyMappings?: Array<string>;
65
77
  /**
66
78
  *
67
79
  * @type {PolicyEngineMode}
@@ -130,6 +142,8 @@ export function PatchedPlexSourceRequestFromJSONTyped(json: any, ignoreDiscrimin
130
142
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
131
143
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
132
144
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
145
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
146
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
133
147
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
134
148
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
135
149
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
@@ -154,6 +168,8 @@ export function PatchedPlexSourceRequestToJSON(value?: PatchedPlexSourceRequest
154
168
  'enabled': value.enabled,
155
169
  'authentication_flow': value.authenticationFlow,
156
170
  'enrollment_flow': value.enrollmentFlow,
171
+ 'user_property_mappings': value.userPropertyMappings,
172
+ 'group_property_mappings': value.groupPropertyMappings,
157
173
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
158
174
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
159
175
  'user_path_template': value.userPathTemplate,
@@ -86,6 +86,18 @@ export interface PatchedSAMLSourceRequest {
86
86
  * @memberof PatchedSAMLSourceRequest
87
87
  */
88
88
  enrollmentFlow?: string | null;
89
+ /**
90
+ *
91
+ * @type {Array<string>}
92
+ * @memberof PatchedSAMLSourceRequest
93
+ */
94
+ userPropertyMappings?: Array<string>;
95
+ /**
96
+ *
97
+ * @type {Array<string>}
98
+ * @memberof PatchedSAMLSourceRequest
99
+ */
100
+ groupPropertyMappings?: Array<string>;
89
101
  /**
90
102
  *
91
103
  * @type {PolicyEngineMode}
@@ -202,6 +214,8 @@ export function PatchedSAMLSourceRequestFromJSONTyped(json: any, ignoreDiscrimin
202
214
  'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
203
215
  'authenticationFlow': !exists(json, 'authentication_flow') ? undefined : json['authentication_flow'],
204
216
  'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
217
+ 'userPropertyMappings': !exists(json, 'user_property_mappings') ? undefined : json['user_property_mappings'],
218
+ 'groupPropertyMappings': !exists(json, 'group_property_mappings') ? undefined : json['group_property_mappings'],
205
219
  'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
206
220
  'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
207
221
  'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
@@ -234,6 +248,8 @@ export function PatchedSAMLSourceRequestToJSON(value?: PatchedSAMLSourceRequest
234
248
  'enabled': value.enabled,
235
249
  'authentication_flow': value.authenticationFlow,
236
250
  'enrollment_flow': value.enrollmentFlow,
251
+ 'user_property_mappings': value.userPropertyMappings,
252
+ 'group_property_mappings': value.groupPropertyMappings,
237
253
  'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
238
254
  'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
239
255
  'user_path_template': value.userPathTemplate,
@@ -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,
@@ -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,
@@ -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,