@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.
Files changed (111) 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/Brand.d.ts +6 -0
  10. package/dist/esm/models/Brand.js +2 -0
  11. package/dist/esm/models/BrandRequest.d.ts +6 -0
  12. package/dist/esm/models/BrandRequest.js +2 -0
  13. package/dist/esm/models/LDAPPropertyMapping.d.ts +0 -6
  14. package/dist/esm/models/LDAPPropertyMapping.js +0 -3
  15. package/dist/esm/models/LDAPPropertyMappingRequest.d.ts +0 -6
  16. package/dist/esm/models/LDAPPropertyMappingRequest.js +0 -3
  17. package/dist/esm/models/LDAPSource.d.ts +12 -12
  18. package/dist/esm/models/LDAPSource.js +4 -4
  19. package/dist/esm/models/LDAPSourceRequest.d.ts +12 -12
  20. package/dist/esm/models/LDAPSourceRequest.js +4 -4
  21. package/dist/esm/models/OAuthSource.d.ts +12 -0
  22. package/dist/esm/models/OAuthSource.js +4 -0
  23. package/dist/esm/models/OAuthSourceRequest.d.ts +12 -0
  24. package/dist/esm/models/OAuthSourceRequest.js +4 -0
  25. package/dist/esm/models/PatchedBrandRequest.d.ts +6 -0
  26. package/dist/esm/models/PatchedBrandRequest.js +2 -0
  27. package/dist/esm/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -6
  28. package/dist/esm/models/PatchedLDAPPropertyMappingRequest.js +0 -2
  29. package/dist/esm/models/PatchedLDAPSourceRequest.d.ts +12 -12
  30. package/dist/esm/models/PatchedLDAPSourceRequest.js +4 -4
  31. package/dist/esm/models/PatchedOAuthSourceRequest.d.ts +12 -0
  32. package/dist/esm/models/PatchedOAuthSourceRequest.js +4 -0
  33. package/dist/esm/models/PatchedPlexSourceRequest.d.ts +12 -0
  34. package/dist/esm/models/PatchedPlexSourceRequest.js +4 -0
  35. package/dist/esm/models/PatchedSAMLSourceRequest.d.ts +12 -0
  36. package/dist/esm/models/PatchedSAMLSourceRequest.js +4 -0
  37. package/dist/esm/models/PlexSource.d.ts +12 -0
  38. package/dist/esm/models/PlexSource.js +4 -0
  39. package/dist/esm/models/PlexSourceRequest.d.ts +12 -0
  40. package/dist/esm/models/PlexSourceRequest.js +4 -0
  41. package/dist/esm/models/SAMLSource.d.ts +12 -0
  42. package/dist/esm/models/SAMLSource.js +4 -0
  43. package/dist/esm/models/SAMLSourceRequest.d.ts +12 -0
  44. package/dist/esm/models/SAMLSourceRequest.js +4 -0
  45. package/dist/esm/models/Source.d.ts +12 -0
  46. package/dist/esm/models/Source.js +4 -0
  47. package/dist/esm/models/SourceRequest.d.ts +12 -0
  48. package/dist/esm/models/SourceRequest.js +4 -0
  49. package/dist/models/Brand.d.ts +6 -0
  50. package/dist/models/Brand.js +2 -0
  51. package/dist/models/BrandRequest.d.ts +6 -0
  52. package/dist/models/BrandRequest.js +2 -0
  53. package/dist/models/LDAPPropertyMapping.d.ts +0 -6
  54. package/dist/models/LDAPPropertyMapping.js +0 -3
  55. package/dist/models/LDAPPropertyMappingRequest.d.ts +0 -6
  56. package/dist/models/LDAPPropertyMappingRequest.js +0 -3
  57. package/dist/models/LDAPSource.d.ts +12 -12
  58. package/dist/models/LDAPSource.js +4 -4
  59. package/dist/models/LDAPSourceRequest.d.ts +12 -12
  60. package/dist/models/LDAPSourceRequest.js +4 -4
  61. package/dist/models/OAuthSource.d.ts +12 -0
  62. package/dist/models/OAuthSource.js +4 -0
  63. package/dist/models/OAuthSourceRequest.d.ts +12 -0
  64. package/dist/models/OAuthSourceRequest.js +4 -0
  65. package/dist/models/PatchedBrandRequest.d.ts +6 -0
  66. package/dist/models/PatchedBrandRequest.js +2 -0
  67. package/dist/models/PatchedLDAPPropertyMappingRequest.d.ts +0 -6
  68. package/dist/models/PatchedLDAPPropertyMappingRequest.js +0 -2
  69. package/dist/models/PatchedLDAPSourceRequest.d.ts +12 -12
  70. package/dist/models/PatchedLDAPSourceRequest.js +4 -4
  71. package/dist/models/PatchedOAuthSourceRequest.d.ts +12 -0
  72. package/dist/models/PatchedOAuthSourceRequest.js +4 -0
  73. package/dist/models/PatchedPlexSourceRequest.d.ts +12 -0
  74. package/dist/models/PatchedPlexSourceRequest.js +4 -0
  75. package/dist/models/PatchedSAMLSourceRequest.d.ts +12 -0
  76. package/dist/models/PatchedSAMLSourceRequest.js +4 -0
  77. package/dist/models/PlexSource.d.ts +12 -0
  78. package/dist/models/PlexSource.js +4 -0
  79. package/dist/models/PlexSourceRequest.d.ts +12 -0
  80. package/dist/models/PlexSourceRequest.js +4 -0
  81. package/dist/models/SAMLSource.d.ts +12 -0
  82. package/dist/models/SAMLSource.js +4 -0
  83. package/dist/models/SAMLSourceRequest.d.ts +12 -0
  84. package/dist/models/SAMLSourceRequest.js +4 -0
  85. package/dist/models/Source.d.ts +12 -0
  86. package/dist/models/Source.js +4 -0
  87. package/dist/models/SourceRequest.d.ts +12 -0
  88. package/dist/models/SourceRequest.js +4 -0
  89. package/package.json +1 -1
  90. package/src/apis/PropertymappingsApi.ts +0 -5
  91. package/src/apis/SourcesApi.ts +10 -10
  92. package/src/models/Brand.ts +8 -0
  93. package/src/models/BrandRequest.ts +8 -0
  94. package/src/models/LDAPPropertyMapping.ts +0 -9
  95. package/src/models/LDAPPropertyMappingRequest.ts +0 -9
  96. package/src/models/LDAPSource.ts +16 -16
  97. package/src/models/LDAPSourceRequest.ts +16 -16
  98. package/src/models/OAuthSource.ts +16 -0
  99. package/src/models/OAuthSourceRequest.ts +16 -0
  100. package/src/models/PatchedBrandRequest.ts +8 -0
  101. package/src/models/PatchedLDAPPropertyMappingRequest.ts +0 -8
  102. package/src/models/PatchedLDAPSourceRequest.ts +16 -16
  103. package/src/models/PatchedOAuthSourceRequest.ts +16 -0
  104. package/src/models/PatchedPlexSourceRequest.ts +16 -0
  105. package/src/models/PatchedSAMLSourceRequest.ts +16 -0
  106. package/src/models/PlexSource.ts +16 -0
  107. package/src/models/PlexSourceRequest.ts +16 -0
  108. package/src/models/SAMLSource.ts +16 -0
  109. package/src/models/SAMLSourceRequest.ts +16 -0
  110. package/src/models/Source.ts +16 -0
  111. package/src/models/SourceRequest.ts +16 -0
@@ -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,