@goauthentik/api 2025.12.0-rc1-1764545300 → 2025.12.0-rc1-1764697794
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/.openapi-generator/FILES +1 -1
- package/dist/apis/AdminApi.d.ts +64 -1
- package/dist/apis/AdminApi.d.ts.map +1 -1
- package/dist/apis/AdminApi.js +173 -1
- package/dist/apis/AdminApi.js.map +1 -1
- package/dist/apis/CoreApi.d.ts +1 -26
- package/dist/apis/CoreApi.d.ts.map +1 -1
- package/dist/apis/CoreApi.js +0 -91
- package/dist/apis/CoreApi.js.map +1 -1
- package/dist/apis/FlowsApi.d.ts +1 -26
- package/dist/apis/FlowsApi.d.ts.map +1 -1
- package/dist/apis/FlowsApi.js +0 -91
- package/dist/apis/FlowsApi.js.map +1 -1
- package/dist/apis/SourcesApi.d.ts +1 -26
- package/dist/apis/SourcesApi.d.ts.map +1 -1
- package/dist/apis/SourcesApi.js +0 -91
- package/dist/apis/SourcesApi.js.map +1 -1
- package/dist/esm/apis/AdminApi.d.ts +64 -1
- package/dist/esm/apis/AdminApi.d.ts.map +1 -1
- package/dist/esm/apis/AdminApi.js +173 -1
- package/dist/esm/apis/AdminApi.js.map +1 -1
- package/dist/esm/apis/CoreApi.d.ts +1 -26
- package/dist/esm/apis/CoreApi.d.ts.map +1 -1
- package/dist/esm/apis/CoreApi.js +0 -91
- package/dist/esm/apis/CoreApi.js.map +1 -1
- package/dist/esm/apis/FlowsApi.d.ts +1 -26
- package/dist/esm/apis/FlowsApi.d.ts.map +1 -1
- package/dist/esm/apis/FlowsApi.js +0 -91
- package/dist/esm/apis/FlowsApi.js.map +1 -1
- package/dist/esm/apis/SourcesApi.d.ts +1 -26
- package/dist/esm/apis/SourcesApi.d.ts.map +1 -1
- package/dist/esm/apis/SourcesApi.js +0 -91
- package/dist/esm/apis/SourcesApi.js.map +1 -1
- package/dist/esm/models/AppEnum.d.ts +1 -0
- package/dist/esm/models/AppEnum.d.ts.map +1 -1
- package/dist/esm/models/AppEnum.js +1 -0
- package/dist/esm/models/AppEnum.js.map +1 -1
- package/dist/esm/models/Application.d.ts +9 -4
- package/dist/esm/models/Application.d.ts.map +1 -1
- package/dist/esm/models/Application.js +4 -2
- package/dist/esm/models/Application.js.map +1 -1
- package/dist/esm/models/ApplicationRequest.d.ts +6 -0
- package/dist/esm/models/ApplicationRequest.d.ts.map +1 -1
- package/dist/esm/models/ApplicationRequest.js +2 -0
- package/dist/esm/models/ApplicationRequest.js.map +1 -1
- package/dist/esm/models/FileList.d.ts +45 -0
- package/dist/esm/models/FileList.d.ts.map +1 -0
- package/dist/esm/models/FileList.js +59 -0
- package/dist/esm/models/FileList.js.map +1 -0
- package/dist/esm/models/Flow.d.ts +9 -4
- package/dist/esm/models/Flow.d.ts.map +1 -1
- package/dist/esm/models/Flow.js +4 -2
- package/dist/esm/models/Flow.js.map +1 -1
- package/dist/esm/models/FlowRequest.d.ts +6 -0
- package/dist/esm/models/FlowRequest.d.ts.map +1 -1
- package/dist/esm/models/FlowRequest.js +2 -0
- package/dist/esm/models/FlowRequest.js.map +1 -1
- package/dist/esm/models/FlowSet.d.ts +3 -4
- package/dist/esm/models/FlowSet.d.ts.map +1 -1
- package/dist/esm/models/FlowSet.js +2 -2
- package/dist/esm/models/FlowSet.js.map +1 -1
- package/dist/esm/models/KerberosSource.d.ts +8 -2
- package/dist/esm/models/KerberosSource.d.ts.map +1 -1
- package/dist/esm/models/KerberosSource.js +4 -2
- package/dist/esm/models/KerberosSource.js.map +1 -1
- package/dist/esm/models/KerberosSourceRequest.d.ts +6 -0
- package/dist/esm/models/KerberosSourceRequest.d.ts.map +1 -1
- package/dist/esm/models/KerberosSourceRequest.js +2 -0
- package/dist/esm/models/KerberosSourceRequest.js.map +1 -1
- package/dist/esm/models/LDAPSource.d.ts +8 -2
- package/dist/esm/models/LDAPSource.d.ts.map +1 -1
- package/dist/esm/models/LDAPSource.js +4 -2
- package/dist/esm/models/LDAPSource.js.map +1 -1
- package/dist/esm/models/LDAPSourceRequest.d.ts +6 -0
- package/dist/esm/models/LDAPSourceRequest.d.ts.map +1 -1
- package/dist/esm/models/LDAPSourceRequest.js +2 -0
- package/dist/esm/models/LDAPSourceRequest.js.map +1 -1
- package/dist/esm/models/OAuthSource.d.ts +8 -2
- package/dist/esm/models/OAuthSource.d.ts.map +1 -1
- package/dist/esm/models/OAuthSource.js +4 -2
- package/dist/esm/models/OAuthSource.js.map +1 -1
- package/dist/esm/models/OAuthSourceRequest.d.ts +6 -0
- package/dist/esm/models/OAuthSourceRequest.d.ts.map +1 -1
- package/dist/esm/models/OAuthSourceRequest.js +2 -0
- package/dist/esm/models/OAuthSourceRequest.js.map +1 -1
- package/dist/esm/models/PatchedApplicationRequest.d.ts +6 -0
- package/dist/esm/models/PatchedApplicationRequest.d.ts.map +1 -1
- package/dist/esm/models/PatchedApplicationRequest.js +2 -0
- package/dist/esm/models/PatchedApplicationRequest.js.map +1 -1
- package/dist/esm/models/PatchedFlowRequest.d.ts +6 -0
- package/dist/esm/models/PatchedFlowRequest.d.ts.map +1 -1
- package/dist/esm/models/PatchedFlowRequest.js +2 -0
- package/dist/esm/models/PatchedFlowRequest.js.map +1 -1
- package/dist/esm/models/PatchedKerberosSourceRequest.d.ts +6 -0
- package/dist/esm/models/PatchedKerberosSourceRequest.d.ts.map +1 -1
- package/dist/esm/models/PatchedKerberosSourceRequest.js +2 -0
- package/dist/esm/models/PatchedKerberosSourceRequest.js.map +1 -1
- package/dist/esm/models/PatchedLDAPSourceRequest.d.ts +6 -0
- package/dist/esm/models/PatchedLDAPSourceRequest.d.ts.map +1 -1
- package/dist/esm/models/PatchedLDAPSourceRequest.js +2 -0
- package/dist/esm/models/PatchedLDAPSourceRequest.js.map +1 -1
- package/dist/esm/models/PatchedOAuthSourceRequest.d.ts +6 -0
- package/dist/esm/models/PatchedOAuthSourceRequest.d.ts.map +1 -1
- package/dist/esm/models/PatchedOAuthSourceRequest.js +2 -0
- package/dist/esm/models/PatchedOAuthSourceRequest.js.map +1 -1
- package/dist/esm/models/PatchedPlexSourceRequest.d.ts +6 -0
- package/dist/esm/models/PatchedPlexSourceRequest.d.ts.map +1 -1
- package/dist/esm/models/PatchedPlexSourceRequest.js +2 -0
- package/dist/esm/models/PatchedPlexSourceRequest.js.map +1 -1
- package/dist/esm/models/PatchedSAMLSourceRequest.d.ts +6 -0
- package/dist/esm/models/PatchedSAMLSourceRequest.d.ts.map +1 -1
- package/dist/esm/models/PatchedSAMLSourceRequest.js +2 -0
- package/dist/esm/models/PatchedSAMLSourceRequest.js.map +1 -1
- package/dist/esm/models/PatchedTelegramSourceRequest.d.ts +6 -0
- package/dist/esm/models/PatchedTelegramSourceRequest.d.ts.map +1 -1
- package/dist/esm/models/PatchedTelegramSourceRequest.js +2 -0
- package/dist/esm/models/PatchedTelegramSourceRequest.js.map +1 -1
- package/dist/esm/models/PlexSource.d.ts +8 -2
- package/dist/esm/models/PlexSource.d.ts.map +1 -1
- package/dist/esm/models/PlexSource.js +4 -2
- package/dist/esm/models/PlexSource.js.map +1 -1
- package/dist/esm/models/PlexSourceRequest.d.ts +6 -0
- package/dist/esm/models/PlexSourceRequest.d.ts.map +1 -1
- package/dist/esm/models/PlexSourceRequest.js +2 -0
- package/dist/esm/models/PlexSourceRequest.js.map +1 -1
- package/dist/esm/models/ProviderTypeEnum.d.ts +1 -0
- package/dist/esm/models/ProviderTypeEnum.d.ts.map +1 -1
- package/dist/esm/models/ProviderTypeEnum.js +1 -0
- package/dist/esm/models/ProviderTypeEnum.js.map +1 -1
- package/dist/esm/models/SAMLSource.d.ts +8 -2
- package/dist/esm/models/SAMLSource.d.ts.map +1 -1
- package/dist/esm/models/SAMLSource.js +4 -2
- package/dist/esm/models/SAMLSource.js.map +1 -1
- package/dist/esm/models/SAMLSourceRequest.d.ts +6 -0
- package/dist/esm/models/SAMLSourceRequest.d.ts.map +1 -1
- package/dist/esm/models/SAMLSourceRequest.js +2 -0
- package/dist/esm/models/SAMLSourceRequest.js.map +1 -1
- package/dist/esm/models/Source.d.ts +9 -4
- package/dist/esm/models/Source.d.ts.map +1 -1
- package/dist/esm/models/Source.js +4 -2
- package/dist/esm/models/Source.js.map +1 -1
- package/dist/esm/models/TelegramSource.d.ts +8 -2
- package/dist/esm/models/TelegramSource.d.ts.map +1 -1
- package/dist/esm/models/TelegramSource.js +4 -2
- package/dist/esm/models/TelegramSource.js.map +1 -1
- package/dist/esm/models/TelegramSourceRequest.d.ts +6 -0
- package/dist/esm/models/TelegramSourceRequest.d.ts.map +1 -1
- package/dist/esm/models/TelegramSourceRequest.js +2 -0
- package/dist/esm/models/TelegramSourceRequest.js.map +1 -1
- package/dist/esm/models/UsedByActionEnum.d.ts +1 -0
- package/dist/esm/models/UsedByActionEnum.d.ts.map +1 -1
- package/dist/esm/models/UsedByActionEnum.js +1 -0
- package/dist/esm/models/UsedByActionEnum.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/models/AppEnum.d.ts +1 -0
- package/dist/models/AppEnum.d.ts.map +1 -1
- package/dist/models/AppEnum.js +1 -0
- package/dist/models/AppEnum.js.map +1 -1
- package/dist/models/Application.d.ts +9 -4
- package/dist/models/Application.d.ts.map +1 -1
- package/dist/models/Application.js +4 -2
- package/dist/models/Application.js.map +1 -1
- package/dist/models/ApplicationRequest.d.ts +6 -0
- package/dist/models/ApplicationRequest.d.ts.map +1 -1
- package/dist/models/ApplicationRequest.js +2 -0
- package/dist/models/ApplicationRequest.js.map +1 -1
- package/dist/models/FileList.d.ts +45 -0
- package/dist/models/FileList.d.ts.map +1 -0
- package/dist/models/FileList.js +59 -0
- package/dist/models/FileList.js.map +1 -0
- package/dist/models/Flow.d.ts +9 -4
- package/dist/models/Flow.d.ts.map +1 -1
- package/dist/models/Flow.js +4 -2
- package/dist/models/Flow.js.map +1 -1
- package/dist/models/FlowRequest.d.ts +6 -0
- package/dist/models/FlowRequest.d.ts.map +1 -1
- package/dist/models/FlowRequest.js +2 -0
- package/dist/models/FlowRequest.js.map +1 -1
- package/dist/models/FlowSet.d.ts +3 -4
- package/dist/models/FlowSet.d.ts.map +1 -1
- package/dist/models/FlowSet.js +2 -2
- package/dist/models/FlowSet.js.map +1 -1
- package/dist/models/KerberosSource.d.ts +8 -2
- package/dist/models/KerberosSource.d.ts.map +1 -1
- package/dist/models/KerberosSource.js +4 -2
- package/dist/models/KerberosSource.js.map +1 -1
- package/dist/models/KerberosSourceRequest.d.ts +6 -0
- package/dist/models/KerberosSourceRequest.d.ts.map +1 -1
- package/dist/models/KerberosSourceRequest.js +2 -0
- package/dist/models/KerberosSourceRequest.js.map +1 -1
- package/dist/models/LDAPSource.d.ts +8 -2
- package/dist/models/LDAPSource.d.ts.map +1 -1
- package/dist/models/LDAPSource.js +4 -2
- package/dist/models/LDAPSource.js.map +1 -1
- package/dist/models/LDAPSourceRequest.d.ts +6 -0
- package/dist/models/LDAPSourceRequest.d.ts.map +1 -1
- package/dist/models/LDAPSourceRequest.js +2 -0
- package/dist/models/LDAPSourceRequest.js.map +1 -1
- package/dist/models/OAuthSource.d.ts +8 -2
- package/dist/models/OAuthSource.d.ts.map +1 -1
- package/dist/models/OAuthSource.js +4 -2
- package/dist/models/OAuthSource.js.map +1 -1
- package/dist/models/OAuthSourceRequest.d.ts +6 -0
- package/dist/models/OAuthSourceRequest.d.ts.map +1 -1
- package/dist/models/OAuthSourceRequest.js +2 -0
- package/dist/models/OAuthSourceRequest.js.map +1 -1
- package/dist/models/PatchedApplicationRequest.d.ts +6 -0
- package/dist/models/PatchedApplicationRequest.d.ts.map +1 -1
- package/dist/models/PatchedApplicationRequest.js +2 -0
- package/dist/models/PatchedApplicationRequest.js.map +1 -1
- package/dist/models/PatchedFlowRequest.d.ts +6 -0
- package/dist/models/PatchedFlowRequest.d.ts.map +1 -1
- package/dist/models/PatchedFlowRequest.js +2 -0
- package/dist/models/PatchedFlowRequest.js.map +1 -1
- package/dist/models/PatchedKerberosSourceRequest.d.ts +6 -0
- package/dist/models/PatchedKerberosSourceRequest.d.ts.map +1 -1
- package/dist/models/PatchedKerberosSourceRequest.js +2 -0
- package/dist/models/PatchedKerberosSourceRequest.js.map +1 -1
- package/dist/models/PatchedLDAPSourceRequest.d.ts +6 -0
- package/dist/models/PatchedLDAPSourceRequest.d.ts.map +1 -1
- package/dist/models/PatchedLDAPSourceRequest.js +2 -0
- package/dist/models/PatchedLDAPSourceRequest.js.map +1 -1
- package/dist/models/PatchedOAuthSourceRequest.d.ts +6 -0
- package/dist/models/PatchedOAuthSourceRequest.d.ts.map +1 -1
- package/dist/models/PatchedOAuthSourceRequest.js +2 -0
- package/dist/models/PatchedOAuthSourceRequest.js.map +1 -1
- package/dist/models/PatchedPlexSourceRequest.d.ts +6 -0
- package/dist/models/PatchedPlexSourceRequest.d.ts.map +1 -1
- package/dist/models/PatchedPlexSourceRequest.js +2 -0
- package/dist/models/PatchedPlexSourceRequest.js.map +1 -1
- package/dist/models/PatchedSAMLSourceRequest.d.ts +6 -0
- package/dist/models/PatchedSAMLSourceRequest.d.ts.map +1 -1
- package/dist/models/PatchedSAMLSourceRequest.js +2 -0
- package/dist/models/PatchedSAMLSourceRequest.js.map +1 -1
- package/dist/models/PatchedTelegramSourceRequest.d.ts +6 -0
- package/dist/models/PatchedTelegramSourceRequest.d.ts.map +1 -1
- package/dist/models/PatchedTelegramSourceRequest.js +2 -0
- package/dist/models/PatchedTelegramSourceRequest.js.map +1 -1
- package/dist/models/PlexSource.d.ts +8 -2
- package/dist/models/PlexSource.d.ts.map +1 -1
- package/dist/models/PlexSource.js +4 -2
- package/dist/models/PlexSource.js.map +1 -1
- package/dist/models/PlexSourceRequest.d.ts +6 -0
- package/dist/models/PlexSourceRequest.d.ts.map +1 -1
- package/dist/models/PlexSourceRequest.js +2 -0
- package/dist/models/PlexSourceRequest.js.map +1 -1
- package/dist/models/ProviderTypeEnum.d.ts +1 -0
- package/dist/models/ProviderTypeEnum.d.ts.map +1 -1
- package/dist/models/ProviderTypeEnum.js +1 -0
- package/dist/models/ProviderTypeEnum.js.map +1 -1
- package/dist/models/SAMLSource.d.ts +8 -2
- package/dist/models/SAMLSource.d.ts.map +1 -1
- package/dist/models/SAMLSource.js +4 -2
- package/dist/models/SAMLSource.js.map +1 -1
- package/dist/models/SAMLSourceRequest.d.ts +6 -0
- package/dist/models/SAMLSourceRequest.d.ts.map +1 -1
- package/dist/models/SAMLSourceRequest.js +2 -0
- package/dist/models/SAMLSourceRequest.js.map +1 -1
- package/dist/models/Source.d.ts +9 -4
- package/dist/models/Source.d.ts.map +1 -1
- package/dist/models/Source.js +4 -2
- package/dist/models/Source.js.map +1 -1
- package/dist/models/TelegramSource.d.ts +8 -2
- package/dist/models/TelegramSource.d.ts.map +1 -1
- package/dist/models/TelegramSource.js +4 -2
- package/dist/models/TelegramSource.js.map +1 -1
- package/dist/models/TelegramSourceRequest.d.ts +6 -0
- package/dist/models/TelegramSourceRequest.d.ts.map +1 -1
- package/dist/models/TelegramSourceRequest.js +2 -0
- package/dist/models/TelegramSourceRequest.js.map +1 -1
- package/dist/models/UsedByActionEnum.d.ts +1 -0
- package/dist/models/UsedByActionEnum.d.ts.map +1 -1
- package/dist/models/UsedByActionEnum.js +1 -0
- package/dist/models/UsedByActionEnum.js.map +1 -1
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/index.js.map +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +248 -0
- package/src/apis/CoreApi.ts +0 -137
- package/src/apis/FlowsApi.ts +0 -137
- package/src/apis/SourcesApi.ts +0 -137
- package/src/models/AppEnum.ts +1 -0
- package/src/models/Application.ts +13 -6
- package/src/models/ApplicationRequest.ts +8 -0
- package/src/models/FileList.ts +84 -0
- package/src/models/Flow.ts +13 -6
- package/src/models/FlowRequest.ts +8 -0
- package/src/models/FlowSet.ts +5 -6
- package/src/models/KerberosSource.ts +12 -4
- package/src/models/KerberosSourceRequest.ts +8 -0
- package/src/models/LDAPSource.ts +12 -4
- package/src/models/LDAPSourceRequest.ts +8 -0
- package/src/models/OAuthSource.ts +12 -4
- package/src/models/OAuthSourceRequest.ts +8 -0
- package/src/models/PatchedApplicationRequest.ts +8 -0
- package/src/models/PatchedFlowRequest.ts +8 -0
- package/src/models/PatchedKerberosSourceRequest.ts +8 -0
- package/src/models/PatchedLDAPSourceRequest.ts +8 -0
- package/src/models/PatchedOAuthSourceRequest.ts +8 -0
- package/src/models/PatchedPlexSourceRequest.ts +8 -0
- package/src/models/PatchedSAMLSourceRequest.ts +8 -0
- package/src/models/PatchedTelegramSourceRequest.ts +8 -0
- package/src/models/PlexSource.ts +12 -4
- package/src/models/PlexSourceRequest.ts +8 -0
- package/src/models/ProviderTypeEnum.ts +1 -0
- package/src/models/SAMLSource.ts +12 -4
- package/src/models/SAMLSourceRequest.ts +8 -0
- package/src/models/Source.ts +13 -6
- package/src/models/TelegramSource.ts +12 -4
- package/src/models/TelegramSourceRequest.ts +8 -0
- package/src/models/UsedByActionEnum.ts +1 -0
- package/src/models/index.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/models/FilePathRequest.d.ts +0 -33
- package/dist/esm/models/FilePathRequest.d.ts.map +0 -1
- package/dist/esm/models/FilePathRequest.js +0 -51
- package/dist/esm/models/FilePathRequest.js.map +0 -1
- package/dist/models/FilePathRequest.d.ts +0 -33
- package/dist/models/FilePathRequest.d.ts.map +0 -1
- package/dist/models/FilePathRequest.js +0 -51
- package/dist/models/FilePathRequest.js.map +0 -1
- package/src/models/FilePathRequest.ts +0 -66
|
@@ -176,7 +176,13 @@ export interface OAuthSource {
|
|
|
176
176
|
* @type {string}
|
|
177
177
|
* @memberof OAuthSource
|
|
178
178
|
*/
|
|
179
|
-
|
|
179
|
+
icon?: string;
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @type {string}
|
|
183
|
+
* @memberof OAuthSource
|
|
184
|
+
*/
|
|
185
|
+
readonly iconUrl: string | null;
|
|
180
186
|
/**
|
|
181
187
|
* How the source determines if an existing group should be used or a new group created.
|
|
182
188
|
* @type {GroupMatchingModeEnum}
|
|
@@ -283,7 +289,7 @@ export function instanceOfOAuthSource(value: object): value is OAuthSource {
|
|
|
283
289
|
if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined) return false;
|
|
284
290
|
if (!('metaModelName' in value) || value['metaModelName'] === undefined) return false;
|
|
285
291
|
if (!('managed' in value) || value['managed'] === undefined) return false;
|
|
286
|
-
if (!('
|
|
292
|
+
if (!('iconUrl' in value) || value['iconUrl'] === undefined) return false;
|
|
287
293
|
if (!('providerType' in value) || value['providerType'] === undefined) return false;
|
|
288
294
|
if (!('consumerKey' in value) || value['consumerKey'] === undefined) return false;
|
|
289
295
|
if (!('callbackUrl' in value) || value['callbackUrl'] === undefined) return false;
|
|
@@ -318,7 +324,8 @@ export function OAuthSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
318
324
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
319
325
|
'managed': json['managed'],
|
|
320
326
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
321
|
-
'icon': json['icon'],
|
|
327
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
328
|
+
'iconUrl': json['icon_url'],
|
|
322
329
|
'groupMatchingMode': json['group_matching_mode'] == null ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
|
323
330
|
'providerType': ProviderTypeEnumFromJSON(json['provider_type']),
|
|
324
331
|
'requestTokenUrl': json['request_token_url'] == null ? undefined : json['request_token_url'],
|
|
@@ -341,7 +348,7 @@ export function OAuthSourceToJSON(json: any): OAuthSource {
|
|
|
341
348
|
return OAuthSourceToJSONTyped(json, false);
|
|
342
349
|
}
|
|
343
350
|
|
|
344
|
-
export function OAuthSourceToJSONTyped(value?: Omit<OAuthSource, 'pk'|'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'|'managed'|'
|
|
351
|
+
export function OAuthSourceToJSONTyped(value?: Omit<OAuthSource, 'pk'|'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'|'managed'|'icon_url'|'callback_url'|'type'> | null, ignoreDiscriminator: boolean = false): any {
|
|
345
352
|
if (value == null) {
|
|
346
353
|
return value;
|
|
347
354
|
}
|
|
@@ -359,6 +366,7 @@ export function OAuthSourceToJSONTyped(value?: Omit<OAuthSource, 'pk'|'component
|
|
|
359
366
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
360
367
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
361
368
|
'user_path_template': value['userPathTemplate'],
|
|
369
|
+
'icon': value['icon'],
|
|
362
370
|
'group_matching_mode': GroupMatchingModeEnumToJSON(value['groupMatchingMode']),
|
|
363
371
|
'provider_type': ProviderTypeEnumToJSON(value['providerType']),
|
|
364
372
|
'request_token_url': value['requestTokenUrl'],
|
|
@@ -128,6 +128,12 @@ export interface OAuthSourceRequest {
|
|
|
128
128
|
* @memberof OAuthSourceRequest
|
|
129
129
|
*/
|
|
130
130
|
userPathTemplate?: string;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof OAuthSourceRequest
|
|
135
|
+
*/
|
|
136
|
+
icon?: string;
|
|
131
137
|
/**
|
|
132
138
|
* How the source determines if an existing group should be used or a new group created.
|
|
133
139
|
* @type {GroupMatchingModeEnum}
|
|
@@ -249,6 +255,7 @@ export function OAuthSourceRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
249
255
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
250
256
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
251
257
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
258
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
252
259
|
'groupMatchingMode': json['group_matching_mode'] == null ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
|
253
260
|
'providerType': ProviderTypeEnumFromJSON(json['provider_type']),
|
|
254
261
|
'requestTokenUrl': json['request_token_url'] == null ? undefined : json['request_token_url'],
|
|
@@ -288,6 +295,7 @@ export function OAuthSourceRequestToJSONTyped(value?: OAuthSourceRequest | null,
|
|
|
288
295
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
289
296
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
290
297
|
'user_path_template': value['userPathTemplate'],
|
|
298
|
+
'icon': value['icon'],
|
|
291
299
|
'group_matching_mode': GroupMatchingModeEnumToJSON(value['groupMatchingMode']),
|
|
292
300
|
'provider_type': ProviderTypeEnumToJSON(value['providerType']),
|
|
293
301
|
'request_token_url': value['requestTokenUrl'],
|
|
@@ -63,6 +63,12 @@ export interface PatchedApplicationRequest {
|
|
|
63
63
|
* @memberof PatchedApplicationRequest
|
|
64
64
|
*/
|
|
65
65
|
metaLaunchUrl?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PatchedApplicationRequest
|
|
70
|
+
*/
|
|
71
|
+
metaIcon?: string;
|
|
66
72
|
/**
|
|
67
73
|
*
|
|
68
74
|
* @type {string}
|
|
@@ -114,6 +120,7 @@ export function PatchedApplicationRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
114
120
|
'backchannelProviders': json['backchannel_providers'] == null ? undefined : json['backchannel_providers'],
|
|
115
121
|
'openInNewTab': json['open_in_new_tab'] == null ? undefined : json['open_in_new_tab'],
|
|
116
122
|
'metaLaunchUrl': json['meta_launch_url'] == null ? undefined : json['meta_launch_url'],
|
|
123
|
+
'metaIcon': json['meta_icon'] == null ? undefined : json['meta_icon'],
|
|
117
124
|
'metaDescription': json['meta_description'] == null ? undefined : json['meta_description'],
|
|
118
125
|
'metaPublisher': json['meta_publisher'] == null ? undefined : json['meta_publisher'],
|
|
119
126
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
@@ -138,6 +145,7 @@ export function PatchedApplicationRequestToJSONTyped(value?: PatchedApplicationR
|
|
|
138
145
|
'backchannel_providers': value['backchannelProviders'],
|
|
139
146
|
'open_in_new_tab': value['openInNewTab'],
|
|
140
147
|
'meta_launch_url': value['metaLaunchUrl'],
|
|
148
|
+
'meta_icon': value['metaIcon'],
|
|
141
149
|
'meta_description': value['metaDescription'],
|
|
142
150
|
'meta_publisher': value['metaPublisher'],
|
|
143
151
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
@@ -79,6 +79,12 @@ export interface PatchedFlowRequest {
|
|
|
79
79
|
* @memberof PatchedFlowRequest
|
|
80
80
|
*/
|
|
81
81
|
designation?: FlowDesignationEnum;
|
|
82
|
+
/**
|
|
83
|
+
* Background shown during execution
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof PatchedFlowRequest
|
|
86
|
+
*/
|
|
87
|
+
background?: string;
|
|
82
88
|
/**
|
|
83
89
|
*
|
|
84
90
|
* @type {PolicyEngineMode}
|
|
@@ -134,6 +140,7 @@ export function PatchedFlowRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
134
140
|
'slug': json['slug'] == null ? undefined : json['slug'],
|
|
135
141
|
'title': json['title'] == null ? undefined : json['title'],
|
|
136
142
|
'designation': json['designation'] == null ? undefined : FlowDesignationEnumFromJSON(json['designation']),
|
|
143
|
+
'background': json['background'] == null ? undefined : json['background'],
|
|
137
144
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
138
145
|
'compatibilityMode': json['compatibility_mode'] == null ? undefined : json['compatibility_mode'],
|
|
139
146
|
'layout': json['layout'] == null ? undefined : FlowLayoutEnumFromJSON(json['layout']),
|
|
@@ -157,6 +164,7 @@ export function PatchedFlowRequestToJSONTyped(value?: PatchedFlowRequest | null,
|
|
|
157
164
|
'slug': value['slug'],
|
|
158
165
|
'title': value['title'],
|
|
159
166
|
'designation': FlowDesignationEnumToJSON(value['designation']),
|
|
167
|
+
'background': value['background'],
|
|
160
168
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
161
169
|
'compatibility_mode': value['compatibilityMode'],
|
|
162
170
|
'layout': FlowLayoutEnumToJSON(value['layout']),
|
|
@@ -114,6 +114,12 @@ export interface PatchedKerberosSourceRequest {
|
|
|
114
114
|
* @memberof PatchedKerberosSourceRequest
|
|
115
115
|
*/
|
|
116
116
|
userPathTemplate?: string;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof PatchedKerberosSourceRequest
|
|
121
|
+
*/
|
|
122
|
+
icon?: string;
|
|
117
123
|
/**
|
|
118
124
|
* How the source determines if an existing group should be used or a new group created.
|
|
119
125
|
* @type {GroupMatchingModeEnum}
|
|
@@ -230,6 +236,7 @@ export function PatchedKerberosSourceRequestFromJSONTyped(json: any, ignoreDiscr
|
|
|
230
236
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
231
237
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
232
238
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
239
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
233
240
|
'groupMatchingMode': json['group_matching_mode'] == null ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
|
234
241
|
'realm': json['realm'] == null ? undefined : json['realm'],
|
|
235
242
|
'krb5Conf': json['krb5_conf'] == null ? undefined : json['krb5_conf'],
|
|
@@ -269,6 +276,7 @@ export function PatchedKerberosSourceRequestToJSONTyped(value?: PatchedKerberosS
|
|
|
269
276
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
270
277
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
271
278
|
'user_path_template': value['userPathTemplate'],
|
|
279
|
+
'icon': value['icon'],
|
|
272
280
|
'group_matching_mode': GroupMatchingModeEnumToJSON(value['groupMatchingMode']),
|
|
273
281
|
'realm': value['realm'],
|
|
274
282
|
'krb5_conf': value['krb5Conf'],
|
|
@@ -100,6 +100,12 @@ export interface PatchedLDAPSourceRequest {
|
|
|
100
100
|
* @memberof PatchedLDAPSourceRequest
|
|
101
101
|
*/
|
|
102
102
|
userPathTemplate?: string;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof PatchedLDAPSourceRequest
|
|
107
|
+
*/
|
|
108
|
+
icon?: string;
|
|
103
109
|
/**
|
|
104
110
|
*
|
|
105
111
|
* @type {string}
|
|
@@ -264,6 +270,7 @@ export function PatchedLDAPSourceRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
264
270
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
265
271
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
266
272
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
273
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
267
274
|
'serverUri': json['server_uri'] == null ? undefined : json['server_uri'],
|
|
268
275
|
'peerCertificate': json['peer_certificate'] == null ? undefined : json['peer_certificate'],
|
|
269
276
|
'clientCertificate': json['client_certificate'] == null ? undefined : json['client_certificate'],
|
|
@@ -311,6 +318,7 @@ export function PatchedLDAPSourceRequestToJSONTyped(value?: PatchedLDAPSourceReq
|
|
|
311
318
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
312
319
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
313
320
|
'user_path_template': value['userPathTemplate'],
|
|
321
|
+
'icon': value['icon'],
|
|
314
322
|
'server_uri': value['serverUri'],
|
|
315
323
|
'peer_certificate': value['peerCertificate'],
|
|
316
324
|
'client_certificate': value['clientCertificate'],
|
|
@@ -128,6 +128,12 @@ export interface PatchedOAuthSourceRequest {
|
|
|
128
128
|
* @memberof PatchedOAuthSourceRequest
|
|
129
129
|
*/
|
|
130
130
|
userPathTemplate?: string;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof PatchedOAuthSourceRequest
|
|
135
|
+
*/
|
|
136
|
+
icon?: string;
|
|
131
137
|
/**
|
|
132
138
|
* How the source determines if an existing group should be used or a new group created.
|
|
133
139
|
* @type {GroupMatchingModeEnum}
|
|
@@ -244,6 +250,7 @@ export function PatchedOAuthSourceRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
244
250
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
245
251
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
246
252
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
253
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
247
254
|
'groupMatchingMode': json['group_matching_mode'] == null ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
|
248
255
|
'providerType': json['provider_type'] == null ? undefined : ProviderTypeEnumFromJSON(json['provider_type']),
|
|
249
256
|
'requestTokenUrl': json['request_token_url'] == null ? undefined : json['request_token_url'],
|
|
@@ -283,6 +290,7 @@ export function PatchedOAuthSourceRequestToJSONTyped(value?: PatchedOAuthSourceR
|
|
|
283
290
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
284
291
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
285
292
|
'user_path_template': value['userPathTemplate'],
|
|
293
|
+
'icon': value['icon'],
|
|
286
294
|
'group_matching_mode': GroupMatchingModeEnumToJSON(value['groupMatchingMode']),
|
|
287
295
|
'provider_type': ProviderTypeEnumToJSON(value['providerType']),
|
|
288
296
|
'request_token_url': value['requestTokenUrl'],
|
|
@@ -107,6 +107,12 @@ export interface PatchedPlexSourceRequest {
|
|
|
107
107
|
* @memberof PatchedPlexSourceRequest
|
|
108
108
|
*/
|
|
109
109
|
userPathTemplate?: string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof PatchedPlexSourceRequest
|
|
114
|
+
*/
|
|
115
|
+
icon?: string;
|
|
110
116
|
/**
|
|
111
117
|
* How the source determines if an existing group should be used or a new group created.
|
|
112
118
|
* @type {GroupMatchingModeEnum}
|
|
@@ -169,6 +175,7 @@ export function PatchedPlexSourceRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
169
175
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
170
176
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
171
177
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
178
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
172
179
|
'groupMatchingMode': json['group_matching_mode'] == null ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
|
173
180
|
'clientId': json['client_id'] == null ? undefined : json['client_id'],
|
|
174
181
|
'allowedServers': json['allowed_servers'] == null ? undefined : json['allowed_servers'],
|
|
@@ -199,6 +206,7 @@ export function PatchedPlexSourceRequestToJSONTyped(value?: PatchedPlexSourceReq
|
|
|
199
206
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
200
207
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
201
208
|
'user_path_template': value['userPathTemplate'],
|
|
209
|
+
'icon': value['icon'],
|
|
202
210
|
'group_matching_mode': GroupMatchingModeEnumToJSON(value['groupMatchingMode']),
|
|
203
211
|
'client_id': value['clientId'],
|
|
204
212
|
'allowed_servers': value['allowedServers'],
|
|
@@ -135,6 +135,12 @@ export interface PatchedSAMLSourceRequest {
|
|
|
135
135
|
* @memberof PatchedSAMLSourceRequest
|
|
136
136
|
*/
|
|
137
137
|
userPathTemplate?: string;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof PatchedSAMLSourceRequest
|
|
142
|
+
*/
|
|
143
|
+
icon?: string;
|
|
138
144
|
/**
|
|
139
145
|
* How the source determines if an existing group should be used or a new group created.
|
|
140
146
|
* @type {GroupMatchingModeEnum}
|
|
@@ -263,6 +269,7 @@ export function PatchedSAMLSourceRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
263
269
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
264
270
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
265
271
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
272
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
266
273
|
'groupMatchingMode': json['group_matching_mode'] == null ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
|
267
274
|
'preAuthenticationFlow': json['pre_authentication_flow'] == null ? undefined : json['pre_authentication_flow'],
|
|
268
275
|
'issuer': json['issuer'] == null ? undefined : json['issuer'],
|
|
@@ -304,6 +311,7 @@ export function PatchedSAMLSourceRequestToJSONTyped(value?: PatchedSAMLSourceReq
|
|
|
304
311
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
305
312
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
306
313
|
'user_path_template': value['userPathTemplate'],
|
|
314
|
+
'icon': value['icon'],
|
|
307
315
|
'group_matching_mode': GroupMatchingModeEnumToJSON(value['groupMatchingMode']),
|
|
308
316
|
'pre_authentication_flow': value['preAuthenticationFlow'],
|
|
309
317
|
'issuer': value['issuer'],
|
|
@@ -100,6 +100,12 @@ export interface PatchedTelegramSourceRequest {
|
|
|
100
100
|
* @memberof PatchedTelegramSourceRequest
|
|
101
101
|
*/
|
|
102
102
|
userPathTemplate?: string;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof PatchedTelegramSourceRequest
|
|
107
|
+
*/
|
|
108
|
+
icon?: string;
|
|
103
109
|
/**
|
|
104
110
|
* Telegram bot username
|
|
105
111
|
* @type {string}
|
|
@@ -156,6 +162,7 @@ export function PatchedTelegramSourceRequestFromJSONTyped(json: any, ignoreDiscr
|
|
|
156
162
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
157
163
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
158
164
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
165
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
159
166
|
'botUsername': json['bot_username'] == null ? undefined : json['bot_username'],
|
|
160
167
|
'botToken': json['bot_token'] == null ? undefined : json['bot_token'],
|
|
161
168
|
'requestMessageAccess': json['request_message_access'] == null ? undefined : json['request_message_access'],
|
|
@@ -185,6 +192,7 @@ export function PatchedTelegramSourceRequestToJSONTyped(value?: PatchedTelegramS
|
|
|
185
192
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
186
193
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
187
194
|
'user_path_template': value['userPathTemplate'],
|
|
195
|
+
'icon': value['icon'],
|
|
188
196
|
'bot_username': value['botUsername'],
|
|
189
197
|
'bot_token': value['botToken'],
|
|
190
198
|
'request_message_access': value['requestMessageAccess'],
|
package/src/models/PlexSource.ts
CHANGED
|
@@ -148,7 +148,13 @@ export interface PlexSource {
|
|
|
148
148
|
* @type {string}
|
|
149
149
|
* @memberof PlexSource
|
|
150
150
|
*/
|
|
151
|
-
|
|
151
|
+
icon?: string;
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @type {string}
|
|
155
|
+
* @memberof PlexSource
|
|
156
|
+
*/
|
|
157
|
+
readonly iconUrl: string;
|
|
152
158
|
/**
|
|
153
159
|
* How the source determines if an existing group should be used or a new group created.
|
|
154
160
|
* @type {GroupMatchingModeEnum}
|
|
@@ -195,7 +201,7 @@ export function instanceOfPlexSource(value: object): value is PlexSource {
|
|
|
195
201
|
if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined) return false;
|
|
196
202
|
if (!('metaModelName' in value) || value['metaModelName'] === undefined) return false;
|
|
197
203
|
if (!('managed' in value) || value['managed'] === undefined) return false;
|
|
198
|
-
if (!('
|
|
204
|
+
if (!('iconUrl' in value) || value['iconUrl'] === undefined) return false;
|
|
199
205
|
if (!('plexToken' in value) || value['plexToken'] === undefined) return false;
|
|
200
206
|
return true;
|
|
201
207
|
}
|
|
@@ -227,7 +233,8 @@ export function PlexSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
227
233
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
228
234
|
'managed': json['managed'],
|
|
229
235
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
230
|
-
'icon': json['icon'],
|
|
236
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
237
|
+
'iconUrl': json['icon_url'],
|
|
231
238
|
'groupMatchingMode': json['group_matching_mode'] == null ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
|
232
239
|
'clientId': json['client_id'] == null ? undefined : json['client_id'],
|
|
233
240
|
'allowedServers': json['allowed_servers'] == null ? undefined : json['allowed_servers'],
|
|
@@ -240,7 +247,7 @@ export function PlexSourceToJSON(json: any): PlexSource {
|
|
|
240
247
|
return PlexSourceToJSONTyped(json, false);
|
|
241
248
|
}
|
|
242
249
|
|
|
243
|
-
export function PlexSourceToJSONTyped(value?: Omit<PlexSource, 'pk'|'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'|'managed'|'
|
|
250
|
+
export function PlexSourceToJSONTyped(value?: Omit<PlexSource, 'pk'|'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'|'managed'|'icon_url'> | null, ignoreDiscriminator: boolean = false): any {
|
|
244
251
|
if (value == null) {
|
|
245
252
|
return value;
|
|
246
253
|
}
|
|
@@ -258,6 +265,7 @@ export function PlexSourceToJSONTyped(value?: Omit<PlexSource, 'pk'|'component'|
|
|
|
258
265
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
259
266
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
260
267
|
'user_path_template': value['userPathTemplate'],
|
|
268
|
+
'icon': value['icon'],
|
|
261
269
|
'group_matching_mode': GroupMatchingModeEnumToJSON(value['groupMatchingMode']),
|
|
262
270
|
'client_id': value['clientId'],
|
|
263
271
|
'allowed_servers': value['allowedServers'],
|
|
@@ -107,6 +107,12 @@ export interface PlexSourceRequest {
|
|
|
107
107
|
* @memberof PlexSourceRequest
|
|
108
108
|
*/
|
|
109
109
|
userPathTemplate?: string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof PlexSourceRequest
|
|
114
|
+
*/
|
|
115
|
+
icon?: string;
|
|
110
116
|
/**
|
|
111
117
|
* How the source determines if an existing group should be used or a new group created.
|
|
112
118
|
* @type {GroupMatchingModeEnum}
|
|
@@ -172,6 +178,7 @@ export function PlexSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
172
178
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
173
179
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
174
180
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
181
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
175
182
|
'groupMatchingMode': json['group_matching_mode'] == null ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
|
176
183
|
'clientId': json['client_id'] == null ? undefined : json['client_id'],
|
|
177
184
|
'allowedServers': json['allowed_servers'] == null ? undefined : json['allowed_servers'],
|
|
@@ -202,6 +209,7 @@ export function PlexSourceRequestToJSONTyped(value?: PlexSourceRequest | null, i
|
|
|
202
209
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
203
210
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
204
211
|
'user_path_template': value['userPathTemplate'],
|
|
212
|
+
'icon': value['icon'],
|
|
205
213
|
'group_matching_mode': GroupMatchingModeEnumToJSON(value['groupMatchingMode']),
|
|
206
214
|
'client_id': value['clientId'],
|
|
207
215
|
'allowed_servers': value['allowedServers'],
|
package/src/models/SAMLSource.ts
CHANGED
|
@@ -176,7 +176,13 @@ export interface SAMLSource {
|
|
|
176
176
|
* @type {string}
|
|
177
177
|
* @memberof SAMLSource
|
|
178
178
|
*/
|
|
179
|
-
|
|
179
|
+
icon?: string;
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @type {string}
|
|
183
|
+
* @memberof SAMLSource
|
|
184
|
+
*/
|
|
185
|
+
readonly iconUrl: string;
|
|
180
186
|
/**
|
|
181
187
|
* How the source determines if an existing group should be used or a new group created.
|
|
182
188
|
* @type {GroupMatchingModeEnum}
|
|
@@ -289,7 +295,7 @@ export function instanceOfSAMLSource(value: object): value is SAMLSource {
|
|
|
289
295
|
if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined) return false;
|
|
290
296
|
if (!('metaModelName' in value) || value['metaModelName'] === undefined) return false;
|
|
291
297
|
if (!('managed' in value) || value['managed'] === undefined) return false;
|
|
292
|
-
if (!('
|
|
298
|
+
if (!('iconUrl' in value) || value['iconUrl'] === undefined) return false;
|
|
293
299
|
if (!('preAuthenticationFlow' in value) || value['preAuthenticationFlow'] === undefined) return false;
|
|
294
300
|
if (!('ssoUrl' in value) || value['ssoUrl'] === undefined) return false;
|
|
295
301
|
return true;
|
|
@@ -322,7 +328,8 @@ export function SAMLSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
322
328
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
323
329
|
'managed': json['managed'],
|
|
324
330
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
325
|
-
'icon': json['icon'],
|
|
331
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
332
|
+
'iconUrl': json['icon_url'],
|
|
326
333
|
'groupMatchingMode': json['group_matching_mode'] == null ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
|
327
334
|
'preAuthenticationFlow': json['pre_authentication_flow'],
|
|
328
335
|
'issuer': json['issuer'] == null ? undefined : json['issuer'],
|
|
@@ -346,7 +353,7 @@ export function SAMLSourceToJSON(json: any): SAMLSource {
|
|
|
346
353
|
return SAMLSourceToJSONTyped(json, false);
|
|
347
354
|
}
|
|
348
355
|
|
|
349
|
-
export function SAMLSourceToJSONTyped(value?: Omit<SAMLSource, 'pk'|'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'|'managed'|'
|
|
356
|
+
export function SAMLSourceToJSONTyped(value?: Omit<SAMLSource, 'pk'|'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'|'managed'|'icon_url'> | null, ignoreDiscriminator: boolean = false): any {
|
|
350
357
|
if (value == null) {
|
|
351
358
|
return value;
|
|
352
359
|
}
|
|
@@ -364,6 +371,7 @@ export function SAMLSourceToJSONTyped(value?: Omit<SAMLSource, 'pk'|'component'|
|
|
|
364
371
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
365
372
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
366
373
|
'user_path_template': value['userPathTemplate'],
|
|
374
|
+
'icon': value['icon'],
|
|
367
375
|
'group_matching_mode': GroupMatchingModeEnumToJSON(value['groupMatchingMode']),
|
|
368
376
|
'pre_authentication_flow': value['preAuthenticationFlow'],
|
|
369
377
|
'issuer': value['issuer'],
|
|
@@ -135,6 +135,12 @@ export interface SAMLSourceRequest {
|
|
|
135
135
|
* @memberof SAMLSourceRequest
|
|
136
136
|
*/
|
|
137
137
|
userPathTemplate?: string;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof SAMLSourceRequest
|
|
142
|
+
*/
|
|
143
|
+
icon?: string;
|
|
138
144
|
/**
|
|
139
145
|
* How the source determines if an existing group should be used or a new group created.
|
|
140
146
|
* @type {GroupMatchingModeEnum}
|
|
@@ -267,6 +273,7 @@ export function SAMLSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
267
273
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
268
274
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
269
275
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
276
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
270
277
|
'groupMatchingMode': json['group_matching_mode'] == null ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
|
271
278
|
'preAuthenticationFlow': json['pre_authentication_flow'],
|
|
272
279
|
'issuer': json['issuer'] == null ? undefined : json['issuer'],
|
|
@@ -308,6 +315,7 @@ export function SAMLSourceRequestToJSONTyped(value?: SAMLSourceRequest | null, i
|
|
|
308
315
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
309
316
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
310
317
|
'user_path_template': value['userPathTemplate'],
|
|
318
|
+
'icon': value['icon'],
|
|
311
319
|
'group_matching_mode': GroupMatchingModeEnumToJSON(value['groupMatchingMode']),
|
|
312
320
|
'pre_authentication_flow': value['preAuthenticationFlow'],
|
|
313
321
|
'issuer': value['issuer'],
|
package/src/models/Source.ts
CHANGED
|
@@ -137,12 +137,17 @@ export interface Source {
|
|
|
137
137
|
*/
|
|
138
138
|
userPathTemplate?: string;
|
|
139
139
|
/**
|
|
140
|
-
*
|
|
141
|
-
*
|
|
140
|
+
*
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof Source
|
|
143
|
+
*/
|
|
144
|
+
icon?: string;
|
|
145
|
+
/**
|
|
146
|
+
* Get the URL to the source icon
|
|
142
147
|
* @type {string}
|
|
143
148
|
* @memberof Source
|
|
144
149
|
*/
|
|
145
|
-
readonly
|
|
150
|
+
readonly iconUrl: string | null;
|
|
146
151
|
}
|
|
147
152
|
|
|
148
153
|
|
|
@@ -159,7 +164,7 @@ export function instanceOfSource(value: object): value is Source {
|
|
|
159
164
|
if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined) return false;
|
|
160
165
|
if (!('metaModelName' in value) || value['metaModelName'] === undefined) return false;
|
|
161
166
|
if (!('managed' in value) || value['managed'] === undefined) return false;
|
|
162
|
-
if (!('
|
|
167
|
+
if (!('iconUrl' in value) || value['iconUrl'] === undefined) return false;
|
|
163
168
|
return true;
|
|
164
169
|
}
|
|
165
170
|
|
|
@@ -190,7 +195,8 @@ export function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): So
|
|
|
190
195
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
191
196
|
'managed': json['managed'],
|
|
192
197
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
193
|
-
'icon': json['icon'],
|
|
198
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
199
|
+
'iconUrl': json['icon_url'],
|
|
194
200
|
};
|
|
195
201
|
}
|
|
196
202
|
|
|
@@ -198,7 +204,7 @@ export function SourceToJSON(json: any): Source {
|
|
|
198
204
|
return SourceToJSONTyped(json, false);
|
|
199
205
|
}
|
|
200
206
|
|
|
201
|
-
export function SourceToJSONTyped(value?: Omit<Source, 'pk'|'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'|'managed'|'
|
|
207
|
+
export function SourceToJSONTyped(value?: Omit<Source, 'pk'|'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'|'managed'|'icon_url'> | null, ignoreDiscriminator: boolean = false): any {
|
|
202
208
|
if (value == null) {
|
|
203
209
|
return value;
|
|
204
210
|
}
|
|
@@ -216,6 +222,7 @@ export function SourceToJSONTyped(value?: Omit<Source, 'pk'|'component'|'verbose
|
|
|
216
222
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
217
223
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
218
224
|
'user_path_template': value['userPathTemplate'],
|
|
225
|
+
'icon': value['icon'],
|
|
219
226
|
};
|
|
220
227
|
}
|
|
221
228
|
|
|
@@ -141,7 +141,13 @@ export interface TelegramSource {
|
|
|
141
141
|
* @type {string}
|
|
142
142
|
* @memberof TelegramSource
|
|
143
143
|
*/
|
|
144
|
-
|
|
144
|
+
icon?: string;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof TelegramSource
|
|
149
|
+
*/
|
|
150
|
+
readonly iconUrl: string | null;
|
|
145
151
|
/**
|
|
146
152
|
* Telegram bot username
|
|
147
153
|
* @type {string}
|
|
@@ -176,7 +182,7 @@ export function instanceOfTelegramSource(value: object): value is TelegramSource
|
|
|
176
182
|
if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined) return false;
|
|
177
183
|
if (!('metaModelName' in value) || value['metaModelName'] === undefined) return false;
|
|
178
184
|
if (!('managed' in value) || value['managed'] === undefined) return false;
|
|
179
|
-
if (!('
|
|
185
|
+
if (!('iconUrl' in value) || value['iconUrl'] === undefined) return false;
|
|
180
186
|
if (!('botUsername' in value) || value['botUsername'] === undefined) return false;
|
|
181
187
|
if (!('preAuthenticationFlow' in value) || value['preAuthenticationFlow'] === undefined) return false;
|
|
182
188
|
return true;
|
|
@@ -209,7 +215,8 @@ export function TelegramSourceFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
209
215
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
210
216
|
'managed': json['managed'],
|
|
211
217
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
212
|
-
'icon': json['icon'],
|
|
218
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
219
|
+
'iconUrl': json['icon_url'],
|
|
213
220
|
'botUsername': json['bot_username'],
|
|
214
221
|
'requestMessageAccess': json['request_message_access'] == null ? undefined : json['request_message_access'],
|
|
215
222
|
'preAuthenticationFlow': json['pre_authentication_flow'],
|
|
@@ -220,7 +227,7 @@ export function TelegramSourceToJSON(json: any): TelegramSource {
|
|
|
220
227
|
return TelegramSourceToJSONTyped(json, false);
|
|
221
228
|
}
|
|
222
229
|
|
|
223
|
-
export function TelegramSourceToJSONTyped(value?: Omit<TelegramSource, 'pk'|'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'|'managed'|'
|
|
230
|
+
export function TelegramSourceToJSONTyped(value?: Omit<TelegramSource, 'pk'|'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'|'managed'|'icon_url'> | null, ignoreDiscriminator: boolean = false): any {
|
|
224
231
|
if (value == null) {
|
|
225
232
|
return value;
|
|
226
233
|
}
|
|
@@ -238,6 +245,7 @@ export function TelegramSourceToJSONTyped(value?: Omit<TelegramSource, 'pk'|'com
|
|
|
238
245
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
239
246
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
240
247
|
'user_path_template': value['userPathTemplate'],
|
|
248
|
+
'icon': value['icon'],
|
|
241
249
|
'bot_username': value['botUsername'],
|
|
242
250
|
'request_message_access': value['requestMessageAccess'],
|
|
243
251
|
'pre_authentication_flow': value['preAuthenticationFlow'],
|
|
@@ -100,6 +100,12 @@ export interface TelegramSourceRequest {
|
|
|
100
100
|
* @memberof TelegramSourceRequest
|
|
101
101
|
*/
|
|
102
102
|
userPathTemplate?: string;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof TelegramSourceRequest
|
|
107
|
+
*/
|
|
108
|
+
icon?: string;
|
|
103
109
|
/**
|
|
104
110
|
* Telegram bot username
|
|
105
111
|
* @type {string}
|
|
@@ -161,6 +167,7 @@ export function TelegramSourceRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
161
167
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
162
168
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
163
169
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
170
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
164
171
|
'botUsername': json['bot_username'],
|
|
165
172
|
'botToken': json['bot_token'],
|
|
166
173
|
'requestMessageAccess': json['request_message_access'] == null ? undefined : json['request_message_access'],
|
|
@@ -190,6 +197,7 @@ export function TelegramSourceRequestToJSONTyped(value?: TelegramSourceRequest |
|
|
|
190
197
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
191
198
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
192
199
|
'user_path_template': value['userPathTemplate'],
|
|
200
|
+
'icon': value['icon'],
|
|
193
201
|
'bot_username': value['botUsername'],
|
|
194
202
|
'bot_token': value['botToken'],
|
|
195
203
|
'request_message_access': value['requestMessageAccess'],
|
|
@@ -22,6 +22,7 @@ export const UsedByActionEnum = {
|
|
|
22
22
|
CascadeMany: 'cascade_many',
|
|
23
23
|
SetNull: 'set_null',
|
|
24
24
|
SetDefault: 'set_default',
|
|
25
|
+
LeftDangling: 'left_dangling',
|
|
25
26
|
UnknownDefaultOpenApi: '11184809'
|
|
26
27
|
} as const;
|
|
27
28
|
export type UsedByActionEnum = typeof UsedByActionEnum[keyof typeof UsedByActionEnum];
|