@goauthentik/api 2024.10.5-1734022840 → 2024.10.5-1734528783
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +14 -0
- package/dist/apis/CoreApi.d.ts +86 -1
- package/dist/apis/CoreApi.js +271 -0
- package/dist/apis/RbacApi.d.ts +2 -0
- package/dist/apis/RbacApi.js +2 -0
- package/dist/apis/SourcesApi.d.ts +21 -5
- package/dist/apis/SourcesApi.js +51 -6
- package/dist/esm/apis/CoreApi.d.ts +86 -1
- package/dist/esm/apis/CoreApi.js +272 -1
- package/dist/esm/apis/RbacApi.d.ts +2 -0
- package/dist/esm/apis/RbacApi.js +2 -0
- package/dist/esm/apis/SourcesApi.d.ts +21 -5
- package/dist/esm/apis/SourcesApi.js +52 -7
- package/dist/esm/models/ApplicationEntitlement.d.ts +49 -0
- package/dist/esm/models/ApplicationEntitlement.js +51 -0
- package/dist/esm/models/ApplicationEntitlementRequest.d.ts +43 -0
- package/dist/esm/models/ApplicationEntitlementRequest.js +49 -0
- package/dist/esm/models/GroupKerberosSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupKerberosSourceConnection.js +8 -2
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupKerberosSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupOAuthSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupOAuthSourceConnection.js +8 -2
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupOAuthSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupPlexSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupPlexSourceConnection.js +8 -2
- package/dist/esm/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupPlexSourceConnectionRequest.js +49 -0
- package/dist/esm/models/GroupSAMLSourceConnection.d.ts +9 -3
- package/dist/esm/models/GroupSAMLSourceConnection.js +8 -2
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/GroupSAMLSourceConnectionRequest.js +49 -0
- package/dist/esm/models/IdentificationChallenge.d.ts +1 -1
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/PaginatedApplicationEntitlementList.d.ts +39 -0
- package/dist/esm/models/PaginatedApplicationEntitlementList.js +48 -0
- package/dist/esm/models/PatchedApplicationEntitlementRequest.d.ts +43 -0
- package/dist/esm/models/PatchedApplicationEntitlementRequest.js +47 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupKerberosSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupOAuthSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupPlexSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGroupSAMLSourceConnectionRequest.js +47 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/PatchedUserSourceConnectionRequest.js +45 -0
- package/dist/esm/models/UserKerberosSourceConnection.d.ts +7 -1
- package/dist/esm/models/UserKerberosSourceConnection.js +4 -1
- package/dist/esm/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/esm/models/UserKerberosSourceConnectionRequest.js +3 -0
- package/dist/esm/models/UserOAuthSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserOAuthSourceConnection.js +5 -1
- package/dist/esm/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserOAuthSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserPlexSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserPlexSourceConnection.js +5 -1
- package/dist/esm/models/UserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserPlexSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserSAMLSourceConnection.d.ts +8 -2
- package/dist/esm/models/UserSAMLSourceConnection.js +5 -1
- package/dist/esm/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/esm/models/UserSAMLSourceConnectionRequest.js +6 -0
- package/dist/esm/models/UserSourceConnection.d.ts +9 -3
- package/dist/esm/models/UserSourceConnection.js +7 -2
- package/dist/esm/models/UserSourceConnectionRequest.d.ts +37 -0
- package/dist/esm/models/UserSourceConnectionRequest.js +46 -0
- package/dist/esm/models/index.d.ts +14 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/models/ApplicationEntitlement.d.ts +49 -0
- package/dist/models/ApplicationEntitlement.js +58 -0
- package/dist/models/ApplicationEntitlementRequest.d.ts +43 -0
- package/dist/models/ApplicationEntitlementRequest.js +56 -0
- package/dist/models/GroupKerberosSourceConnection.d.ts +9 -3
- package/dist/models/GroupKerberosSourceConnection.js +8 -2
- package/dist/models/GroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupKerberosSourceConnectionRequest.js +56 -0
- package/dist/models/GroupOAuthSourceConnection.d.ts +9 -3
- package/dist/models/GroupOAuthSourceConnection.js +8 -2
- package/dist/models/GroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupOAuthSourceConnectionRequest.js +56 -0
- package/dist/models/GroupPlexSourceConnection.d.ts +9 -3
- package/dist/models/GroupPlexSourceConnection.js +8 -2
- package/dist/models/GroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupPlexSourceConnectionRequest.js +56 -0
- package/dist/models/GroupSAMLSourceConnection.d.ts +9 -3
- package/dist/models/GroupSAMLSourceConnection.js +8 -2
- package/dist/models/GroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/models/GroupSAMLSourceConnectionRequest.js +56 -0
- package/dist/models/IdentificationChallenge.d.ts +1 -1
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/PaginatedApplicationEntitlementList.d.ts +39 -0
- package/dist/models/PaginatedApplicationEntitlementList.js +55 -0
- package/dist/models/PatchedApplicationEntitlementRequest.d.ts +43 -0
- package/dist/models/PatchedApplicationEntitlementRequest.js +54 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupKerberosSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupOAuthSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupPlexSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.d.ts +43 -0
- package/dist/models/PatchedGroupSAMLSourceConnectionRequest.js +54 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/models/PatchedUserKerberosSourceConnectionRequest.js +2 -0
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserOAuthSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserPlexSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/models/PatchedUserSAMLSourceConnectionRequest.js +4 -0
- package/dist/models/PatchedUserSourceConnectionRequest.d.ts +37 -0
- package/dist/models/PatchedUserSourceConnectionRequest.js +52 -0
- package/dist/models/UserKerberosSourceConnection.d.ts +7 -1
- package/dist/models/UserKerberosSourceConnection.js +4 -1
- package/dist/models/UserKerberosSourceConnectionRequest.d.ts +6 -0
- package/dist/models/UserKerberosSourceConnectionRequest.js +3 -0
- package/dist/models/UserOAuthSourceConnection.d.ts +8 -2
- package/dist/models/UserOAuthSourceConnection.js +5 -1
- package/dist/models/UserOAuthSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserOAuthSourceConnectionRequest.js +6 -0
- package/dist/models/UserPlexSourceConnection.d.ts +8 -2
- package/dist/models/UserPlexSourceConnection.js +5 -1
- package/dist/models/UserPlexSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserPlexSourceConnectionRequest.js +6 -0
- package/dist/models/UserSAMLSourceConnection.d.ts +8 -2
- package/dist/models/UserSAMLSourceConnection.js +5 -1
- package/dist/models/UserSAMLSourceConnectionRequest.d.ts +12 -0
- package/dist/models/UserSAMLSourceConnectionRequest.js +6 -0
- package/dist/models/UserSourceConnection.d.ts +9 -3
- package/dist/models/UserSourceConnection.js +7 -2
- package/dist/models/UserSourceConnectionRequest.d.ts +37 -0
- package/dist/models/UserSourceConnectionRequest.js +53 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/package.json +1 -1
- package/src/apis/CoreApi.ts +350 -0
- package/src/apis/RbacApi.ts +2 -0
- package/src/apis/SourcesApi.ts +118 -6
- package/src/models/ApplicationEntitlement.ts +91 -0
- package/src/models/ApplicationEntitlementRequest.ts +83 -0
- package/src/models/GroupKerberosSourceConnection.ts +15 -4
- package/src/models/GroupKerberosSourceConnectionRequest.ts +84 -0
- package/src/models/GroupOAuthSourceConnection.ts +15 -4
- package/src/models/GroupOAuthSourceConnectionRequest.ts +84 -0
- package/src/models/GroupPlexSourceConnection.ts +15 -4
- package/src/models/GroupPlexSourceConnectionRequest.ts +84 -0
- package/src/models/GroupSAMLSourceConnection.ts +15 -4
- package/src/models/GroupSAMLSourceConnectionRequest.ts +84 -0
- package/src/models/IdentificationChallenge.ts +1 -1
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/PaginatedApplicationEntitlementList.ts +88 -0
- package/src/models/PatchedApplicationEntitlementRequest.ts +81 -0
- package/src/models/PatchedGroupKerberosSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupOAuthSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupPlexSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedGroupSAMLSourceConnectionRequest.ts +81 -0
- package/src/models/PatchedUserKerberosSourceConnectionRequest.ts +8 -0
- package/src/models/PatchedUserOAuthSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserPlexSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserSAMLSourceConnectionRequest.ts +16 -0
- package/src/models/PatchedUserSourceConnectionRequest.ts +73 -0
- package/src/models/UserKerberosSourceConnection.ts +11 -2
- package/src/models/UserKerberosSourceConnectionRequest.ts +9 -0
- package/src/models/UserOAuthSourceConnection.ts +13 -3
- package/src/models/UserOAuthSourceConnectionRequest.ts +18 -0
- package/src/models/UserPlexSourceConnection.ts +13 -3
- package/src/models/UserPlexSourceConnectionRequest.ts +18 -0
- package/src/models/UserSAMLSourceConnection.ts +13 -3
- package/src/models/UserSAMLSourceConnectionRequest.ts +18 -0
- package/src/models/UserSourceConnection.ts +14 -4
- package/src/models/UserSourceConnectionRequest.ts +75 -0
- package/src/models/index.ts +14 -0
@@ -0,0 +1,48 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
import { ApplicationEntitlementFromJSON, ApplicationEntitlementToJSON, } from './ApplicationEntitlement';
|
15
|
+
import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
16
|
+
/**
|
17
|
+
* Check if a given object implements the PaginatedApplicationEntitlementList interface.
|
18
|
+
*/
|
19
|
+
export function instanceOfPaginatedApplicationEntitlementList(value) {
|
20
|
+
let isInstance = true;
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
22
|
+
isInstance = isInstance && "results" in value;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
export function PaginatedApplicationEntitlementListFromJSON(json) {
|
26
|
+
return PaginatedApplicationEntitlementListFromJSONTyped(json, false);
|
27
|
+
}
|
28
|
+
export function PaginatedApplicationEntitlementListFromJSONTyped(json, ignoreDiscriminator) {
|
29
|
+
if ((json === undefined) || (json === null)) {
|
30
|
+
return json;
|
31
|
+
}
|
32
|
+
return {
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
34
|
+
'results': (json['results'].map(ApplicationEntitlementFromJSON)),
|
35
|
+
};
|
36
|
+
}
|
37
|
+
export function PaginatedApplicationEntitlementListToJSON(value) {
|
38
|
+
if (value === undefined) {
|
39
|
+
return undefined;
|
40
|
+
}
|
41
|
+
if (value === null) {
|
42
|
+
return null;
|
43
|
+
}
|
44
|
+
return {
|
45
|
+
'pagination': PaginationToJSON(value.pagination),
|
46
|
+
'results': (value.results.map(ApplicationEntitlementToJSON)),
|
47
|
+
};
|
48
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* ApplicationEntitlement Serializer
|
14
|
+
* @export
|
15
|
+
* @interface PatchedApplicationEntitlementRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedApplicationEntitlementRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof PatchedApplicationEntitlementRequest
|
22
|
+
*/
|
23
|
+
name?: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedApplicationEntitlementRequest
|
28
|
+
*/
|
29
|
+
app?: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {any}
|
33
|
+
* @memberof PatchedApplicationEntitlementRequest
|
34
|
+
*/
|
35
|
+
attributes?: any | null;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PatchedApplicationEntitlementRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPatchedApplicationEntitlementRequest(value: object): boolean;
|
41
|
+
export declare function PatchedApplicationEntitlementRequestFromJSON(json: any): PatchedApplicationEntitlementRequest;
|
42
|
+
export declare function PatchedApplicationEntitlementRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedApplicationEntitlementRequest;
|
43
|
+
export declare function PatchedApplicationEntitlementRequestToJSON(value?: PatchedApplicationEntitlementRequest | null): any;
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
import { exists } from '../runtime';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the PatchedApplicationEntitlementRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfPatchedApplicationEntitlementRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
return isInstance;
|
21
|
+
}
|
22
|
+
export function PatchedApplicationEntitlementRequestFromJSON(json) {
|
23
|
+
return PatchedApplicationEntitlementRequestFromJSONTyped(json, false);
|
24
|
+
}
|
25
|
+
export function PatchedApplicationEntitlementRequestFromJSONTyped(json, ignoreDiscriminator) {
|
26
|
+
if ((json === undefined) || (json === null)) {
|
27
|
+
return json;
|
28
|
+
}
|
29
|
+
return {
|
30
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
31
|
+
'app': !exists(json, 'app') ? undefined : json['app'],
|
32
|
+
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
33
|
+
};
|
34
|
+
}
|
35
|
+
export function PatchedApplicationEntitlementRequestToJSON(value) {
|
36
|
+
if (value === undefined) {
|
37
|
+
return undefined;
|
38
|
+
}
|
39
|
+
if (value === null) {
|
40
|
+
return null;
|
41
|
+
}
|
42
|
+
return {
|
43
|
+
'name': value.name,
|
44
|
+
'app': value.app,
|
45
|
+
'attributes': value.attributes,
|
46
|
+
};
|
47
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* OAuth Group-Source connection Serializer
|
14
|
+
* @export
|
15
|
+
* @interface PatchedGroupKerberosSourceConnectionRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedGroupKerberosSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof PatchedGroupKerberosSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
group?: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedGroupKerberosSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof PatchedGroupKerberosSourceConnectionRequest
|
34
|
+
*/
|
35
|
+
identifier?: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PatchedGroupKerberosSourceConnectionRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPatchedGroupKerberosSourceConnectionRequest(value: object): boolean;
|
41
|
+
export declare function PatchedGroupKerberosSourceConnectionRequestFromJSON(json: any): PatchedGroupKerberosSourceConnectionRequest;
|
42
|
+
export declare function PatchedGroupKerberosSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupKerberosSourceConnectionRequest;
|
43
|
+
export declare function PatchedGroupKerberosSourceConnectionRequestToJSON(value?: PatchedGroupKerberosSourceConnectionRequest | null): any;
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
import { exists } from '../runtime';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the PatchedGroupKerberosSourceConnectionRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfPatchedGroupKerberosSourceConnectionRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
return isInstance;
|
21
|
+
}
|
22
|
+
export function PatchedGroupKerberosSourceConnectionRequestFromJSON(json) {
|
23
|
+
return PatchedGroupKerberosSourceConnectionRequestFromJSONTyped(json, false);
|
24
|
+
}
|
25
|
+
export function PatchedGroupKerberosSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
26
|
+
if ((json === undefined) || (json === null)) {
|
27
|
+
return json;
|
28
|
+
}
|
29
|
+
return {
|
30
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
31
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
32
|
+
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
33
|
+
};
|
34
|
+
}
|
35
|
+
export function PatchedGroupKerberosSourceConnectionRequestToJSON(value) {
|
36
|
+
if (value === undefined) {
|
37
|
+
return undefined;
|
38
|
+
}
|
39
|
+
if (value === null) {
|
40
|
+
return null;
|
41
|
+
}
|
42
|
+
return {
|
43
|
+
'group': value.group,
|
44
|
+
'source': value.source,
|
45
|
+
'identifier': value.identifier,
|
46
|
+
};
|
47
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* OAuth Group-Source connection Serializer
|
14
|
+
* @export
|
15
|
+
* @interface PatchedGroupOAuthSourceConnectionRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedGroupOAuthSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof PatchedGroupOAuthSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
group?: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedGroupOAuthSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof PatchedGroupOAuthSourceConnectionRequest
|
34
|
+
*/
|
35
|
+
identifier?: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PatchedGroupOAuthSourceConnectionRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPatchedGroupOAuthSourceConnectionRequest(value: object): boolean;
|
41
|
+
export declare function PatchedGroupOAuthSourceConnectionRequestFromJSON(json: any): PatchedGroupOAuthSourceConnectionRequest;
|
42
|
+
export declare function PatchedGroupOAuthSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupOAuthSourceConnectionRequest;
|
43
|
+
export declare function PatchedGroupOAuthSourceConnectionRequestToJSON(value?: PatchedGroupOAuthSourceConnectionRequest | null): any;
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
import { exists } from '../runtime';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the PatchedGroupOAuthSourceConnectionRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfPatchedGroupOAuthSourceConnectionRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
return isInstance;
|
21
|
+
}
|
22
|
+
export function PatchedGroupOAuthSourceConnectionRequestFromJSON(json) {
|
23
|
+
return PatchedGroupOAuthSourceConnectionRequestFromJSONTyped(json, false);
|
24
|
+
}
|
25
|
+
export function PatchedGroupOAuthSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
26
|
+
if ((json === undefined) || (json === null)) {
|
27
|
+
return json;
|
28
|
+
}
|
29
|
+
return {
|
30
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
31
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
32
|
+
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
33
|
+
};
|
34
|
+
}
|
35
|
+
export function PatchedGroupOAuthSourceConnectionRequestToJSON(value) {
|
36
|
+
if (value === undefined) {
|
37
|
+
return undefined;
|
38
|
+
}
|
39
|
+
if (value === null) {
|
40
|
+
return null;
|
41
|
+
}
|
42
|
+
return {
|
43
|
+
'group': value.group,
|
44
|
+
'source': value.source,
|
45
|
+
'identifier': value.identifier,
|
46
|
+
};
|
47
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* Plex Group-Source connection Serializer
|
14
|
+
* @export
|
15
|
+
* @interface PatchedGroupPlexSourceConnectionRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedGroupPlexSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof PatchedGroupPlexSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
group?: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedGroupPlexSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof PatchedGroupPlexSourceConnectionRequest
|
34
|
+
*/
|
35
|
+
identifier?: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PatchedGroupPlexSourceConnectionRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPatchedGroupPlexSourceConnectionRequest(value: object): boolean;
|
41
|
+
export declare function PatchedGroupPlexSourceConnectionRequestFromJSON(json: any): PatchedGroupPlexSourceConnectionRequest;
|
42
|
+
export declare function PatchedGroupPlexSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupPlexSourceConnectionRequest;
|
43
|
+
export declare function PatchedGroupPlexSourceConnectionRequestToJSON(value?: PatchedGroupPlexSourceConnectionRequest | null): any;
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
import { exists } from '../runtime';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the PatchedGroupPlexSourceConnectionRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfPatchedGroupPlexSourceConnectionRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
return isInstance;
|
21
|
+
}
|
22
|
+
export function PatchedGroupPlexSourceConnectionRequestFromJSON(json) {
|
23
|
+
return PatchedGroupPlexSourceConnectionRequestFromJSONTyped(json, false);
|
24
|
+
}
|
25
|
+
export function PatchedGroupPlexSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
26
|
+
if ((json === undefined) || (json === null)) {
|
27
|
+
return json;
|
28
|
+
}
|
29
|
+
return {
|
30
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
31
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
32
|
+
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
33
|
+
};
|
34
|
+
}
|
35
|
+
export function PatchedGroupPlexSourceConnectionRequestToJSON(value) {
|
36
|
+
if (value === undefined) {
|
37
|
+
return undefined;
|
38
|
+
}
|
39
|
+
if (value === null) {
|
40
|
+
return null;
|
41
|
+
}
|
42
|
+
return {
|
43
|
+
'group': value.group,
|
44
|
+
'source': value.source,
|
45
|
+
'identifier': value.identifier,
|
46
|
+
};
|
47
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.10.5
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* OAuth Group-Source connection Serializer
|
14
|
+
* @export
|
15
|
+
* @interface PatchedGroupSAMLSourceConnectionRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedGroupSAMLSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof PatchedGroupSAMLSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
group?: string;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedGroupSAMLSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof PatchedGroupSAMLSourceConnectionRequest
|
34
|
+
*/
|
35
|
+
identifier?: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PatchedGroupSAMLSourceConnectionRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPatchedGroupSAMLSourceConnectionRequest(value: object): boolean;
|
41
|
+
export declare function PatchedGroupSAMLSourceConnectionRequestFromJSON(json: any): PatchedGroupSAMLSourceConnectionRequest;
|
42
|
+
export declare function PatchedGroupSAMLSourceConnectionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGroupSAMLSourceConnectionRequest;
|
43
|
+
export declare function PatchedGroupSAMLSourceConnectionRequestToJSON(value?: PatchedGroupSAMLSourceConnectionRequest | null): any;
|
@@ -0,0 +1,47 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.10.5
|
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
|
+
import { exists } from '../runtime';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the PatchedGroupSAMLSourceConnectionRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfPatchedGroupSAMLSourceConnectionRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
return isInstance;
|
21
|
+
}
|
22
|
+
export function PatchedGroupSAMLSourceConnectionRequestFromJSON(json) {
|
23
|
+
return PatchedGroupSAMLSourceConnectionRequestFromJSONTyped(json, false);
|
24
|
+
}
|
25
|
+
export function PatchedGroupSAMLSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
26
|
+
if ((json === undefined) || (json === null)) {
|
27
|
+
return json;
|
28
|
+
}
|
29
|
+
return {
|
30
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
31
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
32
|
+
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
33
|
+
};
|
34
|
+
}
|
35
|
+
export function PatchedGroupSAMLSourceConnectionRequestToJSON(value) {
|
36
|
+
if (value === undefined) {
|
37
|
+
return undefined;
|
38
|
+
}
|
39
|
+
if (value === null) {
|
40
|
+
return null;
|
41
|
+
}
|
42
|
+
return {
|
43
|
+
'group': value.group,
|
44
|
+
'source': value.source,
|
45
|
+
'identifier': value.identifier,
|
46
|
+
};
|
47
|
+
}
|
@@ -21,6 +21,12 @@ export interface PatchedUserKerberosSourceConnectionRequest {
|
|
21
21
|
* @memberof PatchedUserKerberosSourceConnectionRequest
|
22
22
|
*/
|
23
23
|
user?: number;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedUserKerberosSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
24
30
|
/**
|
25
31
|
*
|
26
32
|
* @type {string}
|
@@ -28,6 +28,7 @@ export function PatchedUserKerberosSourceConnectionRequestFromJSONTyped(json, ig
|
|
28
28
|
}
|
29
29
|
return {
|
30
30
|
'user': !exists(json, 'user') ? undefined : json['user'],
|
31
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
31
32
|
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
32
33
|
};
|
33
34
|
}
|
@@ -40,6 +41,7 @@ export function PatchedUserKerberosSourceConnectionRequestToJSON(value) {
|
|
40
41
|
}
|
41
42
|
return {
|
42
43
|
'user': value.user,
|
44
|
+
'source': value.source,
|
43
45
|
'identifier': value.identifier,
|
44
46
|
};
|
45
47
|
}
|
@@ -15,6 +15,18 @@
|
|
15
15
|
* @interface PatchedUserOAuthSourceConnectionRequest
|
16
16
|
*/
|
17
17
|
export interface PatchedUserOAuthSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {number}
|
21
|
+
* @memberof PatchedUserOAuthSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
user?: number;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedUserOAuthSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
18
30
|
/**
|
19
31
|
*
|
20
32
|
* @type {string}
|
@@ -27,6 +27,8 @@ export function PatchedUserOAuthSourceConnectionRequestFromJSONTyped(json, ignor
|
|
27
27
|
return json;
|
28
28
|
}
|
29
29
|
return {
|
30
|
+
'user': !exists(json, 'user') ? undefined : json['user'],
|
31
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
30
32
|
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
31
33
|
'accessToken': !exists(json, 'access_token') ? undefined : json['access_token'],
|
32
34
|
};
|
@@ -39,6 +41,8 @@ export function PatchedUserOAuthSourceConnectionRequestToJSON(value) {
|
|
39
41
|
return null;
|
40
42
|
}
|
41
43
|
return {
|
44
|
+
'user': value.user,
|
45
|
+
'source': value.source,
|
42
46
|
'identifier': value.identifier,
|
43
47
|
'access_token': value.accessToken,
|
44
48
|
};
|
@@ -15,6 +15,18 @@
|
|
15
15
|
* @interface PatchedUserPlexSourceConnectionRequest
|
16
16
|
*/
|
17
17
|
export interface PatchedUserPlexSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {number}
|
21
|
+
* @memberof PatchedUserPlexSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
user?: number;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedUserPlexSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
18
30
|
/**
|
19
31
|
*
|
20
32
|
* @type {string}
|
@@ -27,6 +27,8 @@ export function PatchedUserPlexSourceConnectionRequestFromJSONTyped(json, ignore
|
|
27
27
|
return json;
|
28
28
|
}
|
29
29
|
return {
|
30
|
+
'user': !exists(json, 'user') ? undefined : json['user'],
|
31
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
30
32
|
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
31
33
|
'plexToken': !exists(json, 'plex_token') ? undefined : json['plex_token'],
|
32
34
|
};
|
@@ -39,6 +41,8 @@ export function PatchedUserPlexSourceConnectionRequestToJSON(value) {
|
|
39
41
|
return null;
|
40
42
|
}
|
41
43
|
return {
|
44
|
+
'user': value.user,
|
45
|
+
'source': value.source,
|
42
46
|
'identifier': value.identifier,
|
43
47
|
'plex_token': value.plexToken,
|
44
48
|
};
|
@@ -15,6 +15,18 @@
|
|
15
15
|
* @interface PatchedUserSAMLSourceConnectionRequest
|
16
16
|
*/
|
17
17
|
export interface PatchedUserSAMLSourceConnectionRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {number}
|
21
|
+
* @memberof PatchedUserSAMLSourceConnectionRequest
|
22
|
+
*/
|
23
|
+
user?: number;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedUserSAMLSourceConnectionRequest
|
28
|
+
*/
|
29
|
+
source?: string;
|
18
30
|
/**
|
19
31
|
*
|
20
32
|
* @type {string}
|
@@ -27,6 +27,8 @@ export function PatchedUserSAMLSourceConnectionRequestFromJSONTyped(json, ignore
|
|
27
27
|
return json;
|
28
28
|
}
|
29
29
|
return {
|
30
|
+
'user': !exists(json, 'user') ? undefined : json['user'],
|
31
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
30
32
|
'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
|
31
33
|
};
|
32
34
|
}
|
@@ -38,6 +40,8 @@ export function PatchedUserSAMLSourceConnectionRequestToJSON(value) {
|
|
38
40
|
return null;
|
39
41
|
}
|
40
42
|
return {
|
43
|
+
'user': value.user,
|
44
|
+
'source': value.source,
|
41
45
|
'identifier': value.identifier,
|
42
46
|
};
|
43
47
|
}
|