@goauthentik/api 2024.4.2-1715100363 → 2024.4.2-1715104360
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +10 -2
- package/dist/apis/PropertymappingsApi.d.ts +87 -1
- package/dist/apis/PropertymappingsApi.js +274 -0
- package/dist/apis/ProvidersApi.d.ts +100 -3
- package/dist/apis/ProvidersApi.js +311 -2
- package/dist/apis/RbacApi.d.ts +4 -0
- package/dist/apis/RbacApi.js +4 -0
- package/dist/apis/SourcesApi.d.ts +3 -3
- package/dist/apis/SourcesApi.js +2 -2
- package/dist/esm/apis/PropertymappingsApi.d.ts +87 -1
- package/dist/esm/apis/PropertymappingsApi.js +275 -1
- package/dist/esm/apis/ProvidersApi.d.ts +100 -3
- package/dist/esm/apis/ProvidersApi.js +312 -3
- package/dist/esm/apis/RbacApi.d.ts +4 -0
- package/dist/esm/apis/RbacApi.js +4 -0
- package/dist/esm/apis/SourcesApi.d.ts +3 -3
- package/dist/esm/apis/SourcesApi.js +3 -3
- package/dist/esm/models/AppEnum.d.ts +1 -0
- package/dist/esm/models/AppEnum.js +1 -0
- package/dist/esm/models/GoogleProvider.d.ts +134 -0
- package/dist/esm/models/GoogleProvider.js +82 -0
- package/dist/esm/models/GoogleProviderMapping.d.ts +73 -0
- package/dist/esm/models/GoogleProviderMapping.js +59 -0
- package/dist/esm/models/GoogleProviderMappingRequest.d.ts +43 -0
- package/dist/esm/models/GoogleProviderMappingRequest.js +49 -0
- package/dist/esm/models/GoogleProviderRequest.d.ts +92 -0
- package/dist/esm/models/GoogleProviderRequest.js +68 -0
- package/dist/esm/models/GoogleWorkspaceDeleteAction.d.ts +25 -0
- package/dist/esm/models/GoogleWorkspaceDeleteAction.js +32 -0
- package/dist/esm/models/ModelEnum.d.ts +2 -0
- package/dist/esm/models/ModelEnum.js +2 -0
- package/dist/esm/models/ModelRequest.d.ts +3 -0
- package/dist/esm/models/ModelRequest.js +5 -0
- package/dist/esm/models/PaginatedGoogleProviderList.d.ts +39 -0
- package/dist/esm/models/PaginatedGoogleProviderList.js +48 -0
- package/dist/esm/models/PaginatedGoogleProviderMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedGoogleProviderMappingList.js +48 -0
- package/dist/esm/models/PatchedGoogleProviderMappingRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGoogleProviderMappingRequest.js +47 -0
- package/dist/esm/models/PatchedGoogleProviderRequest.d.ts +92 -0
- package/dist/esm/models/PatchedGoogleProviderRequest.js +64 -0
- package/dist/esm/models/ProviderModelEnum.d.ts +1 -0
- package/dist/esm/models/ProviderModelEnum.js +1 -0
- package/dist/esm/models/SyncStatus.d.ts +38 -0
- package/dist/esm/models/{LDAPSyncStatus.js → SyncStatus.js} +6 -6
- package/dist/esm/models/index.d.ts +10 -2
- package/dist/esm/models/index.js +10 -2
- package/dist/models/AppEnum.d.ts +1 -0
- package/dist/models/AppEnum.js +1 -0
- package/dist/models/GoogleProvider.d.ts +134 -0
- package/dist/models/GoogleProvider.js +89 -0
- package/dist/models/GoogleProviderMapping.d.ts +73 -0
- package/dist/models/GoogleProviderMapping.js +66 -0
- package/dist/models/GoogleProviderMappingRequest.d.ts +43 -0
- package/dist/models/GoogleProviderMappingRequest.js +56 -0
- package/dist/models/GoogleProviderRequest.d.ts +92 -0
- package/dist/models/GoogleProviderRequest.js +75 -0
- package/dist/models/GoogleWorkspaceDeleteAction.d.ts +25 -0
- package/dist/models/GoogleWorkspaceDeleteAction.js +38 -0
- package/dist/models/ModelEnum.d.ts +2 -0
- package/dist/models/ModelEnum.js +2 -0
- package/dist/models/ModelRequest.d.ts +3 -0
- package/dist/models/ModelRequest.js +5 -0
- package/dist/models/PaginatedGoogleProviderList.d.ts +39 -0
- package/dist/models/PaginatedGoogleProviderList.js +55 -0
- package/dist/models/PaginatedGoogleProviderMappingList.d.ts +39 -0
- package/dist/models/PaginatedGoogleProviderMappingList.js +55 -0
- package/dist/models/PatchedGoogleProviderMappingRequest.d.ts +43 -0
- package/dist/models/PatchedGoogleProviderMappingRequest.js +54 -0
- package/dist/models/PatchedGoogleProviderRequest.d.ts +92 -0
- package/dist/models/PatchedGoogleProviderRequest.js +71 -0
- package/dist/models/ProviderModelEnum.d.ts +1 -0
- package/dist/models/ProviderModelEnum.js +1 -0
- package/dist/models/SyncStatus.d.ts +38 -0
- package/dist/models/{LDAPSyncStatus.js → SyncStatus.js} +11 -11
- package/dist/models/index.d.ts +10 -2
- package/dist/models/index.js +10 -2
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +355 -0
- package/src/apis/ProvidersApi.ts +404 -7
- package/src/apis/RbacApi.ts +4 -0
- package/src/apis/SourcesApi.ts +7 -7
- package/src/models/AppEnum.ts +1 -0
- package/src/models/GoogleProvider.ts +212 -0
- package/src/models/GoogleProviderMapping.ts +123 -0
- package/src/models/GoogleProviderMappingRequest.ts +83 -0
- package/src/models/GoogleProviderRequest.ts +156 -0
- package/src/models/GoogleWorkspaceDeleteAction.ts +40 -0
- package/src/models/ModelEnum.ts +2 -0
- package/src/models/ModelRequest.ts +12 -1
- package/src/models/PaginatedGoogleProviderList.ts +88 -0
- package/src/models/PaginatedGoogleProviderMappingList.ts +88 -0
- package/src/models/PatchedGoogleProviderMappingRequest.ts +81 -0
- package/src/models/PatchedGoogleProviderRequest.ts +152 -0
- package/src/models/ProviderModelEnum.ts +1 -0
- package/src/models/{LDAPSyncStatus.ts → SyncStatus.ts} +11 -11
- package/src/models/index.ts +10 -2
- package/dist/esm/models/LDAPSyncStatus.d.ts +0 -38
- package/dist/esm/models/SCIMSyncStatus.d.ts +0 -38
- package/dist/esm/models/SCIMSyncStatus.js +0 -44
- package/dist/models/LDAPSyncStatus.d.ts +0 -38
- package/dist/models/SCIMSyncStatus.d.ts +0 -38
- package/dist/models/SCIMSyncStatus.js +0 -51
- package/src/models/SCIMSyncStatus.ts +0 -80
@@ -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.4.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 { GoogleProviderFromJSON, GoogleProviderToJSON, } from './GoogleProvider';
|
15
|
+
import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
16
|
+
/**
|
17
|
+
* Check if a given object implements the PaginatedGoogleProviderList interface.
|
18
|
+
*/
|
19
|
+
export function instanceOfPaginatedGoogleProviderList(value) {
|
20
|
+
let isInstance = true;
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
22
|
+
isInstance = isInstance && "results" in value;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
export function PaginatedGoogleProviderListFromJSON(json) {
|
26
|
+
return PaginatedGoogleProviderListFromJSONTyped(json, false);
|
27
|
+
}
|
28
|
+
export function PaginatedGoogleProviderListFromJSONTyped(json, ignoreDiscriminator) {
|
29
|
+
if ((json === undefined) || (json === null)) {
|
30
|
+
return json;
|
31
|
+
}
|
32
|
+
return {
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
34
|
+
'results': (json['results'].map(GoogleProviderFromJSON)),
|
35
|
+
};
|
36
|
+
}
|
37
|
+
export function PaginatedGoogleProviderListToJSON(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(GoogleProviderToJSON)),
|
47
|
+
};
|
48
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.4.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 { GoogleProviderMapping } from './GoogleProviderMapping';
|
13
|
+
import type { Pagination } from './Pagination';
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @export
|
17
|
+
* @interface PaginatedGoogleProviderMappingList
|
18
|
+
*/
|
19
|
+
export interface PaginatedGoogleProviderMappingList {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {Pagination}
|
23
|
+
* @memberof PaginatedGoogleProviderMappingList
|
24
|
+
*/
|
25
|
+
pagination: Pagination;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {Array<GoogleProviderMapping>}
|
29
|
+
* @memberof PaginatedGoogleProviderMappingList
|
30
|
+
*/
|
31
|
+
results: Array<GoogleProviderMapping>;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Check if a given object implements the PaginatedGoogleProviderMappingList interface.
|
35
|
+
*/
|
36
|
+
export declare function instanceOfPaginatedGoogleProviderMappingList(value: object): boolean;
|
37
|
+
export declare function PaginatedGoogleProviderMappingListFromJSON(json: any): PaginatedGoogleProviderMappingList;
|
38
|
+
export declare function PaginatedGoogleProviderMappingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedGoogleProviderMappingList;
|
39
|
+
export declare function PaginatedGoogleProviderMappingListToJSON(value?: PaginatedGoogleProviderMappingList | 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.4.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 { GoogleProviderMappingFromJSON, GoogleProviderMappingToJSON, } from './GoogleProviderMapping';
|
15
|
+
import { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
16
|
+
/**
|
17
|
+
* Check if a given object implements the PaginatedGoogleProviderMappingList interface.
|
18
|
+
*/
|
19
|
+
export function instanceOfPaginatedGoogleProviderMappingList(value) {
|
20
|
+
let isInstance = true;
|
21
|
+
isInstance = isInstance && "pagination" in value;
|
22
|
+
isInstance = isInstance && "results" in value;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
export function PaginatedGoogleProviderMappingListFromJSON(json) {
|
26
|
+
return PaginatedGoogleProviderMappingListFromJSONTyped(json, false);
|
27
|
+
}
|
28
|
+
export function PaginatedGoogleProviderMappingListFromJSONTyped(json, ignoreDiscriminator) {
|
29
|
+
if ((json === undefined) || (json === null)) {
|
30
|
+
return json;
|
31
|
+
}
|
32
|
+
return {
|
33
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
34
|
+
'results': (json['results'].map(GoogleProviderMappingFromJSON)),
|
35
|
+
};
|
36
|
+
}
|
37
|
+
export function PaginatedGoogleProviderMappingListToJSON(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(GoogleProviderMappingToJSON)),
|
47
|
+
};
|
48
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.4.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
|
+
* GoogleProviderMapping Serializer
|
14
|
+
* @export
|
15
|
+
* @interface PatchedGoogleProviderMappingRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedGoogleProviderMappingRequest {
|
18
|
+
/**
|
19
|
+
* Objects that are managed by authentik. These objects are created and updated automatically. This 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.
|
20
|
+
* @type {string}
|
21
|
+
* @memberof PatchedGoogleProviderMappingRequest
|
22
|
+
*/
|
23
|
+
managed?: string | null;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedGoogleProviderMappingRequest
|
28
|
+
*/
|
29
|
+
name?: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof PatchedGoogleProviderMappingRequest
|
34
|
+
*/
|
35
|
+
expression?: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the PatchedGoogleProviderMappingRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfPatchedGoogleProviderMappingRequest(value: object): boolean;
|
41
|
+
export declare function PatchedGoogleProviderMappingRequestFromJSON(json: any): PatchedGoogleProviderMappingRequest;
|
42
|
+
export declare function PatchedGoogleProviderMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGoogleProviderMappingRequest;
|
43
|
+
export declare function PatchedGoogleProviderMappingRequestToJSON(value?: PatchedGoogleProviderMappingRequest | 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.4.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 PatchedGoogleProviderMappingRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfPatchedGoogleProviderMappingRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
return isInstance;
|
21
|
+
}
|
22
|
+
export function PatchedGoogleProviderMappingRequestFromJSON(json) {
|
23
|
+
return PatchedGoogleProviderMappingRequestFromJSONTyped(json, false);
|
24
|
+
}
|
25
|
+
export function PatchedGoogleProviderMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
26
|
+
if ((json === undefined) || (json === null)) {
|
27
|
+
return json;
|
28
|
+
}
|
29
|
+
return {
|
30
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
31
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
32
|
+
'expression': !exists(json, 'expression') ? undefined : json['expression'],
|
33
|
+
};
|
34
|
+
}
|
35
|
+
export function PatchedGoogleProviderMappingRequestToJSON(value) {
|
36
|
+
if (value === undefined) {
|
37
|
+
return undefined;
|
38
|
+
}
|
39
|
+
if (value === null) {
|
40
|
+
return null;
|
41
|
+
}
|
42
|
+
return {
|
43
|
+
'managed': value.managed,
|
44
|
+
'name': value.name,
|
45
|
+
'expression': value.expression,
|
46
|
+
};
|
47
|
+
}
|
@@ -0,0 +1,92 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.4.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 { GoogleWorkspaceDeleteAction } from './GoogleWorkspaceDeleteAction';
|
13
|
+
/**
|
14
|
+
* GoogleProvider Serializer
|
15
|
+
* @export
|
16
|
+
* @interface PatchedGoogleProviderRequest
|
17
|
+
*/
|
18
|
+
export interface PatchedGoogleProviderRequest {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {string}
|
22
|
+
* @memberof PatchedGoogleProviderRequest
|
23
|
+
*/
|
24
|
+
name?: string;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {Array<string>}
|
28
|
+
* @memberof PatchedGoogleProviderRequest
|
29
|
+
*/
|
30
|
+
propertyMappings?: Array<string>;
|
31
|
+
/**
|
32
|
+
* Property mappings used for group creation/updating.
|
33
|
+
* @type {Array<string>}
|
34
|
+
* @memberof PatchedGoogleProviderRequest
|
35
|
+
*/
|
36
|
+
propertyMappingsGroup?: Array<string>;
|
37
|
+
/**
|
38
|
+
*
|
39
|
+
* @type {string}
|
40
|
+
* @memberof PatchedGoogleProviderRequest
|
41
|
+
*/
|
42
|
+
delegatedSubject?: string;
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* @type {any}
|
46
|
+
* @memberof PatchedGoogleProviderRequest
|
47
|
+
*/
|
48
|
+
credentials?: any | null;
|
49
|
+
/**
|
50
|
+
*
|
51
|
+
* @type {string}
|
52
|
+
* @memberof PatchedGoogleProviderRequest
|
53
|
+
*/
|
54
|
+
scopes?: string;
|
55
|
+
/**
|
56
|
+
*
|
57
|
+
* @type {boolean}
|
58
|
+
* @memberof PatchedGoogleProviderRequest
|
59
|
+
*/
|
60
|
+
excludeUsersServiceAccount?: boolean;
|
61
|
+
/**
|
62
|
+
*
|
63
|
+
* @type {string}
|
64
|
+
* @memberof PatchedGoogleProviderRequest
|
65
|
+
*/
|
66
|
+
filterGroup?: string | null;
|
67
|
+
/**
|
68
|
+
*
|
69
|
+
* @type {GoogleWorkspaceDeleteAction}
|
70
|
+
* @memberof PatchedGoogleProviderRequest
|
71
|
+
*/
|
72
|
+
userDeleteAction?: GoogleWorkspaceDeleteAction;
|
73
|
+
/**
|
74
|
+
*
|
75
|
+
* @type {GoogleWorkspaceDeleteAction}
|
76
|
+
* @memberof PatchedGoogleProviderRequest
|
77
|
+
*/
|
78
|
+
groupDeleteAction?: GoogleWorkspaceDeleteAction;
|
79
|
+
/**
|
80
|
+
*
|
81
|
+
* @type {string}
|
82
|
+
* @memberof PatchedGoogleProviderRequest
|
83
|
+
*/
|
84
|
+
defaultGroupEmailDomain?: string;
|
85
|
+
}
|
86
|
+
/**
|
87
|
+
* Check if a given object implements the PatchedGoogleProviderRequest interface.
|
88
|
+
*/
|
89
|
+
export declare function instanceOfPatchedGoogleProviderRequest(value: object): boolean;
|
90
|
+
export declare function PatchedGoogleProviderRequestFromJSON(json: any): PatchedGoogleProviderRequest;
|
91
|
+
export declare function PatchedGoogleProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGoogleProviderRequest;
|
92
|
+
export declare function PatchedGoogleProviderRequestToJSON(value?: PatchedGoogleProviderRequest | null): any;
|
@@ -0,0 +1,64 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.4.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 { GoogleWorkspaceDeleteActionFromJSON, GoogleWorkspaceDeleteActionToJSON, } from './GoogleWorkspaceDeleteAction';
|
16
|
+
/**
|
17
|
+
* Check if a given object implements the PatchedGoogleProviderRequest interface.
|
18
|
+
*/
|
19
|
+
export function instanceOfPatchedGoogleProviderRequest(value) {
|
20
|
+
let isInstance = true;
|
21
|
+
return isInstance;
|
22
|
+
}
|
23
|
+
export function PatchedGoogleProviderRequestFromJSON(json) {
|
24
|
+
return PatchedGoogleProviderRequestFromJSONTyped(json, false);
|
25
|
+
}
|
26
|
+
export function PatchedGoogleProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
27
|
+
if ((json === undefined) || (json === null)) {
|
28
|
+
return json;
|
29
|
+
}
|
30
|
+
return {
|
31
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
32
|
+
'propertyMappings': !exists(json, 'property_mappings') ? undefined : json['property_mappings'],
|
33
|
+
'propertyMappingsGroup': !exists(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
|
34
|
+
'delegatedSubject': !exists(json, 'delegated_subject') ? undefined : json['delegated_subject'],
|
35
|
+
'credentials': !exists(json, 'credentials') ? undefined : json['credentials'],
|
36
|
+
'scopes': !exists(json, 'scopes') ? undefined : json['scopes'],
|
37
|
+
'excludeUsersServiceAccount': !exists(json, 'exclude_users_service_account') ? undefined : json['exclude_users_service_account'],
|
38
|
+
'filterGroup': !exists(json, 'filter_group') ? undefined : json['filter_group'],
|
39
|
+
'userDeleteAction': !exists(json, 'user_delete_action') ? undefined : GoogleWorkspaceDeleteActionFromJSON(json['user_delete_action']),
|
40
|
+
'groupDeleteAction': !exists(json, 'group_delete_action') ? undefined : GoogleWorkspaceDeleteActionFromJSON(json['group_delete_action']),
|
41
|
+
'defaultGroupEmailDomain': !exists(json, 'default_group_email_domain') ? undefined : json['default_group_email_domain'],
|
42
|
+
};
|
43
|
+
}
|
44
|
+
export function PatchedGoogleProviderRequestToJSON(value) {
|
45
|
+
if (value === undefined) {
|
46
|
+
return undefined;
|
47
|
+
}
|
48
|
+
if (value === null) {
|
49
|
+
return null;
|
50
|
+
}
|
51
|
+
return {
|
52
|
+
'name': value.name,
|
53
|
+
'property_mappings': value.propertyMappings,
|
54
|
+
'property_mappings_group': value.propertyMappingsGroup,
|
55
|
+
'delegated_subject': value.delegatedSubject,
|
56
|
+
'credentials': value.credentials,
|
57
|
+
'scopes': value.scopes,
|
58
|
+
'exclude_users_service_account': value.excludeUsersServiceAccount,
|
59
|
+
'filter_group': value.filterGroup,
|
60
|
+
'user_delete_action': GoogleWorkspaceDeleteActionToJSON(value.userDeleteAction),
|
61
|
+
'group_delete_action': GoogleWorkspaceDeleteActionToJSON(value.groupDeleteAction),
|
62
|
+
'default_group_email_domain': value.defaultGroupEmailDomain,
|
63
|
+
};
|
64
|
+
}
|
@@ -14,6 +14,7 @@
|
|
14
14
|
* @export
|
15
15
|
*/
|
16
16
|
export declare const ProviderModelEnum: {
|
17
|
+
readonly GoogleWorkspaceGoogleworkspaceprovider: "authentik_providers_google_workspace.googleworkspaceprovider";
|
17
18
|
readonly LdapLdapprovider: "authentik_providers_ldap.ldapprovider";
|
18
19
|
readonly Oauth2Oauth2provider: "authentik_providers_oauth2.oauth2provider";
|
19
20
|
readonly ProxyProxyprovider: "authentik_providers_proxy.proxyprovider";
|
@@ -16,6 +16,7 @@
|
|
16
16
|
* @export
|
17
17
|
*/
|
18
18
|
export const ProviderModelEnum = {
|
19
|
+
GoogleWorkspaceGoogleworkspaceprovider: 'authentik_providers_google_workspace.googleworkspaceprovider',
|
19
20
|
LdapLdapprovider: 'authentik_providers_ldap.ldapprovider',
|
20
21
|
Oauth2Oauth2provider: 'authentik_providers_oauth2.oauth2provider',
|
21
22
|
ProxyProxyprovider: 'authentik_providers_proxy.proxyprovider',
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.4.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 { SystemTask } from './SystemTask';
|
13
|
+
/**
|
14
|
+
* Provider sync status
|
15
|
+
* @export
|
16
|
+
* @interface SyncStatus
|
17
|
+
*/
|
18
|
+
export interface SyncStatus {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {boolean}
|
22
|
+
* @memberof SyncStatus
|
23
|
+
*/
|
24
|
+
readonly isRunning: boolean;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {Array<SystemTask>}
|
28
|
+
* @memberof SyncStatus
|
29
|
+
*/
|
30
|
+
readonly tasks: Array<SystemTask>;
|
31
|
+
}
|
32
|
+
/**
|
33
|
+
* Check if a given object implements the SyncStatus interface.
|
34
|
+
*/
|
35
|
+
export declare function instanceOfSyncStatus(value: object): boolean;
|
36
|
+
export declare function SyncStatusFromJSON(json: any): SyncStatus;
|
37
|
+
export declare function SyncStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncStatus;
|
38
|
+
export declare function SyncStatusToJSON(value?: SyncStatus | null): any;
|
@@ -13,18 +13,18 @@
|
|
13
13
|
*/
|
14
14
|
import { SystemTaskFromJSON, } from './SystemTask';
|
15
15
|
/**
|
16
|
-
* Check if a given object implements the
|
16
|
+
* Check if a given object implements the SyncStatus interface.
|
17
17
|
*/
|
18
|
-
export function
|
18
|
+
export function instanceOfSyncStatus(value) {
|
19
19
|
let isInstance = true;
|
20
20
|
isInstance = isInstance && "isRunning" in value;
|
21
21
|
isInstance = isInstance && "tasks" in value;
|
22
22
|
return isInstance;
|
23
23
|
}
|
24
|
-
export function
|
25
|
-
return
|
24
|
+
export function SyncStatusFromJSON(json) {
|
25
|
+
return SyncStatusFromJSONTyped(json, false);
|
26
26
|
}
|
27
|
-
export function
|
27
|
+
export function SyncStatusFromJSONTyped(json, ignoreDiscriminator) {
|
28
28
|
if ((json === undefined) || (json === null)) {
|
29
29
|
return json;
|
30
30
|
}
|
@@ -33,7 +33,7 @@ export function LDAPSyncStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
33
|
'tasks': (json['tasks'].map(SystemTaskFromJSON)),
|
34
34
|
};
|
35
35
|
}
|
36
|
-
export function
|
36
|
+
export function SyncStatusToJSON(value) {
|
37
37
|
if (value === undefined) {
|
38
38
|
return undefined;
|
39
39
|
}
|
@@ -139,6 +139,11 @@ export * from './FlowStageBindingRequest';
|
|
139
139
|
export * from './FooterLink';
|
140
140
|
export * from './GenericError';
|
141
141
|
export * from './GeoipBindingEnum';
|
142
|
+
export * from './GoogleProvider';
|
143
|
+
export * from './GoogleProviderMapping';
|
144
|
+
export * from './GoogleProviderMappingRequest';
|
145
|
+
export * from './GoogleProviderRequest';
|
146
|
+
export * from './GoogleWorkspaceDeleteAction';
|
142
147
|
export * from './Group';
|
143
148
|
export * from './GroupMember';
|
144
149
|
export * from './GroupMemberRequest';
|
@@ -166,7 +171,6 @@ export * from './LDAPProvider';
|
|
166
171
|
export * from './LDAPProviderRequest';
|
167
172
|
export * from './LDAPSource';
|
168
173
|
export * from './LDAPSourceRequest';
|
169
|
-
export * from './LDAPSyncStatus';
|
170
174
|
export * from './License';
|
171
175
|
export * from './LicenseForecast';
|
172
176
|
export * from './LicenseRequest';
|
@@ -238,6 +242,8 @@ export * from './PaginatedExtraRoleObjectPermissionList';
|
|
238
242
|
export * from './PaginatedExtraUserObjectPermissionList';
|
239
243
|
export * from './PaginatedFlowList';
|
240
244
|
export * from './PaginatedFlowStageBindingList';
|
245
|
+
export * from './PaginatedGoogleProviderList';
|
246
|
+
export * from './PaginatedGoogleProviderMappingList';
|
241
247
|
export * from './PaginatedGroupList';
|
242
248
|
export * from './PaginatedIdentificationStageList';
|
243
249
|
export * from './PaginatedInvitationList';
|
@@ -344,6 +350,8 @@ export * from './PatchedEventRequest';
|
|
344
350
|
export * from './PatchedExpressionPolicyRequest';
|
345
351
|
export * from './PatchedFlowRequest';
|
346
352
|
export * from './PatchedFlowStageBindingRequest';
|
353
|
+
export * from './PatchedGoogleProviderMappingRequest';
|
354
|
+
export * from './PatchedGoogleProviderRequest';
|
347
355
|
export * from './PatchedGroupRequest';
|
348
356
|
export * from './PatchedIdentificationStageRequest';
|
349
357
|
export * from './PatchedInvitationRequest';
|
@@ -468,7 +476,6 @@ export * from './SCIMSourceGroupRequest';
|
|
468
476
|
export * from './SCIMSourceRequest';
|
469
477
|
export * from './SCIMSourceUser';
|
470
478
|
export * from './SCIMSourceUserRequest';
|
471
|
-
export * from './SCIMSyncStatus';
|
472
479
|
export * from './SMSDevice';
|
473
480
|
export * from './SMSDeviceRequest';
|
474
481
|
export * from './ScopeMapping';
|
@@ -497,6 +504,7 @@ export * from './StaticDeviceRequest';
|
|
497
504
|
export * from './StaticDeviceToken';
|
498
505
|
export * from './StaticDeviceTokenRequest';
|
499
506
|
export * from './SubModeEnum';
|
507
|
+
export * from './SyncStatus';
|
500
508
|
export * from './SystemInfo';
|
501
509
|
export * from './SystemInfoRuntime';
|
502
510
|
export * from './SystemTask';
|
package/dist/esm/models/index.js
CHANGED
@@ -141,6 +141,11 @@ export * from './FlowStageBindingRequest';
|
|
141
141
|
export * from './FooterLink';
|
142
142
|
export * from './GenericError';
|
143
143
|
export * from './GeoipBindingEnum';
|
144
|
+
export * from './GoogleProvider';
|
145
|
+
export * from './GoogleProviderMapping';
|
146
|
+
export * from './GoogleProviderMappingRequest';
|
147
|
+
export * from './GoogleProviderRequest';
|
148
|
+
export * from './GoogleWorkspaceDeleteAction';
|
144
149
|
export * from './Group';
|
145
150
|
export * from './GroupMember';
|
146
151
|
export * from './GroupMemberRequest';
|
@@ -168,7 +173,6 @@ export * from './LDAPProvider';
|
|
168
173
|
export * from './LDAPProviderRequest';
|
169
174
|
export * from './LDAPSource';
|
170
175
|
export * from './LDAPSourceRequest';
|
171
|
-
export * from './LDAPSyncStatus';
|
172
176
|
export * from './License';
|
173
177
|
export * from './LicenseForecast';
|
174
178
|
export * from './LicenseRequest';
|
@@ -240,6 +244,8 @@ export * from './PaginatedExtraRoleObjectPermissionList';
|
|
240
244
|
export * from './PaginatedExtraUserObjectPermissionList';
|
241
245
|
export * from './PaginatedFlowList';
|
242
246
|
export * from './PaginatedFlowStageBindingList';
|
247
|
+
export * from './PaginatedGoogleProviderList';
|
248
|
+
export * from './PaginatedGoogleProviderMappingList';
|
243
249
|
export * from './PaginatedGroupList';
|
244
250
|
export * from './PaginatedIdentificationStageList';
|
245
251
|
export * from './PaginatedInvitationList';
|
@@ -346,6 +352,8 @@ export * from './PatchedEventRequest';
|
|
346
352
|
export * from './PatchedExpressionPolicyRequest';
|
347
353
|
export * from './PatchedFlowRequest';
|
348
354
|
export * from './PatchedFlowStageBindingRequest';
|
355
|
+
export * from './PatchedGoogleProviderMappingRequest';
|
356
|
+
export * from './PatchedGoogleProviderRequest';
|
349
357
|
export * from './PatchedGroupRequest';
|
350
358
|
export * from './PatchedIdentificationStageRequest';
|
351
359
|
export * from './PatchedInvitationRequest';
|
@@ -470,7 +478,6 @@ export * from './SCIMSourceGroupRequest';
|
|
470
478
|
export * from './SCIMSourceRequest';
|
471
479
|
export * from './SCIMSourceUser';
|
472
480
|
export * from './SCIMSourceUserRequest';
|
473
|
-
export * from './SCIMSyncStatus';
|
474
481
|
export * from './SMSDevice';
|
475
482
|
export * from './SMSDeviceRequest';
|
476
483
|
export * from './ScopeMapping';
|
@@ -499,6 +506,7 @@ export * from './StaticDeviceRequest';
|
|
499
506
|
export * from './StaticDeviceToken';
|
500
507
|
export * from './StaticDeviceTokenRequest';
|
501
508
|
export * from './SubModeEnum';
|
509
|
+
export * from './SyncStatus';
|
502
510
|
export * from './SystemInfo';
|
503
511
|
export * from './SystemInfoRuntime';
|
504
512
|
export * from './SystemTask';
|
package/dist/models/AppEnum.d.ts
CHANGED
@@ -65,6 +65,7 @@ export declare const AppEnum: {
|
|
65
65
|
readonly Core: "authentik.core";
|
66
66
|
readonly Enterprise: "authentik.enterprise";
|
67
67
|
readonly EnterpriseAudit: "authentik.enterprise.audit";
|
68
|
+
readonly EnterpriseProvidersGoogleWorkspace: "authentik.enterprise.providers.google_workspace";
|
68
69
|
readonly EnterpriseProvidersRac: "authentik.enterprise.providers.rac";
|
69
70
|
readonly EnterpriseStagesSource: "authentik.enterprise.stages.source";
|
70
71
|
readonly Events: "authentik.events";
|
package/dist/models/AppEnum.js
CHANGED
@@ -70,6 +70,7 @@ exports.AppEnum = {
|
|
70
70
|
Core: 'authentik.core',
|
71
71
|
Enterprise: 'authentik.enterprise',
|
72
72
|
EnterpriseAudit: 'authentik.enterprise.audit',
|
73
|
+
EnterpriseProvidersGoogleWorkspace: 'authentik.enterprise.providers.google_workspace',
|
73
74
|
EnterpriseProvidersRac: 'authentik.enterprise.providers.rac',
|
74
75
|
EnterpriseStagesSource: 'authentik.enterprise.stages.source',
|
75
76
|
Events: 'authentik.events',
|