@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
package/src/apis/SourcesApi.ts
CHANGED
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
-
FilePathRequest,
|
|
19
18
|
GenericError,
|
|
20
19
|
GroupKerberosSourceConnection,
|
|
21
20
|
GroupKerberosSourceConnectionRequest,
|
|
@@ -123,8 +122,6 @@ import type {
|
|
|
123
122
|
ValidationError,
|
|
124
123
|
} from '../models/index';
|
|
125
124
|
import {
|
|
126
|
-
FilePathRequestFromJSON,
|
|
127
|
-
FilePathRequestToJSON,
|
|
128
125
|
GenericErrorFromJSON,
|
|
129
126
|
GenericErrorToJSON,
|
|
130
127
|
GroupKerberosSourceConnectionFromJSON,
|
|
@@ -356,17 +353,6 @@ export interface SourcesAllRetrieveRequest {
|
|
|
356
353
|
slug: string;
|
|
357
354
|
}
|
|
358
355
|
|
|
359
|
-
export interface SourcesAllSetIconCreateRequest {
|
|
360
|
-
slug: string;
|
|
361
|
-
file?: Blob;
|
|
362
|
-
clear?: boolean;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
export interface SourcesAllSetIconUrlCreateRequest {
|
|
366
|
-
slug: string;
|
|
367
|
-
filePathRequest: FilePathRequest;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
356
|
export interface SourcesAllUsedByListRequest {
|
|
371
357
|
slug: string;
|
|
372
358
|
}
|
|
@@ -1452,129 +1438,6 @@ export class SourcesApi extends runtime.BaseAPI {
|
|
|
1452
1438
|
return await response.value();
|
|
1453
1439
|
}
|
|
1454
1440
|
|
|
1455
|
-
/**
|
|
1456
|
-
* Set source icon
|
|
1457
|
-
*/
|
|
1458
|
-
async sourcesAllSetIconCreateRaw(requestParameters: SourcesAllSetIconCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1459
|
-
if (requestParameters['slug'] == null) {
|
|
1460
|
-
throw new runtime.RequiredError(
|
|
1461
|
-
'slug',
|
|
1462
|
-
'Required parameter "slug" was null or undefined when calling sourcesAllSetIconCreate().'
|
|
1463
|
-
);
|
|
1464
|
-
}
|
|
1465
|
-
|
|
1466
|
-
const queryParameters: any = {};
|
|
1467
|
-
|
|
1468
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1469
|
-
|
|
1470
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1471
|
-
const token = this.configuration.accessToken;
|
|
1472
|
-
const tokenString = await token("authentik", []);
|
|
1473
|
-
|
|
1474
|
-
if (tokenString) {
|
|
1475
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1476
|
-
}
|
|
1477
|
-
}
|
|
1478
|
-
const consumes: runtime.Consume[] = [
|
|
1479
|
-
{ contentType: 'multipart/form-data' },
|
|
1480
|
-
];
|
|
1481
|
-
// @ts-ignore: canConsumeForm may be unused
|
|
1482
|
-
const canConsumeForm = runtime.canConsumeForm(consumes);
|
|
1483
|
-
|
|
1484
|
-
let formParams: { append(param: string, value: any): any };
|
|
1485
|
-
let useForm = false;
|
|
1486
|
-
// use FormData to transmit files using content-type "multipart/form-data"
|
|
1487
|
-
useForm = canConsumeForm;
|
|
1488
|
-
if (useForm) {
|
|
1489
|
-
formParams = new FormData();
|
|
1490
|
-
} else {
|
|
1491
|
-
formParams = new URLSearchParams();
|
|
1492
|
-
}
|
|
1493
|
-
|
|
1494
|
-
if (requestParameters['file'] != null) {
|
|
1495
|
-
formParams.append('file', requestParameters['file'] as any);
|
|
1496
|
-
}
|
|
1497
|
-
|
|
1498
|
-
if (requestParameters['clear'] != null) {
|
|
1499
|
-
formParams.append('clear', requestParameters['clear'] as any);
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
let urlPath = `/sources/all/{slug}/set_icon/`;
|
|
1504
|
-
urlPath = urlPath.replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug'])));
|
|
1505
|
-
|
|
1506
|
-
const response = await this.request({
|
|
1507
|
-
path: urlPath,
|
|
1508
|
-
method: 'POST',
|
|
1509
|
-
headers: headerParameters,
|
|
1510
|
-
query: queryParameters,
|
|
1511
|
-
body: formParams,
|
|
1512
|
-
}, initOverrides);
|
|
1513
|
-
|
|
1514
|
-
return new runtime.VoidApiResponse(response);
|
|
1515
|
-
}
|
|
1516
|
-
|
|
1517
|
-
/**
|
|
1518
|
-
* Set source icon
|
|
1519
|
-
*/
|
|
1520
|
-
async sourcesAllSetIconCreate(requestParameters: SourcesAllSetIconCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1521
|
-
await this.sourcesAllSetIconCreateRaw(requestParameters, initOverrides);
|
|
1522
|
-
}
|
|
1523
|
-
|
|
1524
|
-
/**
|
|
1525
|
-
* Set source icon (as URL)
|
|
1526
|
-
*/
|
|
1527
|
-
async sourcesAllSetIconUrlCreateRaw(requestParameters: SourcesAllSetIconUrlCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
1528
|
-
if (requestParameters['slug'] == null) {
|
|
1529
|
-
throw new runtime.RequiredError(
|
|
1530
|
-
'slug',
|
|
1531
|
-
'Required parameter "slug" was null or undefined when calling sourcesAllSetIconUrlCreate().'
|
|
1532
|
-
);
|
|
1533
|
-
}
|
|
1534
|
-
|
|
1535
|
-
if (requestParameters['filePathRequest'] == null) {
|
|
1536
|
-
throw new runtime.RequiredError(
|
|
1537
|
-
'filePathRequest',
|
|
1538
|
-
'Required parameter "filePathRequest" was null or undefined when calling sourcesAllSetIconUrlCreate().'
|
|
1539
|
-
);
|
|
1540
|
-
}
|
|
1541
|
-
|
|
1542
|
-
const queryParameters: any = {};
|
|
1543
|
-
|
|
1544
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
1545
|
-
|
|
1546
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
1547
|
-
|
|
1548
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
1549
|
-
const token = this.configuration.accessToken;
|
|
1550
|
-
const tokenString = await token("authentik", []);
|
|
1551
|
-
|
|
1552
|
-
if (tokenString) {
|
|
1553
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1554
|
-
}
|
|
1555
|
-
}
|
|
1556
|
-
|
|
1557
|
-
let urlPath = `/sources/all/{slug}/set_icon_url/`;
|
|
1558
|
-
urlPath = urlPath.replace(`{${"slug"}}`, encodeURIComponent(String(requestParameters['slug'])));
|
|
1559
|
-
|
|
1560
|
-
const response = await this.request({
|
|
1561
|
-
path: urlPath,
|
|
1562
|
-
method: 'POST',
|
|
1563
|
-
headers: headerParameters,
|
|
1564
|
-
query: queryParameters,
|
|
1565
|
-
body: FilePathRequestToJSON(requestParameters['filePathRequest']),
|
|
1566
|
-
}, initOverrides);
|
|
1567
|
-
|
|
1568
|
-
return new runtime.VoidApiResponse(response);
|
|
1569
|
-
}
|
|
1570
|
-
|
|
1571
|
-
/**
|
|
1572
|
-
* Set source icon (as URL)
|
|
1573
|
-
*/
|
|
1574
|
-
async sourcesAllSetIconUrlCreate(requestParameters: SourcesAllSetIconUrlCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
1575
|
-
await this.sourcesAllSetIconUrlCreateRaw(requestParameters, initOverrides);
|
|
1576
|
-
}
|
|
1577
|
-
|
|
1578
1441
|
/**
|
|
1579
1442
|
* Get all creatable types
|
|
1580
1443
|
*/
|
package/src/models/AppEnum.ts
CHANGED
|
@@ -29,6 +29,7 @@ export const AppEnum = {
|
|
|
29
29
|
AuthentikEndpointsConnectorsAgent: 'authentik.endpoints.connectors.agent',
|
|
30
30
|
AuthentikEnterprise: 'authentik.enterprise',
|
|
31
31
|
AuthentikEvents: 'authentik.events',
|
|
32
|
+
AuthentikAdminFiles: 'authentik.admin.files',
|
|
32
33
|
AuthentikFlows: 'authentik.flows',
|
|
33
34
|
AuthentikOutposts: 'authentik.outposts',
|
|
34
35
|
AuthentikPoliciesDummy: 'authentik.policies.dummy',
|
|
@@ -95,12 +95,17 @@ export interface Application {
|
|
|
95
95
|
*/
|
|
96
96
|
metaLaunchUrl?: string;
|
|
97
97
|
/**
|
|
98
|
-
*
|
|
99
|
-
*
|
|
98
|
+
*
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof Application
|
|
101
|
+
*/
|
|
102
|
+
metaIcon?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Get the URL to the App Icon image
|
|
100
105
|
* @type {string}
|
|
101
106
|
* @memberof Application
|
|
102
107
|
*/
|
|
103
|
-
readonly
|
|
108
|
+
readonly metaIconUrl: string | null;
|
|
104
109
|
/**
|
|
105
110
|
*
|
|
106
111
|
* @type {string}
|
|
@@ -139,7 +144,7 @@ export function instanceOfApplication(value: object): value is Application {
|
|
|
139
144
|
if (!('providerObj' in value) || value['providerObj'] === undefined) return false;
|
|
140
145
|
if (!('backchannelProvidersObj' in value) || value['backchannelProvidersObj'] === undefined) return false;
|
|
141
146
|
if (!('launchUrl' in value) || value['launchUrl'] === undefined) return false;
|
|
142
|
-
if (!('
|
|
147
|
+
if (!('metaIconUrl' in value) || value['metaIconUrl'] === undefined) return false;
|
|
143
148
|
return true;
|
|
144
149
|
}
|
|
145
150
|
|
|
@@ -163,7 +168,8 @@ export function ApplicationFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
163
168
|
'launchUrl': json['launch_url'],
|
|
164
169
|
'openInNewTab': json['open_in_new_tab'] == null ? undefined : json['open_in_new_tab'],
|
|
165
170
|
'metaLaunchUrl': json['meta_launch_url'] == null ? undefined : json['meta_launch_url'],
|
|
166
|
-
'metaIcon': json['meta_icon'],
|
|
171
|
+
'metaIcon': json['meta_icon'] == null ? undefined : json['meta_icon'],
|
|
172
|
+
'metaIconUrl': json['meta_icon_url'],
|
|
167
173
|
'metaDescription': json['meta_description'] == null ? undefined : json['meta_description'],
|
|
168
174
|
'metaPublisher': json['meta_publisher'] == null ? undefined : json['meta_publisher'],
|
|
169
175
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
@@ -175,7 +181,7 @@ export function ApplicationToJSON(json: any): Application {
|
|
|
175
181
|
return ApplicationToJSONTyped(json, false);
|
|
176
182
|
}
|
|
177
183
|
|
|
178
|
-
export function ApplicationToJSONTyped(value?: Omit<Application, 'pk'|'provider_obj'|'backchannel_providers_obj'|'launch_url'|'
|
|
184
|
+
export function ApplicationToJSONTyped(value?: Omit<Application, 'pk'|'provider_obj'|'backchannel_providers_obj'|'launch_url'|'meta_icon_url'> | null, ignoreDiscriminator: boolean = false): any {
|
|
179
185
|
if (value == null) {
|
|
180
186
|
return value;
|
|
181
187
|
}
|
|
@@ -188,6 +194,7 @@ export function ApplicationToJSONTyped(value?: Omit<Application, 'pk'|'provider_
|
|
|
188
194
|
'backchannel_providers': value['backchannelProviders'],
|
|
189
195
|
'open_in_new_tab': value['openInNewTab'],
|
|
190
196
|
'meta_launch_url': value['metaLaunchUrl'],
|
|
197
|
+
'meta_icon': value['metaIcon'],
|
|
191
198
|
'meta_description': value['metaDescription'],
|
|
192
199
|
'meta_publisher': value['metaPublisher'],
|
|
193
200
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
@@ -63,6 +63,12 @@ export interface ApplicationRequest {
|
|
|
63
63
|
* @memberof ApplicationRequest
|
|
64
64
|
*/
|
|
65
65
|
metaLaunchUrl?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ApplicationRequest
|
|
70
|
+
*/
|
|
71
|
+
metaIcon?: string;
|
|
66
72
|
/**
|
|
67
73
|
*
|
|
68
74
|
* @type {string}
|
|
@@ -116,6 +122,7 @@ export function ApplicationRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
116
122
|
'backchannelProviders': json['backchannel_providers'] == null ? undefined : json['backchannel_providers'],
|
|
117
123
|
'openInNewTab': json['open_in_new_tab'] == null ? undefined : json['open_in_new_tab'],
|
|
118
124
|
'metaLaunchUrl': json['meta_launch_url'] == null ? undefined : json['meta_launch_url'],
|
|
125
|
+
'metaIcon': json['meta_icon'] == null ? undefined : json['meta_icon'],
|
|
119
126
|
'metaDescription': json['meta_description'] == null ? undefined : json['meta_description'],
|
|
120
127
|
'metaPublisher': json['meta_publisher'] == null ? undefined : json['meta_publisher'],
|
|
121
128
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
@@ -140,6 +147,7 @@ export function ApplicationRequestToJSONTyped(value?: ApplicationRequest | null,
|
|
|
140
147
|
'backchannel_providers': value['backchannelProviders'],
|
|
141
148
|
'open_in_new_tab': value['openInNewTab'],
|
|
142
149
|
'meta_launch_url': value['metaLaunchUrl'],
|
|
150
|
+
'meta_icon': value['metaIcon'],
|
|
143
151
|
'meta_description': value['metaDescription'],
|
|
144
152
|
'meta_publisher': value['metaPublisher'],
|
|
145
153
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.12.0-rc1
|
|
8
|
+
* Contact: hello@goauthentik.io
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Base serializer class which doesn't implement create/update methods
|
|
18
|
+
* @export
|
|
19
|
+
* @interface FileList
|
|
20
|
+
*/
|
|
21
|
+
export interface FileList {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof FileList
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof FileList
|
|
32
|
+
*/
|
|
33
|
+
mimeType: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof FileList
|
|
38
|
+
*/
|
|
39
|
+
url: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the FileList interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfFileList(value: object): value is FileList {
|
|
46
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
47
|
+
if (!('mimeType' in value) || value['mimeType'] === undefined) return false;
|
|
48
|
+
if (!('url' in value) || value['url'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function FileListFromJSON(json: any): FileList {
|
|
53
|
+
return FileListFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function FileListFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileList {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'name': json['name'],
|
|
63
|
+
'mimeType': json['mime_type'],
|
|
64
|
+
'url': json['url'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function FileListToJSON(json: any): FileList {
|
|
69
|
+
return FileListToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function FileListToJSONTyped(value?: FileList | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'name': value['name'],
|
|
80
|
+
'mime_type': value['mimeType'],
|
|
81
|
+
'url': value['url'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
package/src/models/Flow.ts
CHANGED
|
@@ -92,12 +92,17 @@ export interface Flow {
|
|
|
92
92
|
*/
|
|
93
93
|
designation: FlowDesignationEnum;
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
96
|
-
* it is returned as-is
|
|
95
|
+
* Background shown during execution
|
|
97
96
|
* @type {string}
|
|
98
97
|
* @memberof Flow
|
|
99
98
|
*/
|
|
100
|
-
|
|
99
|
+
background?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Get the URL to the background image
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof Flow
|
|
104
|
+
*/
|
|
105
|
+
readonly backgroundUrl: string;
|
|
101
106
|
/**
|
|
102
107
|
*
|
|
103
108
|
* @type {Array<string>}
|
|
@@ -166,7 +171,7 @@ export function instanceOfFlow(value: object): value is Flow {
|
|
|
166
171
|
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
167
172
|
if (!('title' in value) || value['title'] === undefined) return false;
|
|
168
173
|
if (!('designation' in value) || value['designation'] === undefined) return false;
|
|
169
|
-
if (!('
|
|
174
|
+
if (!('backgroundUrl' in value) || value['backgroundUrl'] === undefined) return false;
|
|
170
175
|
if (!('stages' in value) || value['stages'] === undefined) return false;
|
|
171
176
|
if (!('policies' in value) || value['policies'] === undefined) return false;
|
|
172
177
|
if (!('cacheCount' in value) || value['cacheCount'] === undefined) return false;
|
|
@@ -190,7 +195,8 @@ export function FlowFromJSONTyped(json: any, ignoreDiscriminator: boolean): Flow
|
|
|
190
195
|
'slug': json['slug'],
|
|
191
196
|
'title': json['title'],
|
|
192
197
|
'designation': FlowDesignationEnumFromJSON(json['designation']),
|
|
193
|
-
'background': json['background'],
|
|
198
|
+
'background': json['background'] == null ? undefined : json['background'],
|
|
199
|
+
'backgroundUrl': json['background_url'],
|
|
194
200
|
'stages': json['stages'],
|
|
195
201
|
'policies': json['policies'],
|
|
196
202
|
'cacheCount': json['cache_count'],
|
|
@@ -207,7 +213,7 @@ export function FlowToJSON(json: any): Flow {
|
|
|
207
213
|
return FlowToJSONTyped(json, false);
|
|
208
214
|
}
|
|
209
215
|
|
|
210
|
-
export function FlowToJSONTyped(value?: Omit<Flow, 'pk'|'policybindingmodel_ptr_id'|'
|
|
216
|
+
export function FlowToJSONTyped(value?: Omit<Flow, 'pk'|'policybindingmodel_ptr_id'|'background_url'|'stages'|'policies'|'cache_count'|'export_url'> | null, ignoreDiscriminator: boolean = false): any {
|
|
211
217
|
if (value == null) {
|
|
212
218
|
return value;
|
|
213
219
|
}
|
|
@@ -218,6 +224,7 @@ export function FlowToJSONTyped(value?: Omit<Flow, 'pk'|'policybindingmodel_ptr_
|
|
|
218
224
|
'slug': value['slug'],
|
|
219
225
|
'title': value['title'],
|
|
220
226
|
'designation': FlowDesignationEnumToJSON(value['designation']),
|
|
227
|
+
'background': value['background'],
|
|
221
228
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
222
229
|
'compatibility_mode': value['compatibilityMode'],
|
|
223
230
|
'layout': FlowLayoutEnumToJSON(value['layout']),
|
|
@@ -79,6 +79,12 @@ export interface FlowRequest {
|
|
|
79
79
|
* @memberof FlowRequest
|
|
80
80
|
*/
|
|
81
81
|
designation: FlowDesignationEnum;
|
|
82
|
+
/**
|
|
83
|
+
* Background shown during execution
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof FlowRequest
|
|
86
|
+
*/
|
|
87
|
+
background?: string;
|
|
82
88
|
/**
|
|
83
89
|
*
|
|
84
90
|
* @type {PolicyEngineMode}
|
|
@@ -138,6 +144,7 @@ export function FlowRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
138
144
|
'slug': json['slug'],
|
|
139
145
|
'title': json['title'],
|
|
140
146
|
'designation': FlowDesignationEnumFromJSON(json['designation']),
|
|
147
|
+
'background': json['background'] == null ? undefined : json['background'],
|
|
141
148
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
142
149
|
'compatibilityMode': json['compatibility_mode'] == null ? undefined : json['compatibility_mode'],
|
|
143
150
|
'layout': json['layout'] == null ? undefined : FlowLayoutEnumFromJSON(json['layout']),
|
|
@@ -161,6 +168,7 @@ export function FlowRequestToJSONTyped(value?: FlowRequest | null, ignoreDiscrim
|
|
|
161
168
|
'slug': value['slug'],
|
|
162
169
|
'title': value['title'],
|
|
163
170
|
'designation': FlowDesignationEnumToJSON(value['designation']),
|
|
171
|
+
'background': value['background'],
|
|
164
172
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
165
173
|
'compatibility_mode': value['compatibilityMode'],
|
|
166
174
|
'layout': FlowLayoutEnumToJSON(value['layout']),
|
package/src/models/FlowSet.ts
CHANGED
|
@@ -85,12 +85,11 @@ export interface FlowSet {
|
|
|
85
85
|
*/
|
|
86
86
|
designation: FlowDesignationEnum;
|
|
87
87
|
/**
|
|
88
|
-
* Get the URL to the background image
|
|
89
|
-
* it is returned as-is
|
|
88
|
+
* Get the URL to the background image
|
|
90
89
|
* @type {string}
|
|
91
90
|
* @memberof FlowSet
|
|
92
91
|
*/
|
|
93
|
-
readonly
|
|
92
|
+
readonly backgroundUrl: string;
|
|
94
93
|
/**
|
|
95
94
|
*
|
|
96
95
|
* @type {PolicyEngineMode}
|
|
@@ -135,7 +134,7 @@ export function instanceOfFlowSet(value: object): value is FlowSet {
|
|
|
135
134
|
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
136
135
|
if (!('title' in value) || value['title'] === undefined) return false;
|
|
137
136
|
if (!('designation' in value) || value['designation'] === undefined) return false;
|
|
138
|
-
if (!('
|
|
137
|
+
if (!('backgroundUrl' in value) || value['backgroundUrl'] === undefined) return false;
|
|
139
138
|
if (!('exportUrl' in value) || value['exportUrl'] === undefined) return false;
|
|
140
139
|
return true;
|
|
141
140
|
}
|
|
@@ -156,7 +155,7 @@ export function FlowSetFromJSONTyped(json: any, ignoreDiscriminator: boolean): F
|
|
|
156
155
|
'slug': json['slug'],
|
|
157
156
|
'title': json['title'],
|
|
158
157
|
'designation': FlowDesignationEnumFromJSON(json['designation']),
|
|
159
|
-
'
|
|
158
|
+
'backgroundUrl': json['background_url'],
|
|
160
159
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
161
160
|
'compatibilityMode': json['compatibility_mode'] == null ? undefined : json['compatibility_mode'],
|
|
162
161
|
'exportUrl': json['export_url'],
|
|
@@ -169,7 +168,7 @@ export function FlowSetToJSON(json: any): FlowSet {
|
|
|
169
168
|
return FlowSetToJSONTyped(json, false);
|
|
170
169
|
}
|
|
171
170
|
|
|
172
|
-
export function FlowSetToJSONTyped(value?: Omit<FlowSet, 'pk'|'policybindingmodel_ptr_id'|'
|
|
171
|
+
export function FlowSetToJSONTyped(value?: Omit<FlowSet, 'pk'|'policybindingmodel_ptr_id'|'background_url'|'export_url'> | null, ignoreDiscriminator: boolean = false): any {
|
|
173
172
|
if (value == null) {
|
|
174
173
|
return value;
|
|
175
174
|
}
|
|
@@ -155,7 +155,13 @@ export interface KerberosSource {
|
|
|
155
155
|
* @type {string}
|
|
156
156
|
* @memberof KerberosSource
|
|
157
157
|
*/
|
|
158
|
-
|
|
158
|
+
icon?: string;
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @type {string}
|
|
162
|
+
* @memberof KerberosSource
|
|
163
|
+
*/
|
|
164
|
+
readonly iconUrl: string;
|
|
159
165
|
/**
|
|
160
166
|
* How the source determines if an existing group should be used or a new group created.
|
|
161
167
|
* @type {GroupMatchingModeEnum}
|
|
@@ -244,7 +250,7 @@ export function instanceOfKerberosSource(value: object): value is KerberosSource
|
|
|
244
250
|
if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined) return false;
|
|
245
251
|
if (!('metaModelName' in value) || value['metaModelName'] === undefined) return false;
|
|
246
252
|
if (!('managed' in value) || value['managed'] === undefined) return false;
|
|
247
|
-
if (!('
|
|
253
|
+
if (!('iconUrl' in value) || value['iconUrl'] === undefined) return false;
|
|
248
254
|
if (!('realm' in value) || value['realm'] === undefined) return false;
|
|
249
255
|
if (!('connectivity' in value) || value['connectivity'] === undefined) return false;
|
|
250
256
|
return true;
|
|
@@ -277,7 +283,8 @@ export function KerberosSourceFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
277
283
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
278
284
|
'managed': json['managed'],
|
|
279
285
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
280
|
-
'icon': json['icon'],
|
|
286
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
287
|
+
'iconUrl': json['icon_url'],
|
|
281
288
|
'groupMatchingMode': json['group_matching_mode'] == null ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
|
282
289
|
'realm': json['realm'],
|
|
283
290
|
'krb5Conf': json['krb5_conf'] == null ? undefined : json['krb5_conf'],
|
|
@@ -297,7 +304,7 @@ export function KerberosSourceToJSON(json: any): KerberosSource {
|
|
|
297
304
|
return KerberosSourceToJSONTyped(json, false);
|
|
298
305
|
}
|
|
299
306
|
|
|
300
|
-
export function KerberosSourceToJSONTyped(value?: Omit<KerberosSource, 'pk'|'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'|'managed'|'
|
|
307
|
+
export function KerberosSourceToJSONTyped(value?: Omit<KerberosSource, 'pk'|'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'|'managed'|'icon_url'|'connectivity'> | null, ignoreDiscriminator: boolean = false): any {
|
|
301
308
|
if (value == null) {
|
|
302
309
|
return value;
|
|
303
310
|
}
|
|
@@ -315,6 +322,7 @@ export function KerberosSourceToJSONTyped(value?: Omit<KerberosSource, 'pk'|'com
|
|
|
315
322
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
316
323
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
317
324
|
'user_path_template': value['userPathTemplate'],
|
|
325
|
+
'icon': value['icon'],
|
|
318
326
|
'group_matching_mode': GroupMatchingModeEnumToJSON(value['groupMatchingMode']),
|
|
319
327
|
'realm': value['realm'],
|
|
320
328
|
'krb5_conf': value['krb5Conf'],
|
|
@@ -114,6 +114,12 @@ export interface KerberosSourceRequest {
|
|
|
114
114
|
* @memberof KerberosSourceRequest
|
|
115
115
|
*/
|
|
116
116
|
userPathTemplate?: string;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof KerberosSourceRequest
|
|
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}
|
|
@@ -233,6 +239,7 @@ export function KerberosSourceRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
233
239
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
234
240
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
235
241
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
242
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
236
243
|
'groupMatchingMode': json['group_matching_mode'] == null ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
|
237
244
|
'realm': json['realm'],
|
|
238
245
|
'krb5Conf': json['krb5_conf'] == null ? undefined : json['krb5_conf'],
|
|
@@ -272,6 +279,7 @@ export function KerberosSourceRequestToJSONTyped(value?: KerberosSourceRequest |
|
|
|
272
279
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
273
280
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
274
281
|
'user_path_template': value['userPathTemplate'],
|
|
282
|
+
'icon': value['icon'],
|
|
275
283
|
'group_matching_mode': GroupMatchingModeEnumToJSON(value['groupMatchingMode']),
|
|
276
284
|
'realm': value['realm'],
|
|
277
285
|
'krb5_conf': value['krb5Conf'],
|
package/src/models/LDAPSource.ts
CHANGED
|
@@ -141,7 +141,13 @@ export interface LDAPSource {
|
|
|
141
141
|
* @type {string}
|
|
142
142
|
* @memberof LDAPSource
|
|
143
143
|
*/
|
|
144
|
-
|
|
144
|
+
icon?: string;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof LDAPSource
|
|
149
|
+
*/
|
|
150
|
+
readonly iconUrl: string;
|
|
145
151
|
/**
|
|
146
152
|
*
|
|
147
153
|
* @type {string}
|
|
@@ -290,7 +296,7 @@ export function instanceOfLDAPSource(value: object): value is LDAPSource {
|
|
|
290
296
|
if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined) return false;
|
|
291
297
|
if (!('metaModelName' in value) || value['metaModelName'] === undefined) return false;
|
|
292
298
|
if (!('managed' in value) || value['managed'] === undefined) return false;
|
|
293
|
-
if (!('
|
|
299
|
+
if (!('iconUrl' in value) || value['iconUrl'] === undefined) return false;
|
|
294
300
|
if (!('serverUri' in value) || value['serverUri'] === undefined) return false;
|
|
295
301
|
if (!('baseDn' in value) || value['baseDn'] === undefined) return false;
|
|
296
302
|
if (!('connectivity' in value) || value['connectivity'] === undefined) return false;
|
|
@@ -324,7 +330,8 @@ export function LDAPSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
324
330
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
325
331
|
'managed': json['managed'],
|
|
326
332
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
327
|
-
'icon': json['icon'],
|
|
333
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
334
|
+
'iconUrl': json['icon_url'],
|
|
328
335
|
'serverUri': json['server_uri'],
|
|
329
336
|
'peerCertificate': json['peer_certificate'] == null ? undefined : json['peer_certificate'],
|
|
330
337
|
'clientCertificate': json['client_certificate'] == null ? undefined : json['client_certificate'],
|
|
@@ -354,7 +361,7 @@ export function LDAPSourceToJSON(json: any): LDAPSource {
|
|
|
354
361
|
return LDAPSourceToJSONTyped(json, false);
|
|
355
362
|
}
|
|
356
363
|
|
|
357
|
-
export function LDAPSourceToJSONTyped(value?: Omit<LDAPSource, 'pk'|'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'|'managed'|'
|
|
364
|
+
export function LDAPSourceToJSONTyped(value?: Omit<LDAPSource, 'pk'|'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'|'managed'|'icon_url'|'connectivity'> | null, ignoreDiscriminator: boolean = false): any {
|
|
358
365
|
if (value == null) {
|
|
359
366
|
return value;
|
|
360
367
|
}
|
|
@@ -372,6 +379,7 @@ export function LDAPSourceToJSONTyped(value?: Omit<LDAPSource, 'pk'|'component'|
|
|
|
372
379
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
373
380
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
374
381
|
'user_path_template': value['userPathTemplate'],
|
|
382
|
+
'icon': value['icon'],
|
|
375
383
|
'server_uri': value['serverUri'],
|
|
376
384
|
'peer_certificate': value['peerCertificate'],
|
|
377
385
|
'client_certificate': value['clientCertificate'],
|
|
@@ -100,6 +100,12 @@ export interface LDAPSourceRequest {
|
|
|
100
100
|
* @memberof LDAPSourceRequest
|
|
101
101
|
*/
|
|
102
102
|
userPathTemplate?: string;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof LDAPSourceRequest
|
|
107
|
+
*/
|
|
108
|
+
icon?: string;
|
|
103
109
|
/**
|
|
104
110
|
*
|
|
105
111
|
* @type {string}
|
|
@@ -268,6 +274,7 @@ export function LDAPSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
268
274
|
'policyEngineMode': json['policy_engine_mode'] == null ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
269
275
|
'userMatchingMode': json['user_matching_mode'] == null ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
270
276
|
'userPathTemplate': json['user_path_template'] == null ? undefined : json['user_path_template'],
|
|
277
|
+
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
271
278
|
'serverUri': json['server_uri'],
|
|
272
279
|
'peerCertificate': json['peer_certificate'] == null ? undefined : json['peer_certificate'],
|
|
273
280
|
'clientCertificate': json['client_certificate'] == null ? undefined : json['client_certificate'],
|
|
@@ -315,6 +322,7 @@ export function LDAPSourceRequestToJSONTyped(value?: LDAPSourceRequest | null, i
|
|
|
315
322
|
'policy_engine_mode': PolicyEngineModeToJSON(value['policyEngineMode']),
|
|
316
323
|
'user_matching_mode': UserMatchingModeEnumToJSON(value['userMatchingMode']),
|
|
317
324
|
'user_path_template': value['userPathTemplate'],
|
|
325
|
+
'icon': value['icon'],
|
|
318
326
|
'server_uri': value['serverUri'],
|
|
319
327
|
'peer_certificate': value['peerCertificate'],
|
|
320
328
|
'client_certificate': value['clientCertificate'],
|