@goauthentik/api 2024.4.2-1716338508 → 2024.4.2-1716550354
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +1 -0
- package/dist/apis/PropertymappingsApi.d.ts +2 -2
- package/dist/apis/PropertymappingsApi.js +1 -4
- package/dist/esm/apis/PropertymappingsApi.d.ts +2 -2
- package/dist/esm/apis/PropertymappingsApi.js +2 -5
- package/dist/esm/models/OutpostHealth.d.ts +24 -0
- package/dist/esm/models/OutpostHealth.js +8 -0
- package/dist/esm/models/PropertyMappingTestRequest.d.ts +45 -0
- package/dist/esm/models/PropertyMappingTestRequest.js +47 -0
- package/dist/esm/models/SystemInfoRuntime.d.ts +17 -5
- package/dist/esm/models/SystemInfoRuntime.js +9 -3
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/OutpostHealth.d.ts +24 -0
- package/dist/models/OutpostHealth.js +8 -0
- package/dist/models/PropertyMappingTestRequest.d.ts +45 -0
- package/dist/models/PropertyMappingTestRequest.js +54 -0
- package/dist/models/SystemInfoRuntime.d.ts +17 -5
- package/dist/models/SystemInfoRuntime.js +9 -3
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/apis/PropertymappingsApi.ts +5 -9
- package/src/models/OutpostHealth.ts +32 -0
- package/src/models/PropertyMappingTestRequest.ts +81 -0
- package/src/models/SystemInfoRuntime.ts +26 -8
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
@@ -483,6 +483,7 @@ src/models/PromptStageRequest.ts
|
|
483
483
|
src/models/PromptTypeEnum.ts
|
484
484
|
src/models/PropertyMapping.ts
|
485
485
|
src/models/PropertyMappingPreview.ts
|
486
|
+
src/models/PropertyMappingTestRequest.ts
|
486
487
|
src/models/PropertyMappingTestResult.ts
|
487
488
|
src/models/ProtocolEnum.ts
|
488
489
|
src/models/Provider.ts
|
@@ -10,7 +10,7 @@
|
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
12
|
import * as runtime from '../runtime';
|
13
|
-
import type { GoogleWorkspaceProviderMapping, GoogleWorkspaceProviderMappingRequest, LDAPPropertyMapping, LDAPPropertyMappingRequest, MicrosoftEntraProviderMapping, MicrosoftEntraProviderMappingRequest, NotificationWebhookMapping, NotificationWebhookMappingRequest, PaginatedGoogleWorkspaceProviderMappingList, PaginatedLDAPPropertyMappingList, PaginatedMicrosoftEntraProviderMappingList, PaginatedNotificationWebhookMappingList, PaginatedPropertyMappingList, PaginatedRACPropertyMappingList, PaginatedSAMLPropertyMappingList, PaginatedSCIMMappingList, PaginatedScopeMappingList, PatchedGoogleWorkspaceProviderMappingRequest, PatchedLDAPPropertyMappingRequest, PatchedMicrosoftEntraProviderMappingRequest, PatchedNotificationWebhookMappingRequest, PatchedRACPropertyMappingRequest, PatchedSAMLPropertyMappingRequest, PatchedSCIMMappingRequest, PatchedScopeMappingRequest,
|
13
|
+
import type { GoogleWorkspaceProviderMapping, GoogleWorkspaceProviderMappingRequest, LDAPPropertyMapping, LDAPPropertyMappingRequest, MicrosoftEntraProviderMapping, MicrosoftEntraProviderMappingRequest, NotificationWebhookMapping, NotificationWebhookMappingRequest, PaginatedGoogleWorkspaceProviderMappingList, PaginatedLDAPPropertyMappingList, PaginatedMicrosoftEntraProviderMappingList, PaginatedNotificationWebhookMappingList, PaginatedPropertyMappingList, PaginatedRACPropertyMappingList, PaginatedSAMLPropertyMappingList, PaginatedSCIMMappingList, PaginatedScopeMappingList, PatchedGoogleWorkspaceProviderMappingRequest, PatchedLDAPPropertyMappingRequest, PatchedMicrosoftEntraProviderMappingRequest, PatchedNotificationWebhookMappingRequest, PatchedRACPropertyMappingRequest, PatchedSAMLPropertyMappingRequest, PatchedSCIMMappingRequest, PatchedScopeMappingRequest, PropertyMapping, PropertyMappingTestRequest, PropertyMappingTestResult, RACPropertyMapping, RACPropertyMappingRequest, SAMLPropertyMapping, SAMLPropertyMappingRequest, SCIMMapping, SCIMMappingRequest, ScopeMapping, ScopeMappingRequest, TypeCreate, UsedBy } from '../models';
|
14
14
|
export interface PropertymappingsAllDestroyRequest {
|
15
15
|
pmUuid: string;
|
16
16
|
}
|
@@ -26,8 +26,8 @@ export interface PropertymappingsAllRetrieveRequest {
|
|
26
26
|
}
|
27
27
|
export interface PropertymappingsAllTestCreateRequest {
|
28
28
|
pmUuid: string;
|
29
|
-
policyTestRequest: PolicyTestRequest;
|
30
29
|
formatResult?: boolean;
|
30
|
+
propertyMappingTestRequest?: PropertyMappingTestRequest;
|
31
31
|
}
|
32
32
|
export interface PropertymappingsAllUsedByListRequest {
|
33
33
|
pmUuid: string;
|
@@ -153,9 +153,6 @@ class PropertymappingsApi extends runtime.BaseAPI {
|
|
153
153
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
154
154
|
throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsAllTestCreate.');
|
155
155
|
}
|
156
|
-
if (requestParameters.policyTestRequest === null || requestParameters.policyTestRequest === undefined) {
|
157
|
-
throw new runtime.RequiredError('policyTestRequest', 'Required parameter requestParameters.policyTestRequest was null or undefined when calling propertymappingsAllTestCreate.');
|
158
|
-
}
|
159
156
|
const queryParameters = {};
|
160
157
|
if (requestParameters.formatResult !== undefined) {
|
161
158
|
queryParameters['format_result'] = requestParameters.formatResult;
|
@@ -174,7 +171,7 @@ class PropertymappingsApi extends runtime.BaseAPI {
|
|
174
171
|
method: 'POST',
|
175
172
|
headers: headerParameters,
|
176
173
|
query: queryParameters,
|
177
|
-
body: (0, models_1.
|
174
|
+
body: (0, models_1.PropertyMappingTestRequestToJSON)(requestParameters.propertyMappingTestRequest),
|
178
175
|
}, initOverrides);
|
179
176
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.PropertyMappingTestResultFromJSON)(jsonValue));
|
180
177
|
});
|
@@ -10,7 +10,7 @@
|
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
12
|
import * as runtime from '../runtime';
|
13
|
-
import type { GoogleWorkspaceProviderMapping, GoogleWorkspaceProviderMappingRequest, LDAPPropertyMapping, LDAPPropertyMappingRequest, MicrosoftEntraProviderMapping, MicrosoftEntraProviderMappingRequest, NotificationWebhookMapping, NotificationWebhookMappingRequest, PaginatedGoogleWorkspaceProviderMappingList, PaginatedLDAPPropertyMappingList, PaginatedMicrosoftEntraProviderMappingList, PaginatedNotificationWebhookMappingList, PaginatedPropertyMappingList, PaginatedRACPropertyMappingList, PaginatedSAMLPropertyMappingList, PaginatedSCIMMappingList, PaginatedScopeMappingList, PatchedGoogleWorkspaceProviderMappingRequest, PatchedLDAPPropertyMappingRequest, PatchedMicrosoftEntraProviderMappingRequest, PatchedNotificationWebhookMappingRequest, PatchedRACPropertyMappingRequest, PatchedSAMLPropertyMappingRequest, PatchedSCIMMappingRequest, PatchedScopeMappingRequest,
|
13
|
+
import type { GoogleWorkspaceProviderMapping, GoogleWorkspaceProviderMappingRequest, LDAPPropertyMapping, LDAPPropertyMappingRequest, MicrosoftEntraProviderMapping, MicrosoftEntraProviderMappingRequest, NotificationWebhookMapping, NotificationWebhookMappingRequest, PaginatedGoogleWorkspaceProviderMappingList, PaginatedLDAPPropertyMappingList, PaginatedMicrosoftEntraProviderMappingList, PaginatedNotificationWebhookMappingList, PaginatedPropertyMappingList, PaginatedRACPropertyMappingList, PaginatedSAMLPropertyMappingList, PaginatedSCIMMappingList, PaginatedScopeMappingList, PatchedGoogleWorkspaceProviderMappingRequest, PatchedLDAPPropertyMappingRequest, PatchedMicrosoftEntraProviderMappingRequest, PatchedNotificationWebhookMappingRequest, PatchedRACPropertyMappingRequest, PatchedSAMLPropertyMappingRequest, PatchedSCIMMappingRequest, PatchedScopeMappingRequest, PropertyMapping, PropertyMappingTestRequest, PropertyMappingTestResult, RACPropertyMapping, RACPropertyMappingRequest, SAMLPropertyMapping, SAMLPropertyMappingRequest, SCIMMapping, SCIMMappingRequest, ScopeMapping, ScopeMappingRequest, TypeCreate, UsedBy } from '../models';
|
14
14
|
export interface PropertymappingsAllDestroyRequest {
|
15
15
|
pmUuid: string;
|
16
16
|
}
|
@@ -26,8 +26,8 @@ export interface PropertymappingsAllRetrieveRequest {
|
|
26
26
|
}
|
27
27
|
export interface PropertymappingsAllTestCreateRequest {
|
28
28
|
pmUuid: string;
|
29
|
-
policyTestRequest: PolicyTestRequest;
|
30
29
|
formatResult?: boolean;
|
30
|
+
propertyMappingTestRequest?: PropertyMappingTestRequest;
|
31
31
|
}
|
32
32
|
export interface PropertymappingsAllUsedByListRequest {
|
33
33
|
pmUuid: string;
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
21
21
|
});
|
22
22
|
};
|
23
23
|
import * as runtime from '../runtime';
|
24
|
-
import { GoogleWorkspaceProviderMappingFromJSON, GoogleWorkspaceProviderMappingRequestToJSON, LDAPPropertyMappingFromJSON, LDAPPropertyMappingRequestToJSON, MicrosoftEntraProviderMappingFromJSON, MicrosoftEntraProviderMappingRequestToJSON, NotificationWebhookMappingFromJSON, NotificationWebhookMappingRequestToJSON, PaginatedGoogleWorkspaceProviderMappingListFromJSON, PaginatedLDAPPropertyMappingListFromJSON, PaginatedMicrosoftEntraProviderMappingListFromJSON, PaginatedNotificationWebhookMappingListFromJSON, PaginatedPropertyMappingListFromJSON, PaginatedRACPropertyMappingListFromJSON, PaginatedSAMLPropertyMappingListFromJSON, PaginatedSCIMMappingListFromJSON, PaginatedScopeMappingListFromJSON, PatchedGoogleWorkspaceProviderMappingRequestToJSON, PatchedLDAPPropertyMappingRequestToJSON, PatchedMicrosoftEntraProviderMappingRequestToJSON, PatchedNotificationWebhookMappingRequestToJSON, PatchedRACPropertyMappingRequestToJSON, PatchedSAMLPropertyMappingRequestToJSON, PatchedSCIMMappingRequestToJSON, PatchedScopeMappingRequestToJSON,
|
24
|
+
import { GoogleWorkspaceProviderMappingFromJSON, GoogleWorkspaceProviderMappingRequestToJSON, LDAPPropertyMappingFromJSON, LDAPPropertyMappingRequestToJSON, MicrosoftEntraProviderMappingFromJSON, MicrosoftEntraProviderMappingRequestToJSON, NotificationWebhookMappingFromJSON, NotificationWebhookMappingRequestToJSON, PaginatedGoogleWorkspaceProviderMappingListFromJSON, PaginatedLDAPPropertyMappingListFromJSON, PaginatedMicrosoftEntraProviderMappingListFromJSON, PaginatedNotificationWebhookMappingListFromJSON, PaginatedPropertyMappingListFromJSON, PaginatedRACPropertyMappingListFromJSON, PaginatedSAMLPropertyMappingListFromJSON, PaginatedSCIMMappingListFromJSON, PaginatedScopeMappingListFromJSON, PatchedGoogleWorkspaceProviderMappingRequestToJSON, PatchedLDAPPropertyMappingRequestToJSON, PatchedMicrosoftEntraProviderMappingRequestToJSON, PatchedNotificationWebhookMappingRequestToJSON, PatchedRACPropertyMappingRequestToJSON, PatchedSAMLPropertyMappingRequestToJSON, PatchedSCIMMappingRequestToJSON, PatchedScopeMappingRequestToJSON, PropertyMappingFromJSON, PropertyMappingTestRequestToJSON, PropertyMappingTestResultFromJSON, RACPropertyMappingFromJSON, RACPropertyMappingRequestToJSON, SAMLPropertyMappingFromJSON, SAMLPropertyMappingRequestToJSON, SCIMMappingFromJSON, SCIMMappingRequestToJSON, ScopeMappingFromJSON, ScopeMappingRequestToJSON, TypeCreateFromJSON, UsedByFromJSON, } from '../models';
|
25
25
|
/**
|
26
26
|
*
|
27
27
|
*/
|
@@ -150,9 +150,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
150
150
|
if (requestParameters.pmUuid === null || requestParameters.pmUuid === undefined) {
|
151
151
|
throw new runtime.RequiredError('pmUuid', 'Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsAllTestCreate.');
|
152
152
|
}
|
153
|
-
if (requestParameters.policyTestRequest === null || requestParameters.policyTestRequest === undefined) {
|
154
|
-
throw new runtime.RequiredError('policyTestRequest', 'Required parameter requestParameters.policyTestRequest was null or undefined when calling propertymappingsAllTestCreate.');
|
155
|
-
}
|
156
153
|
const queryParameters = {};
|
157
154
|
if (requestParameters.formatResult !== undefined) {
|
158
155
|
queryParameters['format_result'] = requestParameters.formatResult;
|
@@ -171,7 +168,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
171
168
|
method: 'POST',
|
172
169
|
headers: headerParameters,
|
173
170
|
query: queryParameters,
|
174
|
-
body:
|
171
|
+
body: PropertyMappingTestRequestToJSON(requestParameters.propertyMappingTestRequest),
|
175
172
|
}, initOverrides);
|
176
173
|
return new runtime.JSONApiResponse(response, (jsonValue) => PropertyMappingTestResultFromJSON(jsonValue));
|
177
174
|
});
|
@@ -33,6 +33,30 @@ export interface OutpostHealth {
|
|
33
33
|
* @memberof OutpostHealth
|
34
34
|
*/
|
35
35
|
readonly version: string;
|
36
|
+
/**
|
37
|
+
*
|
38
|
+
* @type {string}
|
39
|
+
* @memberof OutpostHealth
|
40
|
+
*/
|
41
|
+
readonly golangVersion: string;
|
42
|
+
/**
|
43
|
+
*
|
44
|
+
* @type {boolean}
|
45
|
+
* @memberof OutpostHealth
|
46
|
+
*/
|
47
|
+
readonly opensslEnabled: boolean;
|
48
|
+
/**
|
49
|
+
*
|
50
|
+
* @type {string}
|
51
|
+
* @memberof OutpostHealth
|
52
|
+
*/
|
53
|
+
readonly opensslVersion: string;
|
54
|
+
/**
|
55
|
+
*
|
56
|
+
* @type {boolean}
|
57
|
+
* @memberof OutpostHealth
|
58
|
+
*/
|
59
|
+
readonly fipsEnabled: boolean;
|
36
60
|
/**
|
37
61
|
*
|
38
62
|
* @type {string}
|
@@ -19,6 +19,10 @@ export function instanceOfOutpostHealth(value) {
|
|
19
19
|
isInstance = isInstance && "uid" in value;
|
20
20
|
isInstance = isInstance && "lastSeen" in value;
|
21
21
|
isInstance = isInstance && "version" in value;
|
22
|
+
isInstance = isInstance && "golangVersion" in value;
|
23
|
+
isInstance = isInstance && "opensslEnabled" in value;
|
24
|
+
isInstance = isInstance && "opensslVersion" in value;
|
25
|
+
isInstance = isInstance && "fipsEnabled" in value;
|
22
26
|
isInstance = isInstance && "versionShould" in value;
|
23
27
|
isInstance = isInstance && "versionOutdated" in value;
|
24
28
|
isInstance = isInstance && "buildHash" in value;
|
@@ -37,6 +41,10 @@ export function OutpostHealthFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
41
|
'uid': json['uid'],
|
38
42
|
'lastSeen': (new Date(json['last_seen'])),
|
39
43
|
'version': json['version'],
|
44
|
+
'golangVersion': json['golang_version'],
|
45
|
+
'opensslEnabled': json['openssl_enabled'],
|
46
|
+
'opensslVersion': json['openssl_version'],
|
47
|
+
'fipsEnabled': json['fips_enabled'],
|
40
48
|
'versionShould': json['version_should'],
|
41
49
|
'versionOutdated': json['version_outdated'],
|
42
50
|
'buildHash': json['build_hash'],
|
@@ -0,0 +1,45 @@
|
|
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
|
+
* Test property mapping execution for a user/group with context
|
14
|
+
* @export
|
15
|
+
* @interface PropertyMappingTestRequest
|
16
|
+
*/
|
17
|
+
export interface PropertyMappingTestRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {number}
|
21
|
+
* @memberof PropertyMappingTestRequest
|
22
|
+
*/
|
23
|
+
user?: number;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {{ [key: string]: any; }}
|
27
|
+
* @memberof PropertyMappingTestRequest
|
28
|
+
*/
|
29
|
+
context?: {
|
30
|
+
[key: string]: any;
|
31
|
+
};
|
32
|
+
/**
|
33
|
+
*
|
34
|
+
* @type {string}
|
35
|
+
* @memberof PropertyMappingTestRequest
|
36
|
+
*/
|
37
|
+
group?: string;
|
38
|
+
}
|
39
|
+
/**
|
40
|
+
* Check if a given object implements the PropertyMappingTestRequest interface.
|
41
|
+
*/
|
42
|
+
export declare function instanceOfPropertyMappingTestRequest(value: object): boolean;
|
43
|
+
export declare function PropertyMappingTestRequestFromJSON(json: any): PropertyMappingTestRequest;
|
44
|
+
export declare function PropertyMappingTestRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PropertyMappingTestRequest;
|
45
|
+
export declare function PropertyMappingTestRequestToJSON(value?: PropertyMappingTestRequest | null): any;
|
@@ -0,0 +1,47 @@
|
|
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 PropertyMappingTestRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfPropertyMappingTestRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
return isInstance;
|
21
|
+
}
|
22
|
+
export function PropertyMappingTestRequestFromJSON(json) {
|
23
|
+
return PropertyMappingTestRequestFromJSONTyped(json, false);
|
24
|
+
}
|
25
|
+
export function PropertyMappingTestRequestFromJSONTyped(json, ignoreDiscriminator) {
|
26
|
+
if ((json === undefined) || (json === null)) {
|
27
|
+
return json;
|
28
|
+
}
|
29
|
+
return {
|
30
|
+
'user': !exists(json, 'user') ? undefined : json['user'],
|
31
|
+
'context': !exists(json, 'context') ? undefined : json['context'],
|
32
|
+
'group': !exists(json, 'group') ? undefined : json['group'],
|
33
|
+
};
|
34
|
+
}
|
35
|
+
export function PropertyMappingTestRequestToJSON(value) {
|
36
|
+
if (value === undefined) {
|
37
|
+
return undefined;
|
38
|
+
}
|
39
|
+
if (value === null) {
|
40
|
+
return null;
|
41
|
+
}
|
42
|
+
return {
|
43
|
+
'user': value.user,
|
44
|
+
'context': value.context,
|
45
|
+
'group': value.group,
|
46
|
+
};
|
47
|
+
}
|
@@ -26,31 +26,43 @@ export interface SystemInfoRuntime {
|
|
26
26
|
* @type {string}
|
27
27
|
* @memberof SystemInfoRuntime
|
28
28
|
*/
|
29
|
-
|
29
|
+
environment: string;
|
30
30
|
/**
|
31
31
|
*
|
32
32
|
* @type {string}
|
33
33
|
* @memberof SystemInfoRuntime
|
34
34
|
*/
|
35
|
-
|
35
|
+
architecture: string;
|
36
36
|
/**
|
37
37
|
*
|
38
38
|
* @type {string}
|
39
39
|
* @memberof SystemInfoRuntime
|
40
40
|
*/
|
41
|
-
|
41
|
+
platform: string;
|
42
42
|
/**
|
43
43
|
*
|
44
44
|
* @type {string}
|
45
45
|
* @memberof SystemInfoRuntime
|
46
46
|
*/
|
47
|
-
|
47
|
+
uname: string;
|
48
48
|
/**
|
49
49
|
*
|
50
50
|
* @type {string}
|
51
51
|
* @memberof SystemInfoRuntime
|
52
52
|
*/
|
53
|
-
|
53
|
+
opensslVersion: string;
|
54
|
+
/**
|
55
|
+
*
|
56
|
+
* @type {boolean}
|
57
|
+
* @memberof SystemInfoRuntime
|
58
|
+
*/
|
59
|
+
opensslFipsMode: boolean;
|
60
|
+
/**
|
61
|
+
*
|
62
|
+
* @type {string}
|
63
|
+
* @memberof SystemInfoRuntime
|
64
|
+
*/
|
65
|
+
authentikVersion: string;
|
54
66
|
}
|
55
67
|
/**
|
56
68
|
* Check if a given object implements the SystemInfoRuntime interface.
|
@@ -17,11 +17,13 @@
|
|
17
17
|
export function instanceOfSystemInfoRuntime(value) {
|
18
18
|
let isInstance = true;
|
19
19
|
isInstance = isInstance && "pythonVersion" in value;
|
20
|
-
isInstance = isInstance && "gunicornVersion" in value;
|
21
20
|
isInstance = isInstance && "environment" in value;
|
22
21
|
isInstance = isInstance && "architecture" in value;
|
23
22
|
isInstance = isInstance && "platform" in value;
|
24
23
|
isInstance = isInstance && "uname" in value;
|
24
|
+
isInstance = isInstance && "opensslVersion" in value;
|
25
|
+
isInstance = isInstance && "opensslFipsMode" in value;
|
26
|
+
isInstance = isInstance && "authentikVersion" in value;
|
25
27
|
return isInstance;
|
26
28
|
}
|
27
29
|
export function SystemInfoRuntimeFromJSON(json) {
|
@@ -33,11 +35,13 @@ export function SystemInfoRuntimeFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
35
|
}
|
34
36
|
return {
|
35
37
|
'pythonVersion': json['python_version'],
|
36
|
-
'gunicornVersion': json['gunicorn_version'],
|
37
38
|
'environment': json['environment'],
|
38
39
|
'architecture': json['architecture'],
|
39
40
|
'platform': json['platform'],
|
40
41
|
'uname': json['uname'],
|
42
|
+
'opensslVersion': json['openssl_version'],
|
43
|
+
'opensslFipsMode': json['openssl_fips_mode'],
|
44
|
+
'authentikVersion': json['authentik_version'],
|
41
45
|
};
|
42
46
|
}
|
43
47
|
export function SystemInfoRuntimeToJSON(value) {
|
@@ -49,10 +53,12 @@ export function SystemInfoRuntimeToJSON(value) {
|
|
49
53
|
}
|
50
54
|
return {
|
51
55
|
'python_version': value.pythonVersion,
|
52
|
-
'gunicorn_version': value.gunicornVersion,
|
53
56
|
'environment': value.environment,
|
54
57
|
'architecture': value.architecture,
|
55
58
|
'platform': value.platform,
|
56
59
|
'uname': value.uname,
|
60
|
+
'openssl_version': value.opensslVersion,
|
61
|
+
'openssl_fips_mode': value.opensslFipsMode,
|
62
|
+
'authentik_version': value.authentikVersion,
|
57
63
|
};
|
58
64
|
}
|
@@ -456,6 +456,7 @@ export * from './PromptStageRequest';
|
|
456
456
|
export * from './PromptTypeEnum';
|
457
457
|
export * from './PropertyMapping';
|
458
458
|
export * from './PropertyMappingPreview';
|
459
|
+
export * from './PropertyMappingTestRequest';
|
459
460
|
export * from './PropertyMappingTestResult';
|
460
461
|
export * from './ProtocolEnum';
|
461
462
|
export * from './Provider';
|
package/dist/esm/models/index.js
CHANGED
@@ -458,6 +458,7 @@ export * from './PromptStageRequest';
|
|
458
458
|
export * from './PromptTypeEnum';
|
459
459
|
export * from './PropertyMapping';
|
460
460
|
export * from './PropertyMappingPreview';
|
461
|
+
export * from './PropertyMappingTestRequest';
|
461
462
|
export * from './PropertyMappingTestResult';
|
462
463
|
export * from './ProtocolEnum';
|
463
464
|
export * from './Provider';
|
@@ -33,6 +33,30 @@ export interface OutpostHealth {
|
|
33
33
|
* @memberof OutpostHealth
|
34
34
|
*/
|
35
35
|
readonly version: string;
|
36
|
+
/**
|
37
|
+
*
|
38
|
+
* @type {string}
|
39
|
+
* @memberof OutpostHealth
|
40
|
+
*/
|
41
|
+
readonly golangVersion: string;
|
42
|
+
/**
|
43
|
+
*
|
44
|
+
* @type {boolean}
|
45
|
+
* @memberof OutpostHealth
|
46
|
+
*/
|
47
|
+
readonly opensslEnabled: boolean;
|
48
|
+
/**
|
49
|
+
*
|
50
|
+
* @type {string}
|
51
|
+
* @memberof OutpostHealth
|
52
|
+
*/
|
53
|
+
readonly opensslVersion: string;
|
54
|
+
/**
|
55
|
+
*
|
56
|
+
* @type {boolean}
|
57
|
+
* @memberof OutpostHealth
|
58
|
+
*/
|
59
|
+
readonly fipsEnabled: boolean;
|
36
60
|
/**
|
37
61
|
*
|
38
62
|
* @type {string}
|
@@ -22,6 +22,10 @@ function instanceOfOutpostHealth(value) {
|
|
22
22
|
isInstance = isInstance && "uid" in value;
|
23
23
|
isInstance = isInstance && "lastSeen" in value;
|
24
24
|
isInstance = isInstance && "version" in value;
|
25
|
+
isInstance = isInstance && "golangVersion" in value;
|
26
|
+
isInstance = isInstance && "opensslEnabled" in value;
|
27
|
+
isInstance = isInstance && "opensslVersion" in value;
|
28
|
+
isInstance = isInstance && "fipsEnabled" in value;
|
25
29
|
isInstance = isInstance && "versionShould" in value;
|
26
30
|
isInstance = isInstance && "versionOutdated" in value;
|
27
31
|
isInstance = isInstance && "buildHash" in value;
|
@@ -42,6 +46,10 @@ function OutpostHealthFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
46
|
'uid': json['uid'],
|
43
47
|
'lastSeen': (new Date(json['last_seen'])),
|
44
48
|
'version': json['version'],
|
49
|
+
'golangVersion': json['golang_version'],
|
50
|
+
'opensslEnabled': json['openssl_enabled'],
|
51
|
+
'opensslVersion': json['openssl_version'],
|
52
|
+
'fipsEnabled': json['fips_enabled'],
|
45
53
|
'versionShould': json['version_should'],
|
46
54
|
'versionOutdated': json['version_outdated'],
|
47
55
|
'buildHash': json['build_hash'],
|
@@ -0,0 +1,45 @@
|
|
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
|
+
* Test property mapping execution for a user/group with context
|
14
|
+
* @export
|
15
|
+
* @interface PropertyMappingTestRequest
|
16
|
+
*/
|
17
|
+
export interface PropertyMappingTestRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {number}
|
21
|
+
* @memberof PropertyMappingTestRequest
|
22
|
+
*/
|
23
|
+
user?: number;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {{ [key: string]: any; }}
|
27
|
+
* @memberof PropertyMappingTestRequest
|
28
|
+
*/
|
29
|
+
context?: {
|
30
|
+
[key: string]: any;
|
31
|
+
};
|
32
|
+
/**
|
33
|
+
*
|
34
|
+
* @type {string}
|
35
|
+
* @memberof PropertyMappingTestRequest
|
36
|
+
*/
|
37
|
+
group?: string;
|
38
|
+
}
|
39
|
+
/**
|
40
|
+
* Check if a given object implements the PropertyMappingTestRequest interface.
|
41
|
+
*/
|
42
|
+
export declare function instanceOfPropertyMappingTestRequest(value: object): boolean;
|
43
|
+
export declare function PropertyMappingTestRequestFromJSON(json: any): PropertyMappingTestRequest;
|
44
|
+
export declare function PropertyMappingTestRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PropertyMappingTestRequest;
|
45
|
+
export declare function PropertyMappingTestRequestToJSON(value?: PropertyMappingTestRequest | null): any;
|
@@ -0,0 +1,54 @@
|
|
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.PropertyMappingTestRequestToJSON = exports.PropertyMappingTestRequestFromJSONTyped = exports.PropertyMappingTestRequestFromJSON = exports.instanceOfPropertyMappingTestRequest = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the PropertyMappingTestRequest interface.
|
20
|
+
*/
|
21
|
+
function instanceOfPropertyMappingTestRequest(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
exports.instanceOfPropertyMappingTestRequest = instanceOfPropertyMappingTestRequest;
|
26
|
+
function PropertyMappingTestRequestFromJSON(json) {
|
27
|
+
return PropertyMappingTestRequestFromJSONTyped(json, false);
|
28
|
+
}
|
29
|
+
exports.PropertyMappingTestRequestFromJSON = PropertyMappingTestRequestFromJSON;
|
30
|
+
function PropertyMappingTestRequestFromJSONTyped(json, ignoreDiscriminator) {
|
31
|
+
if ((json === undefined) || (json === null)) {
|
32
|
+
return json;
|
33
|
+
}
|
34
|
+
return {
|
35
|
+
'user': !(0, runtime_1.exists)(json, 'user') ? undefined : json['user'],
|
36
|
+
'context': !(0, runtime_1.exists)(json, 'context') ? undefined : json['context'],
|
37
|
+
'group': !(0, runtime_1.exists)(json, 'group') ? undefined : json['group'],
|
38
|
+
};
|
39
|
+
}
|
40
|
+
exports.PropertyMappingTestRequestFromJSONTyped = PropertyMappingTestRequestFromJSONTyped;
|
41
|
+
function PropertyMappingTestRequestToJSON(value) {
|
42
|
+
if (value === undefined) {
|
43
|
+
return undefined;
|
44
|
+
}
|
45
|
+
if (value === null) {
|
46
|
+
return null;
|
47
|
+
}
|
48
|
+
return {
|
49
|
+
'user': value.user,
|
50
|
+
'context': value.context,
|
51
|
+
'group': value.group,
|
52
|
+
};
|
53
|
+
}
|
54
|
+
exports.PropertyMappingTestRequestToJSON = PropertyMappingTestRequestToJSON;
|
@@ -26,31 +26,43 @@ export interface SystemInfoRuntime {
|
|
26
26
|
* @type {string}
|
27
27
|
* @memberof SystemInfoRuntime
|
28
28
|
*/
|
29
|
-
|
29
|
+
environment: string;
|
30
30
|
/**
|
31
31
|
*
|
32
32
|
* @type {string}
|
33
33
|
* @memberof SystemInfoRuntime
|
34
34
|
*/
|
35
|
-
|
35
|
+
architecture: string;
|
36
36
|
/**
|
37
37
|
*
|
38
38
|
* @type {string}
|
39
39
|
* @memberof SystemInfoRuntime
|
40
40
|
*/
|
41
|
-
|
41
|
+
platform: string;
|
42
42
|
/**
|
43
43
|
*
|
44
44
|
* @type {string}
|
45
45
|
* @memberof SystemInfoRuntime
|
46
46
|
*/
|
47
|
-
|
47
|
+
uname: string;
|
48
48
|
/**
|
49
49
|
*
|
50
50
|
* @type {string}
|
51
51
|
* @memberof SystemInfoRuntime
|
52
52
|
*/
|
53
|
-
|
53
|
+
opensslVersion: string;
|
54
|
+
/**
|
55
|
+
*
|
56
|
+
* @type {boolean}
|
57
|
+
* @memberof SystemInfoRuntime
|
58
|
+
*/
|
59
|
+
opensslFipsMode: boolean;
|
60
|
+
/**
|
61
|
+
*
|
62
|
+
* @type {string}
|
63
|
+
* @memberof SystemInfoRuntime
|
64
|
+
*/
|
65
|
+
authentikVersion: string;
|
54
66
|
}
|
55
67
|
/**
|
56
68
|
* Check if a given object implements the SystemInfoRuntime interface.
|
@@ -20,11 +20,13 @@ exports.SystemInfoRuntimeToJSON = exports.SystemInfoRuntimeFromJSONTyped = expor
|
|
20
20
|
function instanceOfSystemInfoRuntime(value) {
|
21
21
|
let isInstance = true;
|
22
22
|
isInstance = isInstance && "pythonVersion" in value;
|
23
|
-
isInstance = isInstance && "gunicornVersion" in value;
|
24
23
|
isInstance = isInstance && "environment" in value;
|
25
24
|
isInstance = isInstance && "architecture" in value;
|
26
25
|
isInstance = isInstance && "platform" in value;
|
27
26
|
isInstance = isInstance && "uname" in value;
|
27
|
+
isInstance = isInstance && "opensslVersion" in value;
|
28
|
+
isInstance = isInstance && "opensslFipsMode" in value;
|
29
|
+
isInstance = isInstance && "authentikVersion" in value;
|
28
30
|
return isInstance;
|
29
31
|
}
|
30
32
|
exports.instanceOfSystemInfoRuntime = instanceOfSystemInfoRuntime;
|
@@ -38,11 +40,13 @@ function SystemInfoRuntimeFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
40
|
}
|
39
41
|
return {
|
40
42
|
'pythonVersion': json['python_version'],
|
41
|
-
'gunicornVersion': json['gunicorn_version'],
|
42
43
|
'environment': json['environment'],
|
43
44
|
'architecture': json['architecture'],
|
44
45
|
'platform': json['platform'],
|
45
46
|
'uname': json['uname'],
|
47
|
+
'opensslVersion': json['openssl_version'],
|
48
|
+
'opensslFipsMode': json['openssl_fips_mode'],
|
49
|
+
'authentikVersion': json['authentik_version'],
|
46
50
|
};
|
47
51
|
}
|
48
52
|
exports.SystemInfoRuntimeFromJSONTyped = SystemInfoRuntimeFromJSONTyped;
|
@@ -55,11 +59,13 @@ function SystemInfoRuntimeToJSON(value) {
|
|
55
59
|
}
|
56
60
|
return {
|
57
61
|
'python_version': value.pythonVersion,
|
58
|
-
'gunicorn_version': value.gunicornVersion,
|
59
62
|
'environment': value.environment,
|
60
63
|
'architecture': value.architecture,
|
61
64
|
'platform': value.platform,
|
62
65
|
'uname': value.uname,
|
66
|
+
'openssl_version': value.opensslVersion,
|
67
|
+
'openssl_fips_mode': value.opensslFipsMode,
|
68
|
+
'authentik_version': value.authentikVersion,
|
63
69
|
};
|
64
70
|
}
|
65
71
|
exports.SystemInfoRuntimeToJSON = SystemInfoRuntimeToJSON;
|
package/dist/models/index.d.ts
CHANGED
@@ -456,6 +456,7 @@ export * from './PromptStageRequest';
|
|
456
456
|
export * from './PromptTypeEnum';
|
457
457
|
export * from './PropertyMapping';
|
458
458
|
export * from './PropertyMappingPreview';
|
459
|
+
export * from './PropertyMappingTestRequest';
|
459
460
|
export * from './PropertyMappingTestResult';
|
460
461
|
export * from './ProtocolEnum';
|
461
462
|
export * from './Provider';
|
package/dist/models/index.js
CHANGED
@@ -474,6 +474,7 @@ __exportStar(require("./PromptStageRequest"), exports);
|
|
474
474
|
__exportStar(require("./PromptTypeEnum"), exports);
|
475
475
|
__exportStar(require("./PropertyMapping"), exports);
|
476
476
|
__exportStar(require("./PropertyMappingPreview"), exports);
|
477
|
+
__exportStar(require("./PropertyMappingTestRequest"), exports);
|
477
478
|
__exportStar(require("./PropertyMappingTestResult"), exports);
|
478
479
|
__exportStar(require("./ProtocolEnum"), exports);
|
479
480
|
__exportStar(require("./Provider"), exports);
|
package/package.json
CHANGED
@@ -41,8 +41,8 @@ import type {
|
|
41
41
|
PatchedSAMLPropertyMappingRequest,
|
42
42
|
PatchedSCIMMappingRequest,
|
43
43
|
PatchedScopeMappingRequest,
|
44
|
-
PolicyTestRequest,
|
45
44
|
PropertyMapping,
|
45
|
+
PropertyMappingTestRequest,
|
46
46
|
PropertyMappingTestResult,
|
47
47
|
RACPropertyMapping,
|
48
48
|
RACPropertyMappingRequest,
|
@@ -109,10 +109,10 @@ import {
|
|
109
109
|
PatchedSCIMMappingRequestToJSON,
|
110
110
|
PatchedScopeMappingRequestFromJSON,
|
111
111
|
PatchedScopeMappingRequestToJSON,
|
112
|
-
PolicyTestRequestFromJSON,
|
113
|
-
PolicyTestRequestToJSON,
|
114
112
|
PropertyMappingFromJSON,
|
115
113
|
PropertyMappingToJSON,
|
114
|
+
PropertyMappingTestRequestFromJSON,
|
115
|
+
PropertyMappingTestRequestToJSON,
|
116
116
|
PropertyMappingTestResultFromJSON,
|
117
117
|
PropertyMappingTestResultToJSON,
|
118
118
|
RACPropertyMappingFromJSON,
|
@@ -157,8 +157,8 @@ export interface PropertymappingsAllRetrieveRequest {
|
|
157
157
|
|
158
158
|
export interface PropertymappingsAllTestCreateRequest {
|
159
159
|
pmUuid: string;
|
160
|
-
policyTestRequest: PolicyTestRequest;
|
161
160
|
formatResult?: boolean;
|
161
|
+
propertyMappingTestRequest?: PropertyMappingTestRequest;
|
162
162
|
}
|
163
163
|
|
164
164
|
export interface PropertymappingsAllUsedByListRequest {
|
@@ -600,10 +600,6 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
600
600
|
throw new runtime.RequiredError('pmUuid','Required parameter requestParameters.pmUuid was null or undefined when calling propertymappingsAllTestCreate.');
|
601
601
|
}
|
602
602
|
|
603
|
-
if (requestParameters.policyTestRequest === null || requestParameters.policyTestRequest === undefined) {
|
604
|
-
throw new runtime.RequiredError('policyTestRequest','Required parameter requestParameters.policyTestRequest was null or undefined when calling propertymappingsAllTestCreate.');
|
605
|
-
}
|
606
|
-
|
607
603
|
const queryParameters: any = {};
|
608
604
|
|
609
605
|
if (requestParameters.formatResult !== undefined) {
|
@@ -627,7 +623,7 @@ export class PropertymappingsApi extends runtime.BaseAPI {
|
|
627
623
|
method: 'POST',
|
628
624
|
headers: headerParameters,
|
629
625
|
query: queryParameters,
|
630
|
-
body:
|
626
|
+
body: PropertyMappingTestRequestToJSON(requestParameters.propertyMappingTestRequest),
|
631
627
|
}, initOverrides);
|
632
628
|
|
633
629
|
return new runtime.JSONApiResponse(response, (jsonValue) => PropertyMappingTestResultFromJSON(jsonValue));
|
@@ -37,6 +37,30 @@ export interface OutpostHealth {
|
|
37
37
|
* @memberof OutpostHealth
|
38
38
|
*/
|
39
39
|
readonly version: string;
|
40
|
+
/**
|
41
|
+
*
|
42
|
+
* @type {string}
|
43
|
+
* @memberof OutpostHealth
|
44
|
+
*/
|
45
|
+
readonly golangVersion: string;
|
46
|
+
/**
|
47
|
+
*
|
48
|
+
* @type {boolean}
|
49
|
+
* @memberof OutpostHealth
|
50
|
+
*/
|
51
|
+
readonly opensslEnabled: boolean;
|
52
|
+
/**
|
53
|
+
*
|
54
|
+
* @type {string}
|
55
|
+
* @memberof OutpostHealth
|
56
|
+
*/
|
57
|
+
readonly opensslVersion: string;
|
58
|
+
/**
|
59
|
+
*
|
60
|
+
* @type {boolean}
|
61
|
+
* @memberof OutpostHealth
|
62
|
+
*/
|
63
|
+
readonly fipsEnabled: boolean;
|
40
64
|
/**
|
41
65
|
*
|
42
66
|
* @type {string}
|
@@ -77,6 +101,10 @@ export function instanceOfOutpostHealth(value: object): boolean {
|
|
77
101
|
isInstance = isInstance && "uid" in value;
|
78
102
|
isInstance = isInstance && "lastSeen" in value;
|
79
103
|
isInstance = isInstance && "version" in value;
|
104
|
+
isInstance = isInstance && "golangVersion" in value;
|
105
|
+
isInstance = isInstance && "opensslEnabled" in value;
|
106
|
+
isInstance = isInstance && "opensslVersion" in value;
|
107
|
+
isInstance = isInstance && "fipsEnabled" in value;
|
80
108
|
isInstance = isInstance && "versionShould" in value;
|
81
109
|
isInstance = isInstance && "versionOutdated" in value;
|
82
110
|
isInstance = isInstance && "buildHash" in value;
|
@@ -99,6 +127,10 @@ export function OutpostHealthFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
99
127
|
'uid': json['uid'],
|
100
128
|
'lastSeen': (new Date(json['last_seen'])),
|
101
129
|
'version': json['version'],
|
130
|
+
'golangVersion': json['golang_version'],
|
131
|
+
'opensslEnabled': json['openssl_enabled'],
|
132
|
+
'opensslVersion': json['openssl_version'],
|
133
|
+
'fipsEnabled': json['fips_enabled'],
|
102
134
|
'versionShould': json['version_should'],
|
103
135
|
'versionOutdated': json['version_outdated'],
|
104
136
|
'buildHash': json['build_hash'],
|
@@ -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
|
+
|
@@ -30,31 +30,43 @@ export interface SystemInfoRuntime {
|
|
30
30
|
* @type {string}
|
31
31
|
* @memberof SystemInfoRuntime
|
32
32
|
*/
|
33
|
-
|
33
|
+
environment: string;
|
34
34
|
/**
|
35
35
|
*
|
36
36
|
* @type {string}
|
37
37
|
* @memberof SystemInfoRuntime
|
38
38
|
*/
|
39
|
-
|
39
|
+
architecture: string;
|
40
40
|
/**
|
41
41
|
*
|
42
42
|
* @type {string}
|
43
43
|
* @memberof SystemInfoRuntime
|
44
44
|
*/
|
45
|
-
|
45
|
+
platform: string;
|
46
46
|
/**
|
47
47
|
*
|
48
48
|
* @type {string}
|
49
49
|
* @memberof SystemInfoRuntime
|
50
50
|
*/
|
51
|
-
|
51
|
+
uname: string;
|
52
52
|
/**
|
53
53
|
*
|
54
54
|
* @type {string}
|
55
55
|
* @memberof SystemInfoRuntime
|
56
56
|
*/
|
57
|
-
|
57
|
+
opensslVersion: string;
|
58
|
+
/**
|
59
|
+
*
|
60
|
+
* @type {boolean}
|
61
|
+
* @memberof SystemInfoRuntime
|
62
|
+
*/
|
63
|
+
opensslFipsMode: boolean;
|
64
|
+
/**
|
65
|
+
*
|
66
|
+
* @type {string}
|
67
|
+
* @memberof SystemInfoRuntime
|
68
|
+
*/
|
69
|
+
authentikVersion: string;
|
58
70
|
}
|
59
71
|
|
60
72
|
/**
|
@@ -63,11 +75,13 @@ export interface SystemInfoRuntime {
|
|
63
75
|
export function instanceOfSystemInfoRuntime(value: object): boolean {
|
64
76
|
let isInstance = true;
|
65
77
|
isInstance = isInstance && "pythonVersion" in value;
|
66
|
-
isInstance = isInstance && "gunicornVersion" in value;
|
67
78
|
isInstance = isInstance && "environment" in value;
|
68
79
|
isInstance = isInstance && "architecture" in value;
|
69
80
|
isInstance = isInstance && "platform" in value;
|
70
81
|
isInstance = isInstance && "uname" in value;
|
82
|
+
isInstance = isInstance && "opensslVersion" in value;
|
83
|
+
isInstance = isInstance && "opensslFipsMode" in value;
|
84
|
+
isInstance = isInstance && "authentikVersion" in value;
|
71
85
|
|
72
86
|
return isInstance;
|
73
87
|
}
|
@@ -83,11 +97,13 @@ export function SystemInfoRuntimeFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
83
97
|
return {
|
84
98
|
|
85
99
|
'pythonVersion': json['python_version'],
|
86
|
-
'gunicornVersion': json['gunicorn_version'],
|
87
100
|
'environment': json['environment'],
|
88
101
|
'architecture': json['architecture'],
|
89
102
|
'platform': json['platform'],
|
90
103
|
'uname': json['uname'],
|
104
|
+
'opensslVersion': json['openssl_version'],
|
105
|
+
'opensslFipsMode': json['openssl_fips_mode'],
|
106
|
+
'authentikVersion': json['authentik_version'],
|
91
107
|
};
|
92
108
|
}
|
93
109
|
|
@@ -101,11 +117,13 @@ export function SystemInfoRuntimeToJSON(value?: SystemInfoRuntime | null): any {
|
|
101
117
|
return {
|
102
118
|
|
103
119
|
'python_version': value.pythonVersion,
|
104
|
-
'gunicorn_version': value.gunicornVersion,
|
105
120
|
'environment': value.environment,
|
106
121
|
'architecture': value.architecture,
|
107
122
|
'platform': value.platform,
|
108
123
|
'uname': value.uname,
|
124
|
+
'openssl_version': value.opensslVersion,
|
125
|
+
'openssl_fips_mode': value.opensslFipsMode,
|
126
|
+
'authentik_version': value.authentikVersion,
|
109
127
|
};
|
110
128
|
}
|
111
129
|
|
package/src/models/index.ts
CHANGED
@@ -458,6 +458,7 @@ export * from './PromptStageRequest';
|
|
458
458
|
export * from './PromptTypeEnum';
|
459
459
|
export * from './PropertyMapping';
|
460
460
|
export * from './PropertyMappingPreview';
|
461
|
+
export * from './PropertyMappingTestRequest';
|
461
462
|
export * from './PropertyMappingTestResult';
|
462
463
|
export * from './ProtocolEnum';
|
463
464
|
export * from './Provider';
|