@goauthentik/api 2024.4.2-1715100363 → 2024.4.2-1715262102
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +34 -2
- package/dist/apis/PropertymappingsApi.d.ts +173 -1
- package/dist/apis/PropertymappingsApi.js +548 -0
- package/dist/apis/ProvidersApi.d.ts +536 -3
- package/dist/apis/ProvidersApi.js +1784 -85
- package/dist/apis/RbacApi.d.ts +8 -0
- package/dist/apis/RbacApi.js +8 -0
- package/dist/apis/SourcesApi.d.ts +3 -3
- package/dist/apis/SourcesApi.js +2 -2
- package/dist/esm/apis/PropertymappingsApi.d.ts +173 -1
- package/dist/esm/apis/PropertymappingsApi.js +549 -1
- package/dist/esm/apis/ProvidersApi.d.ts +536 -3
- package/dist/esm/apis/ProvidersApi.js +1785 -86
- package/dist/esm/apis/RbacApi.d.ts +8 -0
- package/dist/esm/apis/RbacApi.js +8 -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 +2 -0
- package/dist/esm/models/AppEnum.js +2 -0
- package/dist/esm/models/GoogleWorkspaceProvider.d.ts +134 -0
- package/dist/esm/models/GoogleWorkspaceProvider.js +82 -0
- package/dist/esm/models/GoogleWorkspaceProviderGroup.d.ts +44 -0
- package/dist/esm/models/GoogleWorkspaceProviderGroup.js +48 -0
- package/dist/esm/models/GoogleWorkspaceProviderGroupRequest.d.ts +31 -0
- package/dist/esm/models/{SCIMSyncStatus.js → GoogleWorkspaceProviderGroupRequest.js} +11 -12
- package/dist/esm/models/GoogleWorkspaceProviderMapping.d.ts +73 -0
- package/dist/esm/models/GoogleWorkspaceProviderMapping.js +59 -0
- package/dist/esm/models/GoogleWorkspaceProviderMappingRequest.d.ts +43 -0
- package/dist/esm/models/GoogleWorkspaceProviderMappingRequest.js +49 -0
- package/dist/esm/models/GoogleWorkspaceProviderRequest.d.ts +92 -0
- package/dist/esm/models/GoogleWorkspaceProviderRequest.js +68 -0
- package/dist/esm/models/GoogleWorkspaceProviderUser.d.ts +44 -0
- package/dist/esm/models/GoogleWorkspaceProviderUser.js +48 -0
- package/dist/esm/models/GoogleWorkspaceProviderUserRequest.d.ts +31 -0
- package/dist/esm/models/GoogleWorkspaceProviderUserRequest.js +43 -0
- package/dist/esm/models/MicrosoftEntraProvider.d.ts +128 -0
- package/dist/esm/models/MicrosoftEntraProvider.js +80 -0
- package/dist/esm/models/MicrosoftEntraProviderGroup.d.ts +44 -0
- package/dist/esm/models/MicrosoftEntraProviderGroup.js +48 -0
- package/dist/esm/models/MicrosoftEntraProviderGroupRequest.d.ts +31 -0
- package/dist/esm/models/MicrosoftEntraProviderGroupRequest.js +43 -0
- package/dist/esm/models/MicrosoftEntraProviderMapping.d.ts +73 -0
- package/dist/esm/models/MicrosoftEntraProviderMapping.js +59 -0
- package/dist/esm/models/MicrosoftEntraProviderMappingRequest.d.ts +43 -0
- package/dist/esm/models/MicrosoftEntraProviderMappingRequest.js +49 -0
- package/dist/esm/models/MicrosoftEntraProviderRequest.d.ts +86 -0
- package/dist/esm/models/MicrosoftEntraProviderRequest.js +66 -0
- package/dist/esm/models/MicrosoftEntraProviderUser.d.ts +44 -0
- package/dist/esm/models/MicrosoftEntraProviderUser.js +48 -0
- package/dist/esm/models/MicrosoftEntraProviderUserRequest.d.ts +31 -0
- package/dist/esm/models/MicrosoftEntraProviderUserRequest.js +43 -0
- package/dist/esm/models/ModelEnum.d.ts +4 -0
- package/dist/esm/models/ModelEnum.js +4 -0
- package/dist/esm/models/ModelRequest.d.ts +6 -0
- package/dist/esm/models/ModelRequest.js +10 -0
- package/dist/esm/models/OutgoingSyncDeleteAction.d.ts +25 -0
- package/dist/esm/models/OutgoingSyncDeleteAction.js +32 -0
- package/dist/esm/models/PaginatedGoogleWorkspaceProviderGroupList.d.ts +39 -0
- package/dist/esm/models/PaginatedGoogleWorkspaceProviderGroupList.js +48 -0
- package/dist/esm/models/PaginatedGoogleWorkspaceProviderList.d.ts +39 -0
- package/dist/esm/models/PaginatedGoogleWorkspaceProviderList.js +48 -0
- package/dist/esm/models/PaginatedGoogleWorkspaceProviderMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedGoogleWorkspaceProviderMappingList.js +48 -0
- package/dist/esm/models/PaginatedGoogleWorkspaceProviderUserList.d.ts +39 -0
- package/dist/esm/models/PaginatedGoogleWorkspaceProviderUserList.js +48 -0
- package/dist/esm/models/PaginatedMicrosoftEntraProviderGroupList.d.ts +39 -0
- package/dist/esm/models/PaginatedMicrosoftEntraProviderGroupList.js +48 -0
- package/dist/esm/models/PaginatedMicrosoftEntraProviderList.d.ts +39 -0
- package/dist/esm/models/PaginatedMicrosoftEntraProviderList.js +48 -0
- package/dist/esm/models/PaginatedMicrosoftEntraProviderMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedMicrosoftEntraProviderMappingList.js +48 -0
- package/dist/esm/models/PaginatedMicrosoftEntraProviderUserList.d.ts +39 -0
- package/dist/esm/models/PaginatedMicrosoftEntraProviderUserList.js +48 -0
- package/dist/esm/models/PatchedGoogleWorkspaceProviderGroupRequest.d.ts +31 -0
- package/dist/esm/models/PatchedGoogleWorkspaceProviderGroupRequest.js +43 -0
- package/dist/esm/models/PatchedGoogleWorkspaceProviderMappingRequest.d.ts +43 -0
- package/dist/esm/models/PatchedGoogleWorkspaceProviderMappingRequest.js +47 -0
- package/dist/esm/models/PatchedGoogleWorkspaceProviderRequest.d.ts +92 -0
- package/dist/esm/models/PatchedGoogleWorkspaceProviderRequest.js +64 -0
- package/dist/esm/models/PatchedGoogleWorkspaceProviderUserRequest.d.ts +31 -0
- package/dist/esm/models/PatchedGoogleWorkspaceProviderUserRequest.js +43 -0
- package/dist/esm/models/PatchedMicrosoftEntraProviderGroupRequest.d.ts +31 -0
- package/dist/esm/models/PatchedMicrosoftEntraProviderGroupRequest.js +43 -0
- package/dist/esm/models/PatchedMicrosoftEntraProviderMappingRequest.d.ts +43 -0
- package/dist/esm/models/PatchedMicrosoftEntraProviderMappingRequest.js +47 -0
- package/dist/esm/models/PatchedMicrosoftEntraProviderRequest.d.ts +86 -0
- package/dist/esm/models/PatchedMicrosoftEntraProviderRequest.js +62 -0
- package/dist/esm/models/PatchedMicrosoftEntraProviderUserRequest.d.ts +31 -0
- package/dist/esm/models/PatchedMicrosoftEntraProviderUserRequest.js +43 -0
- package/dist/esm/models/ProviderModelEnum.d.ts +2 -0
- package/dist/esm/models/ProviderModelEnum.js +2 -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 +34 -2
- package/dist/esm/models/index.js +34 -2
- package/dist/models/AppEnum.d.ts +2 -0
- package/dist/models/AppEnum.js +2 -0
- package/dist/models/GoogleWorkspaceProvider.d.ts +134 -0
- package/dist/models/GoogleWorkspaceProvider.js +89 -0
- package/dist/models/GoogleWorkspaceProviderGroup.d.ts +44 -0
- package/dist/models/GoogleWorkspaceProviderGroup.js +55 -0
- package/dist/models/GoogleWorkspaceProviderGroupRequest.d.ts +31 -0
- package/dist/models/GoogleWorkspaceProviderGroupRequest.js +50 -0
- package/dist/models/GoogleWorkspaceProviderMapping.d.ts +73 -0
- package/dist/models/GoogleWorkspaceProviderMapping.js +66 -0
- package/dist/models/GoogleWorkspaceProviderMappingRequest.d.ts +43 -0
- package/dist/models/GoogleWorkspaceProviderMappingRequest.js +56 -0
- package/dist/models/GoogleWorkspaceProviderRequest.d.ts +92 -0
- package/dist/models/GoogleWorkspaceProviderRequest.js +75 -0
- package/dist/models/GoogleWorkspaceProviderUser.d.ts +44 -0
- package/dist/models/GoogleWorkspaceProviderUser.js +55 -0
- package/dist/models/GoogleWorkspaceProviderUserRequest.d.ts +31 -0
- package/dist/models/GoogleWorkspaceProviderUserRequest.js +50 -0
- package/dist/models/MicrosoftEntraProvider.d.ts +128 -0
- package/dist/models/MicrosoftEntraProvider.js +87 -0
- package/dist/models/MicrosoftEntraProviderGroup.d.ts +44 -0
- package/dist/models/MicrosoftEntraProviderGroup.js +55 -0
- package/dist/models/MicrosoftEntraProviderGroupRequest.d.ts +31 -0
- package/dist/models/MicrosoftEntraProviderGroupRequest.js +50 -0
- package/dist/models/MicrosoftEntraProviderMapping.d.ts +73 -0
- package/dist/models/MicrosoftEntraProviderMapping.js +66 -0
- package/dist/models/MicrosoftEntraProviderMappingRequest.d.ts +43 -0
- package/dist/models/MicrosoftEntraProviderMappingRequest.js +56 -0
- package/dist/models/MicrosoftEntraProviderRequest.d.ts +86 -0
- package/dist/models/MicrosoftEntraProviderRequest.js +73 -0
- package/dist/models/MicrosoftEntraProviderUser.d.ts +44 -0
- package/dist/models/MicrosoftEntraProviderUser.js +55 -0
- package/dist/models/MicrosoftEntraProviderUserRequest.d.ts +31 -0
- package/dist/models/MicrosoftEntraProviderUserRequest.js +50 -0
- package/dist/models/ModelEnum.d.ts +4 -0
- package/dist/models/ModelEnum.js +4 -0
- package/dist/models/ModelRequest.d.ts +6 -0
- package/dist/models/ModelRequest.js +10 -0
- package/dist/models/OutgoingSyncDeleteAction.d.ts +25 -0
- package/dist/models/OutgoingSyncDeleteAction.js +38 -0
- package/dist/models/PaginatedGoogleWorkspaceProviderGroupList.d.ts +39 -0
- package/dist/models/PaginatedGoogleWorkspaceProviderGroupList.js +55 -0
- package/dist/models/PaginatedGoogleWorkspaceProviderList.d.ts +39 -0
- package/dist/models/PaginatedGoogleWorkspaceProviderList.js +55 -0
- package/dist/models/PaginatedGoogleWorkspaceProviderMappingList.d.ts +39 -0
- package/dist/models/PaginatedGoogleWorkspaceProviderMappingList.js +55 -0
- package/dist/models/PaginatedGoogleWorkspaceProviderUserList.d.ts +39 -0
- package/dist/models/PaginatedGoogleWorkspaceProviderUserList.js +55 -0
- package/dist/models/PaginatedMicrosoftEntraProviderGroupList.d.ts +39 -0
- package/dist/models/PaginatedMicrosoftEntraProviderGroupList.js +55 -0
- package/dist/models/PaginatedMicrosoftEntraProviderList.d.ts +39 -0
- package/dist/models/PaginatedMicrosoftEntraProviderList.js +55 -0
- package/dist/models/PaginatedMicrosoftEntraProviderMappingList.d.ts +39 -0
- package/dist/models/PaginatedMicrosoftEntraProviderMappingList.js +55 -0
- package/dist/models/PaginatedMicrosoftEntraProviderUserList.d.ts +39 -0
- package/dist/models/PaginatedMicrosoftEntraProviderUserList.js +55 -0
- package/dist/models/PatchedGoogleWorkspaceProviderGroupRequest.d.ts +31 -0
- package/dist/models/PatchedGoogleWorkspaceProviderGroupRequest.js +50 -0
- package/dist/models/PatchedGoogleWorkspaceProviderMappingRequest.d.ts +43 -0
- package/dist/models/PatchedGoogleWorkspaceProviderMappingRequest.js +54 -0
- package/dist/models/PatchedGoogleWorkspaceProviderRequest.d.ts +92 -0
- package/dist/models/PatchedGoogleWorkspaceProviderRequest.js +71 -0
- package/dist/models/PatchedGoogleWorkspaceProviderUserRequest.d.ts +31 -0
- package/dist/models/PatchedGoogleWorkspaceProviderUserRequest.js +50 -0
- package/dist/models/PatchedMicrosoftEntraProviderGroupRequest.d.ts +31 -0
- package/dist/models/PatchedMicrosoftEntraProviderGroupRequest.js +50 -0
- package/dist/models/PatchedMicrosoftEntraProviderMappingRequest.d.ts +43 -0
- package/dist/models/PatchedMicrosoftEntraProviderMappingRequest.js +54 -0
- package/dist/models/PatchedMicrosoftEntraProviderRequest.d.ts +86 -0
- package/dist/models/PatchedMicrosoftEntraProviderRequest.js +69 -0
- package/dist/models/PatchedMicrosoftEntraProviderUserRequest.d.ts +31 -0
- package/dist/models/PatchedMicrosoftEntraProviderUserRequest.js +50 -0
- package/dist/models/ProviderModelEnum.d.ts +2 -0
- package/dist/models/ProviderModelEnum.js +2 -0
- package/dist/models/SyncStatus.d.ts +38 -0
- package/dist/models/{LDAPSyncStatus.js → SyncStatus.js} +11 -11
- package/dist/models/index.d.ts +34 -2
- package/dist/models/index.js +34 -2
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +710 -0
- package/src/apis/ProvidersApi.ts +2283 -94
- package/src/apis/RbacApi.ts +8 -0
- package/src/apis/SourcesApi.ts +7 -7
- package/src/models/AppEnum.ts +2 -0
- package/src/models/GoogleWorkspaceProvider.ts +212 -0
- package/src/models/GoogleWorkspaceProviderGroup.ts +89 -0
- package/src/models/GoogleWorkspaceProviderGroupRequest.ts +66 -0
- package/src/models/GoogleWorkspaceProviderMapping.ts +123 -0
- package/src/models/GoogleWorkspaceProviderMappingRequest.ts +83 -0
- package/src/models/GoogleWorkspaceProviderRequest.ts +156 -0
- package/src/models/GoogleWorkspaceProviderUser.ts +89 -0
- package/src/models/GoogleWorkspaceProviderUserRequest.ts +66 -0
- package/src/models/MicrosoftEntraProvider.ts +204 -0
- package/src/models/MicrosoftEntraProviderGroup.ts +89 -0
- package/src/models/MicrosoftEntraProviderGroupRequest.ts +66 -0
- package/src/models/MicrosoftEntraProviderMapping.ts +123 -0
- package/src/models/MicrosoftEntraProviderMappingRequest.ts +83 -0
- package/src/models/MicrosoftEntraProviderRequest.ts +148 -0
- package/src/models/MicrosoftEntraProviderUser.ts +89 -0
- package/src/models/MicrosoftEntraProviderUserRequest.ts +66 -0
- package/src/models/ModelEnum.ts +4 -0
- package/src/models/ModelRequest.ts +23 -1
- package/src/models/OutgoingSyncDeleteAction.ts +40 -0
- package/src/models/PaginatedGoogleWorkspaceProviderGroupList.ts +88 -0
- package/src/models/PaginatedGoogleWorkspaceProviderList.ts +88 -0
- package/src/models/PaginatedGoogleWorkspaceProviderMappingList.ts +88 -0
- package/src/models/PaginatedGoogleWorkspaceProviderUserList.ts +88 -0
- package/src/models/PaginatedMicrosoftEntraProviderGroupList.ts +88 -0
- package/src/models/PaginatedMicrosoftEntraProviderList.ts +88 -0
- package/src/models/PaginatedMicrosoftEntraProviderMappingList.ts +88 -0
- package/src/models/PaginatedMicrosoftEntraProviderUserList.ts +88 -0
- package/src/models/PatchedGoogleWorkspaceProviderGroupRequest.ts +65 -0
- package/src/models/PatchedGoogleWorkspaceProviderMappingRequest.ts +81 -0
- package/src/models/PatchedGoogleWorkspaceProviderRequest.ts +152 -0
- package/src/models/PatchedGoogleWorkspaceProviderUserRequest.ts +65 -0
- package/src/models/PatchedMicrosoftEntraProviderGroupRequest.ts +65 -0
- package/src/models/PatchedMicrosoftEntraProviderMappingRequest.ts +81 -0
- package/src/models/PatchedMicrosoftEntraProviderRequest.ts +144 -0
- package/src/models/PatchedMicrosoftEntraProviderUserRequest.ts +65 -0
- package/src/models/ProviderModelEnum.ts +2 -0
- package/src/models/{LDAPSyncStatus.ts → SyncStatus.ts} +11 -11
- package/src/models/index.ts +34 -2
- package/dist/esm/models/LDAPSyncStatus.d.ts +0 -38
- package/dist/esm/models/SCIMSyncStatus.d.ts +0 -38
- 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,31 @@
|
|
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
|
+
* MicrosoftEntraProviderGroup Serializer
|
14
|
+
* @export
|
15
|
+
* @interface MicrosoftEntraProviderGroupRequest
|
16
|
+
*/
|
17
|
+
export interface MicrosoftEntraProviderGroupRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof MicrosoftEntraProviderGroupRequest
|
22
|
+
*/
|
23
|
+
group: string;
|
24
|
+
}
|
25
|
+
/**
|
26
|
+
* Check if a given object implements the MicrosoftEntraProviderGroupRequest interface.
|
27
|
+
*/
|
28
|
+
export declare function instanceOfMicrosoftEntraProviderGroupRequest(value: object): boolean;
|
29
|
+
export declare function MicrosoftEntraProviderGroupRequestFromJSON(json: any): MicrosoftEntraProviderGroupRequest;
|
30
|
+
export declare function MicrosoftEntraProviderGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MicrosoftEntraProviderGroupRequest;
|
31
|
+
export declare function MicrosoftEntraProviderGroupRequestToJSON(value?: MicrosoftEntraProviderGroupRequest | null): any;
|
@@ -0,0 +1,50 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.4.2
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.MicrosoftEntraProviderGroupRequestToJSON = exports.MicrosoftEntraProviderGroupRequestFromJSONTyped = exports.MicrosoftEntraProviderGroupRequestFromJSON = exports.instanceOfMicrosoftEntraProviderGroupRequest = void 0;
|
17
|
+
/**
|
18
|
+
* Check if a given object implements the MicrosoftEntraProviderGroupRequest interface.
|
19
|
+
*/
|
20
|
+
function instanceOfMicrosoftEntraProviderGroupRequest(value) {
|
21
|
+
let isInstance = true;
|
22
|
+
isInstance = isInstance && "group" in value;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
exports.instanceOfMicrosoftEntraProviderGroupRequest = instanceOfMicrosoftEntraProviderGroupRequest;
|
26
|
+
function MicrosoftEntraProviderGroupRequestFromJSON(json) {
|
27
|
+
return MicrosoftEntraProviderGroupRequestFromJSONTyped(json, false);
|
28
|
+
}
|
29
|
+
exports.MicrosoftEntraProviderGroupRequestFromJSON = MicrosoftEntraProviderGroupRequestFromJSON;
|
30
|
+
function MicrosoftEntraProviderGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
|
31
|
+
if ((json === undefined) || (json === null)) {
|
32
|
+
return json;
|
33
|
+
}
|
34
|
+
return {
|
35
|
+
'group': json['group'],
|
36
|
+
};
|
37
|
+
}
|
38
|
+
exports.MicrosoftEntraProviderGroupRequestFromJSONTyped = MicrosoftEntraProviderGroupRequestFromJSONTyped;
|
39
|
+
function MicrosoftEntraProviderGroupRequestToJSON(value) {
|
40
|
+
if (value === undefined) {
|
41
|
+
return undefined;
|
42
|
+
}
|
43
|
+
if (value === null) {
|
44
|
+
return null;
|
45
|
+
}
|
46
|
+
return {
|
47
|
+
'group': value.group,
|
48
|
+
};
|
49
|
+
}
|
50
|
+
exports.MicrosoftEntraProviderGroupRequestToJSON = MicrosoftEntraProviderGroupRequestToJSON;
|
@@ -0,0 +1,73 @@
|
|
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
|
+
* MicrosoftEntraProviderMapping Serializer
|
14
|
+
* @export
|
15
|
+
* @interface MicrosoftEntraProviderMapping
|
16
|
+
*/
|
17
|
+
export interface MicrosoftEntraProviderMapping {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof MicrosoftEntraProviderMapping
|
22
|
+
*/
|
23
|
+
readonly pk: string;
|
24
|
+
/**
|
25
|
+
* 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.
|
26
|
+
* @type {string}
|
27
|
+
* @memberof MicrosoftEntraProviderMapping
|
28
|
+
*/
|
29
|
+
managed?: string | null;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof MicrosoftEntraProviderMapping
|
34
|
+
*/
|
35
|
+
name: string;
|
36
|
+
/**
|
37
|
+
*
|
38
|
+
* @type {string}
|
39
|
+
* @memberof MicrosoftEntraProviderMapping
|
40
|
+
*/
|
41
|
+
expression: string;
|
42
|
+
/**
|
43
|
+
* Get object's component so that we know how to edit the object
|
44
|
+
* @type {string}
|
45
|
+
* @memberof MicrosoftEntraProviderMapping
|
46
|
+
*/
|
47
|
+
readonly component: string;
|
48
|
+
/**
|
49
|
+
* Return object's verbose_name
|
50
|
+
* @type {string}
|
51
|
+
* @memberof MicrosoftEntraProviderMapping
|
52
|
+
*/
|
53
|
+
readonly verboseName: string;
|
54
|
+
/**
|
55
|
+
* Return object's plural verbose_name
|
56
|
+
* @type {string}
|
57
|
+
* @memberof MicrosoftEntraProviderMapping
|
58
|
+
*/
|
59
|
+
readonly verboseNamePlural: string;
|
60
|
+
/**
|
61
|
+
* Return internal model name
|
62
|
+
* @type {string}
|
63
|
+
* @memberof MicrosoftEntraProviderMapping
|
64
|
+
*/
|
65
|
+
readonly metaModelName: string;
|
66
|
+
}
|
67
|
+
/**
|
68
|
+
* Check if a given object implements the MicrosoftEntraProviderMapping interface.
|
69
|
+
*/
|
70
|
+
export declare function instanceOfMicrosoftEntraProviderMapping(value: object): boolean;
|
71
|
+
export declare function MicrosoftEntraProviderMappingFromJSON(json: any): MicrosoftEntraProviderMapping;
|
72
|
+
export declare function MicrosoftEntraProviderMappingFromJSONTyped(json: any, ignoreDiscriminator: boolean): MicrosoftEntraProviderMapping;
|
73
|
+
export declare function MicrosoftEntraProviderMappingToJSON(value?: MicrosoftEntraProviderMapping | null): any;
|
@@ -0,0 +1,66 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.4.2
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.MicrosoftEntraProviderMappingToJSON = exports.MicrosoftEntraProviderMappingFromJSONTyped = exports.MicrosoftEntraProviderMappingFromJSON = exports.instanceOfMicrosoftEntraProviderMapping = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the MicrosoftEntraProviderMapping interface.
|
20
|
+
*/
|
21
|
+
function instanceOfMicrosoftEntraProviderMapping(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
isInstance = isInstance && "pk" in value;
|
24
|
+
isInstance = isInstance && "name" in value;
|
25
|
+
isInstance = isInstance && "expression" in value;
|
26
|
+
isInstance = isInstance && "component" in value;
|
27
|
+
isInstance = isInstance && "verboseName" in value;
|
28
|
+
isInstance = isInstance && "verboseNamePlural" in value;
|
29
|
+
isInstance = isInstance && "metaModelName" in value;
|
30
|
+
return isInstance;
|
31
|
+
}
|
32
|
+
exports.instanceOfMicrosoftEntraProviderMapping = instanceOfMicrosoftEntraProviderMapping;
|
33
|
+
function MicrosoftEntraProviderMappingFromJSON(json) {
|
34
|
+
return MicrosoftEntraProviderMappingFromJSONTyped(json, false);
|
35
|
+
}
|
36
|
+
exports.MicrosoftEntraProviderMappingFromJSON = MicrosoftEntraProviderMappingFromJSON;
|
37
|
+
function MicrosoftEntraProviderMappingFromJSONTyped(json, ignoreDiscriminator) {
|
38
|
+
if ((json === undefined) || (json === null)) {
|
39
|
+
return json;
|
40
|
+
}
|
41
|
+
return {
|
42
|
+
'pk': json['pk'],
|
43
|
+
'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
|
44
|
+
'name': json['name'],
|
45
|
+
'expression': json['expression'],
|
46
|
+
'component': json['component'],
|
47
|
+
'verboseName': json['verbose_name'],
|
48
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
49
|
+
'metaModelName': json['meta_model_name'],
|
50
|
+
};
|
51
|
+
}
|
52
|
+
exports.MicrosoftEntraProviderMappingFromJSONTyped = MicrosoftEntraProviderMappingFromJSONTyped;
|
53
|
+
function MicrosoftEntraProviderMappingToJSON(value) {
|
54
|
+
if (value === undefined) {
|
55
|
+
return undefined;
|
56
|
+
}
|
57
|
+
if (value === null) {
|
58
|
+
return null;
|
59
|
+
}
|
60
|
+
return {
|
61
|
+
'managed': value.managed,
|
62
|
+
'name': value.name,
|
63
|
+
'expression': value.expression,
|
64
|
+
};
|
65
|
+
}
|
66
|
+
exports.MicrosoftEntraProviderMappingToJSON = MicrosoftEntraProviderMappingToJSON;
|
@@ -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
|
+
* MicrosoftEntraProviderMapping Serializer
|
14
|
+
* @export
|
15
|
+
* @interface MicrosoftEntraProviderMappingRequest
|
16
|
+
*/
|
17
|
+
export interface MicrosoftEntraProviderMappingRequest {
|
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 MicrosoftEntraProviderMappingRequest
|
22
|
+
*/
|
23
|
+
managed?: string | null;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof MicrosoftEntraProviderMappingRequest
|
28
|
+
*/
|
29
|
+
name: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof MicrosoftEntraProviderMappingRequest
|
34
|
+
*/
|
35
|
+
expression: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the MicrosoftEntraProviderMappingRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfMicrosoftEntraProviderMappingRequest(value: object): boolean;
|
41
|
+
export declare function MicrosoftEntraProviderMappingRequestFromJSON(json: any): MicrosoftEntraProviderMappingRequest;
|
42
|
+
export declare function MicrosoftEntraProviderMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MicrosoftEntraProviderMappingRequest;
|
43
|
+
export declare function MicrosoftEntraProviderMappingRequestToJSON(value?: MicrosoftEntraProviderMappingRequest | null): any;
|
@@ -0,0 +1,56 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.4.2
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.MicrosoftEntraProviderMappingRequestToJSON = exports.MicrosoftEntraProviderMappingRequestFromJSONTyped = exports.MicrosoftEntraProviderMappingRequestFromJSON = exports.instanceOfMicrosoftEntraProviderMappingRequest = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the MicrosoftEntraProviderMappingRequest interface.
|
20
|
+
*/
|
21
|
+
function instanceOfMicrosoftEntraProviderMappingRequest(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
isInstance = isInstance && "name" in value;
|
24
|
+
isInstance = isInstance && "expression" in value;
|
25
|
+
return isInstance;
|
26
|
+
}
|
27
|
+
exports.instanceOfMicrosoftEntraProviderMappingRequest = instanceOfMicrosoftEntraProviderMappingRequest;
|
28
|
+
function MicrosoftEntraProviderMappingRequestFromJSON(json) {
|
29
|
+
return MicrosoftEntraProviderMappingRequestFromJSONTyped(json, false);
|
30
|
+
}
|
31
|
+
exports.MicrosoftEntraProviderMappingRequestFromJSON = MicrosoftEntraProviderMappingRequestFromJSON;
|
32
|
+
function MicrosoftEntraProviderMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
33
|
+
if ((json === undefined) || (json === null)) {
|
34
|
+
return json;
|
35
|
+
}
|
36
|
+
return {
|
37
|
+
'managed': !(0, runtime_1.exists)(json, 'managed') ? undefined : json['managed'],
|
38
|
+
'name': json['name'],
|
39
|
+
'expression': json['expression'],
|
40
|
+
};
|
41
|
+
}
|
42
|
+
exports.MicrosoftEntraProviderMappingRequestFromJSONTyped = MicrosoftEntraProviderMappingRequestFromJSONTyped;
|
43
|
+
function MicrosoftEntraProviderMappingRequestToJSON(value) {
|
44
|
+
if (value === undefined) {
|
45
|
+
return undefined;
|
46
|
+
}
|
47
|
+
if (value === null) {
|
48
|
+
return null;
|
49
|
+
}
|
50
|
+
return {
|
51
|
+
'managed': value.managed,
|
52
|
+
'name': value.name,
|
53
|
+
'expression': value.expression,
|
54
|
+
};
|
55
|
+
}
|
56
|
+
exports.MicrosoftEntraProviderMappingRequestToJSON = MicrosoftEntraProviderMappingRequestToJSON;
|
@@ -0,0 +1,86 @@
|
|
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 { OutgoingSyncDeleteAction } from './OutgoingSyncDeleteAction';
|
13
|
+
/**
|
14
|
+
* MicrosoftEntraProvider Serializer
|
15
|
+
* @export
|
16
|
+
* @interface MicrosoftEntraProviderRequest
|
17
|
+
*/
|
18
|
+
export interface MicrosoftEntraProviderRequest {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {string}
|
22
|
+
* @memberof MicrosoftEntraProviderRequest
|
23
|
+
*/
|
24
|
+
name: string;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {Array<string>}
|
28
|
+
* @memberof MicrosoftEntraProviderRequest
|
29
|
+
*/
|
30
|
+
propertyMappings?: Array<string>;
|
31
|
+
/**
|
32
|
+
* Property mappings used for group creation/updating.
|
33
|
+
* @type {Array<string>}
|
34
|
+
* @memberof MicrosoftEntraProviderRequest
|
35
|
+
*/
|
36
|
+
propertyMappingsGroup?: Array<string>;
|
37
|
+
/**
|
38
|
+
*
|
39
|
+
* @type {string}
|
40
|
+
* @memberof MicrosoftEntraProviderRequest
|
41
|
+
*/
|
42
|
+
clientId: string;
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* @type {string}
|
46
|
+
* @memberof MicrosoftEntraProviderRequest
|
47
|
+
*/
|
48
|
+
clientSecret: string;
|
49
|
+
/**
|
50
|
+
*
|
51
|
+
* @type {string}
|
52
|
+
* @memberof MicrosoftEntraProviderRequest
|
53
|
+
*/
|
54
|
+
tenantId: string;
|
55
|
+
/**
|
56
|
+
*
|
57
|
+
* @type {boolean}
|
58
|
+
* @memberof MicrosoftEntraProviderRequest
|
59
|
+
*/
|
60
|
+
excludeUsersServiceAccount?: boolean;
|
61
|
+
/**
|
62
|
+
*
|
63
|
+
* @type {string}
|
64
|
+
* @memberof MicrosoftEntraProviderRequest
|
65
|
+
*/
|
66
|
+
filterGroup?: string | null;
|
67
|
+
/**
|
68
|
+
*
|
69
|
+
* @type {OutgoingSyncDeleteAction}
|
70
|
+
* @memberof MicrosoftEntraProviderRequest
|
71
|
+
*/
|
72
|
+
userDeleteAction?: OutgoingSyncDeleteAction;
|
73
|
+
/**
|
74
|
+
*
|
75
|
+
* @type {OutgoingSyncDeleteAction}
|
76
|
+
* @memberof MicrosoftEntraProviderRequest
|
77
|
+
*/
|
78
|
+
groupDeleteAction?: OutgoingSyncDeleteAction;
|
79
|
+
}
|
80
|
+
/**
|
81
|
+
* Check if a given object implements the MicrosoftEntraProviderRequest interface.
|
82
|
+
*/
|
83
|
+
export declare function instanceOfMicrosoftEntraProviderRequest(value: object): boolean;
|
84
|
+
export declare function MicrosoftEntraProviderRequestFromJSON(json: any): MicrosoftEntraProviderRequest;
|
85
|
+
export declare function MicrosoftEntraProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MicrosoftEntraProviderRequest;
|
86
|
+
export declare function MicrosoftEntraProviderRequestToJSON(value?: MicrosoftEntraProviderRequest | null): any;
|
@@ -0,0 +1,73 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.4.2
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.MicrosoftEntraProviderRequestToJSON = exports.MicrosoftEntraProviderRequestFromJSONTyped = exports.MicrosoftEntraProviderRequestFromJSON = exports.instanceOfMicrosoftEntraProviderRequest = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
const OutgoingSyncDeleteAction_1 = require("./OutgoingSyncDeleteAction");
|
19
|
+
/**
|
20
|
+
* Check if a given object implements the MicrosoftEntraProviderRequest interface.
|
21
|
+
*/
|
22
|
+
function instanceOfMicrosoftEntraProviderRequest(value) {
|
23
|
+
let isInstance = true;
|
24
|
+
isInstance = isInstance && "name" in value;
|
25
|
+
isInstance = isInstance && "clientId" in value;
|
26
|
+
isInstance = isInstance && "clientSecret" in value;
|
27
|
+
isInstance = isInstance && "tenantId" in value;
|
28
|
+
return isInstance;
|
29
|
+
}
|
30
|
+
exports.instanceOfMicrosoftEntraProviderRequest = instanceOfMicrosoftEntraProviderRequest;
|
31
|
+
function MicrosoftEntraProviderRequestFromJSON(json) {
|
32
|
+
return MicrosoftEntraProviderRequestFromJSONTyped(json, false);
|
33
|
+
}
|
34
|
+
exports.MicrosoftEntraProviderRequestFromJSON = MicrosoftEntraProviderRequestFromJSON;
|
35
|
+
function MicrosoftEntraProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
36
|
+
if ((json === undefined) || (json === null)) {
|
37
|
+
return json;
|
38
|
+
}
|
39
|
+
return {
|
40
|
+
'name': json['name'],
|
41
|
+
'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
|
42
|
+
'propertyMappingsGroup': !(0, runtime_1.exists)(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
|
43
|
+
'clientId': json['client_id'],
|
44
|
+
'clientSecret': json['client_secret'],
|
45
|
+
'tenantId': json['tenant_id'],
|
46
|
+
'excludeUsersServiceAccount': !(0, runtime_1.exists)(json, 'exclude_users_service_account') ? undefined : json['exclude_users_service_account'],
|
47
|
+
'filterGroup': !(0, runtime_1.exists)(json, 'filter_group') ? undefined : json['filter_group'],
|
48
|
+
'userDeleteAction': !(0, runtime_1.exists)(json, 'user_delete_action') ? undefined : (0, OutgoingSyncDeleteAction_1.OutgoingSyncDeleteActionFromJSON)(json['user_delete_action']),
|
49
|
+
'groupDeleteAction': !(0, runtime_1.exists)(json, 'group_delete_action') ? undefined : (0, OutgoingSyncDeleteAction_1.OutgoingSyncDeleteActionFromJSON)(json['group_delete_action']),
|
50
|
+
};
|
51
|
+
}
|
52
|
+
exports.MicrosoftEntraProviderRequestFromJSONTyped = MicrosoftEntraProviderRequestFromJSONTyped;
|
53
|
+
function MicrosoftEntraProviderRequestToJSON(value) {
|
54
|
+
if (value === undefined) {
|
55
|
+
return undefined;
|
56
|
+
}
|
57
|
+
if (value === null) {
|
58
|
+
return null;
|
59
|
+
}
|
60
|
+
return {
|
61
|
+
'name': value.name,
|
62
|
+
'property_mappings': value.propertyMappings,
|
63
|
+
'property_mappings_group': value.propertyMappingsGroup,
|
64
|
+
'client_id': value.clientId,
|
65
|
+
'client_secret': value.clientSecret,
|
66
|
+
'tenant_id': value.tenantId,
|
67
|
+
'exclude_users_service_account': value.excludeUsersServiceAccount,
|
68
|
+
'filter_group': value.filterGroup,
|
69
|
+
'user_delete_action': (0, OutgoingSyncDeleteAction_1.OutgoingSyncDeleteActionToJSON)(value.userDeleteAction),
|
70
|
+
'group_delete_action': (0, OutgoingSyncDeleteAction_1.OutgoingSyncDeleteActionToJSON)(value.groupDeleteAction),
|
71
|
+
};
|
72
|
+
}
|
73
|
+
exports.MicrosoftEntraProviderRequestToJSON = MicrosoftEntraProviderRequestToJSON;
|
@@ -0,0 +1,44 @@
|
|
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 { GroupMember } from './GroupMember';
|
13
|
+
/**
|
14
|
+
* MicrosoftEntraProviderUser Serializer
|
15
|
+
* @export
|
16
|
+
* @interface MicrosoftEntraProviderUser
|
17
|
+
*/
|
18
|
+
export interface MicrosoftEntraProviderUser {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {string}
|
22
|
+
* @memberof MicrosoftEntraProviderUser
|
23
|
+
*/
|
24
|
+
readonly id: string;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {number}
|
28
|
+
* @memberof MicrosoftEntraProviderUser
|
29
|
+
*/
|
30
|
+
user: number;
|
31
|
+
/**
|
32
|
+
*
|
33
|
+
* @type {GroupMember}
|
34
|
+
* @memberof MicrosoftEntraProviderUser
|
35
|
+
*/
|
36
|
+
readonly userObj: GroupMember;
|
37
|
+
}
|
38
|
+
/**
|
39
|
+
* Check if a given object implements the MicrosoftEntraProviderUser interface.
|
40
|
+
*/
|
41
|
+
export declare function instanceOfMicrosoftEntraProviderUser(value: object): boolean;
|
42
|
+
export declare function MicrosoftEntraProviderUserFromJSON(json: any): MicrosoftEntraProviderUser;
|
43
|
+
export declare function MicrosoftEntraProviderUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): MicrosoftEntraProviderUser;
|
44
|
+
export declare function MicrosoftEntraProviderUserToJSON(value?: MicrosoftEntraProviderUser | null): any;
|
@@ -0,0 +1,55 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.4.2
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.MicrosoftEntraProviderUserToJSON = exports.MicrosoftEntraProviderUserFromJSONTyped = exports.MicrosoftEntraProviderUserFromJSON = exports.instanceOfMicrosoftEntraProviderUser = void 0;
|
17
|
+
const GroupMember_1 = require("./GroupMember");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the MicrosoftEntraProviderUser interface.
|
20
|
+
*/
|
21
|
+
function instanceOfMicrosoftEntraProviderUser(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
isInstance = isInstance && "id" in value;
|
24
|
+
isInstance = isInstance && "user" in value;
|
25
|
+
isInstance = isInstance && "userObj" in value;
|
26
|
+
return isInstance;
|
27
|
+
}
|
28
|
+
exports.instanceOfMicrosoftEntraProviderUser = instanceOfMicrosoftEntraProviderUser;
|
29
|
+
function MicrosoftEntraProviderUserFromJSON(json) {
|
30
|
+
return MicrosoftEntraProviderUserFromJSONTyped(json, false);
|
31
|
+
}
|
32
|
+
exports.MicrosoftEntraProviderUserFromJSON = MicrosoftEntraProviderUserFromJSON;
|
33
|
+
function MicrosoftEntraProviderUserFromJSONTyped(json, ignoreDiscriminator) {
|
34
|
+
if ((json === undefined) || (json === null)) {
|
35
|
+
return json;
|
36
|
+
}
|
37
|
+
return {
|
38
|
+
'id': json['id'],
|
39
|
+
'user': json['user'],
|
40
|
+
'userObj': (0, GroupMember_1.GroupMemberFromJSON)(json['user_obj']),
|
41
|
+
};
|
42
|
+
}
|
43
|
+
exports.MicrosoftEntraProviderUserFromJSONTyped = MicrosoftEntraProviderUserFromJSONTyped;
|
44
|
+
function MicrosoftEntraProviderUserToJSON(value) {
|
45
|
+
if (value === undefined) {
|
46
|
+
return undefined;
|
47
|
+
}
|
48
|
+
if (value === null) {
|
49
|
+
return null;
|
50
|
+
}
|
51
|
+
return {
|
52
|
+
'user': value.user,
|
53
|
+
};
|
54
|
+
}
|
55
|
+
exports.MicrosoftEntraProviderUserToJSON = MicrosoftEntraProviderUserToJSON;
|
@@ -0,0 +1,31 @@
|
|
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
|
+
* MicrosoftEntraProviderUser Serializer
|
14
|
+
* @export
|
15
|
+
* @interface MicrosoftEntraProviderUserRequest
|
16
|
+
*/
|
17
|
+
export interface MicrosoftEntraProviderUserRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {number}
|
21
|
+
* @memberof MicrosoftEntraProviderUserRequest
|
22
|
+
*/
|
23
|
+
user: number;
|
24
|
+
}
|
25
|
+
/**
|
26
|
+
* Check if a given object implements the MicrosoftEntraProviderUserRequest interface.
|
27
|
+
*/
|
28
|
+
export declare function instanceOfMicrosoftEntraProviderUserRequest(value: object): boolean;
|
29
|
+
export declare function MicrosoftEntraProviderUserRequestFromJSON(json: any): MicrosoftEntraProviderUserRequest;
|
30
|
+
export declare function MicrosoftEntraProviderUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MicrosoftEntraProviderUserRequest;
|
31
|
+
export declare function MicrosoftEntraProviderUserRequestToJSON(value?: MicrosoftEntraProviderUserRequest | null): any;
|
@@ -0,0 +1,50 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.4.2
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.MicrosoftEntraProviderUserRequestToJSON = exports.MicrosoftEntraProviderUserRequestFromJSONTyped = exports.MicrosoftEntraProviderUserRequestFromJSON = exports.instanceOfMicrosoftEntraProviderUserRequest = void 0;
|
17
|
+
/**
|
18
|
+
* Check if a given object implements the MicrosoftEntraProviderUserRequest interface.
|
19
|
+
*/
|
20
|
+
function instanceOfMicrosoftEntraProviderUserRequest(value) {
|
21
|
+
let isInstance = true;
|
22
|
+
isInstance = isInstance && "user" in value;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
exports.instanceOfMicrosoftEntraProviderUserRequest = instanceOfMicrosoftEntraProviderUserRequest;
|
26
|
+
function MicrosoftEntraProviderUserRequestFromJSON(json) {
|
27
|
+
return MicrosoftEntraProviderUserRequestFromJSONTyped(json, false);
|
28
|
+
}
|
29
|
+
exports.MicrosoftEntraProviderUserRequestFromJSON = MicrosoftEntraProviderUserRequestFromJSON;
|
30
|
+
function MicrosoftEntraProviderUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
31
|
+
if ((json === undefined) || (json === null)) {
|
32
|
+
return json;
|
33
|
+
}
|
34
|
+
return {
|
35
|
+
'user': json['user'],
|
36
|
+
};
|
37
|
+
}
|
38
|
+
exports.MicrosoftEntraProviderUserRequestFromJSONTyped = MicrosoftEntraProviderUserRequestFromJSONTyped;
|
39
|
+
function MicrosoftEntraProviderUserRequestToJSON(value) {
|
40
|
+
if (value === undefined) {
|
41
|
+
return undefined;
|
42
|
+
}
|
43
|
+
if (value === null) {
|
44
|
+
return null;
|
45
|
+
}
|
46
|
+
return {
|
47
|
+
'user': value.user,
|
48
|
+
};
|
49
|
+
}
|
50
|
+
exports.MicrosoftEntraProviderUserRequestToJSON = MicrosoftEntraProviderUserRequestToJSON;
|
@@ -81,6 +81,10 @@ export declare const ModelEnum: {
|
|
81
81
|
readonly CoreApplication: "authentik_core.application";
|
82
82
|
readonly CoreToken: "authentik_core.token";
|
83
83
|
readonly EnterpriseLicense: "authentik_enterprise.license";
|
84
|
+
readonly ProvidersGoogleWorkspaceGoogleworkspaceprovider: "authentik_providers_google_workspace.googleworkspaceprovider";
|
85
|
+
readonly ProvidersGoogleWorkspaceGoogleworkspaceprovidermapping: "authentik_providers_google_workspace.googleworkspaceprovidermapping";
|
86
|
+
readonly ProvidersMicrosoftEntraMicrosoftentraprovider: "authentik_providers_microsoft_entra.microsoftentraprovider";
|
87
|
+
readonly ProvidersMicrosoftEntraMicrosoftentraprovidermapping: "authentik_providers_microsoft_entra.microsoftentraprovidermapping";
|
84
88
|
readonly ProvidersRacRacprovider: "authentik_providers_rac.racprovider";
|
85
89
|
readonly ProvidersRacEndpoint: "authentik_providers_rac.endpoint";
|
86
90
|
readonly ProvidersRacRacpropertymapping: "authentik_providers_rac.racpropertymapping";
|