@goauthentik/api 2022.6.1-1654375452 → 2022.6.1-1654625853
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/dist/apis/SourcesApi.d.ts +3 -0
- package/dist/apis/SourcesApi.js +9 -0
- package/dist/esm/apis/SourcesApi.d.ts +3 -0
- package/dist/esm/apis/SourcesApi.js +9 -0
- package/dist/esm/models/Application.d.ts +6 -0
- package/dist/esm/models/Application.js +2 -0
- package/dist/esm/models/ApplicationRequest.d.ts +6 -0
- package/dist/esm/models/ApplicationRequest.js +2 -0
- package/dist/esm/models/LDAPSource.d.ts +6 -0
- package/dist/esm/models/LDAPSource.js +1 -0
- package/dist/esm/models/OAuth2ProviderSetupURLs.d.ts +6 -0
- package/dist/esm/models/OAuth2ProviderSetupURLs.js +1 -0
- package/dist/esm/models/OAuthSource.d.ts +6 -0
- package/dist/esm/models/OAuthSource.js +1 -0
- package/dist/esm/models/PatchedApplicationRequest.d.ts +6 -0
- package/dist/esm/models/PatchedApplicationRequest.js +2 -0
- package/dist/esm/models/PlexSource.d.ts +6 -0
- package/dist/esm/models/PlexSource.js +1 -0
- package/dist/esm/models/PlexSourceConnectionSource.d.ts +6 -0
- package/dist/esm/models/PlexSourceConnectionSource.js +1 -0
- package/dist/esm/models/SAMLSource.d.ts +6 -0
- package/dist/esm/models/SAMLSource.js +1 -0
- package/dist/esm/models/Source.d.ts +6 -0
- package/dist/esm/models/Source.js +1 -0
- package/dist/models/Application.d.ts +6 -0
- package/dist/models/Application.js +2 -0
- package/dist/models/ApplicationRequest.d.ts +6 -0
- package/dist/models/ApplicationRequest.js +2 -0
- package/dist/models/LDAPSource.d.ts +6 -0
- package/dist/models/LDAPSource.js +1 -0
- package/dist/models/OAuth2ProviderSetupURLs.d.ts +6 -0
- package/dist/models/OAuth2ProviderSetupURLs.js +1 -0
- package/dist/models/OAuthSource.d.ts +6 -0
- package/dist/models/OAuthSource.js +1 -0
- package/dist/models/PatchedApplicationRequest.d.ts +6 -0
- package/dist/models/PatchedApplicationRequest.js +2 -0
- package/dist/models/PlexSource.d.ts +6 -0
- package/dist/models/PlexSource.js +1 -0
- package/dist/models/PlexSourceConnectionSource.d.ts +6 -0
- package/dist/models/PlexSourceConnectionSource.js +1 -0
- package/dist/models/SAMLSource.d.ts +6 -0
- package/dist/models/SAMLSource.js +1 -0
- package/dist/models/Source.d.ts +6 -0
- package/dist/models/Source.js +1 -0
- package/package.json +1 -1
- package/src/apis/SourcesApi.ts +15 -0
- package/src/models/Application.ts +8 -0
- package/src/models/ApplicationRequest.ts +8 -0
- package/src/models/LDAPSource.ts +7 -0
- package/src/models/OAuth2ProviderSetupURLs.ts +7 -0
- package/src/models/OAuthSource.ts +7 -0
- package/src/models/PatchedApplicationRequest.ts +8 -0
- package/src/models/PlexSource.ts +7 -0
- package/src/models/PlexSourceConnectionSource.ts +7 -0
- package/src/models/SAMLSource.ts +7 -0
- package/src/models/Source.ts +7 -0
|
@@ -15,10 +15,13 @@ export interface SourcesAllDestroyRequest {
|
|
|
15
15
|
slug: string;
|
|
16
16
|
}
|
|
17
17
|
export interface SourcesAllListRequest {
|
|
18
|
+
managed?: string;
|
|
19
|
+
name?: string;
|
|
18
20
|
ordering?: string;
|
|
19
21
|
page?: number;
|
|
20
22
|
pageSize?: number;
|
|
21
23
|
search?: string;
|
|
24
|
+
slug?: string;
|
|
22
25
|
}
|
|
23
26
|
export interface SourcesAllRetrieveRequest {
|
|
24
27
|
slug: string;
|
package/dist/apis/SourcesApi.js
CHANGED
|
@@ -65,6 +65,12 @@ class SourcesApi extends runtime.BaseAPI {
|
|
|
65
65
|
sourcesAllListRaw(requestParameters, initOverrides) {
|
|
66
66
|
return __awaiter(this, void 0, void 0, function* () {
|
|
67
67
|
const queryParameters = {};
|
|
68
|
+
if (requestParameters.managed !== undefined) {
|
|
69
|
+
queryParameters['managed'] = requestParameters.managed;
|
|
70
|
+
}
|
|
71
|
+
if (requestParameters.name !== undefined) {
|
|
72
|
+
queryParameters['name'] = requestParameters.name;
|
|
73
|
+
}
|
|
68
74
|
if (requestParameters.ordering !== undefined) {
|
|
69
75
|
queryParameters['ordering'] = requestParameters.ordering;
|
|
70
76
|
}
|
|
@@ -77,6 +83,9 @@ class SourcesApi extends runtime.BaseAPI {
|
|
|
77
83
|
if (requestParameters.search !== undefined) {
|
|
78
84
|
queryParameters['search'] = requestParameters.search;
|
|
79
85
|
}
|
|
86
|
+
if (requestParameters.slug !== undefined) {
|
|
87
|
+
queryParameters['slug'] = requestParameters.slug;
|
|
88
|
+
}
|
|
80
89
|
const headerParameters = {};
|
|
81
90
|
if (this.configuration && this.configuration.apiKey) {
|
|
82
91
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
@@ -15,10 +15,13 @@ export interface SourcesAllDestroyRequest {
|
|
|
15
15
|
slug: string;
|
|
16
16
|
}
|
|
17
17
|
export interface SourcesAllListRequest {
|
|
18
|
+
managed?: string;
|
|
19
|
+
name?: string;
|
|
18
20
|
ordering?: string;
|
|
19
21
|
page?: number;
|
|
20
22
|
pageSize?: number;
|
|
21
23
|
search?: string;
|
|
24
|
+
slug?: string;
|
|
22
25
|
}
|
|
23
26
|
export interface SourcesAllRetrieveRequest {
|
|
24
27
|
slug: string;
|
|
@@ -62,6 +62,12 @@ export class SourcesApi extends runtime.BaseAPI {
|
|
|
62
62
|
sourcesAllListRaw(requestParameters, initOverrides) {
|
|
63
63
|
return __awaiter(this, void 0, void 0, function* () {
|
|
64
64
|
const queryParameters = {};
|
|
65
|
+
if (requestParameters.managed !== undefined) {
|
|
66
|
+
queryParameters['managed'] = requestParameters.managed;
|
|
67
|
+
}
|
|
68
|
+
if (requestParameters.name !== undefined) {
|
|
69
|
+
queryParameters['name'] = requestParameters.name;
|
|
70
|
+
}
|
|
65
71
|
if (requestParameters.ordering !== undefined) {
|
|
66
72
|
queryParameters['ordering'] = requestParameters.ordering;
|
|
67
73
|
}
|
|
@@ -74,6 +80,9 @@ export class SourcesApi extends runtime.BaseAPI {
|
|
|
74
80
|
if (requestParameters.search !== undefined) {
|
|
75
81
|
queryParameters['search'] = requestParameters.search;
|
|
76
82
|
}
|
|
83
|
+
if (requestParameters.slug !== undefined) {
|
|
84
|
+
queryParameters['slug'] = requestParameters.slug;
|
|
85
|
+
}
|
|
77
86
|
const headerParameters = {};
|
|
78
87
|
if (this.configuration && this.configuration.apiKey) {
|
|
79
88
|
headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // authentik authentication
|
|
@@ -53,6 +53,12 @@ export interface Application {
|
|
|
53
53
|
* @memberof Application
|
|
54
54
|
*/
|
|
55
55
|
readonly launchUrl: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Open launch URL in a new browser tab or window.
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof Application
|
|
60
|
+
*/
|
|
61
|
+
openInNewTab?: boolean;
|
|
56
62
|
/**
|
|
57
63
|
*
|
|
58
64
|
* @type {string}
|
|
@@ -28,6 +28,7 @@ export function ApplicationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'provider': !exists(json, 'provider') ? undefined : json['provider'],
|
|
29
29
|
'providerObj': ApplicationProviderObjFromJSON(json['provider_obj']),
|
|
30
30
|
'launchUrl': json['launch_url'],
|
|
31
|
+
'openInNewTab': !exists(json, 'open_in_new_tab') ? undefined : json['open_in_new_tab'],
|
|
31
32
|
'metaLaunchUrl': !exists(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
|
|
32
33
|
'metaIcon': json['meta_icon'],
|
|
33
34
|
'metaDescription': !exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
@@ -48,6 +49,7 @@ export function ApplicationToJSON(value) {
|
|
|
48
49
|
'slug': value.slug,
|
|
49
50
|
'provider': value.provider,
|
|
50
51
|
'provider_obj': ApplicationProviderObjToJSON(value.providerObj),
|
|
52
|
+
'open_in_new_tab': value.openInNewTab,
|
|
51
53
|
'meta_launch_url': value.metaLaunchUrl,
|
|
52
54
|
'meta_description': value.metaDescription,
|
|
53
55
|
'meta_publisher': value.metaPublisher,
|
|
@@ -34,6 +34,12 @@ export interface ApplicationRequest {
|
|
|
34
34
|
* @memberof ApplicationRequest
|
|
35
35
|
*/
|
|
36
36
|
provider?: number | null;
|
|
37
|
+
/**
|
|
38
|
+
* Open launch URL in a new browser tab or window.
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof ApplicationRequest
|
|
41
|
+
*/
|
|
42
|
+
openInNewTab?: boolean;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {string}
|
|
@@ -24,6 +24,7 @@ export function ApplicationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
'name': json['name'],
|
|
25
25
|
'slug': json['slug'],
|
|
26
26
|
'provider': !exists(json, 'provider') ? undefined : json['provider'],
|
|
27
|
+
'openInNewTab': !exists(json, 'open_in_new_tab') ? undefined : json['open_in_new_tab'],
|
|
27
28
|
'metaLaunchUrl': !exists(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
|
|
28
29
|
'metaDescription': !exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
29
30
|
'metaPublisher': !exists(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
@@ -42,6 +43,7 @@ export function ApplicationRequestToJSON(value) {
|
|
|
42
43
|
'name': value.name,
|
|
43
44
|
'slug': value.slug,
|
|
44
45
|
'provider': value.provider,
|
|
46
|
+
'open_in_new_tab': value.openInNewTab,
|
|
45
47
|
'meta_launch_url': value.metaLaunchUrl,
|
|
46
48
|
'meta_description': value.metaDescription,
|
|
47
49
|
'meta_publisher': value.metaPublisher,
|
|
@@ -89,6 +89,12 @@ export interface LDAPSource {
|
|
|
89
89
|
* @memberof LDAPSource
|
|
90
90
|
*/
|
|
91
91
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
92
|
+
/**
|
|
93
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof LDAPSource
|
|
96
|
+
*/
|
|
97
|
+
readonly managed: string | null;
|
|
92
98
|
/**
|
|
93
99
|
*
|
|
94
100
|
* @type {string}
|
|
@@ -34,6 +34,7 @@ export function LDAPSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'metaModelName': json['meta_model_name'],
|
|
35
35
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
36
36
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
37
|
+
'managed': json['managed'],
|
|
37
38
|
'serverUri': json['server_uri'],
|
|
38
39
|
'peerCertificate': !exists(json, 'peer_certificate') ? undefined : json['peer_certificate'],
|
|
39
40
|
'bindCn': !exists(json, 'bind_cn') ? undefined : json['bind_cn'],
|
|
@@ -51,6 +51,12 @@ export interface OAuth2ProviderSetupURLs {
|
|
|
51
51
|
* @memberof OAuth2ProviderSetupURLs
|
|
52
52
|
*/
|
|
53
53
|
readonly logout: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof OAuth2ProviderSetupURLs
|
|
58
|
+
*/
|
|
59
|
+
readonly jwks: string;
|
|
54
60
|
}
|
|
55
61
|
export declare function OAuth2ProviderSetupURLsFromJSON(json: any): OAuth2ProviderSetupURLs;
|
|
56
62
|
export declare function OAuth2ProviderSetupURLsFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2ProviderSetupURLs;
|
|
@@ -25,6 +25,7 @@ export function OAuth2ProviderSetupURLsFromJSONTyped(json, ignoreDiscriminator)
|
|
|
25
25
|
'userInfo': json['user_info'],
|
|
26
26
|
'providerInfo': json['provider_info'],
|
|
27
27
|
'logout': json['logout'],
|
|
28
|
+
'jwks': json['jwks'],
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
31
|
export function OAuth2ProviderSetupURLsToJSON(value) {
|
|
@@ -91,6 +91,12 @@ export interface OAuthSource {
|
|
|
91
91
|
* @memberof OAuthSource
|
|
92
92
|
*/
|
|
93
93
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
94
|
+
/**
|
|
95
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof OAuthSource
|
|
98
|
+
*/
|
|
99
|
+
readonly managed: string | null;
|
|
94
100
|
/**
|
|
95
101
|
*
|
|
96
102
|
* @type {ProviderTypeEnum}
|
|
@@ -36,6 +36,7 @@ export function OAuthSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'metaModelName': json['meta_model_name'],
|
|
37
37
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
38
38
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
39
|
+
'managed': json['managed'],
|
|
39
40
|
'providerType': ProviderTypeEnumFromJSON(json['provider_type']),
|
|
40
41
|
'requestTokenUrl': !exists(json, 'request_token_url') ? undefined : json['request_token_url'],
|
|
41
42
|
'authorizationUrl': !exists(json, 'authorization_url') ? undefined : json['authorization_url'],
|
|
@@ -34,6 +34,12 @@ export interface PatchedApplicationRequest {
|
|
|
34
34
|
* @memberof PatchedApplicationRequest
|
|
35
35
|
*/
|
|
36
36
|
provider?: number | null;
|
|
37
|
+
/**
|
|
38
|
+
* Open launch URL in a new browser tab or window.
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof PatchedApplicationRequest
|
|
41
|
+
*/
|
|
42
|
+
openInNewTab?: boolean;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {string}
|
|
@@ -24,6 +24,7 @@ export function PatchedApplicationRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
24
24
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
25
25
|
'slug': !exists(json, 'slug') ? undefined : json['slug'],
|
|
26
26
|
'provider': !exists(json, 'provider') ? undefined : json['provider'],
|
|
27
|
+
'openInNewTab': !exists(json, 'open_in_new_tab') ? undefined : json['open_in_new_tab'],
|
|
27
28
|
'metaLaunchUrl': !exists(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
|
|
28
29
|
'metaDescription': !exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
29
30
|
'metaPublisher': !exists(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
@@ -42,6 +43,7 @@ export function PatchedApplicationRequestToJSON(value) {
|
|
|
42
43
|
'name': value.name,
|
|
43
44
|
'slug': value.slug,
|
|
44
45
|
'provider': value.provider,
|
|
46
|
+
'open_in_new_tab': value.openInNewTab,
|
|
45
47
|
'meta_launch_url': value.metaLaunchUrl,
|
|
46
48
|
'meta_description': value.metaDescription,
|
|
47
49
|
'meta_publisher': value.metaPublisher,
|
|
@@ -89,6 +89,12 @@ export interface PlexSource {
|
|
|
89
89
|
* @memberof PlexSource
|
|
90
90
|
*/
|
|
91
91
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
92
|
+
/**
|
|
93
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof PlexSource
|
|
96
|
+
*/
|
|
97
|
+
readonly managed: string | null;
|
|
92
98
|
/**
|
|
93
99
|
* Client identifier used to talk to Plex.
|
|
94
100
|
* @type {string}
|
|
@@ -34,6 +34,7 @@ export function PlexSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'metaModelName': json['meta_model_name'],
|
|
35
35
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
36
36
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
37
|
+
'managed': json['managed'],
|
|
37
38
|
'clientId': !exists(json, 'client_id') ? undefined : json['client_id'],
|
|
38
39
|
'allowedServers': !exists(json, 'allowed_servers') ? undefined : json['allowed_servers'],
|
|
39
40
|
'allowFriends': !exists(json, 'allow_friends') ? undefined : json['allow_friends'],
|
|
@@ -89,6 +89,12 @@ export interface PlexSourceConnectionSource {
|
|
|
89
89
|
* @memberof PlexSourceConnectionSource
|
|
90
90
|
*/
|
|
91
91
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
92
|
+
/**
|
|
93
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof PlexSourceConnectionSource
|
|
96
|
+
*/
|
|
97
|
+
readonly managed: string | null;
|
|
92
98
|
}
|
|
93
99
|
export declare function PlexSourceConnectionSourceFromJSON(json: any): PlexSourceConnectionSource;
|
|
94
100
|
export declare function PlexSourceConnectionSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlexSourceConnectionSource;
|
|
@@ -34,6 +34,7 @@ export function PlexSourceConnectionSourceFromJSONTyped(json, ignoreDiscriminato
|
|
|
34
34
|
'metaModelName': json['meta_model_name'],
|
|
35
35
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
36
36
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
37
|
+
'managed': json['managed'],
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
40
|
export function PlexSourceConnectionSourceToJSON(value) {
|
|
@@ -93,6 +93,12 @@ export interface SAMLSource {
|
|
|
93
93
|
* @memberof SAMLSource
|
|
94
94
|
*/
|
|
95
95
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
96
|
+
/**
|
|
97
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof SAMLSource
|
|
100
|
+
*/
|
|
101
|
+
readonly managed: string | null;
|
|
96
102
|
/**
|
|
97
103
|
* Flow used before authentication.
|
|
98
104
|
* @type {string}
|
|
@@ -38,6 +38,7 @@ export function SAMLSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'metaModelName': json['meta_model_name'],
|
|
39
39
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
40
40
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
41
|
+
'managed': json['managed'],
|
|
41
42
|
'preAuthenticationFlow': json['pre_authentication_flow'],
|
|
42
43
|
'issuer': !exists(json, 'issuer') ? undefined : json['issuer'],
|
|
43
44
|
'ssoUrl': json['sso_url'],
|
|
@@ -89,6 +89,12 @@ export interface Source {
|
|
|
89
89
|
* @memberof Source
|
|
90
90
|
*/
|
|
91
91
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
92
|
+
/**
|
|
93
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof Source
|
|
96
|
+
*/
|
|
97
|
+
readonly managed: string | null;
|
|
92
98
|
}
|
|
93
99
|
export declare function SourceFromJSON(json: any): Source;
|
|
94
100
|
export declare function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Source;
|
|
@@ -34,6 +34,7 @@ export function SourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'metaModelName': json['meta_model_name'],
|
|
35
35
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
36
36
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
37
|
+
'managed': json['managed'],
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
40
|
export function SourceToJSON(value) {
|
|
@@ -53,6 +53,12 @@ export interface Application {
|
|
|
53
53
|
* @memberof Application
|
|
54
54
|
*/
|
|
55
55
|
readonly launchUrl: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Open launch URL in a new browser tab or window.
|
|
58
|
+
* @type {boolean}
|
|
59
|
+
* @memberof Application
|
|
60
|
+
*/
|
|
61
|
+
openInNewTab?: boolean;
|
|
56
62
|
/**
|
|
57
63
|
*
|
|
58
64
|
* @type {string}
|
|
@@ -32,6 +32,7 @@ function ApplicationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
'provider': !(0, runtime_1.exists)(json, 'provider') ? undefined : json['provider'],
|
|
33
33
|
'providerObj': (0, ApplicationProviderObj_1.ApplicationProviderObjFromJSON)(json['provider_obj']),
|
|
34
34
|
'launchUrl': json['launch_url'],
|
|
35
|
+
'openInNewTab': !(0, runtime_1.exists)(json, 'open_in_new_tab') ? undefined : json['open_in_new_tab'],
|
|
35
36
|
'metaLaunchUrl': !(0, runtime_1.exists)(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
|
|
36
37
|
'metaIcon': json['meta_icon'],
|
|
37
38
|
'metaDescription': !(0, runtime_1.exists)(json, 'meta_description') ? undefined : json['meta_description'],
|
|
@@ -53,6 +54,7 @@ function ApplicationToJSON(value) {
|
|
|
53
54
|
'slug': value.slug,
|
|
54
55
|
'provider': value.provider,
|
|
55
56
|
'provider_obj': (0, ApplicationProviderObj_1.ApplicationProviderObjToJSON)(value.providerObj),
|
|
57
|
+
'open_in_new_tab': value.openInNewTab,
|
|
56
58
|
'meta_launch_url': value.metaLaunchUrl,
|
|
57
59
|
'meta_description': value.metaDescription,
|
|
58
60
|
'meta_publisher': value.metaPublisher,
|
|
@@ -34,6 +34,12 @@ export interface ApplicationRequest {
|
|
|
34
34
|
* @memberof ApplicationRequest
|
|
35
35
|
*/
|
|
36
36
|
provider?: number | null;
|
|
37
|
+
/**
|
|
38
|
+
* Open launch URL in a new browser tab or window.
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof ApplicationRequest
|
|
41
|
+
*/
|
|
42
|
+
openInNewTab?: boolean;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {string}
|
|
@@ -28,6 +28,7 @@ function ApplicationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'name': json['name'],
|
|
29
29
|
'slug': json['slug'],
|
|
30
30
|
'provider': !(0, runtime_1.exists)(json, 'provider') ? undefined : json['provider'],
|
|
31
|
+
'openInNewTab': !(0, runtime_1.exists)(json, 'open_in_new_tab') ? undefined : json['open_in_new_tab'],
|
|
31
32
|
'metaLaunchUrl': !(0, runtime_1.exists)(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
|
|
32
33
|
'metaDescription': !(0, runtime_1.exists)(json, 'meta_description') ? undefined : json['meta_description'],
|
|
33
34
|
'metaPublisher': !(0, runtime_1.exists)(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
@@ -47,6 +48,7 @@ function ApplicationRequestToJSON(value) {
|
|
|
47
48
|
'name': value.name,
|
|
48
49
|
'slug': value.slug,
|
|
49
50
|
'provider': value.provider,
|
|
51
|
+
'open_in_new_tab': value.openInNewTab,
|
|
50
52
|
'meta_launch_url': value.metaLaunchUrl,
|
|
51
53
|
'meta_description': value.metaDescription,
|
|
52
54
|
'meta_publisher': value.metaPublisher,
|
|
@@ -89,6 +89,12 @@ export interface LDAPSource {
|
|
|
89
89
|
* @memberof LDAPSource
|
|
90
90
|
*/
|
|
91
91
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
92
|
+
/**
|
|
93
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof LDAPSource
|
|
96
|
+
*/
|
|
97
|
+
readonly managed: string | null;
|
|
92
98
|
/**
|
|
93
99
|
*
|
|
94
100
|
* @type {string}
|
|
@@ -38,6 +38,7 @@ function LDAPSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'metaModelName': json['meta_model_name'],
|
|
39
39
|
'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
|
40
40
|
'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
|
|
41
|
+
'managed': json['managed'],
|
|
41
42
|
'serverUri': json['server_uri'],
|
|
42
43
|
'peerCertificate': !(0, runtime_1.exists)(json, 'peer_certificate') ? undefined : json['peer_certificate'],
|
|
43
44
|
'bindCn': !(0, runtime_1.exists)(json, 'bind_cn') ? undefined : json['bind_cn'],
|
|
@@ -51,6 +51,12 @@ export interface OAuth2ProviderSetupURLs {
|
|
|
51
51
|
* @memberof OAuth2ProviderSetupURLs
|
|
52
52
|
*/
|
|
53
53
|
readonly logout: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof OAuth2ProviderSetupURLs
|
|
58
|
+
*/
|
|
59
|
+
readonly jwks: string;
|
|
54
60
|
}
|
|
55
61
|
export declare function OAuth2ProviderSetupURLsFromJSON(json: any): OAuth2ProviderSetupURLs;
|
|
56
62
|
export declare function OAuth2ProviderSetupURLsFromJSONTyped(json: any, ignoreDiscriminator: boolean): OAuth2ProviderSetupURLs;
|
|
@@ -29,6 +29,7 @@ function OAuth2ProviderSetupURLsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
'userInfo': json['user_info'],
|
|
30
30
|
'providerInfo': json['provider_info'],
|
|
31
31
|
'logout': json['logout'],
|
|
32
|
+
'jwks': json['jwks'],
|
|
32
33
|
};
|
|
33
34
|
}
|
|
34
35
|
exports.OAuth2ProviderSetupURLsFromJSONTyped = OAuth2ProviderSetupURLsFromJSONTyped;
|
|
@@ -91,6 +91,12 @@ export interface OAuthSource {
|
|
|
91
91
|
* @memberof OAuthSource
|
|
92
92
|
*/
|
|
93
93
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
94
|
+
/**
|
|
95
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof OAuthSource
|
|
98
|
+
*/
|
|
99
|
+
readonly managed: string | null;
|
|
94
100
|
/**
|
|
95
101
|
*
|
|
96
102
|
* @type {ProviderTypeEnum}
|
|
@@ -40,6 +40,7 @@ function OAuthSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'metaModelName': json['meta_model_name'],
|
|
41
41
|
'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
|
42
42
|
'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
|
|
43
|
+
'managed': json['managed'],
|
|
43
44
|
'providerType': (0, ProviderTypeEnum_1.ProviderTypeEnumFromJSON)(json['provider_type']),
|
|
44
45
|
'requestTokenUrl': !(0, runtime_1.exists)(json, 'request_token_url') ? undefined : json['request_token_url'],
|
|
45
46
|
'authorizationUrl': !(0, runtime_1.exists)(json, 'authorization_url') ? undefined : json['authorization_url'],
|
|
@@ -34,6 +34,12 @@ export interface PatchedApplicationRequest {
|
|
|
34
34
|
* @memberof PatchedApplicationRequest
|
|
35
35
|
*/
|
|
36
36
|
provider?: number | null;
|
|
37
|
+
/**
|
|
38
|
+
* Open launch URL in a new browser tab or window.
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof PatchedApplicationRequest
|
|
41
|
+
*/
|
|
42
|
+
openInNewTab?: boolean;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {string}
|
|
@@ -28,6 +28,7 @@ function PatchedApplicationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
29
29
|
'slug': !(0, runtime_1.exists)(json, 'slug') ? undefined : json['slug'],
|
|
30
30
|
'provider': !(0, runtime_1.exists)(json, 'provider') ? undefined : json['provider'],
|
|
31
|
+
'openInNewTab': !(0, runtime_1.exists)(json, 'open_in_new_tab') ? undefined : json['open_in_new_tab'],
|
|
31
32
|
'metaLaunchUrl': !(0, runtime_1.exists)(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
|
|
32
33
|
'metaDescription': !(0, runtime_1.exists)(json, 'meta_description') ? undefined : json['meta_description'],
|
|
33
34
|
'metaPublisher': !(0, runtime_1.exists)(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
@@ -47,6 +48,7 @@ function PatchedApplicationRequestToJSON(value) {
|
|
|
47
48
|
'name': value.name,
|
|
48
49
|
'slug': value.slug,
|
|
49
50
|
'provider': value.provider,
|
|
51
|
+
'open_in_new_tab': value.openInNewTab,
|
|
50
52
|
'meta_launch_url': value.metaLaunchUrl,
|
|
51
53
|
'meta_description': value.metaDescription,
|
|
52
54
|
'meta_publisher': value.metaPublisher,
|
|
@@ -89,6 +89,12 @@ export interface PlexSource {
|
|
|
89
89
|
* @memberof PlexSource
|
|
90
90
|
*/
|
|
91
91
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
92
|
+
/**
|
|
93
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof PlexSource
|
|
96
|
+
*/
|
|
97
|
+
readonly managed: string | null;
|
|
92
98
|
/**
|
|
93
99
|
* Client identifier used to talk to Plex.
|
|
94
100
|
* @type {string}
|
|
@@ -38,6 +38,7 @@ function PlexSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'metaModelName': json['meta_model_name'],
|
|
39
39
|
'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
|
40
40
|
'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
|
|
41
|
+
'managed': json['managed'],
|
|
41
42
|
'clientId': !(0, runtime_1.exists)(json, 'client_id') ? undefined : json['client_id'],
|
|
42
43
|
'allowedServers': !(0, runtime_1.exists)(json, 'allowed_servers') ? undefined : json['allowed_servers'],
|
|
43
44
|
'allowFriends': !(0, runtime_1.exists)(json, 'allow_friends') ? undefined : json['allow_friends'],
|
|
@@ -89,6 +89,12 @@ export interface PlexSourceConnectionSource {
|
|
|
89
89
|
* @memberof PlexSourceConnectionSource
|
|
90
90
|
*/
|
|
91
91
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
92
|
+
/**
|
|
93
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof PlexSourceConnectionSource
|
|
96
|
+
*/
|
|
97
|
+
readonly managed: string | null;
|
|
92
98
|
}
|
|
93
99
|
export declare function PlexSourceConnectionSourceFromJSON(json: any): PlexSourceConnectionSource;
|
|
94
100
|
export declare function PlexSourceConnectionSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlexSourceConnectionSource;
|
|
@@ -38,6 +38,7 @@ function PlexSourceConnectionSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'metaModelName': json['meta_model_name'],
|
|
39
39
|
'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
|
40
40
|
'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
|
|
41
|
+
'managed': json['managed'],
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
exports.PlexSourceConnectionSourceFromJSONTyped = PlexSourceConnectionSourceFromJSONTyped;
|
|
@@ -93,6 +93,12 @@ export interface SAMLSource {
|
|
|
93
93
|
* @memberof SAMLSource
|
|
94
94
|
*/
|
|
95
95
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
96
|
+
/**
|
|
97
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof SAMLSource
|
|
100
|
+
*/
|
|
101
|
+
readonly managed: string | null;
|
|
96
102
|
/**
|
|
97
103
|
* Flow used before authentication.
|
|
98
104
|
* @type {string}
|
|
@@ -42,6 +42,7 @@ function SAMLSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'metaModelName': json['meta_model_name'],
|
|
43
43
|
'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
|
44
44
|
'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
|
|
45
|
+
'managed': json['managed'],
|
|
45
46
|
'preAuthenticationFlow': json['pre_authentication_flow'],
|
|
46
47
|
'issuer': !(0, runtime_1.exists)(json, 'issuer') ? undefined : json['issuer'],
|
|
47
48
|
'ssoUrl': json['sso_url'],
|
package/dist/models/Source.d.ts
CHANGED
|
@@ -89,6 +89,12 @@ export interface Source {
|
|
|
89
89
|
* @memberof Source
|
|
90
90
|
*/
|
|
91
91
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
92
|
+
/**
|
|
93
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof Source
|
|
96
|
+
*/
|
|
97
|
+
readonly managed: string | null;
|
|
92
98
|
}
|
|
93
99
|
export declare function SourceFromJSON(json: any): Source;
|
|
94
100
|
export declare function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Source;
|
package/dist/models/Source.js
CHANGED
|
@@ -38,6 +38,7 @@ function SourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'metaModelName': json['meta_model_name'],
|
|
39
39
|
'policyEngineMode': !(0, runtime_1.exists)(json, 'policy_engine_mode') ? undefined : (0, PolicyEngineMode_1.PolicyEngineModeFromJSON)(json['policy_engine_mode']),
|
|
40
40
|
'userMatchingMode': !(0, runtime_1.exists)(json, 'user_matching_mode') ? undefined : (0, UserMatchingModeEnum_1.UserMatchingModeEnumFromJSON)(json['user_matching_mode']),
|
|
41
|
+
'managed': json['managed'],
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
exports.SourceFromJSONTyped = SourceFromJSONTyped;
|
package/package.json
CHANGED
package/src/apis/SourcesApi.ts
CHANGED
|
@@ -130,10 +130,13 @@ export interface SourcesAllDestroyRequest {
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
export interface SourcesAllListRequest {
|
|
133
|
+
managed?: string;
|
|
134
|
+
name?: string;
|
|
133
135
|
ordering?: string;
|
|
134
136
|
page?: number;
|
|
135
137
|
pageSize?: number;
|
|
136
138
|
search?: string;
|
|
139
|
+
slug?: string;
|
|
137
140
|
}
|
|
138
141
|
|
|
139
142
|
export interface SourcesAllRetrieveRequest {
|
|
@@ -502,6 +505,14 @@ export class SourcesApi extends runtime.BaseAPI {
|
|
|
502
505
|
async sourcesAllListRaw(requestParameters: SourcesAllListRequest, initOverrides?: RequestInit | runtime.InitOverideFunction): Promise<runtime.ApiResponse<PaginatedSourceList>> {
|
|
503
506
|
const queryParameters: any = {};
|
|
504
507
|
|
|
508
|
+
if (requestParameters.managed !== undefined) {
|
|
509
|
+
queryParameters['managed'] = requestParameters.managed;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
if (requestParameters.name !== undefined) {
|
|
513
|
+
queryParameters['name'] = requestParameters.name;
|
|
514
|
+
}
|
|
515
|
+
|
|
505
516
|
if (requestParameters.ordering !== undefined) {
|
|
506
517
|
queryParameters['ordering'] = requestParameters.ordering;
|
|
507
518
|
}
|
|
@@ -518,6 +529,10 @@ export class SourcesApi extends runtime.BaseAPI {
|
|
|
518
529
|
queryParameters['search'] = requestParameters.search;
|
|
519
530
|
}
|
|
520
531
|
|
|
532
|
+
if (requestParameters.slug !== undefined) {
|
|
533
|
+
queryParameters['slug'] = requestParameters.slug;
|
|
534
|
+
}
|
|
535
|
+
|
|
521
536
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
522
537
|
|
|
523
538
|
if (this.configuration && this.configuration.apiKey) {
|
|
@@ -68,6 +68,12 @@ export interface Application {
|
|
|
68
68
|
* @memberof Application
|
|
69
69
|
*/
|
|
70
70
|
readonly launchUrl: string | null;
|
|
71
|
+
/**
|
|
72
|
+
* Open launch URL in a new browser tab or window.
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @memberof Application
|
|
75
|
+
*/
|
|
76
|
+
openInNewTab?: boolean;
|
|
71
77
|
/**
|
|
72
78
|
*
|
|
73
79
|
* @type {string}
|
|
@@ -122,6 +128,7 @@ export function ApplicationFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
122
128
|
'provider': !exists(json, 'provider') ? undefined : json['provider'],
|
|
123
129
|
'providerObj': ApplicationProviderObjFromJSON(json['provider_obj']),
|
|
124
130
|
'launchUrl': json['launch_url'],
|
|
131
|
+
'openInNewTab': !exists(json, 'open_in_new_tab') ? undefined : json['open_in_new_tab'],
|
|
125
132
|
'metaLaunchUrl': !exists(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
|
|
126
133
|
'metaIcon': json['meta_icon'],
|
|
127
134
|
'metaDescription': !exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
@@ -144,6 +151,7 @@ export function ApplicationToJSON(value?: Application | null): any {
|
|
|
144
151
|
'slug': value.slug,
|
|
145
152
|
'provider': value.provider,
|
|
146
153
|
'provider_obj': ApplicationProviderObjToJSON(value.providerObj),
|
|
154
|
+
'open_in_new_tab': value.openInNewTab,
|
|
147
155
|
'meta_launch_url': value.metaLaunchUrl,
|
|
148
156
|
'meta_description': value.metaDescription,
|
|
149
157
|
'meta_publisher': value.metaPublisher,
|
|
@@ -44,6 +44,12 @@ export interface ApplicationRequest {
|
|
|
44
44
|
* @memberof ApplicationRequest
|
|
45
45
|
*/
|
|
46
46
|
provider?: number | null;
|
|
47
|
+
/**
|
|
48
|
+
* Open launch URL in a new browser tab or window.
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof ApplicationRequest
|
|
51
|
+
*/
|
|
52
|
+
openInNewTab?: boolean;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
55
|
* @type {string}
|
|
@@ -89,6 +95,7 @@ export function ApplicationRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
89
95
|
'name': json['name'],
|
|
90
96
|
'slug': json['slug'],
|
|
91
97
|
'provider': !exists(json, 'provider') ? undefined : json['provider'],
|
|
98
|
+
'openInNewTab': !exists(json, 'open_in_new_tab') ? undefined : json['open_in_new_tab'],
|
|
92
99
|
'metaLaunchUrl': !exists(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
|
|
93
100
|
'metaDescription': !exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
94
101
|
'metaPublisher': !exists(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
@@ -109,6 +116,7 @@ export function ApplicationRequestToJSON(value?: ApplicationRequest | null): any
|
|
|
109
116
|
'name': value.name,
|
|
110
117
|
'slug': value.slug,
|
|
111
118
|
'provider': value.provider,
|
|
119
|
+
'open_in_new_tab': value.openInNewTab,
|
|
112
120
|
'meta_launch_url': value.metaLaunchUrl,
|
|
113
121
|
'meta_description': value.metaDescription,
|
|
114
122
|
'meta_publisher': value.metaPublisher,
|
package/src/models/LDAPSource.ts
CHANGED
|
@@ -104,6 +104,12 @@ export interface LDAPSource {
|
|
|
104
104
|
* @memberof LDAPSource
|
|
105
105
|
*/
|
|
106
106
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
107
|
+
/**
|
|
108
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof LDAPSource
|
|
111
|
+
*/
|
|
112
|
+
readonly managed: string | null;
|
|
107
113
|
/**
|
|
108
114
|
*
|
|
109
115
|
* @type {string}
|
|
@@ -230,6 +236,7 @@ export function LDAPSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
230
236
|
'metaModelName': json['meta_model_name'],
|
|
231
237
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
232
238
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
239
|
+
'managed': json['managed'],
|
|
233
240
|
'serverUri': json['server_uri'],
|
|
234
241
|
'peerCertificate': !exists(json, 'peer_certificate') ? undefined : json['peer_certificate'],
|
|
235
242
|
'bindCn': !exists(json, 'bind_cn') ? undefined : json['bind_cn'],
|
|
@@ -55,6 +55,12 @@ export interface OAuth2ProviderSetupURLs {
|
|
|
55
55
|
* @memberof OAuth2ProviderSetupURLs
|
|
56
56
|
*/
|
|
57
57
|
readonly logout: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof OAuth2ProviderSetupURLs
|
|
62
|
+
*/
|
|
63
|
+
readonly jwks: string;
|
|
58
64
|
}
|
|
59
65
|
|
|
60
66
|
export function OAuth2ProviderSetupURLsFromJSON(json: any): OAuth2ProviderSetupURLs {
|
|
@@ -73,6 +79,7 @@ export function OAuth2ProviderSetupURLsFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
73
79
|
'userInfo': json['user_info'],
|
|
74
80
|
'providerInfo': json['provider_info'],
|
|
75
81
|
'logout': json['logout'],
|
|
82
|
+
'jwks': json['jwks'],
|
|
76
83
|
};
|
|
77
84
|
}
|
|
78
85
|
|
|
@@ -116,6 +116,12 @@ export interface OAuthSource {
|
|
|
116
116
|
* @memberof OAuthSource
|
|
117
117
|
*/
|
|
118
118
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
119
|
+
/**
|
|
120
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof OAuthSource
|
|
123
|
+
*/
|
|
124
|
+
readonly managed: string | null;
|
|
119
125
|
/**
|
|
120
126
|
*
|
|
121
127
|
* @type {ProviderTypeEnum}
|
|
@@ -212,6 +218,7 @@ export function OAuthSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
212
218
|
'metaModelName': json['meta_model_name'],
|
|
213
219
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
214
220
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
221
|
+
'managed': json['managed'],
|
|
215
222
|
'providerType': ProviderTypeEnumFromJSON(json['provider_type']),
|
|
216
223
|
'requestTokenUrl': !exists(json, 'request_token_url') ? undefined : json['request_token_url'],
|
|
217
224
|
'authorizationUrl': !exists(json, 'authorization_url') ? undefined : json['authorization_url'],
|
|
@@ -44,6 +44,12 @@ export interface PatchedApplicationRequest {
|
|
|
44
44
|
* @memberof PatchedApplicationRequest
|
|
45
45
|
*/
|
|
46
46
|
provider?: number | null;
|
|
47
|
+
/**
|
|
48
|
+
* Open launch URL in a new browser tab or window.
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof PatchedApplicationRequest
|
|
51
|
+
*/
|
|
52
|
+
openInNewTab?: boolean;
|
|
47
53
|
/**
|
|
48
54
|
*
|
|
49
55
|
* @type {string}
|
|
@@ -89,6 +95,7 @@ export function PatchedApplicationRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
89
95
|
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
90
96
|
'slug': !exists(json, 'slug') ? undefined : json['slug'],
|
|
91
97
|
'provider': !exists(json, 'provider') ? undefined : json['provider'],
|
|
98
|
+
'openInNewTab': !exists(json, 'open_in_new_tab') ? undefined : json['open_in_new_tab'],
|
|
92
99
|
'metaLaunchUrl': !exists(json, 'meta_launch_url') ? undefined : json['meta_launch_url'],
|
|
93
100
|
'metaDescription': !exists(json, 'meta_description') ? undefined : json['meta_description'],
|
|
94
101
|
'metaPublisher': !exists(json, 'meta_publisher') ? undefined : json['meta_publisher'],
|
|
@@ -109,6 +116,7 @@ export function PatchedApplicationRequestToJSON(value?: PatchedApplicationReques
|
|
|
109
116
|
'name': value.name,
|
|
110
117
|
'slug': value.slug,
|
|
111
118
|
'provider': value.provider,
|
|
119
|
+
'open_in_new_tab': value.openInNewTab,
|
|
112
120
|
'meta_launch_url': value.metaLaunchUrl,
|
|
113
121
|
'meta_description': value.metaDescription,
|
|
114
122
|
'meta_publisher': value.metaPublisher,
|
package/src/models/PlexSource.ts
CHANGED
|
@@ -104,6 +104,12 @@ export interface PlexSource {
|
|
|
104
104
|
* @memberof PlexSource
|
|
105
105
|
*/
|
|
106
106
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
107
|
+
/**
|
|
108
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof PlexSource
|
|
111
|
+
*/
|
|
112
|
+
readonly managed: string | null;
|
|
107
113
|
/**
|
|
108
114
|
* Client identifier used to talk to Plex.
|
|
109
115
|
* @type {string}
|
|
@@ -152,6 +158,7 @@ export function PlexSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
152
158
|
'metaModelName': json['meta_model_name'],
|
|
153
159
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
154
160
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
161
|
+
'managed': json['managed'],
|
|
155
162
|
'clientId': !exists(json, 'client_id') ? undefined : json['client_id'],
|
|
156
163
|
'allowedServers': !exists(json, 'allowed_servers') ? undefined : json['allowed_servers'],
|
|
157
164
|
'allowFriends': !exists(json, 'allow_friends') ? undefined : json['allow_friends'],
|
|
@@ -110,6 +110,12 @@ export interface PlexSourceConnectionSource {
|
|
|
110
110
|
* @memberof PlexSourceConnectionSource
|
|
111
111
|
*/
|
|
112
112
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
113
|
+
/**
|
|
114
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof PlexSourceConnectionSource
|
|
117
|
+
*/
|
|
118
|
+
readonly managed: string | null;
|
|
113
119
|
}
|
|
114
120
|
|
|
115
121
|
export function PlexSourceConnectionSourceFromJSON(json: any): PlexSourceConnectionSource {
|
|
@@ -134,6 +140,7 @@ export function PlexSourceConnectionSourceFromJSONTyped(json: any, ignoreDiscrim
|
|
|
134
140
|
'metaModelName': json['meta_model_name'],
|
|
135
141
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
136
142
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
143
|
+
'managed': json['managed'],
|
|
137
144
|
};
|
|
138
145
|
}
|
|
139
146
|
|
package/src/models/SAMLSource.ts
CHANGED
|
@@ -128,6 +128,12 @@ export interface SAMLSource {
|
|
|
128
128
|
* @memberof SAMLSource
|
|
129
129
|
*/
|
|
130
130
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
131
|
+
/**
|
|
132
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof SAMLSource
|
|
135
|
+
*/
|
|
136
|
+
readonly managed: string | null;
|
|
131
137
|
/**
|
|
132
138
|
* Flow used before authentication.
|
|
133
139
|
* @type {string}
|
|
@@ -218,6 +224,7 @@ export function SAMLSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
218
224
|
'metaModelName': json['meta_model_name'],
|
|
219
225
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
220
226
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
227
|
+
'managed': json['managed'],
|
|
221
228
|
'preAuthenticationFlow': json['pre_authentication_flow'],
|
|
222
229
|
'issuer': !exists(json, 'issuer') ? undefined : json['issuer'],
|
|
223
230
|
'ssoUrl': json['sso_url'],
|
package/src/models/Source.ts
CHANGED
|
@@ -104,6 +104,12 @@ export interface Source {
|
|
|
104
104
|
* @memberof Source
|
|
105
105
|
*/
|
|
106
106
|
userMatchingMode?: UserMatchingModeEnum | null;
|
|
107
|
+
/**
|
|
108
|
+
* Objects which are managed by authentik. These objects are created and updated automatically. This is flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof Source
|
|
111
|
+
*/
|
|
112
|
+
readonly managed: string | null;
|
|
107
113
|
}
|
|
108
114
|
|
|
109
115
|
export function SourceFromJSON(json: any): Source {
|
|
@@ -128,6 +134,7 @@ export function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): So
|
|
|
128
134
|
'metaModelName': json['meta_model_name'],
|
|
129
135
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
|
130
136
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
137
|
+
'managed': json['managed'],
|
|
131
138
|
};
|
|
132
139
|
}
|
|
133
140
|
|