@goauthentik/api 2024.6.3-1722940666 → 2024.6.3-1723050887
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +13 -0
- package/dist/apis/PropertymappingsApi.d.ts +171 -1
- package/dist/apis/PropertymappingsApi.js +542 -0
- package/dist/apis/RbacApi.d.ts +8 -0
- package/dist/apis/RbacApi.js +8 -0
- package/dist/apis/SourcesApi.d.ts +162 -1
- package/dist/apis/SourcesApi.js +493 -1
- package/dist/esm/apis/PropertymappingsApi.d.ts +171 -1
- package/dist/esm/apis/PropertymappingsApi.js +543 -1
- package/dist/esm/apis/RbacApi.d.ts +8 -0
- package/dist/esm/apis/RbacApi.js +8 -0
- package/dist/esm/apis/SourcesApi.d.ts +162 -1
- package/dist/esm/apis/SourcesApi.js +493 -1
- package/dist/esm/models/Device.d.ts +18 -0
- package/dist/esm/models/Device.js +6 -0
- package/dist/esm/models/GroupMatchingModeEnum.d.ts +25 -0
- package/dist/esm/models/GroupMatchingModeEnum.js +32 -0
- package/dist/esm/models/GroupOAuthSourceConnection.d.ts +56 -0
- package/dist/esm/models/GroupOAuthSourceConnection.js +50 -0
- package/dist/esm/models/GroupSAMLSourceConnection.d.ts +56 -0
- package/dist/esm/models/GroupSAMLSourceConnection.js +50 -0
- package/dist/esm/models/ModelEnum.d.ts +4 -0
- package/dist/esm/models/ModelEnum.js +4 -0
- package/dist/esm/models/OAuthSource.d.ts +7 -0
- package/dist/esm/models/OAuthSource.js +3 -0
- package/dist/esm/models/OAuthSourcePropertyMapping.d.ts +73 -0
- package/dist/esm/models/OAuthSourcePropertyMapping.js +59 -0
- package/dist/esm/models/OAuthSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/OAuthSourcePropertyMappingRequest.js +49 -0
- package/dist/esm/models/OAuthSourceRequest.d.ts +7 -0
- package/dist/esm/models/OAuthSourceRequest.js +3 -0
- package/dist/esm/models/PaginatedGroupOAuthSourceConnectionList.d.ts +39 -0
- package/dist/esm/models/PaginatedGroupOAuthSourceConnectionList.js +48 -0
- package/dist/esm/models/PaginatedGroupSAMLSourceConnectionList.d.ts +39 -0
- package/dist/esm/models/PaginatedGroupSAMLSourceConnectionList.js +48 -0
- package/dist/esm/models/PaginatedOAuthSourcePropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedOAuthSourcePropertyMappingList.js +48 -0
- package/dist/esm/models/PaginatedSAMLSourcePropertyMappingList.d.ts +39 -0
- package/dist/esm/models/PaginatedSAMLSourcePropertyMappingList.js +48 -0
- package/dist/esm/models/PatchedOAuthSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/PatchedOAuthSourcePropertyMappingRequest.js +47 -0
- package/dist/esm/models/PatchedOAuthSourceRequest.d.ts +7 -0
- package/dist/esm/models/PatchedOAuthSourceRequest.js +3 -0
- package/dist/esm/models/PatchedSAMLSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/PatchedSAMLSourcePropertyMappingRequest.js +47 -0
- package/dist/esm/models/PatchedSAMLSourceRequest.d.ts +7 -0
- package/dist/esm/models/PatchedSAMLSourceRequest.js +3 -0
- package/dist/esm/models/SAMLSource.d.ts +7 -0
- package/dist/esm/models/SAMLSource.js +3 -0
- package/dist/esm/models/SAMLSourcePropertyMapping.d.ts +73 -0
- package/dist/esm/models/SAMLSourcePropertyMapping.js +59 -0
- package/dist/esm/models/SAMLSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/esm/models/SAMLSourcePropertyMappingRequest.js +49 -0
- package/dist/esm/models/SAMLSourceRequest.d.ts +7 -0
- package/dist/esm/models/SAMLSourceRequest.js +3 -0
- package/dist/esm/models/index.d.ts +13 -0
- package/dist/esm/models/index.js +13 -0
- package/dist/models/Device.d.ts +18 -0
- package/dist/models/Device.js +6 -0
- package/dist/models/GroupMatchingModeEnum.d.ts +25 -0
- package/dist/models/GroupMatchingModeEnum.js +38 -0
- package/dist/models/GroupOAuthSourceConnection.d.ts +56 -0
- package/dist/models/GroupOAuthSourceConnection.js +57 -0
- package/dist/models/GroupSAMLSourceConnection.d.ts +56 -0
- package/dist/models/GroupSAMLSourceConnection.js +57 -0
- package/dist/models/ModelEnum.d.ts +4 -0
- package/dist/models/ModelEnum.js +4 -0
- package/dist/models/OAuthSource.d.ts +7 -0
- package/dist/models/OAuthSource.js +3 -0
- package/dist/models/OAuthSourcePropertyMapping.d.ts +73 -0
- package/dist/models/OAuthSourcePropertyMapping.js +66 -0
- package/dist/models/OAuthSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/OAuthSourcePropertyMappingRequest.js +56 -0
- package/dist/models/OAuthSourceRequest.d.ts +7 -0
- package/dist/models/OAuthSourceRequest.js +3 -0
- package/dist/models/PaginatedGroupOAuthSourceConnectionList.d.ts +39 -0
- package/dist/models/PaginatedGroupOAuthSourceConnectionList.js +55 -0
- package/dist/models/PaginatedGroupSAMLSourceConnectionList.d.ts +39 -0
- package/dist/models/PaginatedGroupSAMLSourceConnectionList.js +55 -0
- package/dist/models/PaginatedOAuthSourcePropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedOAuthSourcePropertyMappingList.js +55 -0
- package/dist/models/PaginatedSAMLSourcePropertyMappingList.d.ts +39 -0
- package/dist/models/PaginatedSAMLSourcePropertyMappingList.js +55 -0
- package/dist/models/PatchedOAuthSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedOAuthSourcePropertyMappingRequest.js +54 -0
- package/dist/models/PatchedOAuthSourceRequest.d.ts +7 -0
- package/dist/models/PatchedOAuthSourceRequest.js +3 -0
- package/dist/models/PatchedSAMLSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/PatchedSAMLSourcePropertyMappingRequest.js +54 -0
- package/dist/models/PatchedSAMLSourceRequest.d.ts +7 -0
- package/dist/models/PatchedSAMLSourceRequest.js +3 -0
- package/dist/models/SAMLSource.d.ts +7 -0
- package/dist/models/SAMLSource.js +3 -0
- package/dist/models/SAMLSourcePropertyMapping.d.ts +73 -0
- package/dist/models/SAMLSourcePropertyMapping.js +66 -0
- package/dist/models/SAMLSourcePropertyMappingRequest.d.ts +43 -0
- package/dist/models/SAMLSourcePropertyMappingRequest.js +56 -0
- package/dist/models/SAMLSourceRequest.d.ts +7 -0
- package/dist/models/SAMLSourceRequest.js +3 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +700 -0
- package/src/apis/RbacApi.ts +8 -0
- package/src/apis/SourcesApi.ts +613 -0
- package/src/models/Device.ts +24 -0
- package/src/models/GroupMatchingModeEnum.ts +40 -0
- package/src/models/GroupOAuthSourceConnection.ts +104 -0
- package/src/models/GroupSAMLSourceConnection.ts +104 -0
- package/src/models/ModelEnum.ts +4 -0
- package/src/models/OAuthSource.ts +14 -0
- package/src/models/OAuthSourcePropertyMapping.ts +123 -0
- package/src/models/OAuthSourcePropertyMappingRequest.ts +83 -0
- package/src/models/OAuthSourceRequest.ts +14 -0
- package/src/models/PaginatedGroupOAuthSourceConnectionList.ts +88 -0
- package/src/models/PaginatedGroupSAMLSourceConnectionList.ts +88 -0
- package/src/models/PaginatedOAuthSourcePropertyMappingList.ts +88 -0
- package/src/models/PaginatedSAMLSourcePropertyMappingList.ts +88 -0
- package/src/models/PatchedOAuthSourcePropertyMappingRequest.ts +81 -0
- package/src/models/PatchedOAuthSourceRequest.ts +14 -0
- package/src/models/PatchedSAMLSourcePropertyMappingRequest.ts +81 -0
- package/src/models/PatchedSAMLSourceRequest.ts +14 -0
- package/src/models/SAMLSource.ts +14 -0
- package/src/models/SAMLSourcePropertyMapping.ts +123 -0
- package/src/models/SAMLSourcePropertyMappingRequest.ts +83 -0
- package/src/models/SAMLSourceRequest.ts +14 -0
- package/src/models/index.ts +13 -0
@@ -0,0 +1,59 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.6.3
|
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 SAMLSourcePropertyMapping interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfSAMLSourcePropertyMapping(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
isInstance = isInstance && "pk" in value;
|
21
|
+
isInstance = isInstance && "name" in value;
|
22
|
+
isInstance = isInstance && "expression" in value;
|
23
|
+
isInstance = isInstance && "component" in value;
|
24
|
+
isInstance = isInstance && "verboseName" in value;
|
25
|
+
isInstance = isInstance && "verboseNamePlural" in value;
|
26
|
+
isInstance = isInstance && "metaModelName" in value;
|
27
|
+
return isInstance;
|
28
|
+
}
|
29
|
+
export function SAMLSourcePropertyMappingFromJSON(json) {
|
30
|
+
return SAMLSourcePropertyMappingFromJSONTyped(json, false);
|
31
|
+
}
|
32
|
+
export function SAMLSourcePropertyMappingFromJSONTyped(json, ignoreDiscriminator) {
|
33
|
+
if ((json === undefined) || (json === null)) {
|
34
|
+
return json;
|
35
|
+
}
|
36
|
+
return {
|
37
|
+
'pk': json['pk'],
|
38
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
39
|
+
'name': json['name'],
|
40
|
+
'expression': json['expression'],
|
41
|
+
'component': json['component'],
|
42
|
+
'verboseName': json['verbose_name'],
|
43
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
44
|
+
'metaModelName': json['meta_model_name'],
|
45
|
+
};
|
46
|
+
}
|
47
|
+
export function SAMLSourcePropertyMappingToJSON(value) {
|
48
|
+
if (value === undefined) {
|
49
|
+
return undefined;
|
50
|
+
}
|
51
|
+
if (value === null) {
|
52
|
+
return null;
|
53
|
+
}
|
54
|
+
return {
|
55
|
+
'managed': value.managed,
|
56
|
+
'name': value.name,
|
57
|
+
'expression': value.expression,
|
58
|
+
};
|
59
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.3
|
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
|
+
* SAMLSourcePropertyMapping Serializer
|
14
|
+
* @export
|
15
|
+
* @interface SAMLSourcePropertyMappingRequest
|
16
|
+
*/
|
17
|
+
export interface SAMLSourcePropertyMappingRequest {
|
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 SAMLSourcePropertyMappingRequest
|
22
|
+
*/
|
23
|
+
managed?: string | null;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {string}
|
27
|
+
* @memberof SAMLSourcePropertyMappingRequest
|
28
|
+
*/
|
29
|
+
name: string;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof SAMLSourcePropertyMappingRequest
|
34
|
+
*/
|
35
|
+
expression: string;
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* Check if a given object implements the SAMLSourcePropertyMappingRequest interface.
|
39
|
+
*/
|
40
|
+
export declare function instanceOfSAMLSourcePropertyMappingRequest(value: object): boolean;
|
41
|
+
export declare function SAMLSourcePropertyMappingRequestFromJSON(json: any): SAMLSourcePropertyMappingRequest;
|
42
|
+
export declare function SAMLSourcePropertyMappingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SAMLSourcePropertyMappingRequest;
|
43
|
+
export declare function SAMLSourcePropertyMappingRequestToJSON(value?: SAMLSourcePropertyMappingRequest | 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.6.3
|
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 SAMLSourcePropertyMappingRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfSAMLSourcePropertyMappingRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
isInstance = isInstance && "name" in value;
|
21
|
+
isInstance = isInstance && "expression" in value;
|
22
|
+
return isInstance;
|
23
|
+
}
|
24
|
+
export function SAMLSourcePropertyMappingRequestFromJSON(json) {
|
25
|
+
return SAMLSourcePropertyMappingRequestFromJSONTyped(json, false);
|
26
|
+
}
|
27
|
+
export function SAMLSourcePropertyMappingRequestFromJSONTyped(json, ignoreDiscriminator) {
|
28
|
+
if ((json === undefined) || (json === null)) {
|
29
|
+
return json;
|
30
|
+
}
|
31
|
+
return {
|
32
|
+
'managed': !exists(json, 'managed') ? undefined : json['managed'],
|
33
|
+
'name': json['name'],
|
34
|
+
'expression': json['expression'],
|
35
|
+
};
|
36
|
+
}
|
37
|
+
export function SAMLSourcePropertyMappingRequestToJSON(value) {
|
38
|
+
if (value === undefined) {
|
39
|
+
return undefined;
|
40
|
+
}
|
41
|
+
if (value === null) {
|
42
|
+
return null;
|
43
|
+
}
|
44
|
+
return {
|
45
|
+
'managed': value.managed,
|
46
|
+
'name': value.name,
|
47
|
+
'expression': value.expression,
|
48
|
+
};
|
49
|
+
}
|
@@ -11,6 +11,7 @@
|
|
11
11
|
*/
|
12
12
|
import type { BindingTypeEnum } from './BindingTypeEnum';
|
13
13
|
import type { DigestAlgorithmEnum } from './DigestAlgorithmEnum';
|
14
|
+
import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
|
14
15
|
import type { NameIdPolicyEnum } from './NameIdPolicyEnum';
|
15
16
|
import type { PolicyEngineMode } from './PolicyEngineMode';
|
16
17
|
import type { SignatureAlgorithmEnum } from './SignatureAlgorithmEnum';
|
@@ -81,6 +82,12 @@ export interface SAMLSourceRequest {
|
|
81
82
|
* @memberof SAMLSourceRequest
|
82
83
|
*/
|
83
84
|
userPathTemplate?: string;
|
85
|
+
/**
|
86
|
+
*
|
87
|
+
* @type {GroupMatchingModeEnum}
|
88
|
+
* @memberof SAMLSourceRequest
|
89
|
+
*/
|
90
|
+
groupMatchingMode?: GroupMatchingModeEnum;
|
84
91
|
/**
|
85
92
|
* Flow used before authentication.
|
86
93
|
* @type {string}
|
@@ -14,6 +14,7 @@
|
|
14
14
|
import { exists } from '../runtime';
|
15
15
|
import { BindingTypeEnumFromJSON, BindingTypeEnumToJSON, } from './BindingTypeEnum';
|
16
16
|
import { DigestAlgorithmEnumFromJSON, DigestAlgorithmEnumToJSON, } from './DigestAlgorithmEnum';
|
17
|
+
import { GroupMatchingModeEnumFromJSON, GroupMatchingModeEnumToJSON, } from './GroupMatchingModeEnum';
|
17
18
|
import { NameIdPolicyEnumFromJSON, NameIdPolicyEnumToJSON, } from './NameIdPolicyEnum';
|
18
19
|
import { PolicyEngineModeFromJSON, PolicyEngineModeToJSON, } from './PolicyEngineMode';
|
19
20
|
import { SignatureAlgorithmEnumFromJSON, SignatureAlgorithmEnumToJSON, } from './SignatureAlgorithmEnum';
|
@@ -47,6 +48,7 @@ export function SAMLSourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
48
|
'policyEngineMode': !exists(json, 'policy_engine_mode') ? undefined : PolicyEngineModeFromJSON(json['policy_engine_mode']),
|
48
49
|
'userMatchingMode': !exists(json, 'user_matching_mode') ? undefined : UserMatchingModeEnumFromJSON(json['user_matching_mode']),
|
49
50
|
'userPathTemplate': !exists(json, 'user_path_template') ? undefined : json['user_path_template'],
|
51
|
+
'groupMatchingMode': !exists(json, 'group_matching_mode') ? undefined : GroupMatchingModeEnumFromJSON(json['group_matching_mode']),
|
50
52
|
'preAuthenticationFlow': json['pre_authentication_flow'],
|
51
53
|
'issuer': !exists(json, 'issuer') ? undefined : json['issuer'],
|
52
54
|
'ssoUrl': json['sso_url'],
|
@@ -79,6 +81,7 @@ export function SAMLSourceRequestToJSON(value) {
|
|
79
81
|
'policy_engine_mode': PolicyEngineModeToJSON(value.policyEngineMode),
|
80
82
|
'user_matching_mode': UserMatchingModeEnumToJSON(value.userMatchingMode),
|
81
83
|
'user_path_template': value.userPathTemplate,
|
84
|
+
'group_matching_mode': GroupMatchingModeEnumToJSON(value.groupMatchingMode),
|
82
85
|
'pre_authentication_flow': value.preAuthenticationFlow,
|
83
86
|
'issuer': value.issuer,
|
84
87
|
'sso_url': value.ssoUrl,
|
@@ -155,9 +155,12 @@ export * from './GoogleWorkspaceProviderRequest';
|
|
155
155
|
export * from './GoogleWorkspaceProviderUser';
|
156
156
|
export * from './GoogleWorkspaceProviderUserRequest';
|
157
157
|
export * from './Group';
|
158
|
+
export * from './GroupMatchingModeEnum';
|
158
159
|
export * from './GroupMember';
|
159
160
|
export * from './GroupMemberRequest';
|
161
|
+
export * from './GroupOAuthSourceConnection';
|
160
162
|
export * from './GroupRequest';
|
163
|
+
export * from './GroupSAMLSourceConnection';
|
161
164
|
export * from './IdentificationChallenge';
|
162
165
|
export * from './IdentificationChallengeResponseRequest';
|
163
166
|
export * from './IdentificationStage';
|
@@ -223,6 +226,8 @@ export * from './OAuthDeviceCodeChallengeResponseRequest';
|
|
223
226
|
export * from './OAuthDeviceCodeFinishChallenge';
|
224
227
|
export * from './OAuthDeviceCodeFinishChallengeResponseRequest';
|
225
228
|
export * from './OAuthSource';
|
229
|
+
export * from './OAuthSourcePropertyMapping';
|
230
|
+
export * from './OAuthSourcePropertyMappingRequest';
|
226
231
|
export * from './OAuthSourceRequest';
|
227
232
|
export * from './OpenIDConnectConfiguration';
|
228
233
|
export * from './OutgoingSyncDeleteAction';
|
@@ -267,6 +272,8 @@ export * from './PaginatedGoogleWorkspaceProviderList';
|
|
267
272
|
export * from './PaginatedGoogleWorkspaceProviderMappingList';
|
268
273
|
export * from './PaginatedGoogleWorkspaceProviderUserList';
|
269
274
|
export * from './PaginatedGroupList';
|
275
|
+
export * from './PaginatedGroupOAuthSourceConnectionList';
|
276
|
+
export * from './PaginatedGroupSAMLSourceConnectionList';
|
270
277
|
export * from './PaginatedIdentificationStageList';
|
271
278
|
export * from './PaginatedInvitationList';
|
272
279
|
export * from './PaginatedInvitationStageList';
|
@@ -286,6 +293,7 @@ export * from './PaginatedNotificationTransportList';
|
|
286
293
|
export * from './PaginatedNotificationWebhookMappingList';
|
287
294
|
export * from './PaginatedOAuth2ProviderList';
|
288
295
|
export * from './PaginatedOAuthSourceList';
|
296
|
+
export * from './PaginatedOAuthSourcePropertyMappingList';
|
289
297
|
export * from './PaginatedOutpostList';
|
290
298
|
export * from './PaginatedPasswordExpiryPolicyList';
|
291
299
|
export * from './PaginatedPasswordPolicyList';
|
@@ -313,6 +321,7 @@ export * from './PaginatedRoleList';
|
|
313
321
|
export * from './PaginatedSAMLPropertyMappingList';
|
314
322
|
export * from './PaginatedSAMLProviderList';
|
315
323
|
export * from './PaginatedSAMLSourceList';
|
324
|
+
export * from './PaginatedSAMLSourcePropertyMappingList';
|
316
325
|
export * from './PaginatedSCIMMappingList';
|
317
326
|
export * from './PaginatedSCIMProviderGroupList';
|
318
327
|
export * from './PaginatedSCIMProviderList';
|
@@ -401,6 +410,7 @@ export * from './PatchedNotificationRuleRequest';
|
|
401
410
|
export * from './PatchedNotificationTransportRequest';
|
402
411
|
export * from './PatchedNotificationWebhookMappingRequest';
|
403
412
|
export * from './PatchedOAuth2ProviderRequest';
|
413
|
+
export * from './PatchedOAuthSourcePropertyMappingRequest';
|
404
414
|
export * from './PatchedOAuthSourceRequest';
|
405
415
|
export * from './PatchedOutpostRequest';
|
406
416
|
export * from './PatchedPasswordExpiryPolicyRequest';
|
@@ -421,6 +431,7 @@ export * from './PatchedReputationPolicyRequest';
|
|
421
431
|
export * from './PatchedRoleRequest';
|
422
432
|
export * from './PatchedSAMLPropertyMappingRequest';
|
423
433
|
export * from './PatchedSAMLProviderRequest';
|
434
|
+
export * from './PatchedSAMLSourcePropertyMappingRequest';
|
424
435
|
export * from './PatchedSAMLSourceRequest';
|
425
436
|
export * from './PatchedSCIMMappingRequest';
|
426
437
|
export * from './PatchedSCIMProviderRequest';
|
@@ -507,6 +518,8 @@ export * from './SAMLPropertyMappingRequest';
|
|
507
518
|
export * from './SAMLProvider';
|
508
519
|
export * from './SAMLProviderRequest';
|
509
520
|
export * from './SAMLSource';
|
521
|
+
export * from './SAMLSourcePropertyMapping';
|
522
|
+
export * from './SAMLSourcePropertyMappingRequest';
|
510
523
|
export * from './SAMLSourceRequest';
|
511
524
|
export * from './SCIMMapping';
|
512
525
|
export * from './SCIMMappingRequest';
|
package/dist/esm/models/index.js
CHANGED
@@ -157,9 +157,12 @@ export * from './GoogleWorkspaceProviderRequest';
|
|
157
157
|
export * from './GoogleWorkspaceProviderUser';
|
158
158
|
export * from './GoogleWorkspaceProviderUserRequest';
|
159
159
|
export * from './Group';
|
160
|
+
export * from './GroupMatchingModeEnum';
|
160
161
|
export * from './GroupMember';
|
161
162
|
export * from './GroupMemberRequest';
|
163
|
+
export * from './GroupOAuthSourceConnection';
|
162
164
|
export * from './GroupRequest';
|
165
|
+
export * from './GroupSAMLSourceConnection';
|
163
166
|
export * from './IdentificationChallenge';
|
164
167
|
export * from './IdentificationChallengeResponseRequest';
|
165
168
|
export * from './IdentificationStage';
|
@@ -225,6 +228,8 @@ export * from './OAuthDeviceCodeChallengeResponseRequest';
|
|
225
228
|
export * from './OAuthDeviceCodeFinishChallenge';
|
226
229
|
export * from './OAuthDeviceCodeFinishChallengeResponseRequest';
|
227
230
|
export * from './OAuthSource';
|
231
|
+
export * from './OAuthSourcePropertyMapping';
|
232
|
+
export * from './OAuthSourcePropertyMappingRequest';
|
228
233
|
export * from './OAuthSourceRequest';
|
229
234
|
export * from './OpenIDConnectConfiguration';
|
230
235
|
export * from './OutgoingSyncDeleteAction';
|
@@ -269,6 +274,8 @@ export * from './PaginatedGoogleWorkspaceProviderList';
|
|
269
274
|
export * from './PaginatedGoogleWorkspaceProviderMappingList';
|
270
275
|
export * from './PaginatedGoogleWorkspaceProviderUserList';
|
271
276
|
export * from './PaginatedGroupList';
|
277
|
+
export * from './PaginatedGroupOAuthSourceConnectionList';
|
278
|
+
export * from './PaginatedGroupSAMLSourceConnectionList';
|
272
279
|
export * from './PaginatedIdentificationStageList';
|
273
280
|
export * from './PaginatedInvitationList';
|
274
281
|
export * from './PaginatedInvitationStageList';
|
@@ -288,6 +295,7 @@ export * from './PaginatedNotificationTransportList';
|
|
288
295
|
export * from './PaginatedNotificationWebhookMappingList';
|
289
296
|
export * from './PaginatedOAuth2ProviderList';
|
290
297
|
export * from './PaginatedOAuthSourceList';
|
298
|
+
export * from './PaginatedOAuthSourcePropertyMappingList';
|
291
299
|
export * from './PaginatedOutpostList';
|
292
300
|
export * from './PaginatedPasswordExpiryPolicyList';
|
293
301
|
export * from './PaginatedPasswordPolicyList';
|
@@ -315,6 +323,7 @@ export * from './PaginatedRoleList';
|
|
315
323
|
export * from './PaginatedSAMLPropertyMappingList';
|
316
324
|
export * from './PaginatedSAMLProviderList';
|
317
325
|
export * from './PaginatedSAMLSourceList';
|
326
|
+
export * from './PaginatedSAMLSourcePropertyMappingList';
|
318
327
|
export * from './PaginatedSCIMMappingList';
|
319
328
|
export * from './PaginatedSCIMProviderGroupList';
|
320
329
|
export * from './PaginatedSCIMProviderList';
|
@@ -403,6 +412,7 @@ export * from './PatchedNotificationRuleRequest';
|
|
403
412
|
export * from './PatchedNotificationTransportRequest';
|
404
413
|
export * from './PatchedNotificationWebhookMappingRequest';
|
405
414
|
export * from './PatchedOAuth2ProviderRequest';
|
415
|
+
export * from './PatchedOAuthSourcePropertyMappingRequest';
|
406
416
|
export * from './PatchedOAuthSourceRequest';
|
407
417
|
export * from './PatchedOutpostRequest';
|
408
418
|
export * from './PatchedPasswordExpiryPolicyRequest';
|
@@ -423,6 +433,7 @@ export * from './PatchedReputationPolicyRequest';
|
|
423
433
|
export * from './PatchedRoleRequest';
|
424
434
|
export * from './PatchedSAMLPropertyMappingRequest';
|
425
435
|
export * from './PatchedSAMLProviderRequest';
|
436
|
+
export * from './PatchedSAMLSourcePropertyMappingRequest';
|
426
437
|
export * from './PatchedSAMLSourceRequest';
|
427
438
|
export * from './PatchedSCIMMappingRequest';
|
428
439
|
export * from './PatchedSCIMProviderRequest';
|
@@ -509,6 +520,8 @@ export * from './SAMLPropertyMappingRequest';
|
|
509
520
|
export * from './SAMLProvider';
|
510
521
|
export * from './SAMLProviderRequest';
|
511
522
|
export * from './SAMLSource';
|
523
|
+
export * from './SAMLSourcePropertyMapping';
|
524
|
+
export * from './SAMLSourcePropertyMappingRequest';
|
512
525
|
export * from './SAMLSourceRequest';
|
513
526
|
export * from './SCIMMapping';
|
514
527
|
export * from './SCIMMappingRequest';
|
package/dist/models/Device.d.ts
CHANGED
@@ -57,6 +57,24 @@ export interface Device {
|
|
57
57
|
* @memberof Device
|
58
58
|
*/
|
59
59
|
confirmed: boolean;
|
60
|
+
/**
|
61
|
+
*
|
62
|
+
* @type {Date}
|
63
|
+
* @memberof Device
|
64
|
+
*/
|
65
|
+
readonly created: Date;
|
66
|
+
/**
|
67
|
+
*
|
68
|
+
* @type {Date}
|
69
|
+
* @memberof Device
|
70
|
+
*/
|
71
|
+
readonly lastUpdated: Date;
|
72
|
+
/**
|
73
|
+
*
|
74
|
+
* @type {Date}
|
75
|
+
* @memberof Device
|
76
|
+
*/
|
77
|
+
readonly lastUsed: Date | null;
|
60
78
|
}
|
61
79
|
/**
|
62
80
|
* Check if a given object implements the Device interface.
|
package/dist/models/Device.js
CHANGED
@@ -26,6 +26,9 @@ function instanceOfDevice(value) {
|
|
26
26
|
isInstance = isInstance && "name" in value;
|
27
27
|
isInstance = isInstance && "type" in value;
|
28
28
|
isInstance = isInstance && "confirmed" in value;
|
29
|
+
isInstance = isInstance && "created" in value;
|
30
|
+
isInstance = isInstance && "lastUpdated" in value;
|
31
|
+
isInstance = isInstance && "lastUsed" in value;
|
29
32
|
return isInstance;
|
30
33
|
}
|
31
34
|
exports.instanceOfDevice = instanceOfDevice;
|
@@ -45,6 +48,9 @@ function DeviceFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
48
|
'name': json['name'],
|
46
49
|
'type': json['type'],
|
47
50
|
'confirmed': json['confirmed'],
|
51
|
+
'created': (new Date(json['created'])),
|
52
|
+
'lastUpdated': (new Date(json['last_updated'])),
|
53
|
+
'lastUsed': (json['last_used'] === null ? null : new Date(json['last_used'])),
|
48
54
|
};
|
49
55
|
}
|
50
56
|
exports.DeviceFromJSONTyped = DeviceFromJSONTyped;
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.3
|
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
|
+
*
|
14
|
+
* @export
|
15
|
+
*/
|
16
|
+
export declare const GroupMatchingModeEnum: {
|
17
|
+
readonly Identifier: "identifier";
|
18
|
+
readonly NameLink: "name_link";
|
19
|
+
readonly NameDeny: "name_deny";
|
20
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
21
|
+
};
|
22
|
+
export type GroupMatchingModeEnum = typeof GroupMatchingModeEnum[keyof typeof GroupMatchingModeEnum];
|
23
|
+
export declare function GroupMatchingModeEnumFromJSON(json: any): GroupMatchingModeEnum;
|
24
|
+
export declare function GroupMatchingModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupMatchingModeEnum;
|
25
|
+
export declare function GroupMatchingModeEnumToJSON(value?: GroupMatchingModeEnum | null): any;
|
@@ -0,0 +1,38 @@
|
|
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.6.3
|
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.GroupMatchingModeEnumToJSON = exports.GroupMatchingModeEnumFromJSONTyped = exports.GroupMatchingModeEnumFromJSON = exports.GroupMatchingModeEnum = void 0;
|
17
|
+
/**
|
18
|
+
*
|
19
|
+
* @export
|
20
|
+
*/
|
21
|
+
exports.GroupMatchingModeEnum = {
|
22
|
+
Identifier: 'identifier',
|
23
|
+
NameLink: 'name_link',
|
24
|
+
NameDeny: 'name_deny',
|
25
|
+
UnknownDefaultOpenApi: '11184809'
|
26
|
+
};
|
27
|
+
function GroupMatchingModeEnumFromJSON(json) {
|
28
|
+
return GroupMatchingModeEnumFromJSONTyped(json, false);
|
29
|
+
}
|
30
|
+
exports.GroupMatchingModeEnumFromJSON = GroupMatchingModeEnumFromJSON;
|
31
|
+
function GroupMatchingModeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
32
|
+
return json;
|
33
|
+
}
|
34
|
+
exports.GroupMatchingModeEnumFromJSONTyped = GroupMatchingModeEnumFromJSONTyped;
|
35
|
+
function GroupMatchingModeEnumToJSON(value) {
|
36
|
+
return value;
|
37
|
+
}
|
38
|
+
exports.GroupMatchingModeEnumToJSON = GroupMatchingModeEnumToJSON;
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.3
|
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 { Source } from './Source';
|
13
|
+
/**
|
14
|
+
* OAuth Group-Source connection Serializer
|
15
|
+
* @export
|
16
|
+
* @interface GroupOAuthSourceConnection
|
17
|
+
*/
|
18
|
+
export interface GroupOAuthSourceConnection {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {number}
|
22
|
+
* @memberof GroupOAuthSourceConnection
|
23
|
+
*/
|
24
|
+
readonly pk: number;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {string}
|
28
|
+
* @memberof GroupOAuthSourceConnection
|
29
|
+
*/
|
30
|
+
readonly group: string;
|
31
|
+
/**
|
32
|
+
*
|
33
|
+
* @type {Source}
|
34
|
+
* @memberof GroupOAuthSourceConnection
|
35
|
+
*/
|
36
|
+
readonly source: Source;
|
37
|
+
/**
|
38
|
+
*
|
39
|
+
* @type {string}
|
40
|
+
* @memberof GroupOAuthSourceConnection
|
41
|
+
*/
|
42
|
+
readonly identifier: string;
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* @type {Date}
|
46
|
+
* @memberof GroupOAuthSourceConnection
|
47
|
+
*/
|
48
|
+
readonly created: Date;
|
49
|
+
}
|
50
|
+
/**
|
51
|
+
* Check if a given object implements the GroupOAuthSourceConnection interface.
|
52
|
+
*/
|
53
|
+
export declare function instanceOfGroupOAuthSourceConnection(value: object): boolean;
|
54
|
+
export declare function GroupOAuthSourceConnectionFromJSON(json: any): GroupOAuthSourceConnection;
|
55
|
+
export declare function GroupOAuthSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupOAuthSourceConnection;
|
56
|
+
export declare function GroupOAuthSourceConnectionToJSON(value?: GroupOAuthSourceConnection | null): any;
|
@@ -0,0 +1,57 @@
|
|
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.6.3
|
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.GroupOAuthSourceConnectionToJSON = exports.GroupOAuthSourceConnectionFromJSONTyped = exports.GroupOAuthSourceConnectionFromJSON = exports.instanceOfGroupOAuthSourceConnection = void 0;
|
17
|
+
const Source_1 = require("./Source");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the GroupOAuthSourceConnection interface.
|
20
|
+
*/
|
21
|
+
function instanceOfGroupOAuthSourceConnection(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
isInstance = isInstance && "pk" in value;
|
24
|
+
isInstance = isInstance && "group" in value;
|
25
|
+
isInstance = isInstance && "source" in value;
|
26
|
+
isInstance = isInstance && "identifier" in value;
|
27
|
+
isInstance = isInstance && "created" in value;
|
28
|
+
return isInstance;
|
29
|
+
}
|
30
|
+
exports.instanceOfGroupOAuthSourceConnection = instanceOfGroupOAuthSourceConnection;
|
31
|
+
function GroupOAuthSourceConnectionFromJSON(json) {
|
32
|
+
return GroupOAuthSourceConnectionFromJSONTyped(json, false);
|
33
|
+
}
|
34
|
+
exports.GroupOAuthSourceConnectionFromJSON = GroupOAuthSourceConnectionFromJSON;
|
35
|
+
function GroupOAuthSourceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
36
|
+
if ((json === undefined) || (json === null)) {
|
37
|
+
return json;
|
38
|
+
}
|
39
|
+
return {
|
40
|
+
'pk': json['pk'],
|
41
|
+
'group': json['group'],
|
42
|
+
'source': (0, Source_1.SourceFromJSON)(json['source']),
|
43
|
+
'identifier': json['identifier'],
|
44
|
+
'created': (new Date(json['created'])),
|
45
|
+
};
|
46
|
+
}
|
47
|
+
exports.GroupOAuthSourceConnectionFromJSONTyped = GroupOAuthSourceConnectionFromJSONTyped;
|
48
|
+
function GroupOAuthSourceConnectionToJSON(value) {
|
49
|
+
if (value === undefined) {
|
50
|
+
return undefined;
|
51
|
+
}
|
52
|
+
if (value === null) {
|
53
|
+
return null;
|
54
|
+
}
|
55
|
+
return {};
|
56
|
+
}
|
57
|
+
exports.GroupOAuthSourceConnectionToJSON = GroupOAuthSourceConnectionToJSON;
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.6.3
|
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 { Source } from './Source';
|
13
|
+
/**
|
14
|
+
* OAuth Group-Source connection Serializer
|
15
|
+
* @export
|
16
|
+
* @interface GroupSAMLSourceConnection
|
17
|
+
*/
|
18
|
+
export interface GroupSAMLSourceConnection {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {number}
|
22
|
+
* @memberof GroupSAMLSourceConnection
|
23
|
+
*/
|
24
|
+
readonly pk: number;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {string}
|
28
|
+
* @memberof GroupSAMLSourceConnection
|
29
|
+
*/
|
30
|
+
readonly group: string;
|
31
|
+
/**
|
32
|
+
*
|
33
|
+
* @type {Source}
|
34
|
+
* @memberof GroupSAMLSourceConnection
|
35
|
+
*/
|
36
|
+
readonly source: Source;
|
37
|
+
/**
|
38
|
+
*
|
39
|
+
* @type {string}
|
40
|
+
* @memberof GroupSAMLSourceConnection
|
41
|
+
*/
|
42
|
+
readonly identifier: string;
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* @type {Date}
|
46
|
+
* @memberof GroupSAMLSourceConnection
|
47
|
+
*/
|
48
|
+
readonly created: Date;
|
49
|
+
}
|
50
|
+
/**
|
51
|
+
* Check if a given object implements the GroupSAMLSourceConnection interface.
|
52
|
+
*/
|
53
|
+
export declare function instanceOfGroupSAMLSourceConnection(value: object): boolean;
|
54
|
+
export declare function GroupSAMLSourceConnectionFromJSON(json: any): GroupSAMLSourceConnection;
|
55
|
+
export declare function GroupSAMLSourceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GroupSAMLSourceConnection;
|
56
|
+
export declare function GroupSAMLSourceConnectionToJSON(value?: GroupSAMLSourceConnection | null): any;
|