@goauthentik/api 2024.4.2-1717493155 → 2024.4.2-1717645682
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 +6 -0
- package/dist/apis/ProvidersApi.d.ts +123 -1
- package/dist/apis/ProvidersApi.js +388 -0
- package/dist/esm/apis/ProvidersApi.d.ts +123 -1
- package/dist/esm/apis/ProvidersApi.js +389 -1
- package/dist/esm/models/GoogleWorkspaceProviderGroup.d.ts +6 -0
- package/dist/esm/models/GoogleWorkspaceProviderGroup.js +3 -0
- package/dist/esm/models/GoogleWorkspaceProviderGroupRequest.d.ts +6 -0
- package/dist/esm/models/GoogleWorkspaceProviderGroupRequest.js +3 -0
- package/dist/esm/models/GoogleWorkspaceProviderUser.d.ts +6 -0
- package/dist/esm/models/GoogleWorkspaceProviderUser.js +3 -0
- package/dist/esm/models/GoogleWorkspaceProviderUserRequest.d.ts +6 -0
- package/dist/esm/models/GoogleWorkspaceProviderUserRequest.js +3 -0
- package/dist/esm/models/MicrosoftEntraProviderGroup.d.ts +6 -0
- package/dist/esm/models/MicrosoftEntraProviderGroup.js +3 -0
- package/dist/esm/models/MicrosoftEntraProviderGroupRequest.d.ts +6 -0
- package/dist/esm/models/MicrosoftEntraProviderGroupRequest.js +3 -0
- package/dist/esm/models/MicrosoftEntraProviderUser.d.ts +6 -0
- package/dist/esm/models/MicrosoftEntraProviderUser.js +3 -0
- package/dist/esm/models/MicrosoftEntraProviderUserRequest.d.ts +6 -0
- package/dist/esm/models/MicrosoftEntraProviderUserRequest.js +3 -0
- package/dist/esm/models/PaginatedSCIMProviderGroupList.d.ts +39 -0
- package/dist/esm/models/PaginatedSCIMProviderGroupList.js +48 -0
- package/dist/esm/models/PaginatedSCIMProviderUserList.d.ts +39 -0
- package/dist/esm/models/PaginatedSCIMProviderUserList.js +48 -0
- package/dist/esm/models/PropertyMappingTestRequest.d.ts +2 -2
- package/dist/esm/models/SCIMProviderGroup.d.ts +56 -0
- package/dist/esm/models/SCIMProviderGroup.js +54 -0
- package/dist/esm/models/SCIMProviderGroupRequest.d.ts +43 -0
- package/dist/esm/models/SCIMProviderGroupRequest.js +49 -0
- package/dist/esm/models/SCIMProviderUser.d.ts +56 -0
- package/dist/esm/models/SCIMProviderUser.js +54 -0
- package/dist/esm/models/SCIMProviderUserRequest.d.ts +43 -0
- package/dist/esm/models/SCIMProviderUserRequest.js +49 -0
- package/dist/esm/models/index.d.ts +6 -0
- package/dist/esm/models/index.js +6 -0
- package/dist/models/GoogleWorkspaceProviderGroup.d.ts +6 -0
- package/dist/models/GoogleWorkspaceProviderGroup.js +3 -0
- package/dist/models/GoogleWorkspaceProviderGroupRequest.d.ts +6 -0
- package/dist/models/GoogleWorkspaceProviderGroupRequest.js +3 -0
- package/dist/models/GoogleWorkspaceProviderUser.d.ts +6 -0
- package/dist/models/GoogleWorkspaceProviderUser.js +3 -0
- package/dist/models/GoogleWorkspaceProviderUserRequest.d.ts +6 -0
- package/dist/models/GoogleWorkspaceProviderUserRequest.js +3 -0
- package/dist/models/MicrosoftEntraProviderGroup.d.ts +6 -0
- package/dist/models/MicrosoftEntraProviderGroup.js +3 -0
- package/dist/models/MicrosoftEntraProviderGroupRequest.d.ts +6 -0
- package/dist/models/MicrosoftEntraProviderGroupRequest.js +3 -0
- package/dist/models/MicrosoftEntraProviderUser.d.ts +6 -0
- package/dist/models/MicrosoftEntraProviderUser.js +3 -0
- package/dist/models/MicrosoftEntraProviderUserRequest.d.ts +6 -0
- package/dist/models/MicrosoftEntraProviderUserRequest.js +3 -0
- package/dist/models/PaginatedSCIMProviderGroupList.d.ts +39 -0
- package/dist/models/PaginatedSCIMProviderGroupList.js +55 -0
- package/dist/models/PaginatedSCIMProviderUserList.d.ts +39 -0
- package/dist/models/PaginatedSCIMProviderUserList.js +55 -0
- package/dist/models/PropertyMappingTestRequest.d.ts +2 -2
- package/dist/models/SCIMProviderGroup.d.ts +56 -0
- package/dist/models/SCIMProviderGroup.js +61 -0
- package/dist/models/SCIMProviderGroupRequest.d.ts +43 -0
- package/dist/models/SCIMProviderGroupRequest.js +56 -0
- package/dist/models/SCIMProviderUser.d.ts +56 -0
- package/dist/models/SCIMProviderUser.js +61 -0
- package/dist/models/SCIMProviderUserRequest.d.ts +43 -0
- package/dist/models/SCIMProviderUserRequest.js +56 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/package.json +1 -1
- package/src/apis/ProvidersApi.ts +502 -0
- package/src/models/GoogleWorkspaceProviderGroup.ts +9 -0
- package/src/models/GoogleWorkspaceProviderGroupRequest.ts +9 -0
- package/src/models/GoogleWorkspaceProviderUser.ts +9 -0
- package/src/models/GoogleWorkspaceProviderUserRequest.ts +9 -0
- package/src/models/MicrosoftEntraProviderGroup.ts +9 -0
- package/src/models/MicrosoftEntraProviderGroupRequest.ts +9 -0
- package/src/models/MicrosoftEntraProviderUser.ts +9 -0
- package/src/models/MicrosoftEntraProviderUserRequest.ts +9 -0
- package/src/models/PaginatedSCIMProviderGroupList.ts +88 -0
- package/src/models/PaginatedSCIMProviderUserList.ts +88 -0
- package/src/models/PropertyMappingTestRequest.ts +2 -2
- package/src/models/SCIMProviderGroup.ts +107 -0
- package/src/models/SCIMProviderGroupRequest.ts +84 -0
- package/src/models/SCIMProviderUser.ts +107 -0
- package/src/models/SCIMProviderUserRequest.ts +84 -0
- package/src/models/index.ts +6 -0
|
@@ -0,0 +1,54 @@
|
|
|
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 { GroupMemberFromJSON, } from './GroupMember';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the SCIMProviderUser interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfSCIMProviderUser(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "id" in value;
|
|
21
|
+
isInstance = isInstance && "scimId" in value;
|
|
22
|
+
isInstance = isInstance && "user" in value;
|
|
23
|
+
isInstance = isInstance && "userObj" in value;
|
|
24
|
+
isInstance = isInstance && "provider" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
export function SCIMProviderUserFromJSON(json) {
|
|
28
|
+
return SCIMProviderUserFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function SCIMProviderUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'],
|
|
36
|
+
'scimId': json['scim_id'],
|
|
37
|
+
'user': json['user'],
|
|
38
|
+
'userObj': GroupMemberFromJSON(json['user_obj']),
|
|
39
|
+
'provider': json['provider'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function SCIMProviderUserToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'scim_id': value.scimId,
|
|
51
|
+
'user': value.user,
|
|
52
|
+
'provider': value.provider,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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
|
+
* SCIMProviderUser Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SCIMProviderUserRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SCIMProviderUserRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SCIMProviderUserRequest
|
|
22
|
+
*/
|
|
23
|
+
scimId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SCIMProviderUserRequest
|
|
28
|
+
*/
|
|
29
|
+
user: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SCIMProviderUserRequest
|
|
34
|
+
*/
|
|
35
|
+
provider: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SCIMProviderUserRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSCIMProviderUserRequest(value: object): boolean;
|
|
41
|
+
export declare function SCIMProviderUserRequestFromJSON(json: any): SCIMProviderUserRequest;
|
|
42
|
+
export declare function SCIMProviderUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SCIMProviderUserRequest;
|
|
43
|
+
export declare function SCIMProviderUserRequestToJSON(value?: SCIMProviderUserRequest | 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.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
|
+
/**
|
|
15
|
+
* Check if a given object implements the SCIMProviderUserRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSCIMProviderUserRequest(value) {
|
|
18
|
+
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "scimId" in value;
|
|
20
|
+
isInstance = isInstance && "user" in value;
|
|
21
|
+
isInstance = isInstance && "provider" in value;
|
|
22
|
+
return isInstance;
|
|
23
|
+
}
|
|
24
|
+
export function SCIMProviderUserRequestFromJSON(json) {
|
|
25
|
+
return SCIMProviderUserRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function SCIMProviderUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if ((json === undefined) || (json === null)) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'scimId': json['scim_id'],
|
|
33
|
+
'user': json['user'],
|
|
34
|
+
'provider': json['provider'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function SCIMProviderUserRequestToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'scim_id': value.scimId,
|
|
46
|
+
'user': value.user,
|
|
47
|
+
'provider': value.provider,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -305,7 +305,9 @@ export * from './PaginatedSAMLPropertyMappingList';
|
|
|
305
305
|
export * from './PaginatedSAMLProviderList';
|
|
306
306
|
export * from './PaginatedSAMLSourceList';
|
|
307
307
|
export * from './PaginatedSCIMMappingList';
|
|
308
|
+
export * from './PaginatedSCIMProviderGroupList';
|
|
308
309
|
export * from './PaginatedSCIMProviderList';
|
|
310
|
+
export * from './PaginatedSCIMProviderUserList';
|
|
309
311
|
export * from './PaginatedSCIMSourceGroupList';
|
|
310
312
|
export * from './PaginatedSCIMSourceList';
|
|
311
313
|
export * from './PaginatedSCIMSourceUserList';
|
|
@@ -490,7 +492,11 @@ export * from './SAMLSourceRequest';
|
|
|
490
492
|
export * from './SCIMMapping';
|
|
491
493
|
export * from './SCIMMappingRequest';
|
|
492
494
|
export * from './SCIMProvider';
|
|
495
|
+
export * from './SCIMProviderGroup';
|
|
496
|
+
export * from './SCIMProviderGroupRequest';
|
|
493
497
|
export * from './SCIMProviderRequest';
|
|
498
|
+
export * from './SCIMProviderUser';
|
|
499
|
+
export * from './SCIMProviderUserRequest';
|
|
494
500
|
export * from './SCIMSource';
|
|
495
501
|
export * from './SCIMSourceGroup';
|
|
496
502
|
export * from './SCIMSourceGroupRequest';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -307,7 +307,9 @@ export * from './PaginatedSAMLPropertyMappingList';
|
|
|
307
307
|
export * from './PaginatedSAMLProviderList';
|
|
308
308
|
export * from './PaginatedSAMLSourceList';
|
|
309
309
|
export * from './PaginatedSCIMMappingList';
|
|
310
|
+
export * from './PaginatedSCIMProviderGroupList';
|
|
310
311
|
export * from './PaginatedSCIMProviderList';
|
|
312
|
+
export * from './PaginatedSCIMProviderUserList';
|
|
311
313
|
export * from './PaginatedSCIMSourceGroupList';
|
|
312
314
|
export * from './PaginatedSCIMSourceList';
|
|
313
315
|
export * from './PaginatedSCIMSourceUserList';
|
|
@@ -492,7 +494,11 @@ export * from './SAMLSourceRequest';
|
|
|
492
494
|
export * from './SCIMMapping';
|
|
493
495
|
export * from './SCIMMappingRequest';
|
|
494
496
|
export * from './SCIMProvider';
|
|
497
|
+
export * from './SCIMProviderGroup';
|
|
498
|
+
export * from './SCIMProviderGroupRequest';
|
|
495
499
|
export * from './SCIMProviderRequest';
|
|
500
|
+
export * from './SCIMProviderUser';
|
|
501
|
+
export * from './SCIMProviderUserRequest';
|
|
496
502
|
export * from './SCIMSource';
|
|
497
503
|
export * from './SCIMSourceGroup';
|
|
498
504
|
export * from './SCIMSourceGroupRequest';
|
|
@@ -22,6 +22,12 @@ export interface GoogleWorkspaceProviderGroup {
|
|
|
22
22
|
* @memberof GoogleWorkspaceProviderGroup
|
|
23
23
|
*/
|
|
24
24
|
readonly id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GoogleWorkspaceProviderGroup
|
|
29
|
+
*/
|
|
30
|
+
googleId: string;
|
|
25
31
|
/**
|
|
26
32
|
*
|
|
27
33
|
* @type {string}
|
|
@@ -21,6 +21,7 @@ const UserGroup_1 = require("./UserGroup");
|
|
|
21
21
|
function instanceOfGoogleWorkspaceProviderGroup(value) {
|
|
22
22
|
let isInstance = true;
|
|
23
23
|
isInstance = isInstance && "id" in value;
|
|
24
|
+
isInstance = isInstance && "googleId" in value;
|
|
24
25
|
isInstance = isInstance && "group" in value;
|
|
25
26
|
isInstance = isInstance && "groupObj" in value;
|
|
26
27
|
isInstance = isInstance && "provider" in value;
|
|
@@ -38,6 +39,7 @@ function GoogleWorkspaceProviderGroupFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
39
|
}
|
|
39
40
|
return {
|
|
40
41
|
'id': json['id'],
|
|
42
|
+
'googleId': json['google_id'],
|
|
41
43
|
'group': json['group'],
|
|
42
44
|
'groupObj': (0, UserGroup_1.UserGroupFromJSON)(json['group_obj']),
|
|
43
45
|
'provider': json['provider'],
|
|
@@ -53,6 +55,7 @@ function GoogleWorkspaceProviderGroupToJSON(value) {
|
|
|
53
55
|
return null;
|
|
54
56
|
}
|
|
55
57
|
return {
|
|
58
|
+
'google_id': value.googleId,
|
|
56
59
|
'group': value.group,
|
|
57
60
|
'provider': value.provider,
|
|
58
61
|
};
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* @interface GoogleWorkspaceProviderGroupRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface GoogleWorkspaceProviderGroupRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GoogleWorkspaceProviderGroupRequest
|
|
22
|
+
*/
|
|
23
|
+
googleId: string;
|
|
18
24
|
/**
|
|
19
25
|
*
|
|
20
26
|
* @type {string}
|
|
@@ -19,6 +19,7 @@ exports.GoogleWorkspaceProviderGroupRequestToJSON = exports.GoogleWorkspaceProvi
|
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfGoogleWorkspaceProviderGroupRequest(value) {
|
|
21
21
|
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "googleId" in value;
|
|
22
23
|
isInstance = isInstance && "group" in value;
|
|
23
24
|
isInstance = isInstance && "provider" in value;
|
|
24
25
|
return isInstance;
|
|
@@ -33,6 +34,7 @@ function GoogleWorkspaceProviderGroupRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
33
34
|
return json;
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
37
|
+
'googleId': json['google_id'],
|
|
36
38
|
'group': json['group'],
|
|
37
39
|
'provider': json['provider'],
|
|
38
40
|
};
|
|
@@ -46,6 +48,7 @@ function GoogleWorkspaceProviderGroupRequestToJSON(value) {
|
|
|
46
48
|
return null;
|
|
47
49
|
}
|
|
48
50
|
return {
|
|
51
|
+
'google_id': value.googleId,
|
|
49
52
|
'group': value.group,
|
|
50
53
|
'provider': value.provider,
|
|
51
54
|
};
|
|
@@ -22,6 +22,12 @@ export interface GoogleWorkspaceProviderUser {
|
|
|
22
22
|
* @memberof GoogleWorkspaceProviderUser
|
|
23
23
|
*/
|
|
24
24
|
readonly id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GoogleWorkspaceProviderUser
|
|
29
|
+
*/
|
|
30
|
+
googleId: string;
|
|
25
31
|
/**
|
|
26
32
|
*
|
|
27
33
|
* @type {number}
|
|
@@ -21,6 +21,7 @@ const GroupMember_1 = require("./GroupMember");
|
|
|
21
21
|
function instanceOfGoogleWorkspaceProviderUser(value) {
|
|
22
22
|
let isInstance = true;
|
|
23
23
|
isInstance = isInstance && "id" in value;
|
|
24
|
+
isInstance = isInstance && "googleId" in value;
|
|
24
25
|
isInstance = isInstance && "user" in value;
|
|
25
26
|
isInstance = isInstance && "userObj" in value;
|
|
26
27
|
isInstance = isInstance && "provider" in value;
|
|
@@ -38,6 +39,7 @@ function GoogleWorkspaceProviderUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
39
|
}
|
|
39
40
|
return {
|
|
40
41
|
'id': json['id'],
|
|
42
|
+
'googleId': json['google_id'],
|
|
41
43
|
'user': json['user'],
|
|
42
44
|
'userObj': (0, GroupMember_1.GroupMemberFromJSON)(json['user_obj']),
|
|
43
45
|
'provider': json['provider'],
|
|
@@ -53,6 +55,7 @@ function GoogleWorkspaceProviderUserToJSON(value) {
|
|
|
53
55
|
return null;
|
|
54
56
|
}
|
|
55
57
|
return {
|
|
58
|
+
'google_id': value.googleId,
|
|
56
59
|
'user': value.user,
|
|
57
60
|
'provider': value.provider,
|
|
58
61
|
};
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* @interface GoogleWorkspaceProviderUserRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface GoogleWorkspaceProviderUserRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GoogleWorkspaceProviderUserRequest
|
|
22
|
+
*/
|
|
23
|
+
googleId: string;
|
|
18
24
|
/**
|
|
19
25
|
*
|
|
20
26
|
* @type {number}
|
|
@@ -19,6 +19,7 @@ exports.GoogleWorkspaceProviderUserRequestToJSON = exports.GoogleWorkspaceProvid
|
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfGoogleWorkspaceProviderUserRequest(value) {
|
|
21
21
|
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "googleId" in value;
|
|
22
23
|
isInstance = isInstance && "user" in value;
|
|
23
24
|
isInstance = isInstance && "provider" in value;
|
|
24
25
|
return isInstance;
|
|
@@ -33,6 +34,7 @@ function GoogleWorkspaceProviderUserRequestFromJSONTyped(json, ignoreDiscriminat
|
|
|
33
34
|
return json;
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
37
|
+
'googleId': json['google_id'],
|
|
36
38
|
'user': json['user'],
|
|
37
39
|
'provider': json['provider'],
|
|
38
40
|
};
|
|
@@ -46,6 +48,7 @@ function GoogleWorkspaceProviderUserRequestToJSON(value) {
|
|
|
46
48
|
return null;
|
|
47
49
|
}
|
|
48
50
|
return {
|
|
51
|
+
'google_id': value.googleId,
|
|
49
52
|
'user': value.user,
|
|
50
53
|
'provider': value.provider,
|
|
51
54
|
};
|
|
@@ -22,6 +22,12 @@ export interface MicrosoftEntraProviderGroup {
|
|
|
22
22
|
* @memberof MicrosoftEntraProviderGroup
|
|
23
23
|
*/
|
|
24
24
|
readonly id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof MicrosoftEntraProviderGroup
|
|
29
|
+
*/
|
|
30
|
+
microsoftId: string;
|
|
25
31
|
/**
|
|
26
32
|
*
|
|
27
33
|
* @type {string}
|
|
@@ -21,6 +21,7 @@ const UserGroup_1 = require("./UserGroup");
|
|
|
21
21
|
function instanceOfMicrosoftEntraProviderGroup(value) {
|
|
22
22
|
let isInstance = true;
|
|
23
23
|
isInstance = isInstance && "id" in value;
|
|
24
|
+
isInstance = isInstance && "microsoftId" in value;
|
|
24
25
|
isInstance = isInstance && "group" in value;
|
|
25
26
|
isInstance = isInstance && "groupObj" in value;
|
|
26
27
|
isInstance = isInstance && "provider" in value;
|
|
@@ -38,6 +39,7 @@ function MicrosoftEntraProviderGroupFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
39
|
}
|
|
39
40
|
return {
|
|
40
41
|
'id': json['id'],
|
|
42
|
+
'microsoftId': json['microsoft_id'],
|
|
41
43
|
'group': json['group'],
|
|
42
44
|
'groupObj': (0, UserGroup_1.UserGroupFromJSON)(json['group_obj']),
|
|
43
45
|
'provider': json['provider'],
|
|
@@ -53,6 +55,7 @@ function MicrosoftEntraProviderGroupToJSON(value) {
|
|
|
53
55
|
return null;
|
|
54
56
|
}
|
|
55
57
|
return {
|
|
58
|
+
'microsoft_id': value.microsoftId,
|
|
56
59
|
'group': value.group,
|
|
57
60
|
'provider': value.provider,
|
|
58
61
|
};
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* @interface MicrosoftEntraProviderGroupRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface MicrosoftEntraProviderGroupRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MicrosoftEntraProviderGroupRequest
|
|
22
|
+
*/
|
|
23
|
+
microsoftId: string;
|
|
18
24
|
/**
|
|
19
25
|
*
|
|
20
26
|
* @type {string}
|
|
@@ -19,6 +19,7 @@ exports.MicrosoftEntraProviderGroupRequestToJSON = exports.MicrosoftEntraProvide
|
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfMicrosoftEntraProviderGroupRequest(value) {
|
|
21
21
|
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "microsoftId" in value;
|
|
22
23
|
isInstance = isInstance && "group" in value;
|
|
23
24
|
isInstance = isInstance && "provider" in value;
|
|
24
25
|
return isInstance;
|
|
@@ -33,6 +34,7 @@ function MicrosoftEntraProviderGroupRequestFromJSONTyped(json, ignoreDiscriminat
|
|
|
33
34
|
return json;
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
37
|
+
'microsoftId': json['microsoft_id'],
|
|
36
38
|
'group': json['group'],
|
|
37
39
|
'provider': json['provider'],
|
|
38
40
|
};
|
|
@@ -46,6 +48,7 @@ function MicrosoftEntraProviderGroupRequestToJSON(value) {
|
|
|
46
48
|
return null;
|
|
47
49
|
}
|
|
48
50
|
return {
|
|
51
|
+
'microsoft_id': value.microsoftId,
|
|
49
52
|
'group': value.group,
|
|
50
53
|
'provider': value.provider,
|
|
51
54
|
};
|
|
@@ -22,6 +22,12 @@ export interface MicrosoftEntraProviderUser {
|
|
|
22
22
|
* @memberof MicrosoftEntraProviderUser
|
|
23
23
|
*/
|
|
24
24
|
readonly id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof MicrosoftEntraProviderUser
|
|
29
|
+
*/
|
|
30
|
+
microsoftId: string;
|
|
25
31
|
/**
|
|
26
32
|
*
|
|
27
33
|
* @type {number}
|
|
@@ -21,6 +21,7 @@ const GroupMember_1 = require("./GroupMember");
|
|
|
21
21
|
function instanceOfMicrosoftEntraProviderUser(value) {
|
|
22
22
|
let isInstance = true;
|
|
23
23
|
isInstance = isInstance && "id" in value;
|
|
24
|
+
isInstance = isInstance && "microsoftId" in value;
|
|
24
25
|
isInstance = isInstance && "user" in value;
|
|
25
26
|
isInstance = isInstance && "userObj" in value;
|
|
26
27
|
isInstance = isInstance && "provider" in value;
|
|
@@ -38,6 +39,7 @@ function MicrosoftEntraProviderUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
39
|
}
|
|
39
40
|
return {
|
|
40
41
|
'id': json['id'],
|
|
42
|
+
'microsoftId': json['microsoft_id'],
|
|
41
43
|
'user': json['user'],
|
|
42
44
|
'userObj': (0, GroupMember_1.GroupMemberFromJSON)(json['user_obj']),
|
|
43
45
|
'provider': json['provider'],
|
|
@@ -53,6 +55,7 @@ function MicrosoftEntraProviderUserToJSON(value) {
|
|
|
53
55
|
return null;
|
|
54
56
|
}
|
|
55
57
|
return {
|
|
58
|
+
'microsoft_id': value.microsoftId,
|
|
56
59
|
'user': value.user,
|
|
57
60
|
'provider': value.provider,
|
|
58
61
|
};
|
|
@@ -15,6 +15,12 @@
|
|
|
15
15
|
* @interface MicrosoftEntraProviderUserRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface MicrosoftEntraProviderUserRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MicrosoftEntraProviderUserRequest
|
|
22
|
+
*/
|
|
23
|
+
microsoftId: string;
|
|
18
24
|
/**
|
|
19
25
|
*
|
|
20
26
|
* @type {number}
|
|
@@ -19,6 +19,7 @@ exports.MicrosoftEntraProviderUserRequestToJSON = exports.MicrosoftEntraProvider
|
|
|
19
19
|
*/
|
|
20
20
|
function instanceOfMicrosoftEntraProviderUserRequest(value) {
|
|
21
21
|
let isInstance = true;
|
|
22
|
+
isInstance = isInstance && "microsoftId" in value;
|
|
22
23
|
isInstance = isInstance && "user" in value;
|
|
23
24
|
isInstance = isInstance && "provider" in value;
|
|
24
25
|
return isInstance;
|
|
@@ -33,6 +34,7 @@ function MicrosoftEntraProviderUserRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
33
34
|
return json;
|
|
34
35
|
}
|
|
35
36
|
return {
|
|
37
|
+
'microsoftId': json['microsoft_id'],
|
|
36
38
|
'user': json['user'],
|
|
37
39
|
'provider': json['provider'],
|
|
38
40
|
};
|
|
@@ -46,6 +48,7 @@ function MicrosoftEntraProviderUserRequestToJSON(value) {
|
|
|
46
48
|
return null;
|
|
47
49
|
}
|
|
48
50
|
return {
|
|
51
|
+
'microsoft_id': value.microsoftId,
|
|
49
52
|
'user': value.user,
|
|
50
53
|
'provider': value.provider,
|
|
51
54
|
};
|
|
@@ -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 { Pagination } from './Pagination';
|
|
13
|
+
import type { SCIMProviderGroup } from './SCIMProviderGroup';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedSCIMProviderGroupList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedSCIMProviderGroupList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedSCIMProviderGroupList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<SCIMProviderGroup>}
|
|
29
|
+
* @memberof PaginatedSCIMProviderGroupList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<SCIMProviderGroup>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedSCIMProviderGroupList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedSCIMProviderGroupList(value: object): boolean;
|
|
37
|
+
export declare function PaginatedSCIMProviderGroupListFromJSON(json: any): PaginatedSCIMProviderGroupList;
|
|
38
|
+
export declare function PaginatedSCIMProviderGroupListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSCIMProviderGroupList;
|
|
39
|
+
export declare function PaginatedSCIMProviderGroupListToJSON(value?: PaginatedSCIMProviderGroupList | 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.PaginatedSCIMProviderGroupListToJSON = exports.PaginatedSCIMProviderGroupListFromJSONTyped = exports.PaginatedSCIMProviderGroupListFromJSON = exports.instanceOfPaginatedSCIMProviderGroupList = void 0;
|
|
17
|
+
const Pagination_1 = require("./Pagination");
|
|
18
|
+
const SCIMProviderGroup_1 = require("./SCIMProviderGroup");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the PaginatedSCIMProviderGroupList interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfPaginatedSCIMProviderGroupList(value) {
|
|
23
|
+
let isInstance = true;
|
|
24
|
+
isInstance = isInstance && "pagination" in value;
|
|
25
|
+
isInstance = isInstance && "results" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfPaginatedSCIMProviderGroupList = instanceOfPaginatedSCIMProviderGroupList;
|
|
29
|
+
function PaginatedSCIMProviderGroupListFromJSON(json) {
|
|
30
|
+
return PaginatedSCIMProviderGroupListFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.PaginatedSCIMProviderGroupListFromJSON = PaginatedSCIMProviderGroupListFromJSON;
|
|
33
|
+
function PaginatedSCIMProviderGroupListFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
|
|
39
|
+
'results': (json['results'].map(SCIMProviderGroup_1.SCIMProviderGroupFromJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.PaginatedSCIMProviderGroupListFromJSONTyped = PaginatedSCIMProviderGroupListFromJSONTyped;
|
|
43
|
+
function PaginatedSCIMProviderGroupListToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
|
|
52
|
+
'results': (value.results.map(SCIMProviderGroup_1.SCIMProviderGroupToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.PaginatedSCIMProviderGroupListToJSON = PaginatedSCIMProviderGroupListToJSON;
|
|
@@ -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 { Pagination } from './Pagination';
|
|
13
|
+
import type { SCIMProviderUser } from './SCIMProviderUser';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedSCIMProviderUserList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedSCIMProviderUserList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedSCIMProviderUserList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<SCIMProviderUser>}
|
|
29
|
+
* @memberof PaginatedSCIMProviderUserList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<SCIMProviderUser>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedSCIMProviderUserList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedSCIMProviderUserList(value: object): boolean;
|
|
37
|
+
export declare function PaginatedSCIMProviderUserListFromJSON(json: any): PaginatedSCIMProviderUserList;
|
|
38
|
+
export declare function PaginatedSCIMProviderUserListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSCIMProviderUserList;
|
|
39
|
+
export declare function PaginatedSCIMProviderUserListToJSON(value?: PaginatedSCIMProviderUserList | null): any;
|