@goauthentik/api 2024.4.2-1716338508 → 2024.4.2-1716485711
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/dist/esm/models/OutpostHealth.d.ts +24 -0
- package/dist/esm/models/OutpostHealth.js +8 -0
- package/dist/esm/models/SystemInfoRuntime.d.ts +17 -5
- package/dist/esm/models/SystemInfoRuntime.js +9 -3
- package/dist/models/OutpostHealth.d.ts +24 -0
- package/dist/models/OutpostHealth.js +8 -0
- package/dist/models/SystemInfoRuntime.d.ts +17 -5
- package/dist/models/SystemInfoRuntime.js +9 -3
- package/package.json +1 -1
- package/src/models/OutpostHealth.ts +32 -0
- package/src/models/SystemInfoRuntime.ts +26 -8
|
@@ -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'],
|
|
@@ -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
|
}
|
|
@@ -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'],
|
|
@@ -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/package.json
CHANGED
|
@@ -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'],
|
|
@@ -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
|
|