@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
@@ -92,6 +92,12 @@ export interface PasswordStage {
92
92
  * @memberof PasswordStage
93
93
  */
94
94
  failedAttemptsBeforeCancel?: number;
95
+ /**
96
+ * When enabled, provides a 'show password' button with the password input field.
97
+ * @type {boolean}
98
+ * @memberof PasswordStage
99
+ */
100
+ allowShowPassword?: boolean;
95
101
  }
96
102
 
97
103
  /**
@@ -130,6 +136,7 @@ export function PasswordStageFromJSONTyped(json: any, ignoreDiscriminator: boole
130
136
  'backends': ((json['backends'] as Array<any>).map(BackendsEnumFromJSON)),
131
137
  'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
132
138
  'failedAttemptsBeforeCancel': !exists(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
139
+ 'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
133
140
  };
134
141
  }
135
142
 
@@ -147,6 +154,7 @@ export function PasswordStageToJSON(value?: PasswordStage | null): any {
147
154
  'backends': ((value.backends as Array<any>).map(BackendsEnumToJSON)),
148
155
  'configure_flow': value.configureFlow,
149
156
  'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
157
+ 'allow_show_password': value.allowShowPassword,
150
158
  };
151
159
  }
152
160
 
@@ -62,6 +62,12 @@ export interface PasswordStageRequest {
62
62
  * @memberof PasswordStageRequest
63
63
  */
64
64
  failedAttemptsBeforeCancel?: number;
65
+ /**
66
+ * When enabled, provides a 'show password' button with the password input field.
67
+ * @type {boolean}
68
+ * @memberof PasswordStageRequest
69
+ */
70
+ allowShowPassword?: boolean;
65
71
  }
66
72
 
67
73
  /**
@@ -90,6 +96,7 @@ export function PasswordStageRequestFromJSONTyped(json: any, ignoreDiscriminator
90
96
  'backends': ((json['backends'] as Array<any>).map(BackendsEnumFromJSON)),
91
97
  'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
92
98
  'failedAttemptsBeforeCancel': !exists(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
99
+ 'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
93
100
  };
94
101
  }
95
102
 
@@ -107,6 +114,7 @@ export function PasswordStageRequestToJSON(value?: PasswordStageRequest | null):
107
114
  'backends': ((value.backends as Array<any>).map(BackendsEnumToJSON)),
108
115
  'configure_flow': value.configureFlow,
109
116
  'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
117
+ 'allow_show_password': value.allowShowPassword,
110
118
  };
111
119
  }
112
120
 
@@ -51,7 +51,7 @@ export interface PatchedIdentificationStageRequest {
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 PatchedIdentificationStageRequest
57
57
  */
@@ -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,12 @@ export interface PatchedPasswordStageRequest {
62
62
  * @memberof PatchedPasswordStageRequest
63
63
  */
64
64
  failedAttemptsBeforeCancel?: number;
65
+ /**
66
+ * When enabled, provides a 'show password' button with the password input field.
67
+ * @type {boolean}
68
+ * @memberof PatchedPasswordStageRequest
69
+ */
70
+ allowShowPassword?: boolean;
65
71
  }
66
72
 
67
73
  /**
@@ -88,6 +94,7 @@ export function PatchedPasswordStageRequestFromJSONTyped(json: any, ignoreDiscri
88
94
  'backends': !exists(json, 'backends') ? undefined : ((json['backends'] as Array<any>).map(BackendsEnumFromJSON)),
89
95
  'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
90
96
  'failedAttemptsBeforeCancel': !exists(json, 'failed_attempts_before_cancel') ? undefined : json['failed_attempts_before_cancel'],
97
+ 'allowShowPassword': !exists(json, 'allow_show_password') ? undefined : json['allow_show_password'],
91
98
  };
92
99
  }
93
100
 
@@ -105,6 +112,7 @@ export function PatchedPasswordStageRequestToJSON(value?: PatchedPasswordStageRe
105
112
  'backends': value.backends === undefined ? undefined : ((value.backends as Array<any>).map(BackendsEnumToJSON)),
106
113
  'configure_flow': value.configureFlow,
107
114
  'failed_attempts_before_cancel': value.failedAttemptsBeforeCancel,
115
+ 'allow_show_password': value.allowShowPassword,
108
116
  };
109
117
  }
110
118
 
@@ -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,