@goauthentik/api 2025.2.1-1740858273 → 2025.2.1-1741798605
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 -0
- package/dist/apis/StagesApi.d.ts +1 -1
- package/dist/esm/apis/StagesApi.d.ts +1 -1
- package/dist/esm/models/CompatibilityModeEnum.d.ts +27 -0
- package/dist/esm/models/CompatibilityModeEnum.js +45 -0
- package/dist/esm/models/EmailStage.d.ts +3 -3
- package/dist/esm/models/EmailStageRequest.d.ts +3 -3
- package/dist/esm/models/PatchedEmailStageRequest.d.ts +3 -3
- package/dist/esm/models/PatchedSCIMProviderRequest.d.ts +7 -0
- package/dist/esm/models/PatchedSCIMProviderRequest.js +3 -0
- package/dist/esm/models/SCIMProvider.d.ts +7 -0
- package/dist/esm/models/SCIMProvider.js +3 -0
- package/dist/esm/models/SCIMProviderRequest.d.ts +7 -0
- package/dist/esm/models/SCIMProviderRequest.js +3 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/CompatibilityModeEnum.d.ts +27 -0
- package/dist/models/CompatibilityModeEnum.js +53 -0
- package/dist/models/EmailStage.d.ts +3 -3
- package/dist/models/EmailStageRequest.d.ts +3 -3
- package/dist/models/PatchedEmailStageRequest.d.ts +3 -3
- package/dist/models/PatchedSCIMProviderRequest.d.ts +7 -0
- package/dist/models/PatchedSCIMProviderRequest.js +3 -0
- package/dist/models/SCIMProvider.d.ts +7 -0
- package/dist/models/SCIMProvider.js +3 -0
- package/dist/models/SCIMProviderRequest.d.ts +7 -0
- package/dist/models/SCIMProviderRequest.js +3 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/apis/StagesApi.ts +1 -1
- package/src/models/CompatibilityModeEnum.ts +55 -0
- package/src/models/EmailStage.ts +3 -3
- package/src/models/EmailStageRequest.ts +3 -3
- package/src/models/PatchedEmailStageRequest.ts +3 -3
- package/src/models/PatchedSCIMProviderRequest.ts +18 -0
- package/src/models/SCIMProvider.ts +18 -0
- package/src/models/SCIMProviderRequest.ts +18 -0
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -101,6 +101,7 @@ src/models/CertificateKeyPair.ts
|
|
|
101
101
|
src/models/CertificateKeyPairRequest.ts
|
|
102
102
|
src/models/ChallengeTypes.ts
|
|
103
103
|
src/models/ClientTypeEnum.ts
|
|
104
|
+
src/models/CompatibilityModeEnum.ts
|
|
104
105
|
src/models/Config.ts
|
|
105
106
|
src/models/ConnectionToken.ts
|
|
106
107
|
src/models/ConnectionTokenRequest.ts
|
package/dist/apis/StagesApi.d.ts
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.1
|
|
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 CompatibilityModeEnum: {
|
|
17
|
+
readonly Default: "default";
|
|
18
|
+
readonly Aws: "aws";
|
|
19
|
+
readonly Slack: "slack";
|
|
20
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
21
|
+
};
|
|
22
|
+
export type CompatibilityModeEnum = typeof CompatibilityModeEnum[keyof typeof CompatibilityModeEnum];
|
|
23
|
+
export declare function instanceOfCompatibilityModeEnum(value: any): boolean;
|
|
24
|
+
export declare function CompatibilityModeEnumFromJSON(json: any): CompatibilityModeEnum;
|
|
25
|
+
export declare function CompatibilityModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompatibilityModeEnum;
|
|
26
|
+
export declare function CompatibilityModeEnumToJSON(value?: CompatibilityModeEnum | null): any;
|
|
27
|
+
export declare function CompatibilityModeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): CompatibilityModeEnum;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.2.1
|
|
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
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const CompatibilityModeEnum = {
|
|
19
|
+
Default: 'default',
|
|
20
|
+
Aws: 'aws',
|
|
21
|
+
Slack: 'slack',
|
|
22
|
+
UnknownDefaultOpenApi: '11184809'
|
|
23
|
+
};
|
|
24
|
+
export function instanceOfCompatibilityModeEnum(value) {
|
|
25
|
+
for (const key in CompatibilityModeEnum) {
|
|
26
|
+
if (Object.prototype.hasOwnProperty.call(CompatibilityModeEnum, key)) {
|
|
27
|
+
if (CompatibilityModeEnum[key] === value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
export function CompatibilityModeEnumFromJSON(json) {
|
|
35
|
+
return CompatibilityModeEnumFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function CompatibilityModeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
export function CompatibilityModeEnumToJSON(value) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
export function CompatibilityModeEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
@@ -107,11 +107,11 @@ export interface EmailStage {
|
|
|
107
107
|
*/
|
|
108
108
|
fromAddress?: string;
|
|
109
109
|
/**
|
|
110
|
-
* Time
|
|
111
|
-
* @type {
|
|
110
|
+
* Time the token sent is valid (Format: hours=3,minutes=17,seconds=300).
|
|
111
|
+
* @type {string}
|
|
112
112
|
* @memberof EmailStage
|
|
113
113
|
*/
|
|
114
|
-
tokenExpiry?:
|
|
114
|
+
tokenExpiry?: string;
|
|
115
115
|
/**
|
|
116
116
|
*
|
|
117
117
|
* @type {string}
|
|
@@ -83,11 +83,11 @@ export interface EmailStageRequest {
|
|
|
83
83
|
*/
|
|
84
84
|
fromAddress?: string;
|
|
85
85
|
/**
|
|
86
|
-
* Time
|
|
87
|
-
* @type {
|
|
86
|
+
* Time the token sent is valid (Format: hours=3,minutes=17,seconds=300).
|
|
87
|
+
* @type {string}
|
|
88
88
|
* @memberof EmailStageRequest
|
|
89
89
|
*/
|
|
90
|
-
tokenExpiry?:
|
|
90
|
+
tokenExpiry?: string;
|
|
91
91
|
/**
|
|
92
92
|
*
|
|
93
93
|
* @type {string}
|
|
@@ -83,11 +83,11 @@ export interface PatchedEmailStageRequest {
|
|
|
83
83
|
*/
|
|
84
84
|
fromAddress?: string;
|
|
85
85
|
/**
|
|
86
|
-
* Time
|
|
87
|
-
* @type {
|
|
86
|
+
* Time the token sent is valid (Format: hours=3,minutes=17,seconds=300).
|
|
87
|
+
* @type {string}
|
|
88
88
|
* @memberof PatchedEmailStageRequest
|
|
89
89
|
*/
|
|
90
|
-
tokenExpiry?:
|
|
90
|
+
tokenExpiry?: string;
|
|
91
91
|
/**
|
|
92
92
|
*
|
|
93
93
|
* @type {string}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { CompatibilityModeEnum } from './CompatibilityModeEnum';
|
|
12
13
|
/**
|
|
13
14
|
* SCIMProvider Serializer
|
|
14
15
|
* @export
|
|
@@ -51,6 +52,12 @@ export interface PatchedSCIMProviderRequest {
|
|
|
51
52
|
* @memberof PatchedSCIMProviderRequest
|
|
52
53
|
*/
|
|
53
54
|
token?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Alter authentik behavior for vendor-specific SCIM implementations.
|
|
57
|
+
* @type {CompatibilityModeEnum}
|
|
58
|
+
* @memberof PatchedSCIMProviderRequest
|
|
59
|
+
*/
|
|
60
|
+
compatibilityMode?: CompatibilityModeEnum;
|
|
54
61
|
/**
|
|
55
62
|
*
|
|
56
63
|
* @type {boolean}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { CompatibilityModeEnumFromJSON, CompatibilityModeEnumToJSON, } from './CompatibilityModeEnum';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the PatchedSCIMProviderRequest interface.
|
|
16
17
|
*/
|
|
@@ -31,6 +32,7 @@ export function PatchedSCIMProviderRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
31
32
|
'url': json['url'] == null ? undefined : json['url'],
|
|
32
33
|
'verifyCertificates': json['verify_certificates'] == null ? undefined : json['verify_certificates'],
|
|
33
34
|
'token': json['token'] == null ? undefined : json['token'],
|
|
35
|
+
'compatibilityMode': json['compatibility_mode'] == null ? undefined : CompatibilityModeEnumFromJSON(json['compatibility_mode']),
|
|
34
36
|
'excludeUsersServiceAccount': json['exclude_users_service_account'] == null ? undefined : json['exclude_users_service_account'],
|
|
35
37
|
'filterGroup': json['filter_group'] == null ? undefined : json['filter_group'],
|
|
36
38
|
'dryRun': json['dry_run'] == null ? undefined : json['dry_run'],
|
|
@@ -50,6 +52,7 @@ export function PatchedSCIMProviderRequestToJSONTyped(value, ignoreDiscriminator
|
|
|
50
52
|
'url': value['url'],
|
|
51
53
|
'verify_certificates': value['verifyCertificates'],
|
|
52
54
|
'token': value['token'],
|
|
55
|
+
'compatibility_mode': CompatibilityModeEnumToJSON(value['compatibilityMode']),
|
|
53
56
|
'exclude_users_service_account': value['excludeUsersServiceAccount'],
|
|
54
57
|
'filter_group': value['filterGroup'],
|
|
55
58
|
'dry_run': value['dryRun'],
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { CompatibilityModeEnum } from './CompatibilityModeEnum';
|
|
12
13
|
/**
|
|
13
14
|
* SCIMProvider Serializer
|
|
14
15
|
* @export
|
|
@@ -93,6 +94,12 @@ export interface SCIMProvider {
|
|
|
93
94
|
* @memberof SCIMProvider
|
|
94
95
|
*/
|
|
95
96
|
token: string;
|
|
97
|
+
/**
|
|
98
|
+
* Alter authentik behavior for vendor-specific SCIM implementations.
|
|
99
|
+
* @type {CompatibilityModeEnum}
|
|
100
|
+
* @memberof SCIMProvider
|
|
101
|
+
*/
|
|
102
|
+
compatibilityMode?: CompatibilityModeEnum;
|
|
96
103
|
/**
|
|
97
104
|
*
|
|
98
105
|
* @type {boolean}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { CompatibilityModeEnumFromJSON, CompatibilityModeEnumToJSON, } from './CompatibilityModeEnum';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the SCIMProvider interface.
|
|
16
17
|
*/
|
|
@@ -58,6 +59,7 @@ export function SCIMProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
59
|
'url': json['url'],
|
|
59
60
|
'verifyCertificates': json['verify_certificates'] == null ? undefined : json['verify_certificates'],
|
|
60
61
|
'token': json['token'],
|
|
62
|
+
'compatibilityMode': json['compatibility_mode'] == null ? undefined : CompatibilityModeEnumFromJSON(json['compatibility_mode']),
|
|
61
63
|
'excludeUsersServiceAccount': json['exclude_users_service_account'] == null ? undefined : json['exclude_users_service_account'],
|
|
62
64
|
'filterGroup': json['filter_group'] == null ? undefined : json['filter_group'],
|
|
63
65
|
'dryRun': json['dry_run'] == null ? undefined : json['dry_run'],
|
|
@@ -77,6 +79,7 @@ export function SCIMProviderToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
77
79
|
'url': value['url'],
|
|
78
80
|
'verify_certificates': value['verifyCertificates'],
|
|
79
81
|
'token': value['token'],
|
|
82
|
+
'compatibility_mode': CompatibilityModeEnumToJSON(value['compatibilityMode']),
|
|
80
83
|
'exclude_users_service_account': value['excludeUsersServiceAccount'],
|
|
81
84
|
'filter_group': value['filterGroup'],
|
|
82
85
|
'dry_run': value['dryRun'],
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { CompatibilityModeEnum } from './CompatibilityModeEnum';
|
|
12
13
|
/**
|
|
13
14
|
* SCIMProvider Serializer
|
|
14
15
|
* @export
|
|
@@ -51,6 +52,12 @@ export interface SCIMProviderRequest {
|
|
|
51
52
|
* @memberof SCIMProviderRequest
|
|
52
53
|
*/
|
|
53
54
|
token: string;
|
|
55
|
+
/**
|
|
56
|
+
* Alter authentik behavior for vendor-specific SCIM implementations.
|
|
57
|
+
* @type {CompatibilityModeEnum}
|
|
58
|
+
* @memberof SCIMProviderRequest
|
|
59
|
+
*/
|
|
60
|
+
compatibilityMode?: CompatibilityModeEnum;
|
|
54
61
|
/**
|
|
55
62
|
*
|
|
56
63
|
* @type {boolean}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { CompatibilityModeEnumFromJSON, CompatibilityModeEnumToJSON, } from './CompatibilityModeEnum';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the SCIMProviderRequest interface.
|
|
16
17
|
*/
|
|
@@ -37,6 +38,7 @@ export function SCIMProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
'url': json['url'],
|
|
38
39
|
'verifyCertificates': json['verify_certificates'] == null ? undefined : json['verify_certificates'],
|
|
39
40
|
'token': json['token'],
|
|
41
|
+
'compatibilityMode': json['compatibility_mode'] == null ? undefined : CompatibilityModeEnumFromJSON(json['compatibility_mode']),
|
|
40
42
|
'excludeUsersServiceAccount': json['exclude_users_service_account'] == null ? undefined : json['exclude_users_service_account'],
|
|
41
43
|
'filterGroup': json['filter_group'] == null ? undefined : json['filter_group'],
|
|
42
44
|
'dryRun': json['dry_run'] == null ? undefined : json['dry_run'],
|
|
@@ -56,6 +58,7 @@ export function SCIMProviderRequestToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
56
58
|
'url': value['url'],
|
|
57
59
|
'verify_certificates': value['verifyCertificates'],
|
|
58
60
|
'token': value['token'],
|
|
61
|
+
'compatibility_mode': CompatibilityModeEnumToJSON(value['compatibilityMode']),
|
|
59
62
|
'exclude_users_service_account': value['excludeUsersServiceAccount'],
|
|
60
63
|
'filter_group': value['filterGroup'],
|
|
61
64
|
'dry_run': value['dryRun'],
|
|
@@ -73,6 +73,7 @@ export * from './CertificateKeyPair';
|
|
|
73
73
|
export * from './CertificateKeyPairRequest';
|
|
74
74
|
export * from './ChallengeTypes';
|
|
75
75
|
export * from './ClientTypeEnum';
|
|
76
|
+
export * from './CompatibilityModeEnum';
|
|
76
77
|
export * from './Config';
|
|
77
78
|
export * from './ConnectionToken';
|
|
78
79
|
export * from './ConnectionTokenRequest';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -75,6 +75,7 @@ export * from './CertificateKeyPair';
|
|
|
75
75
|
export * from './CertificateKeyPairRequest';
|
|
76
76
|
export * from './ChallengeTypes';
|
|
77
77
|
export * from './ClientTypeEnum';
|
|
78
|
+
export * from './CompatibilityModeEnum';
|
|
78
79
|
export * from './Config';
|
|
79
80
|
export * from './ConnectionToken';
|
|
80
81
|
export * from './ConnectionTokenRequest';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2025.2.1
|
|
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 CompatibilityModeEnum: {
|
|
17
|
+
readonly Default: "default";
|
|
18
|
+
readonly Aws: "aws";
|
|
19
|
+
readonly Slack: "slack";
|
|
20
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
21
|
+
};
|
|
22
|
+
export type CompatibilityModeEnum = typeof CompatibilityModeEnum[keyof typeof CompatibilityModeEnum];
|
|
23
|
+
export declare function instanceOfCompatibilityModeEnum(value: any): boolean;
|
|
24
|
+
export declare function CompatibilityModeEnumFromJSON(json: any): CompatibilityModeEnum;
|
|
25
|
+
export declare function CompatibilityModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompatibilityModeEnum;
|
|
26
|
+
export declare function CompatibilityModeEnumToJSON(value?: CompatibilityModeEnum | null): any;
|
|
27
|
+
export declare function CompatibilityModeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): CompatibilityModeEnum;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2025.2.1
|
|
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.CompatibilityModeEnum = void 0;
|
|
17
|
+
exports.instanceOfCompatibilityModeEnum = instanceOfCompatibilityModeEnum;
|
|
18
|
+
exports.CompatibilityModeEnumFromJSON = CompatibilityModeEnumFromJSON;
|
|
19
|
+
exports.CompatibilityModeEnumFromJSONTyped = CompatibilityModeEnumFromJSONTyped;
|
|
20
|
+
exports.CompatibilityModeEnumToJSON = CompatibilityModeEnumToJSON;
|
|
21
|
+
exports.CompatibilityModeEnumToJSONTyped = CompatibilityModeEnumToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.CompatibilityModeEnum = {
|
|
27
|
+
Default: 'default',
|
|
28
|
+
Aws: 'aws',
|
|
29
|
+
Slack: 'slack',
|
|
30
|
+
UnknownDefaultOpenApi: '11184809'
|
|
31
|
+
};
|
|
32
|
+
function instanceOfCompatibilityModeEnum(value) {
|
|
33
|
+
for (const key in exports.CompatibilityModeEnum) {
|
|
34
|
+
if (Object.prototype.hasOwnProperty.call(exports.CompatibilityModeEnum, key)) {
|
|
35
|
+
if (exports.CompatibilityModeEnum[key] === value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
function CompatibilityModeEnumFromJSON(json) {
|
|
43
|
+
return CompatibilityModeEnumFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function CompatibilityModeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
function CompatibilityModeEnumToJSON(value) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
function CompatibilityModeEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
@@ -107,11 +107,11 @@ export interface EmailStage {
|
|
|
107
107
|
*/
|
|
108
108
|
fromAddress?: string;
|
|
109
109
|
/**
|
|
110
|
-
* Time
|
|
111
|
-
* @type {
|
|
110
|
+
* Time the token sent is valid (Format: hours=3,minutes=17,seconds=300).
|
|
111
|
+
* @type {string}
|
|
112
112
|
* @memberof EmailStage
|
|
113
113
|
*/
|
|
114
|
-
tokenExpiry?:
|
|
114
|
+
tokenExpiry?: string;
|
|
115
115
|
/**
|
|
116
116
|
*
|
|
117
117
|
* @type {string}
|
|
@@ -83,11 +83,11 @@ export interface EmailStageRequest {
|
|
|
83
83
|
*/
|
|
84
84
|
fromAddress?: string;
|
|
85
85
|
/**
|
|
86
|
-
* Time
|
|
87
|
-
* @type {
|
|
86
|
+
* Time the token sent is valid (Format: hours=3,minutes=17,seconds=300).
|
|
87
|
+
* @type {string}
|
|
88
88
|
* @memberof EmailStageRequest
|
|
89
89
|
*/
|
|
90
|
-
tokenExpiry?:
|
|
90
|
+
tokenExpiry?: string;
|
|
91
91
|
/**
|
|
92
92
|
*
|
|
93
93
|
* @type {string}
|
|
@@ -83,11 +83,11 @@ export interface PatchedEmailStageRequest {
|
|
|
83
83
|
*/
|
|
84
84
|
fromAddress?: string;
|
|
85
85
|
/**
|
|
86
|
-
* Time
|
|
87
|
-
* @type {
|
|
86
|
+
* Time the token sent is valid (Format: hours=3,minutes=17,seconds=300).
|
|
87
|
+
* @type {string}
|
|
88
88
|
* @memberof PatchedEmailStageRequest
|
|
89
89
|
*/
|
|
90
|
-
tokenExpiry?:
|
|
90
|
+
tokenExpiry?: string;
|
|
91
91
|
/**
|
|
92
92
|
*
|
|
93
93
|
* @type {string}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { CompatibilityModeEnum } from './CompatibilityModeEnum';
|
|
12
13
|
/**
|
|
13
14
|
* SCIMProvider Serializer
|
|
14
15
|
* @export
|
|
@@ -51,6 +52,12 @@ export interface PatchedSCIMProviderRequest {
|
|
|
51
52
|
* @memberof PatchedSCIMProviderRequest
|
|
52
53
|
*/
|
|
53
54
|
token?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Alter authentik behavior for vendor-specific SCIM implementations.
|
|
57
|
+
* @type {CompatibilityModeEnum}
|
|
58
|
+
* @memberof PatchedSCIMProviderRequest
|
|
59
|
+
*/
|
|
60
|
+
compatibilityMode?: CompatibilityModeEnum;
|
|
54
61
|
/**
|
|
55
62
|
*
|
|
56
63
|
* @type {boolean}
|
|
@@ -18,6 +18,7 @@ exports.PatchedSCIMProviderRequestFromJSON = PatchedSCIMProviderRequestFromJSON;
|
|
|
18
18
|
exports.PatchedSCIMProviderRequestFromJSONTyped = PatchedSCIMProviderRequestFromJSONTyped;
|
|
19
19
|
exports.PatchedSCIMProviderRequestToJSON = PatchedSCIMProviderRequestToJSON;
|
|
20
20
|
exports.PatchedSCIMProviderRequestToJSONTyped = PatchedSCIMProviderRequestToJSONTyped;
|
|
21
|
+
const CompatibilityModeEnum_1 = require("./CompatibilityModeEnum");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the PatchedSCIMProviderRequest interface.
|
|
23
24
|
*/
|
|
@@ -38,6 +39,7 @@ function PatchedSCIMProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
39
|
'url': json['url'] == null ? undefined : json['url'],
|
|
39
40
|
'verifyCertificates': json['verify_certificates'] == null ? undefined : json['verify_certificates'],
|
|
40
41
|
'token': json['token'] == null ? undefined : json['token'],
|
|
42
|
+
'compatibilityMode': json['compatibility_mode'] == null ? undefined : (0, CompatibilityModeEnum_1.CompatibilityModeEnumFromJSON)(json['compatibility_mode']),
|
|
41
43
|
'excludeUsersServiceAccount': json['exclude_users_service_account'] == null ? undefined : json['exclude_users_service_account'],
|
|
42
44
|
'filterGroup': json['filter_group'] == null ? undefined : json['filter_group'],
|
|
43
45
|
'dryRun': json['dry_run'] == null ? undefined : json['dry_run'],
|
|
@@ -57,6 +59,7 @@ function PatchedSCIMProviderRequestToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
57
59
|
'url': value['url'],
|
|
58
60
|
'verify_certificates': value['verifyCertificates'],
|
|
59
61
|
'token': value['token'],
|
|
62
|
+
'compatibility_mode': (0, CompatibilityModeEnum_1.CompatibilityModeEnumToJSON)(value['compatibilityMode']),
|
|
60
63
|
'exclude_users_service_account': value['excludeUsersServiceAccount'],
|
|
61
64
|
'filter_group': value['filterGroup'],
|
|
62
65
|
'dry_run': value['dryRun'],
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { CompatibilityModeEnum } from './CompatibilityModeEnum';
|
|
12
13
|
/**
|
|
13
14
|
* SCIMProvider Serializer
|
|
14
15
|
* @export
|
|
@@ -93,6 +94,12 @@ export interface SCIMProvider {
|
|
|
93
94
|
* @memberof SCIMProvider
|
|
94
95
|
*/
|
|
95
96
|
token: string;
|
|
97
|
+
/**
|
|
98
|
+
* Alter authentik behavior for vendor-specific SCIM implementations.
|
|
99
|
+
* @type {CompatibilityModeEnum}
|
|
100
|
+
* @memberof SCIMProvider
|
|
101
|
+
*/
|
|
102
|
+
compatibilityMode?: CompatibilityModeEnum;
|
|
96
103
|
/**
|
|
97
104
|
*
|
|
98
105
|
* @type {boolean}
|
|
@@ -18,6 +18,7 @@ exports.SCIMProviderFromJSON = SCIMProviderFromJSON;
|
|
|
18
18
|
exports.SCIMProviderFromJSONTyped = SCIMProviderFromJSONTyped;
|
|
19
19
|
exports.SCIMProviderToJSON = SCIMProviderToJSON;
|
|
20
20
|
exports.SCIMProviderToJSONTyped = SCIMProviderToJSONTyped;
|
|
21
|
+
const CompatibilityModeEnum_1 = require("./CompatibilityModeEnum");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the SCIMProvider interface.
|
|
23
24
|
*/
|
|
@@ -65,6 +66,7 @@ function SCIMProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
66
|
'url': json['url'],
|
|
66
67
|
'verifyCertificates': json['verify_certificates'] == null ? undefined : json['verify_certificates'],
|
|
67
68
|
'token': json['token'],
|
|
69
|
+
'compatibilityMode': json['compatibility_mode'] == null ? undefined : (0, CompatibilityModeEnum_1.CompatibilityModeEnumFromJSON)(json['compatibility_mode']),
|
|
68
70
|
'excludeUsersServiceAccount': json['exclude_users_service_account'] == null ? undefined : json['exclude_users_service_account'],
|
|
69
71
|
'filterGroup': json['filter_group'] == null ? undefined : json['filter_group'],
|
|
70
72
|
'dryRun': json['dry_run'] == null ? undefined : json['dry_run'],
|
|
@@ -84,6 +86,7 @@ function SCIMProviderToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
84
86
|
'url': value['url'],
|
|
85
87
|
'verify_certificates': value['verifyCertificates'],
|
|
86
88
|
'token': value['token'],
|
|
89
|
+
'compatibility_mode': (0, CompatibilityModeEnum_1.CompatibilityModeEnumToJSON)(value['compatibilityMode']),
|
|
87
90
|
'exclude_users_service_account': value['excludeUsersServiceAccount'],
|
|
88
91
|
'filter_group': value['filterGroup'],
|
|
89
92
|
'dry_run': value['dryRun'],
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { CompatibilityModeEnum } from './CompatibilityModeEnum';
|
|
12
13
|
/**
|
|
13
14
|
* SCIMProvider Serializer
|
|
14
15
|
* @export
|
|
@@ -51,6 +52,12 @@ export interface SCIMProviderRequest {
|
|
|
51
52
|
* @memberof SCIMProviderRequest
|
|
52
53
|
*/
|
|
53
54
|
token: string;
|
|
55
|
+
/**
|
|
56
|
+
* Alter authentik behavior for vendor-specific SCIM implementations.
|
|
57
|
+
* @type {CompatibilityModeEnum}
|
|
58
|
+
* @memberof SCIMProviderRequest
|
|
59
|
+
*/
|
|
60
|
+
compatibilityMode?: CompatibilityModeEnum;
|
|
54
61
|
/**
|
|
55
62
|
*
|
|
56
63
|
* @type {boolean}
|
|
@@ -18,6 +18,7 @@ exports.SCIMProviderRequestFromJSON = SCIMProviderRequestFromJSON;
|
|
|
18
18
|
exports.SCIMProviderRequestFromJSONTyped = SCIMProviderRequestFromJSONTyped;
|
|
19
19
|
exports.SCIMProviderRequestToJSON = SCIMProviderRequestToJSON;
|
|
20
20
|
exports.SCIMProviderRequestToJSONTyped = SCIMProviderRequestToJSONTyped;
|
|
21
|
+
const CompatibilityModeEnum_1 = require("./CompatibilityModeEnum");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the SCIMProviderRequest interface.
|
|
23
24
|
*/
|
|
@@ -44,6 +45,7 @@ function SCIMProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
45
|
'url': json['url'],
|
|
45
46
|
'verifyCertificates': json['verify_certificates'] == null ? undefined : json['verify_certificates'],
|
|
46
47
|
'token': json['token'],
|
|
48
|
+
'compatibilityMode': json['compatibility_mode'] == null ? undefined : (0, CompatibilityModeEnum_1.CompatibilityModeEnumFromJSON)(json['compatibility_mode']),
|
|
47
49
|
'excludeUsersServiceAccount': json['exclude_users_service_account'] == null ? undefined : json['exclude_users_service_account'],
|
|
48
50
|
'filterGroup': json['filter_group'] == null ? undefined : json['filter_group'],
|
|
49
51
|
'dryRun': json['dry_run'] == null ? undefined : json['dry_run'],
|
|
@@ -63,6 +65,7 @@ function SCIMProviderRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
63
65
|
'url': value['url'],
|
|
64
66
|
'verify_certificates': value['verifyCertificates'],
|
|
65
67
|
'token': value['token'],
|
|
68
|
+
'compatibility_mode': (0, CompatibilityModeEnum_1.CompatibilityModeEnumToJSON)(value['compatibilityMode']),
|
|
66
69
|
'exclude_users_service_account': value['excludeUsersServiceAccount'],
|
|
67
70
|
'filter_group': value['filterGroup'],
|
|
68
71
|
'dry_run': value['dryRun'],
|
package/dist/models/index.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ export * from './CertificateKeyPair';
|
|
|
73
73
|
export * from './CertificateKeyPairRequest';
|
|
74
74
|
export * from './ChallengeTypes';
|
|
75
75
|
export * from './ClientTypeEnum';
|
|
76
|
+
export * from './CompatibilityModeEnum';
|
|
76
77
|
export * from './Config';
|
|
77
78
|
export * from './ConnectionToken';
|
|
78
79
|
export * from './ConnectionTokenRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -91,6 +91,7 @@ __exportStar(require("./CertificateKeyPair"), exports);
|
|
|
91
91
|
__exportStar(require("./CertificateKeyPairRequest"), exports);
|
|
92
92
|
__exportStar(require("./ChallengeTypes"), exports);
|
|
93
93
|
__exportStar(require("./ClientTypeEnum"), exports);
|
|
94
|
+
__exportStar(require("./CompatibilityModeEnum"), exports);
|
|
94
95
|
__exportStar(require("./Config"), exports);
|
|
95
96
|
__exportStar(require("./ConnectionToken"), exports);
|
|
96
97
|
__exportStar(require("./ConnectionTokenRequest"), exports);
|
package/package.json
CHANGED
package/src/apis/StagesApi.ts
CHANGED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.2.1
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const CompatibilityModeEnum = {
|
|
21
|
+
Default: 'default',
|
|
22
|
+
Aws: 'aws',
|
|
23
|
+
Slack: 'slack',
|
|
24
|
+
UnknownDefaultOpenApi: '11184809'
|
|
25
|
+
} as const;
|
|
26
|
+
export type CompatibilityModeEnum = typeof CompatibilityModeEnum[keyof typeof CompatibilityModeEnum];
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
export function instanceOfCompatibilityModeEnum(value: any): boolean {
|
|
30
|
+
for (const key in CompatibilityModeEnum) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(CompatibilityModeEnum, key)) {
|
|
32
|
+
if (CompatibilityModeEnum[key as keyof typeof CompatibilityModeEnum] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function CompatibilityModeEnumFromJSON(json: any): CompatibilityModeEnum {
|
|
41
|
+
return CompatibilityModeEnumFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function CompatibilityModeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompatibilityModeEnum {
|
|
45
|
+
return json as CompatibilityModeEnum;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function CompatibilityModeEnumToJSON(value?: CompatibilityModeEnum | null): any {
|
|
49
|
+
return value as any;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function CompatibilityModeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): CompatibilityModeEnum {
|
|
53
|
+
return value as CompatibilityModeEnum;
|
|
54
|
+
}
|
|
55
|
+
|
package/src/models/EmailStage.ts
CHANGED
|
@@ -118,11 +118,11 @@ export interface EmailStage {
|
|
|
118
118
|
*/
|
|
119
119
|
fromAddress?: string;
|
|
120
120
|
/**
|
|
121
|
-
* Time
|
|
122
|
-
* @type {
|
|
121
|
+
* Time the token sent is valid (Format: hours=3,minutes=17,seconds=300).
|
|
122
|
+
* @type {string}
|
|
123
123
|
* @memberof EmailStage
|
|
124
124
|
*/
|
|
125
|
-
tokenExpiry?:
|
|
125
|
+
tokenExpiry?: string;
|
|
126
126
|
/**
|
|
127
127
|
*
|
|
128
128
|
* @type {string}
|
|
@@ -94,11 +94,11 @@ export interface EmailStageRequest {
|
|
|
94
94
|
*/
|
|
95
95
|
fromAddress?: string;
|
|
96
96
|
/**
|
|
97
|
-
* Time
|
|
98
|
-
* @type {
|
|
97
|
+
* Time the token sent is valid (Format: hours=3,minutes=17,seconds=300).
|
|
98
|
+
* @type {string}
|
|
99
99
|
* @memberof EmailStageRequest
|
|
100
100
|
*/
|
|
101
|
-
tokenExpiry?:
|
|
101
|
+
tokenExpiry?: string;
|
|
102
102
|
/**
|
|
103
103
|
*
|
|
104
104
|
* @type {string}
|
|
@@ -94,11 +94,11 @@ export interface PatchedEmailStageRequest {
|
|
|
94
94
|
*/
|
|
95
95
|
fromAddress?: string;
|
|
96
96
|
/**
|
|
97
|
-
* Time
|
|
98
|
-
* @type {
|
|
97
|
+
* Time the token sent is valid (Format: hours=3,minutes=17,seconds=300).
|
|
98
|
+
* @type {string}
|
|
99
99
|
* @memberof PatchedEmailStageRequest
|
|
100
100
|
*/
|
|
101
|
-
tokenExpiry?:
|
|
101
|
+
tokenExpiry?: string;
|
|
102
102
|
/**
|
|
103
103
|
*
|
|
104
104
|
* @type {string}
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { CompatibilityModeEnum } from './CompatibilityModeEnum';
|
|
17
|
+
import {
|
|
18
|
+
CompatibilityModeEnumFromJSON,
|
|
19
|
+
CompatibilityModeEnumFromJSONTyped,
|
|
20
|
+
CompatibilityModeEnumToJSON,
|
|
21
|
+
CompatibilityModeEnumToJSONTyped,
|
|
22
|
+
} from './CompatibilityModeEnum';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
* SCIMProvider Serializer
|
|
18
26
|
* @export
|
|
@@ -55,6 +63,12 @@ export interface PatchedSCIMProviderRequest {
|
|
|
55
63
|
* @memberof PatchedSCIMProviderRequest
|
|
56
64
|
*/
|
|
57
65
|
token?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Alter authentik behavior for vendor-specific SCIM implementations.
|
|
68
|
+
* @type {CompatibilityModeEnum}
|
|
69
|
+
* @memberof PatchedSCIMProviderRequest
|
|
70
|
+
*/
|
|
71
|
+
compatibilityMode?: CompatibilityModeEnum;
|
|
58
72
|
/**
|
|
59
73
|
*
|
|
60
74
|
* @type {boolean}
|
|
@@ -75,6 +89,8 @@ export interface PatchedSCIMProviderRequest {
|
|
|
75
89
|
dryRun?: boolean;
|
|
76
90
|
}
|
|
77
91
|
|
|
92
|
+
|
|
93
|
+
|
|
78
94
|
/**
|
|
79
95
|
* Check if a given object implements the PatchedSCIMProviderRequest interface.
|
|
80
96
|
*/
|
|
@@ -98,6 +114,7 @@ export function PatchedSCIMProviderRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
98
114
|
'url': json['url'] == null ? undefined : json['url'],
|
|
99
115
|
'verifyCertificates': json['verify_certificates'] == null ? undefined : json['verify_certificates'],
|
|
100
116
|
'token': json['token'] == null ? undefined : json['token'],
|
|
117
|
+
'compatibilityMode': json['compatibility_mode'] == null ? undefined : CompatibilityModeEnumFromJSON(json['compatibility_mode']),
|
|
101
118
|
'excludeUsersServiceAccount': json['exclude_users_service_account'] == null ? undefined : json['exclude_users_service_account'],
|
|
102
119
|
'filterGroup': json['filter_group'] == null ? undefined : json['filter_group'],
|
|
103
120
|
'dryRun': json['dry_run'] == null ? undefined : json['dry_run'],
|
|
@@ -121,6 +138,7 @@ export function PatchedSCIMProviderRequestToJSONTyped(value?: PatchedSCIMProvide
|
|
|
121
138
|
'url': value['url'],
|
|
122
139
|
'verify_certificates': value['verifyCertificates'],
|
|
123
140
|
'token': value['token'],
|
|
141
|
+
'compatibility_mode': CompatibilityModeEnumToJSON(value['compatibilityMode']),
|
|
124
142
|
'exclude_users_service_account': value['excludeUsersServiceAccount'],
|
|
125
143
|
'filter_group': value['filterGroup'],
|
|
126
144
|
'dry_run': value['dryRun'],
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { CompatibilityModeEnum } from './CompatibilityModeEnum';
|
|
17
|
+
import {
|
|
18
|
+
CompatibilityModeEnumFromJSON,
|
|
19
|
+
CompatibilityModeEnumFromJSONTyped,
|
|
20
|
+
CompatibilityModeEnumToJSON,
|
|
21
|
+
CompatibilityModeEnumToJSONTyped,
|
|
22
|
+
} from './CompatibilityModeEnum';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
* SCIMProvider Serializer
|
|
18
26
|
* @export
|
|
@@ -97,6 +105,12 @@ export interface SCIMProvider {
|
|
|
97
105
|
* @memberof SCIMProvider
|
|
98
106
|
*/
|
|
99
107
|
token: string;
|
|
108
|
+
/**
|
|
109
|
+
* Alter authentik behavior for vendor-specific SCIM implementations.
|
|
110
|
+
* @type {CompatibilityModeEnum}
|
|
111
|
+
* @memberof SCIMProvider
|
|
112
|
+
*/
|
|
113
|
+
compatibilityMode?: CompatibilityModeEnum;
|
|
100
114
|
/**
|
|
101
115
|
*
|
|
102
116
|
* @type {boolean}
|
|
@@ -117,6 +131,8 @@ export interface SCIMProvider {
|
|
|
117
131
|
dryRun?: boolean;
|
|
118
132
|
}
|
|
119
133
|
|
|
134
|
+
|
|
135
|
+
|
|
120
136
|
/**
|
|
121
137
|
* Check if a given object implements the SCIMProvider interface.
|
|
122
138
|
*/
|
|
@@ -157,6 +173,7 @@ export function SCIMProviderFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
157
173
|
'url': json['url'],
|
|
158
174
|
'verifyCertificates': json['verify_certificates'] == null ? undefined : json['verify_certificates'],
|
|
159
175
|
'token': json['token'],
|
|
176
|
+
'compatibilityMode': json['compatibility_mode'] == null ? undefined : CompatibilityModeEnumFromJSON(json['compatibility_mode']),
|
|
160
177
|
'excludeUsersServiceAccount': json['exclude_users_service_account'] == null ? undefined : json['exclude_users_service_account'],
|
|
161
178
|
'filterGroup': json['filter_group'] == null ? undefined : json['filter_group'],
|
|
162
179
|
'dryRun': json['dry_run'] == null ? undefined : json['dry_run'],
|
|
@@ -180,6 +197,7 @@ export function SCIMProviderToJSONTyped(value?: Omit<SCIMProvider, 'pk'|'compone
|
|
|
180
197
|
'url': value['url'],
|
|
181
198
|
'verify_certificates': value['verifyCertificates'],
|
|
182
199
|
'token': value['token'],
|
|
200
|
+
'compatibility_mode': CompatibilityModeEnumToJSON(value['compatibilityMode']),
|
|
183
201
|
'exclude_users_service_account': value['excludeUsersServiceAccount'],
|
|
184
202
|
'filter_group': value['filterGroup'],
|
|
185
203
|
'dry_run': value['dryRun'],
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { CompatibilityModeEnum } from './CompatibilityModeEnum';
|
|
17
|
+
import {
|
|
18
|
+
CompatibilityModeEnumFromJSON,
|
|
19
|
+
CompatibilityModeEnumFromJSONTyped,
|
|
20
|
+
CompatibilityModeEnumToJSON,
|
|
21
|
+
CompatibilityModeEnumToJSONTyped,
|
|
22
|
+
} from './CompatibilityModeEnum';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
* SCIMProvider Serializer
|
|
18
26
|
* @export
|
|
@@ -55,6 +63,12 @@ export interface SCIMProviderRequest {
|
|
|
55
63
|
* @memberof SCIMProviderRequest
|
|
56
64
|
*/
|
|
57
65
|
token: string;
|
|
66
|
+
/**
|
|
67
|
+
* Alter authentik behavior for vendor-specific SCIM implementations.
|
|
68
|
+
* @type {CompatibilityModeEnum}
|
|
69
|
+
* @memberof SCIMProviderRequest
|
|
70
|
+
*/
|
|
71
|
+
compatibilityMode?: CompatibilityModeEnum;
|
|
58
72
|
/**
|
|
59
73
|
*
|
|
60
74
|
* @type {boolean}
|
|
@@ -75,6 +89,8 @@ export interface SCIMProviderRequest {
|
|
|
75
89
|
dryRun?: boolean;
|
|
76
90
|
}
|
|
77
91
|
|
|
92
|
+
|
|
93
|
+
|
|
78
94
|
/**
|
|
79
95
|
* Check if a given object implements the SCIMProviderRequest interface.
|
|
80
96
|
*/
|
|
@@ -101,6 +117,7 @@ export function SCIMProviderRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
101
117
|
'url': json['url'],
|
|
102
118
|
'verifyCertificates': json['verify_certificates'] == null ? undefined : json['verify_certificates'],
|
|
103
119
|
'token': json['token'],
|
|
120
|
+
'compatibilityMode': json['compatibility_mode'] == null ? undefined : CompatibilityModeEnumFromJSON(json['compatibility_mode']),
|
|
104
121
|
'excludeUsersServiceAccount': json['exclude_users_service_account'] == null ? undefined : json['exclude_users_service_account'],
|
|
105
122
|
'filterGroup': json['filter_group'] == null ? undefined : json['filter_group'],
|
|
106
123
|
'dryRun': json['dry_run'] == null ? undefined : json['dry_run'],
|
|
@@ -124,6 +141,7 @@ export function SCIMProviderRequestToJSONTyped(value?: SCIMProviderRequest | nul
|
|
|
124
141
|
'url': value['url'],
|
|
125
142
|
'verify_certificates': value['verifyCertificates'],
|
|
126
143
|
'token': value['token'],
|
|
144
|
+
'compatibility_mode': CompatibilityModeEnumToJSON(value['compatibilityMode']),
|
|
127
145
|
'exclude_users_service_account': value['excludeUsersServiceAccount'],
|
|
128
146
|
'filter_group': value['filterGroup'],
|
|
129
147
|
'dry_run': value['dryRun'],
|
package/src/models/index.ts
CHANGED
|
@@ -75,6 +75,7 @@ export * from './CertificateKeyPair';
|
|
|
75
75
|
export * from './CertificateKeyPairRequest';
|
|
76
76
|
export * from './ChallengeTypes';
|
|
77
77
|
export * from './ClientTypeEnum';
|
|
78
|
+
export * from './CompatibilityModeEnum';
|
|
78
79
|
export * from './Config';
|
|
79
80
|
export * from './ConnectionToken';
|
|
80
81
|
export * from './ConnectionTokenRequest';
|