@goauthentik/api 2024.2.2-1712922569 → 2024.2.2-1713183841
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 +12 -1
- package/dist/apis/CoreApi.d.ts +2 -0
- package/dist/apis/CoreApi.js +6 -0
- package/dist/apis/RbacApi.d.ts +2 -0
- package/dist/apis/RbacApi.js +2 -0
- package/dist/apis/SourcesApi.d.ts +255 -1
- package/dist/apis/SourcesApi.js +810 -0
- package/dist/esm/apis/CoreApi.d.ts +2 -0
- package/dist/esm/apis/CoreApi.js +6 -0
- package/dist/esm/apis/RbacApi.d.ts +2 -0
- package/dist/esm/apis/RbacApi.js +2 -0
- package/dist/esm/apis/SourcesApi.d.ts +255 -1
- package/dist/esm/apis/SourcesApi.js +811 -1
- package/dist/esm/models/AppEnum.d.ts +1 -0
- package/dist/esm/models/AppEnum.js +1 -0
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/PaginatedSCIMSourceGroupList.d.ts +39 -0
- package/dist/esm/models/PaginatedSCIMSourceGroupList.js +48 -0
- package/dist/esm/models/PaginatedSCIMSourceList.d.ts +39 -0
- package/dist/esm/models/PaginatedSCIMSourceList.js +48 -0
- package/dist/esm/models/PaginatedSCIMSourceUserList.d.ts +39 -0
- package/dist/esm/models/PaginatedSCIMSourceUserList.js +48 -0
- package/dist/esm/models/PatchedSCIMSourceGroupRequest.d.ts +49 -0
- package/dist/esm/models/PatchedSCIMSourceGroupRequest.js +49 -0
- package/dist/esm/models/PatchedSCIMSourceRequest.d.ts +56 -0
- package/dist/esm/models/PatchedSCIMSourceRequest.js +52 -0
- package/dist/esm/models/PatchedSCIMSourceUserRequest.d.ts +49 -0
- package/dist/esm/models/PatchedSCIMSourceUserRequest.js +49 -0
- package/dist/esm/models/SCIMSource.d.ts +105 -0
- package/dist/esm/models/SCIMSource.js +71 -0
- package/dist/esm/models/SCIMSourceGroup.d.ts +56 -0
- package/dist/esm/models/SCIMSourceGroup.js +55 -0
- package/dist/esm/models/SCIMSourceGroupRequest.d.ts +49 -0
- package/dist/esm/models/SCIMSourceGroupRequest.js +52 -0
- package/dist/esm/models/SCIMSourceRequest.d.ts +56 -0
- package/dist/esm/models/SCIMSourceRequest.js +54 -0
- package/dist/esm/models/SCIMSourceUser.d.ts +56 -0
- package/dist/esm/models/SCIMSourceUser.js +55 -0
- package/dist/esm/models/SCIMSourceUserRequest.d.ts +49 -0
- package/dist/esm/models/{UserGroupRequest.js → SCIMSourceUserRequest.js} +15 -13
- package/dist/esm/models/index.d.ts +12 -1
- package/dist/esm/models/index.js +12 -1
- package/dist/models/AppEnum.d.ts +1 -0
- package/dist/models/AppEnum.js +1 -0
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/PaginatedSCIMSourceGroupList.d.ts +39 -0
- package/dist/models/PaginatedSCIMSourceGroupList.js +55 -0
- package/dist/models/PaginatedSCIMSourceList.d.ts +39 -0
- package/dist/models/PaginatedSCIMSourceList.js +55 -0
- package/dist/models/PaginatedSCIMSourceUserList.d.ts +39 -0
- package/dist/models/PaginatedSCIMSourceUserList.js +55 -0
- package/dist/models/PatchedSCIMSourceGroupRequest.d.ts +49 -0
- package/dist/models/PatchedSCIMSourceGroupRequest.js +56 -0
- package/dist/models/PatchedSCIMSourceRequest.d.ts +56 -0
- package/dist/models/PatchedSCIMSourceRequest.js +59 -0
- package/dist/models/PatchedSCIMSourceUserRequest.d.ts +49 -0
- package/dist/models/PatchedSCIMSourceUserRequest.js +56 -0
- package/dist/models/SCIMSource.d.ts +105 -0
- package/dist/models/SCIMSource.js +78 -0
- package/dist/models/SCIMSourceGroup.d.ts +56 -0
- package/dist/models/SCIMSourceGroup.js +62 -0
- package/dist/models/SCIMSourceGroupRequest.d.ts +49 -0
- package/dist/models/SCIMSourceGroupRequest.js +59 -0
- package/dist/models/SCIMSourceRequest.d.ts +56 -0
- package/dist/models/SCIMSourceRequest.js +61 -0
- package/dist/models/SCIMSourceUser.d.ts +56 -0
- package/dist/models/SCIMSourceUser.js +62 -0
- package/dist/models/SCIMSourceUserRequest.d.ts +49 -0
- package/dist/models/SCIMSourceUserRequest.js +59 -0
- package/dist/models/index.d.ts +12 -1
- package/dist/models/index.js +12 -1
- package/package.json +1 -1
- package/src/apis/CoreApi.ts +10 -0
- package/src/apis/RbacApi.ts +2 -0
- package/src/apis/SourcesApi.ts +1045 -0
- package/src/models/AppEnum.ts +1 -0
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/PaginatedSCIMSourceGroupList.ts +88 -0
- package/src/models/PaginatedSCIMSourceList.ts +88 -0
- package/src/models/PaginatedSCIMSourceUserList.ts +88 -0
- package/src/models/PatchedSCIMSourceGroupRequest.ts +89 -0
- package/src/models/PatchedSCIMSourceRequest.ts +104 -0
- package/src/models/PatchedSCIMSourceUserRequest.ts +89 -0
- package/src/models/SCIMSource.ts +176 -0
- package/src/models/SCIMSourceGroup.ts +107 -0
- package/src/models/SCIMSourceGroupRequest.ts +92 -0
- package/src/models/SCIMSourceRequest.ts +106 -0
- package/src/models/SCIMSourceUser.ts +107 -0
- package/src/models/SCIMSourceUserRequest.ts +92 -0
- package/src/models/index.ts +12 -1
- package/dist/esm/models/UserGroupRequest.d.ts +0 -51
- package/dist/models/UserGroupRequest.d.ts +0 -51
- package/dist/models/UserGroupRequest.js +0 -57
- package/src/models/UserGroupRequest.ts +0 -90
|
@@ -39,6 +39,7 @@ export declare const AppEnum: {
|
|
|
39
39
|
readonly SourcesOauth: "authentik.sources.oauth";
|
|
40
40
|
readonly SourcesPlex: "authentik.sources.plex";
|
|
41
41
|
readonly SourcesSaml: "authentik.sources.saml";
|
|
42
|
+
readonly SourcesScim: "authentik.sources.scim";
|
|
42
43
|
readonly StagesAuthenticator: "authentik.stages.authenticator";
|
|
43
44
|
readonly StagesAuthenticatorDuo: "authentik.stages.authenticator_duo";
|
|
44
45
|
readonly StagesAuthenticatorSms: "authentik.stages.authenticator_sms";
|
|
@@ -41,6 +41,7 @@ export const AppEnum = {
|
|
|
41
41
|
SourcesOauth: 'authentik.sources.oauth',
|
|
42
42
|
SourcesPlex: 'authentik.sources.plex',
|
|
43
43
|
SourcesSaml: 'authentik.sources.saml',
|
|
44
|
+
SourcesScim: 'authentik.sources.scim',
|
|
44
45
|
StagesAuthenticator: 'authentik.stages.authenticator',
|
|
45
46
|
StagesAuthenticatorDuo: 'authentik.stages.authenticator_duo',
|
|
46
47
|
StagesAuthenticatorSms: 'authentik.stages.authenticator_sms',
|
|
@@ -46,6 +46,7 @@ export declare const ModelEnum: {
|
|
|
46
46
|
readonly SourcesPlexPlexsourceconnection: "authentik_sources_plex.plexsourceconnection";
|
|
47
47
|
readonly SourcesSamlSamlsource: "authentik_sources_saml.samlsource";
|
|
48
48
|
readonly SourcesSamlUsersamlsourceconnection: "authentik_sources_saml.usersamlsourceconnection";
|
|
49
|
+
readonly SourcesScimScimsource: "authentik_sources_scim.scimsource";
|
|
49
50
|
readonly StagesAuthenticatorDuoAuthenticatorduostage: "authentik_stages_authenticator_duo.authenticatorduostage";
|
|
50
51
|
readonly StagesAuthenticatorDuoDuodevice: "authentik_stages_authenticator_duo.duodevice";
|
|
51
52
|
readonly StagesAuthenticatorSmsAuthenticatorsmsstage: "authentik_stages_authenticator_sms.authenticatorsmsstage";
|
|
@@ -48,6 +48,7 @@ export const ModelEnum = {
|
|
|
48
48
|
SourcesPlexPlexsourceconnection: 'authentik_sources_plex.plexsourceconnection',
|
|
49
49
|
SourcesSamlSamlsource: 'authentik_sources_saml.samlsource',
|
|
50
50
|
SourcesSamlUsersamlsourceconnection: 'authentik_sources_saml.usersamlsourceconnection',
|
|
51
|
+
SourcesScimScimsource: 'authentik_sources_scim.scimsource',
|
|
51
52
|
StagesAuthenticatorDuoAuthenticatorduostage: 'authentik_stages_authenticator_duo.authenticatorduostage',
|
|
52
53
|
StagesAuthenticatorDuoDuodevice: 'authentik_stages_authenticator_duo.duodevice',
|
|
53
54
|
StagesAuthenticatorSmsAuthenticatorsmsstage: 'authentik_stages_authenticator_sms.authenticatorsmsstage',
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.2.2
|
|
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
|
+
import type { Pagination } from './Pagination';
|
|
13
|
+
import type { SCIMSourceGroup } from './SCIMSourceGroup';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedSCIMSourceGroupList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedSCIMSourceGroupList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedSCIMSourceGroupList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<SCIMSourceGroup>}
|
|
29
|
+
* @memberof PaginatedSCIMSourceGroupList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<SCIMSourceGroup>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedSCIMSourceGroupList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedSCIMSourceGroupList(value: object): boolean;
|
|
37
|
+
export declare function PaginatedSCIMSourceGroupListFromJSON(json: any): PaginatedSCIMSourceGroupList;
|
|
38
|
+
export declare function PaginatedSCIMSourceGroupListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSCIMSourceGroupList;
|
|
39
|
+
export declare function PaginatedSCIMSourceGroupListToJSON(value?: PaginatedSCIMSourceGroupList | null): any;
|
|
@@ -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.2.2
|
|
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 { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
|
15
|
+
import { SCIMSourceGroupFromJSON, SCIMSourceGroupToJSON, } from './SCIMSourceGroup';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PaginatedSCIMSourceGroupList interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPaginatedSCIMSourceGroupList(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
|
22
|
+
isInstance = isInstance && "results" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
export function PaginatedSCIMSourceGroupListFromJSON(json) {
|
|
26
|
+
return PaginatedSCIMSourceGroupListFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function PaginatedSCIMSourceGroupListFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
34
|
+
'results': (json['results'].map(SCIMSourceGroupFromJSON)),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function PaginatedSCIMSourceGroupListToJSON(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(SCIMSourceGroupToJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.2.2
|
|
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
|
+
import type { Pagination } from './Pagination';
|
|
13
|
+
import type { SCIMSource } from './SCIMSource';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedSCIMSourceList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedSCIMSourceList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedSCIMSourceList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<SCIMSource>}
|
|
29
|
+
* @memberof PaginatedSCIMSourceList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<SCIMSource>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedSCIMSourceList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedSCIMSourceList(value: object): boolean;
|
|
37
|
+
export declare function PaginatedSCIMSourceListFromJSON(json: any): PaginatedSCIMSourceList;
|
|
38
|
+
export declare function PaginatedSCIMSourceListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSCIMSourceList;
|
|
39
|
+
export declare function PaginatedSCIMSourceListToJSON(value?: PaginatedSCIMSourceList | null): any;
|
|
@@ -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.2.2
|
|
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 { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
|
15
|
+
import { SCIMSourceFromJSON, SCIMSourceToJSON, } from './SCIMSource';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PaginatedSCIMSourceList interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPaginatedSCIMSourceList(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
|
22
|
+
isInstance = isInstance && "results" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
export function PaginatedSCIMSourceListFromJSON(json) {
|
|
26
|
+
return PaginatedSCIMSourceListFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function PaginatedSCIMSourceListFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
34
|
+
'results': (json['results'].map(SCIMSourceFromJSON)),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function PaginatedSCIMSourceListToJSON(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(SCIMSourceToJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.2.2
|
|
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
|
+
import type { Pagination } from './Pagination';
|
|
13
|
+
import type { SCIMSourceUser } from './SCIMSourceUser';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedSCIMSourceUserList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedSCIMSourceUserList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedSCIMSourceUserList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<SCIMSourceUser>}
|
|
29
|
+
* @memberof PaginatedSCIMSourceUserList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<SCIMSourceUser>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedSCIMSourceUserList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedSCIMSourceUserList(value: object): boolean;
|
|
37
|
+
export declare function PaginatedSCIMSourceUserListFromJSON(json: any): PaginatedSCIMSourceUserList;
|
|
38
|
+
export declare function PaginatedSCIMSourceUserListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSCIMSourceUserList;
|
|
39
|
+
export declare function PaginatedSCIMSourceUserListToJSON(value?: PaginatedSCIMSourceUserList | null): any;
|
|
@@ -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.2.2
|
|
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 { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
|
15
|
+
import { SCIMSourceUserFromJSON, SCIMSourceUserToJSON, } from './SCIMSourceUser';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PaginatedSCIMSourceUserList interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPaginatedSCIMSourceUserList(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
|
22
|
+
isInstance = isInstance && "results" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
export function PaginatedSCIMSourceUserListFromJSON(json) {
|
|
26
|
+
return PaginatedSCIMSourceUserListFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function PaginatedSCIMSourceUserListFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
34
|
+
'results': (json['results'].map(SCIMSourceUserFromJSON)),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function PaginatedSCIMSourceUserListToJSON(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(SCIMSourceUserToJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.2.2
|
|
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
|
+
* SCIMSourceGroup Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchedSCIMSourceGroupRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchedSCIMSourceGroupRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchedSCIMSourceGroupRequest
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchedSCIMSourceGroupRequest
|
|
28
|
+
*/
|
|
29
|
+
group?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchedSCIMSourceGroupRequest
|
|
34
|
+
*/
|
|
35
|
+
source?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {any}
|
|
39
|
+
* @memberof PatchedSCIMSourceGroupRequest
|
|
40
|
+
*/
|
|
41
|
+
attributes?: any | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the PatchedSCIMSourceGroupRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfPatchedSCIMSourceGroupRequest(value: object): boolean;
|
|
47
|
+
export declare function PatchedSCIMSourceGroupRequestFromJSON(json: any): PatchedSCIMSourceGroupRequest;
|
|
48
|
+
export declare function PatchedSCIMSourceGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSCIMSourceGroupRequest;
|
|
49
|
+
export declare function PatchedSCIMSourceGroupRequestToJSON(value?: PatchedSCIMSourceGroupRequest | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.2.2
|
|
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 PatchedSCIMSourceGroupRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPatchedSCIMSourceGroupRequest(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
return isInstance;
|
|
21
|
+
}
|
|
22
|
+
export function PatchedSCIMSourceGroupRequestFromJSON(json) {
|
|
23
|
+
return PatchedSCIMSourceGroupRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function PatchedSCIMSourceGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
31
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
|
32
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
|
33
|
+
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function PatchedSCIMSourceGroupRequestToJSON(value) {
|
|
37
|
+
if (value === undefined) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
if (value === null) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': value.id,
|
|
45
|
+
'group': value.group,
|
|
46
|
+
'source': value.source,
|
|
47
|
+
'attributes': value.attributes,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.2.2
|
|
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
|
+
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
|
|
13
|
+
/**
|
|
14
|
+
* SCIMSource Serializer
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PatchedSCIMSourceRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface PatchedSCIMSourceRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Source's display Name.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PatchedSCIMSourceRequest
|
|
23
|
+
*/
|
|
24
|
+
name?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Internal source name, used in URLs.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PatchedSCIMSourceRequest
|
|
29
|
+
*/
|
|
30
|
+
slug?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof PatchedSCIMSourceRequest
|
|
35
|
+
*/
|
|
36
|
+
enabled?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {UserMatchingModeEnum}
|
|
40
|
+
* @memberof PatchedSCIMSourceRequest
|
|
41
|
+
*/
|
|
42
|
+
userMatchingMode?: UserMatchingModeEnum;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof PatchedSCIMSourceRequest
|
|
47
|
+
*/
|
|
48
|
+
userPathTemplate?: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the PatchedSCIMSourceRequest interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfPatchedSCIMSourceRequest(value: object): boolean;
|
|
54
|
+
export declare function PatchedSCIMSourceRequestFromJSON(json: any): PatchedSCIMSourceRequest;
|
|
55
|
+
export declare function PatchedSCIMSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSCIMSourceRequest;
|
|
56
|
+
export declare function PatchedSCIMSourceRequestToJSON(value?: PatchedSCIMSourceRequest | null): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.2.2
|
|
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
|
+
import { UserMatchingModeEnumFromJSON, UserMatchingModeEnumToJSON, } from './UserMatchingModeEnum';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PatchedSCIMSourceRequest interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPatchedSCIMSourceRequest(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
return isInstance;
|
|
22
|
+
}
|
|
23
|
+
export function PatchedSCIMSourceRequestFromJSON(json) {
|
|
24
|
+
return PatchedSCIMSourceRequestFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function PatchedSCIMSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
32
|
+
'slug': !exists(json, 'slug') ? undefined : json['slug'],
|
|
33
|
+
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
34
|
+
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
|
35
|
+
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function PatchedSCIMSourceRequestToJSON(value) {
|
|
39
|
+
if (value === undefined) {
|
|
40
|
+
return undefined;
|
|
41
|
+
}
|
|
42
|
+
if (value === null) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'name': value.name,
|
|
47
|
+
'slug': value.slug,
|
|
48
|
+
'enabled': value.enabled,
|
|
49
|
+
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
|
50
|
+
'user_path_template': value.userPathTemplate,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.2.2
|
|
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
|
+
* SCIMSourceUser Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchedSCIMSourceUserRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchedSCIMSourceUserRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchedSCIMSourceUserRequest
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PatchedSCIMSourceUserRequest
|
|
28
|
+
*/
|
|
29
|
+
user?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchedSCIMSourceUserRequest
|
|
34
|
+
*/
|
|
35
|
+
source?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {any}
|
|
39
|
+
* @memberof PatchedSCIMSourceUserRequest
|
|
40
|
+
*/
|
|
41
|
+
attributes?: any | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the PatchedSCIMSourceUserRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfPatchedSCIMSourceUserRequest(value: object): boolean;
|
|
47
|
+
export declare function PatchedSCIMSourceUserRequestFromJSON(json: any): PatchedSCIMSourceUserRequest;
|
|
48
|
+
export declare function PatchedSCIMSourceUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSCIMSourceUserRequest;
|
|
49
|
+
export declare function PatchedSCIMSourceUserRequestToJSON(value?: PatchedSCIMSourceUserRequest | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.2.2
|
|
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 PatchedSCIMSourceUserRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPatchedSCIMSourceUserRequest(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
return isInstance;
|
|
21
|
+
}
|
|
22
|
+
export function PatchedSCIMSourceUserRequestFromJSON(json) {
|
|
23
|
+
return PatchedSCIMSourceUserRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function PatchedSCIMSourceUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if ((json === undefined) || (json === null)) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'id': !exists(json, 'id') ? undefined : json['id'],
|
|
31
|
+
'user': !exists(json, 'user') ? undefined : json['user'],
|
|
32
|
+
'source': !exists(json, 'source') ? undefined : json['source'],
|
|
33
|
+
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function PatchedSCIMSourceUserRequestToJSON(value) {
|
|
37
|
+
if (value === undefined) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
if (value === null) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': value.id,
|
|
45
|
+
'user': value.user,
|
|
46
|
+
'source': value.source,
|
|
47
|
+
'attributes': value.attributes,
|
|
48
|
+
};
|
|
49
|
+
}
|