@goauthentik/api 2024.4.2-1716485711 → 2024.4.2-1717033226
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 +1 -4
- package/dist/apis/PropertymappingsApi.d.ts +2 -2
- package/dist/apis/PropertymappingsApi.js +1 -4
- package/dist/apis/ProvidersApi.d.ts +1 -97
- package/dist/apis/ProvidersApi.js +0 -308
- package/dist/esm/apis/PropertymappingsApi.d.ts +2 -2
- package/dist/esm/apis/PropertymappingsApi.js +2 -5
- package/dist/esm/apis/ProvidersApi.d.ts +1 -97
- package/dist/esm/apis/ProvidersApi.js +1 -309
- package/dist/esm/models/GoogleWorkspaceProviderGroup.d.ts +12 -0
- package/dist/esm/models/GoogleWorkspaceProviderGroup.js +5 -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 +12 -0
- package/dist/esm/models/GoogleWorkspaceProviderUser.js +5 -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 +12 -0
- package/dist/esm/models/MicrosoftEntraProviderGroup.js +5 -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 +12 -0
- package/dist/esm/models/MicrosoftEntraProviderUser.js +5 -0
- package/dist/esm/models/MicrosoftEntraProviderUserRequest.d.ts +6 -0
- package/dist/esm/models/MicrosoftEntraProviderUserRequest.js +3 -0
- package/dist/esm/models/PropertyMappingTestRequest.d.ts +45 -0
- package/dist/esm/models/{PatchedMicrosoftEntraProviderGroupRequest.js → PropertyMappingTestRequest.js} +10 -6
- package/dist/esm/models/index.d.ts +1 -4
- package/dist/esm/models/index.js +1 -4
- package/dist/models/GoogleWorkspaceProviderGroup.d.ts +12 -0
- package/dist/models/GoogleWorkspaceProviderGroup.js +5 -0
- package/dist/models/GoogleWorkspaceProviderGroupRequest.d.ts +6 -0
- package/dist/models/GoogleWorkspaceProviderGroupRequest.js +3 -0
- package/dist/models/GoogleWorkspaceProviderUser.d.ts +12 -0
- package/dist/models/GoogleWorkspaceProviderUser.js +5 -0
- package/dist/models/GoogleWorkspaceProviderUserRequest.d.ts +6 -0
- package/dist/models/GoogleWorkspaceProviderUserRequest.js +3 -0
- package/dist/models/MicrosoftEntraProviderGroup.d.ts +12 -0
- package/dist/models/MicrosoftEntraProviderGroup.js +5 -0
- package/dist/models/MicrosoftEntraProviderGroupRequest.d.ts +6 -0
- package/dist/models/MicrosoftEntraProviderGroupRequest.js +3 -0
- package/dist/models/MicrosoftEntraProviderUser.d.ts +12 -0
- package/dist/models/MicrosoftEntraProviderUser.js +5 -0
- package/dist/models/MicrosoftEntraProviderUserRequest.d.ts +6 -0
- package/dist/models/MicrosoftEntraProviderUserRequest.js +3 -0
- package/dist/models/PropertyMappingTestRequest.d.ts +45 -0
- package/dist/models/PropertyMappingTestRequest.js +54 -0
- package/dist/models/index.d.ts +1 -4
- package/dist/models/index.js +1 -4
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +5 -9
- package/src/apis/ProvidersApi.ts +0 -396
- package/src/models/GoogleWorkspaceProviderGroup.ts +17 -0
- package/src/models/GoogleWorkspaceProviderGroupRequest.ts +9 -0
- package/src/models/GoogleWorkspaceProviderUser.ts +17 -0
- package/src/models/GoogleWorkspaceProviderUserRequest.ts +9 -0
- package/src/models/MicrosoftEntraProviderGroup.ts +17 -0
- package/src/models/MicrosoftEntraProviderGroupRequest.ts +9 -0
- package/src/models/MicrosoftEntraProviderUser.ts +17 -0
- package/src/models/MicrosoftEntraProviderUserRequest.ts +9 -0
- package/src/models/PropertyMappingTestRequest.ts +81 -0
- package/src/models/index.ts +1 -4
- package/dist/esm/models/PatchedGoogleWorkspaceProviderGroupRequest.d.ts +0 -31
- package/dist/esm/models/PatchedGoogleWorkspaceProviderGroupRequest.js +0 -43
- package/dist/esm/models/PatchedGoogleWorkspaceProviderUserRequest.d.ts +0 -31
- package/dist/esm/models/PatchedGoogleWorkspaceProviderUserRequest.js +0 -43
- package/dist/esm/models/PatchedMicrosoftEntraProviderGroupRequest.d.ts +0 -31
- package/dist/esm/models/PatchedMicrosoftEntraProviderUserRequest.d.ts +0 -31
- package/dist/esm/models/PatchedMicrosoftEntraProviderUserRequest.js +0 -43
- package/dist/models/PatchedGoogleWorkspaceProviderGroupRequest.d.ts +0 -31
- package/dist/models/PatchedGoogleWorkspaceProviderGroupRequest.js +0 -50
- package/dist/models/PatchedGoogleWorkspaceProviderUserRequest.d.ts +0 -31
- package/dist/models/PatchedGoogleWorkspaceProviderUserRequest.js +0 -50
- package/dist/models/PatchedMicrosoftEntraProviderGroupRequest.d.ts +0 -31
- package/dist/models/PatchedMicrosoftEntraProviderGroupRequest.js +0 -50
- package/dist/models/PatchedMicrosoftEntraProviderUserRequest.d.ts +0 -31
- package/dist/models/PatchedMicrosoftEntraProviderUserRequest.js +0 -50
- package/src/models/PatchedGoogleWorkspaceProviderGroupRequest.ts +0 -65
- package/src/models/PatchedGoogleWorkspaceProviderUserRequest.ts +0 -65
- package/src/models/PatchedMicrosoftEntraProviderGroupRequest.ts +0 -65
- package/src/models/PatchedMicrosoftEntraProviderUserRequest.ts +0 -65
|
@@ -44,6 +44,18 @@ export interface MicrosoftEntraProviderGroup {
|
|
|
44
44
|
* @memberof MicrosoftEntraProviderGroup
|
|
45
45
|
*/
|
|
46
46
|
readonly groupObj: UserGroup;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof MicrosoftEntraProviderGroup
|
|
51
|
+
*/
|
|
52
|
+
provider: number;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {any}
|
|
56
|
+
* @memberof MicrosoftEntraProviderGroup
|
|
57
|
+
*/
|
|
58
|
+
readonly attributes: any | null;
|
|
47
59
|
}
|
|
48
60
|
|
|
49
61
|
/**
|
|
@@ -54,6 +66,8 @@ export function instanceOfMicrosoftEntraProviderGroup(value: object): boolean {
|
|
|
54
66
|
isInstance = isInstance && "id" in value;
|
|
55
67
|
isInstance = isInstance && "group" in value;
|
|
56
68
|
isInstance = isInstance && "groupObj" in value;
|
|
69
|
+
isInstance = isInstance && "provider" in value;
|
|
70
|
+
isInstance = isInstance && "attributes" in value;
|
|
57
71
|
|
|
58
72
|
return isInstance;
|
|
59
73
|
}
|
|
@@ -71,6 +85,8 @@ export function MicrosoftEntraProviderGroupFromJSONTyped(json: any, ignoreDiscri
|
|
|
71
85
|
'id': json['id'],
|
|
72
86
|
'group': json['group'],
|
|
73
87
|
'groupObj': UserGroupFromJSON(json['group_obj']),
|
|
88
|
+
'provider': json['provider'],
|
|
89
|
+
'attributes': json['attributes'],
|
|
74
90
|
};
|
|
75
91
|
}
|
|
76
92
|
|
|
@@ -84,6 +100,7 @@ export function MicrosoftEntraProviderGroupToJSON(value?: MicrosoftEntraProvider
|
|
|
84
100
|
return {
|
|
85
101
|
|
|
86
102
|
'group': value.group,
|
|
103
|
+
'provider': value.provider,
|
|
87
104
|
};
|
|
88
105
|
}
|
|
89
106
|
|
|
@@ -25,6 +25,12 @@ export interface MicrosoftEntraProviderGroupRequest {
|
|
|
25
25
|
* @memberof MicrosoftEntraProviderGroupRequest
|
|
26
26
|
*/
|
|
27
27
|
group: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof MicrosoftEntraProviderGroupRequest
|
|
32
|
+
*/
|
|
33
|
+
provider: number;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
/**
|
|
@@ -33,6 +39,7 @@ export interface MicrosoftEntraProviderGroupRequest {
|
|
|
33
39
|
export function instanceOfMicrosoftEntraProviderGroupRequest(value: object): boolean {
|
|
34
40
|
let isInstance = true;
|
|
35
41
|
isInstance = isInstance && "group" in value;
|
|
42
|
+
isInstance = isInstance && "provider" in value;
|
|
36
43
|
|
|
37
44
|
return isInstance;
|
|
38
45
|
}
|
|
@@ -48,6 +55,7 @@ export function MicrosoftEntraProviderGroupRequestFromJSONTyped(json: any, ignor
|
|
|
48
55
|
return {
|
|
49
56
|
|
|
50
57
|
'group': json['group'],
|
|
58
|
+
'provider': json['provider'],
|
|
51
59
|
};
|
|
52
60
|
}
|
|
53
61
|
|
|
@@ -61,6 +69,7 @@ export function MicrosoftEntraProviderGroupRequestToJSON(value?: MicrosoftEntraP
|
|
|
61
69
|
return {
|
|
62
70
|
|
|
63
71
|
'group': value.group,
|
|
72
|
+
'provider': value.provider,
|
|
64
73
|
};
|
|
65
74
|
}
|
|
66
75
|
|
|
@@ -44,6 +44,18 @@ export interface MicrosoftEntraProviderUser {
|
|
|
44
44
|
* @memberof MicrosoftEntraProviderUser
|
|
45
45
|
*/
|
|
46
46
|
readonly userObj: GroupMember;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {number}
|
|
50
|
+
* @memberof MicrosoftEntraProviderUser
|
|
51
|
+
*/
|
|
52
|
+
provider: number;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {any}
|
|
56
|
+
* @memberof MicrosoftEntraProviderUser
|
|
57
|
+
*/
|
|
58
|
+
readonly attributes: any | null;
|
|
47
59
|
}
|
|
48
60
|
|
|
49
61
|
/**
|
|
@@ -54,6 +66,8 @@ export function instanceOfMicrosoftEntraProviderUser(value: object): boolean {
|
|
|
54
66
|
isInstance = isInstance && "id" in value;
|
|
55
67
|
isInstance = isInstance && "user" in value;
|
|
56
68
|
isInstance = isInstance && "userObj" in value;
|
|
69
|
+
isInstance = isInstance && "provider" in value;
|
|
70
|
+
isInstance = isInstance && "attributes" in value;
|
|
57
71
|
|
|
58
72
|
return isInstance;
|
|
59
73
|
}
|
|
@@ -71,6 +85,8 @@ export function MicrosoftEntraProviderUserFromJSONTyped(json: any, ignoreDiscrim
|
|
|
71
85
|
'id': json['id'],
|
|
72
86
|
'user': json['user'],
|
|
73
87
|
'userObj': GroupMemberFromJSON(json['user_obj']),
|
|
88
|
+
'provider': json['provider'],
|
|
89
|
+
'attributes': json['attributes'],
|
|
74
90
|
};
|
|
75
91
|
}
|
|
76
92
|
|
|
@@ -84,6 +100,7 @@ export function MicrosoftEntraProviderUserToJSON(value?: MicrosoftEntraProviderU
|
|
|
84
100
|
return {
|
|
85
101
|
|
|
86
102
|
'user': value.user,
|
|
103
|
+
'provider': value.provider,
|
|
87
104
|
};
|
|
88
105
|
}
|
|
89
106
|
|
|
@@ -25,6 +25,12 @@ export interface MicrosoftEntraProviderUserRequest {
|
|
|
25
25
|
* @memberof MicrosoftEntraProviderUserRequest
|
|
26
26
|
*/
|
|
27
27
|
user: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof MicrosoftEntraProviderUserRequest
|
|
32
|
+
*/
|
|
33
|
+
provider: number;
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
/**
|
|
@@ -33,6 +39,7 @@ export interface MicrosoftEntraProviderUserRequest {
|
|
|
33
39
|
export function instanceOfMicrosoftEntraProviderUserRequest(value: object): boolean {
|
|
34
40
|
let isInstance = true;
|
|
35
41
|
isInstance = isInstance && "user" in value;
|
|
42
|
+
isInstance = isInstance && "provider" in value;
|
|
36
43
|
|
|
37
44
|
return isInstance;
|
|
38
45
|
}
|
|
@@ -48,6 +55,7 @@ export function MicrosoftEntraProviderUserRequestFromJSONTyped(json: any, ignore
|
|
|
48
55
|
return {
|
|
49
56
|
|
|
50
57
|
'user': json['user'],
|
|
58
|
+
'provider': json['provider'],
|
|
51
59
|
};
|
|
52
60
|
}
|
|
53
61
|
|
|
@@ -61,6 +69,7 @@ export function MicrosoftEntraProviderUserRequestToJSON(value?: MicrosoftEntraPr
|
|
|
61
69
|
return {
|
|
62
70
|
|
|
63
71
|
'user': value.user,
|
|
72
|
+
'provider': value.provider,
|
|
64
73
|
};
|
|
65
74
|
}
|
|
66
75
|
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Test property mapping execution for a user/group with context
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PropertyMappingTestRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PropertyMappingTestRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof PropertyMappingTestRequest
|
|
26
|
+
*/
|
|
27
|
+
user?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {{ [key: string]: any; }}
|
|
31
|
+
* @memberof PropertyMappingTestRequest
|
|
32
|
+
*/
|
|
33
|
+
context?: { [key: string]: any; };
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PropertyMappingTestRequest
|
|
38
|
+
*/
|
|
39
|
+
group?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the PropertyMappingTestRequest interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfPropertyMappingTestRequest(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
|
|
48
|
+
return isInstance;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function PropertyMappingTestRequestFromJSON(json: any): PropertyMappingTestRequest {
|
|
52
|
+
return PropertyMappingTestRequestFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function PropertyMappingTestRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PropertyMappingTestRequest {
|
|
56
|
+
if ((json === undefined) || (json === null)) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'user': !exists(json, 'user') ? undefined : json['user'],
|
|
62
|
+
'context': !exists(json, 'context') ? undefined : json['context'],
|
|
63
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function PropertyMappingTestRequestToJSON(value?: PropertyMappingTestRequest | null): any {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'user': value.user,
|
|
77
|
+
'context': value.context,
|
|
78
|
+
'group': value.group,
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -370,10 +370,8 @@ export * from './PatchedEventRequest';
|
|
|
370
370
|
export * from './PatchedExpressionPolicyRequest';
|
|
371
371
|
export * from './PatchedFlowRequest';
|
|
372
372
|
export * from './PatchedFlowStageBindingRequest';
|
|
373
|
-
export * from './PatchedGoogleWorkspaceProviderGroupRequest';
|
|
374
373
|
export * from './PatchedGoogleWorkspaceProviderMappingRequest';
|
|
375
374
|
export * from './PatchedGoogleWorkspaceProviderRequest';
|
|
376
|
-
export * from './PatchedGoogleWorkspaceProviderUserRequest';
|
|
377
375
|
export * from './PatchedGroupRequest';
|
|
378
376
|
export * from './PatchedIdentificationStageRequest';
|
|
379
377
|
export * from './PatchedInvitationRequest';
|
|
@@ -383,10 +381,8 @@ export * from './PatchedLDAPPropertyMappingRequest';
|
|
|
383
381
|
export * from './PatchedLDAPProviderRequest';
|
|
384
382
|
export * from './PatchedLDAPSourceRequest';
|
|
385
383
|
export * from './PatchedLicenseRequest';
|
|
386
|
-
export * from './PatchedMicrosoftEntraProviderGroupRequest';
|
|
387
384
|
export * from './PatchedMicrosoftEntraProviderMappingRequest';
|
|
388
385
|
export * from './PatchedMicrosoftEntraProviderRequest';
|
|
389
|
-
export * from './PatchedMicrosoftEntraProviderUserRequest';
|
|
390
386
|
export * from './PatchedNotificationRequest';
|
|
391
387
|
export * from './PatchedNotificationRuleRequest';
|
|
392
388
|
export * from './PatchedNotificationTransportRequest';
|
|
@@ -458,6 +454,7 @@ export * from './PromptStageRequest';
|
|
|
458
454
|
export * from './PromptTypeEnum';
|
|
459
455
|
export * from './PropertyMapping';
|
|
460
456
|
export * from './PropertyMappingPreview';
|
|
457
|
+
export * from './PropertyMappingTestRequest';
|
|
461
458
|
export * from './PropertyMappingTestResult';
|
|
462
459
|
export * from './ProtocolEnum';
|
|
463
460
|
export * from './Provider';
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
* GoogleWorkspaceProviderGroup Serializer
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PatchedGoogleWorkspaceProviderGroupRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface PatchedGoogleWorkspaceProviderGroupRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PatchedGoogleWorkspaceProviderGroupRequest
|
|
22
|
-
*/
|
|
23
|
-
group?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the PatchedGoogleWorkspaceProviderGroupRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfPatchedGoogleWorkspaceProviderGroupRequest(value: object): boolean;
|
|
29
|
-
export declare function PatchedGoogleWorkspaceProviderGroupRequestFromJSON(json: any): PatchedGoogleWorkspaceProviderGroupRequest;
|
|
30
|
-
export declare function PatchedGoogleWorkspaceProviderGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGoogleWorkspaceProviderGroupRequest;
|
|
31
|
-
export declare function PatchedGoogleWorkspaceProviderGroupRequestToJSON(value?: PatchedGoogleWorkspaceProviderGroupRequest | null): any;
|
|
@@ -1,43 +0,0 @@
|
|
|
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 PatchedGoogleWorkspaceProviderGroupRequest interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfPatchedGoogleWorkspaceProviderGroupRequest(value) {
|
|
19
|
-
let isInstance = true;
|
|
20
|
-
return isInstance;
|
|
21
|
-
}
|
|
22
|
-
export function PatchedGoogleWorkspaceProviderGroupRequestFromJSON(json) {
|
|
23
|
-
return PatchedGoogleWorkspaceProviderGroupRequestFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
export function PatchedGoogleWorkspaceProviderGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if ((json === undefined) || (json === null)) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'group': !exists(json, 'group') ? undefined : json['group'],
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function PatchedGoogleWorkspaceProviderGroupRequestToJSON(value) {
|
|
34
|
-
if (value === undefined) {
|
|
35
|
-
return undefined;
|
|
36
|
-
}
|
|
37
|
-
if (value === null) {
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'group': value.group,
|
|
42
|
-
};
|
|
43
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
* GoogleWorkspaceProviderUser Serializer
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PatchedGoogleWorkspaceProviderUserRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface PatchedGoogleWorkspaceProviderUserRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof PatchedGoogleWorkspaceProviderUserRequest
|
|
22
|
-
*/
|
|
23
|
-
user?: number;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the PatchedGoogleWorkspaceProviderUserRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfPatchedGoogleWorkspaceProviderUserRequest(value: object): boolean;
|
|
29
|
-
export declare function PatchedGoogleWorkspaceProviderUserRequestFromJSON(json: any): PatchedGoogleWorkspaceProviderUserRequest;
|
|
30
|
-
export declare function PatchedGoogleWorkspaceProviderUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGoogleWorkspaceProviderUserRequest;
|
|
31
|
-
export declare function PatchedGoogleWorkspaceProviderUserRequestToJSON(value?: PatchedGoogleWorkspaceProviderUserRequest | null): any;
|
|
@@ -1,43 +0,0 @@
|
|
|
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 PatchedGoogleWorkspaceProviderUserRequest interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfPatchedGoogleWorkspaceProviderUserRequest(value) {
|
|
19
|
-
let isInstance = true;
|
|
20
|
-
return isInstance;
|
|
21
|
-
}
|
|
22
|
-
export function PatchedGoogleWorkspaceProviderUserRequestFromJSON(json) {
|
|
23
|
-
return PatchedGoogleWorkspaceProviderUserRequestFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
export function PatchedGoogleWorkspaceProviderUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if ((json === undefined) || (json === null)) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'user': !exists(json, 'user') ? undefined : json['user'],
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function PatchedGoogleWorkspaceProviderUserRequestToJSON(value) {
|
|
34
|
-
if (value === undefined) {
|
|
35
|
-
return undefined;
|
|
36
|
-
}
|
|
37
|
-
if (value === null) {
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'user': value.user,
|
|
42
|
-
};
|
|
43
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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 PatchedMicrosoftEntraProviderGroupRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface PatchedMicrosoftEntraProviderGroupRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PatchedMicrosoftEntraProviderGroupRequest
|
|
22
|
-
*/
|
|
23
|
-
group?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the PatchedMicrosoftEntraProviderGroupRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfPatchedMicrosoftEntraProviderGroupRequest(value: object): boolean;
|
|
29
|
-
export declare function PatchedMicrosoftEntraProviderGroupRequestFromJSON(json: any): PatchedMicrosoftEntraProviderGroupRequest;
|
|
30
|
-
export declare function PatchedMicrosoftEntraProviderGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedMicrosoftEntraProviderGroupRequest;
|
|
31
|
-
export declare function PatchedMicrosoftEntraProviderGroupRequestToJSON(value?: PatchedMicrosoftEntraProviderGroupRequest | null): any;
|
|
@@ -1,31 +0,0 @@
|
|
|
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 PatchedMicrosoftEntraProviderUserRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface PatchedMicrosoftEntraProviderUserRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof PatchedMicrosoftEntraProviderUserRequest
|
|
22
|
-
*/
|
|
23
|
-
user?: number;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the PatchedMicrosoftEntraProviderUserRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfPatchedMicrosoftEntraProviderUserRequest(value: object): boolean;
|
|
29
|
-
export declare function PatchedMicrosoftEntraProviderUserRequestFromJSON(json: any): PatchedMicrosoftEntraProviderUserRequest;
|
|
30
|
-
export declare function PatchedMicrosoftEntraProviderUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedMicrosoftEntraProviderUserRequest;
|
|
31
|
-
export declare function PatchedMicrosoftEntraProviderUserRequestToJSON(value?: PatchedMicrosoftEntraProviderUserRequest | null): any;
|
|
@@ -1,43 +0,0 @@
|
|
|
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 PatchedMicrosoftEntraProviderUserRequest interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfPatchedMicrosoftEntraProviderUserRequest(value) {
|
|
19
|
-
let isInstance = true;
|
|
20
|
-
return isInstance;
|
|
21
|
-
}
|
|
22
|
-
export function PatchedMicrosoftEntraProviderUserRequestFromJSON(json) {
|
|
23
|
-
return PatchedMicrosoftEntraProviderUserRequestFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
export function PatchedMicrosoftEntraProviderUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if ((json === undefined) || (json === null)) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'user': !exists(json, 'user') ? undefined : json['user'],
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function PatchedMicrosoftEntraProviderUserRequestToJSON(value) {
|
|
34
|
-
if (value === undefined) {
|
|
35
|
-
return undefined;
|
|
36
|
-
}
|
|
37
|
-
if (value === null) {
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'user': value.user,
|
|
42
|
-
};
|
|
43
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
* GoogleWorkspaceProviderGroup Serializer
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PatchedGoogleWorkspaceProviderGroupRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface PatchedGoogleWorkspaceProviderGroupRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PatchedGoogleWorkspaceProviderGroupRequest
|
|
22
|
-
*/
|
|
23
|
-
group?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the PatchedGoogleWorkspaceProviderGroupRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfPatchedGoogleWorkspaceProviderGroupRequest(value: object): boolean;
|
|
29
|
-
export declare function PatchedGoogleWorkspaceProviderGroupRequestFromJSON(json: any): PatchedGoogleWorkspaceProviderGroupRequest;
|
|
30
|
-
export declare function PatchedGoogleWorkspaceProviderGroupRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGoogleWorkspaceProviderGroupRequest;
|
|
31
|
-
export declare function PatchedGoogleWorkspaceProviderGroupRequestToJSON(value?: PatchedGoogleWorkspaceProviderGroupRequest | null): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.PatchedGoogleWorkspaceProviderGroupRequestToJSON = exports.PatchedGoogleWorkspaceProviderGroupRequestFromJSONTyped = exports.PatchedGoogleWorkspaceProviderGroupRequestFromJSON = exports.instanceOfPatchedGoogleWorkspaceProviderGroupRequest = void 0;
|
|
17
|
-
const runtime_1 = require("../runtime");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the PatchedGoogleWorkspaceProviderGroupRequest interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfPatchedGoogleWorkspaceProviderGroupRequest(value) {
|
|
22
|
-
let isInstance = true;
|
|
23
|
-
return isInstance;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfPatchedGoogleWorkspaceProviderGroupRequest = instanceOfPatchedGoogleWorkspaceProviderGroupRequest;
|
|
26
|
-
function PatchedGoogleWorkspaceProviderGroupRequestFromJSON(json) {
|
|
27
|
-
return PatchedGoogleWorkspaceProviderGroupRequestFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.PatchedGoogleWorkspaceProviderGroupRequestFromJSON = PatchedGoogleWorkspaceProviderGroupRequestFromJSON;
|
|
30
|
-
function PatchedGoogleWorkspaceProviderGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if ((json === undefined) || (json === null)) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'group': !(0, runtime_1.exists)(json, 'group') ? undefined : json['group'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.PatchedGoogleWorkspaceProviderGroupRequestFromJSONTyped = PatchedGoogleWorkspaceProviderGroupRequestFromJSONTyped;
|
|
39
|
-
function PatchedGoogleWorkspaceProviderGroupRequestToJSON(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.PatchedGoogleWorkspaceProviderGroupRequestToJSON = PatchedGoogleWorkspaceProviderGroupRequestToJSON;
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
* GoogleWorkspaceProviderUser Serializer
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PatchedGoogleWorkspaceProviderUserRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface PatchedGoogleWorkspaceProviderUserRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof PatchedGoogleWorkspaceProviderUserRequest
|
|
22
|
-
*/
|
|
23
|
-
user?: number;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the PatchedGoogleWorkspaceProviderUserRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfPatchedGoogleWorkspaceProviderUserRequest(value: object): boolean;
|
|
29
|
-
export declare function PatchedGoogleWorkspaceProviderUserRequestFromJSON(json: any): PatchedGoogleWorkspaceProviderUserRequest;
|
|
30
|
-
export declare function PatchedGoogleWorkspaceProviderUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedGoogleWorkspaceProviderUserRequest;
|
|
31
|
-
export declare function PatchedGoogleWorkspaceProviderUserRequestToJSON(value?: PatchedGoogleWorkspaceProviderUserRequest | null): any;
|