@goauthentik/api 2023.10.3-1699554078 → 2023.10.3-1700176062
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 +3 -2
- package/dist/apis/AdminApi.d.ts +5 -5
- package/dist/apis/AdminApi.js +2 -2
- package/dist/apis/SourcesApi.d.ts +4 -4
- package/dist/apis/SourcesApi.js +5 -5
- package/dist/apis/StagesApi.d.ts +3 -3
- package/dist/apis/StagesApi.js +3 -3
- package/dist/esm/apis/AdminApi.d.ts +5 -5
- package/dist/esm/apis/AdminApi.js +3 -3
- package/dist/esm/apis/SourcesApi.d.ts +4 -4
- package/dist/esm/apis/SourcesApi.js +6 -6
- package/dist/esm/apis/StagesApi.d.ts +3 -3
- package/dist/esm/apis/StagesApi.js +3 -3
- package/dist/esm/models/DigitsEnum.d.ts +3 -3
- package/dist/esm/models/DigitsEnum.js +3 -3
- package/dist/esm/models/LDAPSource.d.ts +10 -0
- package/dist/esm/models/LDAPSource.js +2 -0
- package/dist/esm/models/LDAPSyncStatus.d.ts +38 -0
- package/dist/esm/models/LDAPSyncStatus.js +44 -0
- package/dist/esm/models/{System.d.ts → SystemInfo.d.ts} +17 -17
- package/dist/esm/models/{System.js → SystemInfo.js} +9 -9
- package/dist/{models/SystemRuntime.d.ts → esm/models/SystemInfoRuntime.d.ts} +13 -13
- package/dist/esm/models/{SystemRuntime.js → SystemInfoRuntime.js} +6 -6
- package/dist/esm/models/index.d.ts +3 -2
- package/dist/esm/models/index.js +3 -2
- package/dist/models/DigitsEnum.d.ts +3 -3
- package/dist/models/DigitsEnum.js +3 -3
- package/dist/models/LDAPSource.d.ts +10 -0
- package/dist/models/LDAPSource.js +2 -0
- package/dist/models/LDAPSyncStatus.d.ts +38 -0
- package/dist/models/LDAPSyncStatus.js +51 -0
- package/dist/models/{System.d.ts → SystemInfo.d.ts} +17 -17
- package/dist/models/{System.js → SystemInfo.js} +14 -14
- package/dist/{esm/models/SystemRuntime.d.ts → models/SystemInfoRuntime.d.ts} +13 -13
- package/dist/models/{SystemRuntime.js → SystemInfoRuntime.js} +11 -11
- package/dist/models/index.d.ts +3 -2
- package/dist/models/index.js +3 -2
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +9 -9
- package/src/apis/SourcesApi.ts +9 -9
- package/src/apis/StagesApi.ts +3 -3
- package/src/models/DigitsEnum.ts +3 -3
- package/src/models/LDAPSource.ts +8 -0
- package/src/models/LDAPSyncStatus.ts +80 -0
- package/src/models/{System.ts → SystemInfo.ts} +24 -24
- package/src/models/{SystemRuntime.ts → SystemInfoRuntime.ts} +14 -14
- package/src/models/index.ts +3 -2
|
@@ -12,50 +12,50 @@
|
|
|
12
12
|
/**
|
|
13
13
|
* Get versions
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface SystemInfoRuntime
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface SystemInfoRuntime {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof SystemInfoRuntime
|
|
22
22
|
*/
|
|
23
23
|
pythonVersion: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof SystemInfoRuntime
|
|
28
28
|
*/
|
|
29
29
|
gunicornVersion: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof SystemInfoRuntime
|
|
34
34
|
*/
|
|
35
35
|
environment: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof SystemInfoRuntime
|
|
40
40
|
*/
|
|
41
41
|
architecture: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof SystemInfoRuntime
|
|
46
46
|
*/
|
|
47
47
|
platform: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof SystemInfoRuntime
|
|
52
52
|
*/
|
|
53
53
|
uname: string;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
* Check if a given object implements the
|
|
56
|
+
* Check if a given object implements the SystemInfoRuntime interface.
|
|
57
57
|
*/
|
|
58
|
-
export declare function
|
|
59
|
-
export declare function
|
|
60
|
-
export declare function
|
|
61
|
-
export declare function
|
|
58
|
+
export declare function instanceOfSystemInfoRuntime(value: object): boolean;
|
|
59
|
+
export declare function SystemInfoRuntimeFromJSON(json: any): SystemInfoRuntime;
|
|
60
|
+
export declare function SystemInfoRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemInfoRuntime;
|
|
61
|
+
export declare function SystemInfoRuntimeToJSON(value?: SystemInfoRuntime | null): any;
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
* Check if a given object implements the
|
|
15
|
+
* Check if a given object implements the SystemInfoRuntime interface.
|
|
16
16
|
*/
|
|
17
|
-
export function
|
|
17
|
+
export function instanceOfSystemInfoRuntime(value) {
|
|
18
18
|
let isInstance = true;
|
|
19
19
|
isInstance = isInstance && "pythonVersion" in value;
|
|
20
20
|
isInstance = isInstance && "gunicornVersion" in value;
|
|
@@ -24,10 +24,10 @@ export function instanceOfSystemRuntime(value) {
|
|
|
24
24
|
isInstance = isInstance && "uname" in value;
|
|
25
25
|
return isInstance;
|
|
26
26
|
}
|
|
27
|
-
export function
|
|
28
|
-
return
|
|
27
|
+
export function SystemInfoRuntimeFromJSON(json) {
|
|
28
|
+
return SystemInfoRuntimeFromJSONTyped(json, false);
|
|
29
29
|
}
|
|
30
|
-
export function
|
|
30
|
+
export function SystemInfoRuntimeFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
31
|
if ((json === undefined) || (json === null)) {
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
@@ -40,7 +40,7 @@ export function SystemRuntimeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'uname': json['uname'],
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
|
-
export function
|
|
43
|
+
export function SystemInfoRuntimeToJSON(value) {
|
|
44
44
|
if (value === undefined) {
|
|
45
45
|
return undefined;
|
|
46
46
|
}
|
|
@@ -152,6 +152,7 @@ export * from './LDAPProvider';
|
|
|
152
152
|
export * from './LDAPProviderRequest';
|
|
153
153
|
export * from './LDAPSource';
|
|
154
154
|
export * from './LDAPSourceRequest';
|
|
155
|
+
export * from './LDAPSyncStatus';
|
|
155
156
|
export * from './LayoutEnum';
|
|
156
157
|
export * from './License';
|
|
157
158
|
export * from './LicenseForecast';
|
|
@@ -441,8 +442,8 @@ export * from './StaticDeviceRequest';
|
|
|
441
442
|
export * from './StaticDeviceToken';
|
|
442
443
|
export * from './StaticDeviceTokenRequest';
|
|
443
444
|
export * from './SubModeEnum';
|
|
444
|
-
export * from './
|
|
445
|
-
export * from './
|
|
445
|
+
export * from './SystemInfo';
|
|
446
|
+
export * from './SystemInfoRuntime';
|
|
446
447
|
export * from './TOTPDevice';
|
|
447
448
|
export * from './TOTPDeviceRequest';
|
|
448
449
|
export * from './Task';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -154,6 +154,7 @@ export * from './LDAPProvider';
|
|
|
154
154
|
export * from './LDAPProviderRequest';
|
|
155
155
|
export * from './LDAPSource';
|
|
156
156
|
export * from './LDAPSourceRequest';
|
|
157
|
+
export * from './LDAPSyncStatus';
|
|
157
158
|
export * from './LayoutEnum';
|
|
158
159
|
export * from './License';
|
|
159
160
|
export * from './LicenseForecast';
|
|
@@ -443,8 +444,8 @@ export * from './StaticDeviceRequest';
|
|
|
443
444
|
export * from './StaticDeviceToken';
|
|
444
445
|
export * from './StaticDeviceTokenRequest';
|
|
445
446
|
export * from './SubModeEnum';
|
|
446
|
-
export * from './
|
|
447
|
-
export * from './
|
|
447
|
+
export * from './SystemInfo';
|
|
448
|
+
export * from './SystemInfoRuntime';
|
|
448
449
|
export * from './TOTPDevice';
|
|
449
450
|
export * from './TOTPDeviceRequest';
|
|
450
451
|
export * from './Task';
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
* @export
|
|
16
16
|
*/
|
|
17
17
|
export declare const DigitsEnum: {
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
18
|
+
readonly _6: "6";
|
|
19
|
+
readonly _8: "8";
|
|
20
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
21
21
|
};
|
|
22
22
|
export type DigitsEnum = typeof DigitsEnum[keyof typeof DigitsEnum];
|
|
23
23
|
export declare function DigitsEnumFromJSON(json: any): DigitsEnum;
|
|
@@ -20,9 +20,9 @@ exports.DigitsEnumToJSON = exports.DigitsEnumFromJSONTyped = exports.DigitsEnumF
|
|
|
20
20
|
* @export
|
|
21
21
|
*/
|
|
22
22
|
exports.DigitsEnum = {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
_6: '6',
|
|
24
|
+
_8: '8',
|
|
25
|
+
UnknownDefaultOpenApi: '11184809'
|
|
26
26
|
};
|
|
27
27
|
function DigitsEnumFromJSON(json) {
|
|
28
28
|
return DigitsEnumFromJSONTyped(json, false);
|
|
@@ -222,6 +222,16 @@ export interface LDAPSource {
|
|
|
222
222
|
* @memberof LDAPSource
|
|
223
223
|
*/
|
|
224
224
|
propertyMappingsGroup?: Array<string>;
|
|
225
|
+
/**
|
|
226
|
+
* Get cached source connectivity
|
|
227
|
+
* @type {{ [key: string]: { [key: string]: string; }; }}
|
|
228
|
+
* @memberof LDAPSource
|
|
229
|
+
*/
|
|
230
|
+
readonly connectivity: {
|
|
231
|
+
[key: string]: {
|
|
232
|
+
[key: string]: string;
|
|
233
|
+
};
|
|
234
|
+
} | null;
|
|
225
235
|
}
|
|
226
236
|
/**
|
|
227
237
|
* Check if a given object implements the LDAPSource interface.
|
|
@@ -33,6 +33,7 @@ function instanceOfLDAPSource(value) {
|
|
|
33
33
|
isInstance = isInstance && "icon" in value;
|
|
34
34
|
isInstance = isInstance && "serverUri" in value;
|
|
35
35
|
isInstance = isInstance && "baseDn" in value;
|
|
36
|
+
isInstance = isInstance && "connectivity" in value;
|
|
36
37
|
return isInstance;
|
|
37
38
|
}
|
|
38
39
|
exports.instanceOfLDAPSource = instanceOfLDAPSource;
|
|
@@ -79,6 +80,7 @@ function LDAPSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
79
80
|
'syncParentGroup': !(0, runtime_1.exists)(json, 'sync_parent_group') ? undefined : json['sync_parent_group'],
|
|
80
81
|
'propertyMappings': !(0, runtime_1.exists)(json, 'property_mappings') ? undefined : json['property_mappings'],
|
|
81
82
|
'propertyMappingsGroup': !(0, runtime_1.exists)(json, 'property_mappings_group') ? undefined : json['property_mappings_group'],
|
|
83
|
+
'connectivity': json['connectivity'],
|
|
82
84
|
};
|
|
83
85
|
}
|
|
84
86
|
exports.LDAPSourceFromJSONTyped = LDAPSourceFromJSONTyped;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.3
|
|
6
|
+
* Contact: hello@goauthentik.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Task } from './Task';
|
|
13
|
+
/**
|
|
14
|
+
* LDAP Source sync status
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LDAPSyncStatus
|
|
17
|
+
*/
|
|
18
|
+
export interface LDAPSyncStatus {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof LDAPSyncStatus
|
|
23
|
+
*/
|
|
24
|
+
readonly isRunning: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<Task>}
|
|
28
|
+
* @memberof LDAPSyncStatus
|
|
29
|
+
*/
|
|
30
|
+
readonly tasks: Array<Task>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the LDAPSyncStatus interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfLDAPSyncStatus(value: object): boolean;
|
|
36
|
+
export declare function LDAPSyncStatusFromJSON(json: any): LDAPSyncStatus;
|
|
37
|
+
export declare function LDAPSyncStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): LDAPSyncStatus;
|
|
38
|
+
export declare function LDAPSyncStatusToJSON(value?: LDAPSyncStatus | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2023.10.3
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.LDAPSyncStatusToJSON = exports.LDAPSyncStatusFromJSONTyped = exports.LDAPSyncStatusFromJSON = exports.instanceOfLDAPSyncStatus = void 0;
|
|
17
|
+
const Task_1 = require("./Task");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the LDAPSyncStatus interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfLDAPSyncStatus(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "isRunning" in value;
|
|
24
|
+
isInstance = isInstance && "tasks" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfLDAPSyncStatus = instanceOfLDAPSyncStatus;
|
|
28
|
+
function LDAPSyncStatusFromJSON(json) {
|
|
29
|
+
return LDAPSyncStatusFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.LDAPSyncStatusFromJSON = LDAPSyncStatusFromJSON;
|
|
32
|
+
function LDAPSyncStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'isRunning': json['is_running'],
|
|
38
|
+
'tasks': (json['tasks'].map(Task_1.TaskFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.LDAPSyncStatusFromJSONTyped = LDAPSyncStatusFromJSONTyped;
|
|
42
|
+
function LDAPSyncStatusToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {};
|
|
50
|
+
}
|
|
51
|
+
exports.LDAPSyncStatusToJSON = LDAPSyncStatusToJSON;
|
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { SystemInfoRuntime } from './SystemInfoRuntime';
|
|
13
13
|
/**
|
|
14
14
|
* Get system information.
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface SystemInfo
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface SystemInfo {
|
|
19
19
|
/**
|
|
20
20
|
* Get HTTP Request headers
|
|
21
21
|
* @type {{ [key: string]: string; }}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof SystemInfo
|
|
23
23
|
*/
|
|
24
24
|
readonly httpHeaders: {
|
|
25
25
|
[key: string]: string;
|
|
@@ -27,44 +27,44 @@ export interface System {
|
|
|
27
27
|
/**
|
|
28
28
|
* Get HTTP host
|
|
29
29
|
* @type {string}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof SystemInfo
|
|
31
31
|
*/
|
|
32
32
|
readonly httpHost: string;
|
|
33
33
|
/**
|
|
34
34
|
* Get HTTP Secure flag
|
|
35
35
|
* @type {boolean}
|
|
36
|
-
* @memberof
|
|
36
|
+
* @memberof SystemInfo
|
|
37
37
|
*/
|
|
38
38
|
readonly httpIsSecure: boolean;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
|
-
* @type {
|
|
42
|
-
* @memberof
|
|
41
|
+
* @type {SystemInfoRuntime}
|
|
42
|
+
* @memberof SystemInfo
|
|
43
43
|
*/
|
|
44
|
-
runtime:
|
|
44
|
+
runtime: SystemInfoRuntime;
|
|
45
45
|
/**
|
|
46
46
|
* Currently active tenant
|
|
47
47
|
* @type {string}
|
|
48
|
-
* @memberof
|
|
48
|
+
* @memberof SystemInfo
|
|
49
49
|
*/
|
|
50
50
|
readonly tenant: string;
|
|
51
51
|
/**
|
|
52
52
|
* Current server time
|
|
53
53
|
* @type {Date}
|
|
54
|
-
* @memberof
|
|
54
|
+
* @memberof SystemInfo
|
|
55
55
|
*/
|
|
56
56
|
readonly serverTime: Date;
|
|
57
57
|
/**
|
|
58
58
|
* Get the FQDN configured on the embedded outpost
|
|
59
59
|
* @type {string}
|
|
60
|
-
* @memberof
|
|
60
|
+
* @memberof SystemInfo
|
|
61
61
|
*/
|
|
62
62
|
readonly embeddedOutpostHost: string;
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
|
-
* Check if a given object implements the
|
|
65
|
+
* Check if a given object implements the SystemInfo interface.
|
|
66
66
|
*/
|
|
67
|
-
export declare function
|
|
68
|
-
export declare function
|
|
69
|
-
export declare function
|
|
70
|
-
export declare function
|
|
67
|
+
export declare function instanceOfSystemInfo(value: object): boolean;
|
|
68
|
+
export declare function SystemInfoFromJSON(json: any): SystemInfo;
|
|
69
|
+
export declare function SystemInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemInfo;
|
|
70
|
+
export declare function SystemInfoToJSON(value?: SystemInfo | null): any;
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
const
|
|
16
|
+
exports.SystemInfoToJSON = exports.SystemInfoFromJSONTyped = exports.SystemInfoFromJSON = exports.instanceOfSystemInfo = void 0;
|
|
17
|
+
const SystemInfoRuntime_1 = require("./SystemInfoRuntime");
|
|
18
18
|
/**
|
|
19
|
-
* Check if a given object implements the
|
|
19
|
+
* Check if a given object implements the SystemInfo interface.
|
|
20
20
|
*/
|
|
21
|
-
function
|
|
21
|
+
function instanceOfSystemInfo(value) {
|
|
22
22
|
let isInstance = true;
|
|
23
23
|
isInstance = isInstance && "httpHeaders" in value;
|
|
24
24
|
isInstance = isInstance && "httpHost" in value;
|
|
@@ -29,12 +29,12 @@ function instanceOfSystem(value) {
|
|
|
29
29
|
isInstance = isInstance && "embeddedOutpostHost" in value;
|
|
30
30
|
return isInstance;
|
|
31
31
|
}
|
|
32
|
-
exports.
|
|
33
|
-
function
|
|
34
|
-
return
|
|
32
|
+
exports.instanceOfSystemInfo = instanceOfSystemInfo;
|
|
33
|
+
function SystemInfoFromJSON(json) {
|
|
34
|
+
return SystemInfoFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
exports.
|
|
37
|
-
function
|
|
36
|
+
exports.SystemInfoFromJSON = SystemInfoFromJSON;
|
|
37
|
+
function SystemInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
38
|
if ((json === undefined) || (json === null)) {
|
|
39
39
|
return json;
|
|
40
40
|
}
|
|
@@ -42,14 +42,14 @@ function SystemFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'httpHeaders': json['http_headers'],
|
|
43
43
|
'httpHost': json['http_host'],
|
|
44
44
|
'httpIsSecure': json['http_is_secure'],
|
|
45
|
-
'runtime': (0,
|
|
45
|
+
'runtime': (0, SystemInfoRuntime_1.SystemInfoRuntimeFromJSON)(json['runtime']),
|
|
46
46
|
'tenant': json['tenant'],
|
|
47
47
|
'serverTime': (new Date(json['server_time'])),
|
|
48
48
|
'embeddedOutpostHost': json['embedded_outpost_host'],
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
exports.
|
|
52
|
-
function
|
|
51
|
+
exports.SystemInfoFromJSONTyped = SystemInfoFromJSONTyped;
|
|
52
|
+
function SystemInfoToJSON(value) {
|
|
53
53
|
if (value === undefined) {
|
|
54
54
|
return undefined;
|
|
55
55
|
}
|
|
@@ -57,7 +57,7 @@ function SystemToJSON(value) {
|
|
|
57
57
|
return null;
|
|
58
58
|
}
|
|
59
59
|
return {
|
|
60
|
-
'runtime': (0,
|
|
60
|
+
'runtime': (0, SystemInfoRuntime_1.SystemInfoRuntimeToJSON)(value.runtime),
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
|
-
exports.
|
|
63
|
+
exports.SystemInfoToJSON = SystemInfoToJSON;
|
|
@@ -12,50 +12,50 @@
|
|
|
12
12
|
/**
|
|
13
13
|
* Get versions
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface SystemInfoRuntime
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface SystemInfoRuntime {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof SystemInfoRuntime
|
|
22
22
|
*/
|
|
23
23
|
pythonVersion: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof SystemInfoRuntime
|
|
28
28
|
*/
|
|
29
29
|
gunicornVersion: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof SystemInfoRuntime
|
|
34
34
|
*/
|
|
35
35
|
environment: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof SystemInfoRuntime
|
|
40
40
|
*/
|
|
41
41
|
architecture: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof SystemInfoRuntime
|
|
46
46
|
*/
|
|
47
47
|
platform: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof SystemInfoRuntime
|
|
52
52
|
*/
|
|
53
53
|
uname: string;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
* Check if a given object implements the
|
|
56
|
+
* Check if a given object implements the SystemInfoRuntime interface.
|
|
57
57
|
*/
|
|
58
|
-
export declare function
|
|
59
|
-
export declare function
|
|
60
|
-
export declare function
|
|
61
|
-
export declare function
|
|
58
|
+
export declare function instanceOfSystemInfoRuntime(value: object): boolean;
|
|
59
|
+
export declare function SystemInfoRuntimeFromJSON(json: any): SystemInfoRuntime;
|
|
60
|
+
export declare function SystemInfoRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemInfoRuntime;
|
|
61
|
+
export declare function SystemInfoRuntimeToJSON(value?: SystemInfoRuntime | null): any;
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.SystemInfoRuntimeToJSON = exports.SystemInfoRuntimeFromJSONTyped = exports.SystemInfoRuntimeFromJSON = exports.instanceOfSystemInfoRuntime = void 0;
|
|
17
17
|
/**
|
|
18
|
-
* Check if a given object implements the
|
|
18
|
+
* Check if a given object implements the SystemInfoRuntime interface.
|
|
19
19
|
*/
|
|
20
|
-
function
|
|
20
|
+
function instanceOfSystemInfoRuntime(value) {
|
|
21
21
|
let isInstance = true;
|
|
22
22
|
isInstance = isInstance && "pythonVersion" in value;
|
|
23
23
|
isInstance = isInstance && "gunicornVersion" in value;
|
|
@@ -27,12 +27,12 @@ function instanceOfSystemRuntime(value) {
|
|
|
27
27
|
isInstance = isInstance && "uname" in value;
|
|
28
28
|
return isInstance;
|
|
29
29
|
}
|
|
30
|
-
exports.
|
|
31
|
-
function
|
|
32
|
-
return
|
|
30
|
+
exports.instanceOfSystemInfoRuntime = instanceOfSystemInfoRuntime;
|
|
31
|
+
function SystemInfoRuntimeFromJSON(json) {
|
|
32
|
+
return SystemInfoRuntimeFromJSONTyped(json, false);
|
|
33
33
|
}
|
|
34
|
-
exports.
|
|
35
|
-
function
|
|
34
|
+
exports.SystemInfoRuntimeFromJSON = SystemInfoRuntimeFromJSON;
|
|
35
|
+
function SystemInfoRuntimeFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
36
|
if ((json === undefined) || (json === null)) {
|
|
37
37
|
return json;
|
|
38
38
|
}
|
|
@@ -45,8 +45,8 @@ function SystemRuntimeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'uname': json['uname'],
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
exports.
|
|
49
|
-
function
|
|
48
|
+
exports.SystemInfoRuntimeFromJSONTyped = SystemInfoRuntimeFromJSONTyped;
|
|
49
|
+
function SystemInfoRuntimeToJSON(value) {
|
|
50
50
|
if (value === undefined) {
|
|
51
51
|
return undefined;
|
|
52
52
|
}
|
|
@@ -62,4 +62,4 @@ function SystemRuntimeToJSON(value) {
|
|
|
62
62
|
'uname': value.uname,
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
|
-
exports.
|
|
65
|
+
exports.SystemInfoRuntimeToJSON = SystemInfoRuntimeToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -152,6 +152,7 @@ export * from './LDAPProvider';
|
|
|
152
152
|
export * from './LDAPProviderRequest';
|
|
153
153
|
export * from './LDAPSource';
|
|
154
154
|
export * from './LDAPSourceRequest';
|
|
155
|
+
export * from './LDAPSyncStatus';
|
|
155
156
|
export * from './LayoutEnum';
|
|
156
157
|
export * from './License';
|
|
157
158
|
export * from './LicenseForecast';
|
|
@@ -441,8 +442,8 @@ export * from './StaticDeviceRequest';
|
|
|
441
442
|
export * from './StaticDeviceToken';
|
|
442
443
|
export * from './StaticDeviceTokenRequest';
|
|
443
444
|
export * from './SubModeEnum';
|
|
444
|
-
export * from './
|
|
445
|
-
export * from './
|
|
445
|
+
export * from './SystemInfo';
|
|
446
|
+
export * from './SystemInfoRuntime';
|
|
446
447
|
export * from './TOTPDevice';
|
|
447
448
|
export * from './TOTPDeviceRequest';
|
|
448
449
|
export * from './Task';
|
package/dist/models/index.js
CHANGED
|
@@ -170,6 +170,7 @@ __exportStar(require("./LDAPProvider"), exports);
|
|
|
170
170
|
__exportStar(require("./LDAPProviderRequest"), exports);
|
|
171
171
|
__exportStar(require("./LDAPSource"), exports);
|
|
172
172
|
__exportStar(require("./LDAPSourceRequest"), exports);
|
|
173
|
+
__exportStar(require("./LDAPSyncStatus"), exports);
|
|
173
174
|
__exportStar(require("./LayoutEnum"), exports);
|
|
174
175
|
__exportStar(require("./License"), exports);
|
|
175
176
|
__exportStar(require("./LicenseForecast"), exports);
|
|
@@ -459,8 +460,8 @@ __exportStar(require("./StaticDeviceRequest"), exports);
|
|
|
459
460
|
__exportStar(require("./StaticDeviceToken"), exports);
|
|
460
461
|
__exportStar(require("./StaticDeviceTokenRequest"), exports);
|
|
461
462
|
__exportStar(require("./SubModeEnum"), exports);
|
|
462
|
-
__exportStar(require("./
|
|
463
|
-
__exportStar(require("./
|
|
463
|
+
__exportStar(require("./SystemInfo"), exports);
|
|
464
|
+
__exportStar(require("./SystemInfoRuntime"), exports);
|
|
464
465
|
__exportStar(require("./TOTPDevice"), exports);
|
|
465
466
|
__exportStar(require("./TOTPDeviceRequest"), exports);
|
|
466
467
|
__exportStar(require("./Task"), exports);
|