@goauthentik/api 2023.10.3-1699884123 → 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.
Files changed (32) hide show
  1. package/.openapi-generator/FILES +2 -2
  2. package/dist/apis/AdminApi.d.ts +5 -5
  3. package/dist/apis/AdminApi.js +2 -2
  4. package/dist/apis/StagesApi.d.ts +3 -3
  5. package/dist/apis/StagesApi.js +3 -3
  6. package/dist/esm/apis/AdminApi.d.ts +5 -5
  7. package/dist/esm/apis/AdminApi.js +3 -3
  8. package/dist/esm/apis/StagesApi.d.ts +3 -3
  9. package/dist/esm/apis/StagesApi.js +3 -3
  10. package/dist/esm/models/DigitsEnum.d.ts +3 -3
  11. package/dist/esm/models/DigitsEnum.js +3 -3
  12. package/dist/esm/models/{System.d.ts → SystemInfo.d.ts} +17 -17
  13. package/dist/esm/models/{System.js → SystemInfo.js} +9 -9
  14. package/dist/{models/SystemRuntime.d.ts → esm/models/SystemInfoRuntime.d.ts} +13 -13
  15. package/dist/esm/models/{SystemRuntime.js → SystemInfoRuntime.js} +6 -6
  16. package/dist/esm/models/index.d.ts +2 -2
  17. package/dist/esm/models/index.js +2 -2
  18. package/dist/models/DigitsEnum.d.ts +3 -3
  19. package/dist/models/DigitsEnum.js +3 -3
  20. package/dist/models/{System.d.ts → SystemInfo.d.ts} +17 -17
  21. package/dist/models/{System.js → SystemInfo.js} +14 -14
  22. package/dist/{esm/models/SystemRuntime.d.ts → models/SystemInfoRuntime.d.ts} +13 -13
  23. package/dist/models/{SystemRuntime.js → SystemInfoRuntime.js} +11 -11
  24. package/dist/models/index.d.ts +2 -2
  25. package/dist/models/index.js +2 -2
  26. package/package.json +1 -1
  27. package/src/apis/AdminApi.ts +9 -9
  28. package/src/apis/StagesApi.ts +3 -3
  29. package/src/models/DigitsEnum.ts +3 -3
  30. package/src/models/{System.ts → SystemInfo.ts} +24 -24
  31. package/src/models/{SystemRuntime.ts → SystemInfoRuntime.ts} +14 -14
  32. package/src/models/index.ts +2 -2
@@ -467,8 +467,8 @@ src/models/StaticDeviceRequest.ts
467
467
  src/models/StaticDeviceToken.ts
468
468
  src/models/StaticDeviceTokenRequest.ts
469
469
  src/models/SubModeEnum.ts
470
- src/models/System.ts
471
- src/models/SystemRuntime.ts
470
+ src/models/SystemInfo.ts
471
+ src/models/SystemInfoRuntime.ts
472
472
  src/models/TOTPDevice.ts
473
473
  src/models/TOTPDeviceRequest.ts
474
474
  src/models/Task.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 { App, LoginMetrics, System, Task, Version, Workers } from '../models';
13
+ import type { App, LoginMetrics, SystemInfo, Task, Version, Workers } from '../models';
14
14
  export interface AdminSystemTasksRetrieveRequest {
15
15
  id: string;
16
16
  }
@@ -48,19 +48,19 @@ export declare class AdminApi extends runtime.BaseAPI {
48
48
  /**
49
49
  * Get system information.
50
50
  */
51
- adminSystemCreateRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<System>>;
51
+ adminSystemCreateRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfo>>;
52
52
  /**
53
53
  * Get system information.
54
54
  */
55
- adminSystemCreate(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<System>;
55
+ adminSystemCreate(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfo>;
56
56
  /**
57
57
  * Get system information.
58
58
  */
59
- adminSystemRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<System>>;
59
+ adminSystemRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfo>>;
60
60
  /**
61
61
  * Get system information.
62
62
  */
63
- adminSystemRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<System>;
63
+ adminSystemRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfo>;
64
64
  /**
65
65
  * List system tasks
66
66
  */
@@ -129,7 +129,7 @@ class AdminApi extends runtime.BaseAPI {
129
129
  headers: headerParameters,
130
130
  query: queryParameters,
131
131
  }, initOverrides);
132
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.SystemFromJSON)(jsonValue));
132
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.SystemInfoFromJSON)(jsonValue));
133
133
  });
134
134
  }
135
135
  /**
@@ -157,7 +157,7 @@ class AdminApi extends runtime.BaseAPI {
157
157
  headers: headerParameters,
158
158
  query: queryParameters,
159
159
  }, initOverrides);
160
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.SystemFromJSON)(jsonValue));
160
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.SystemInfoFromJSON)(jsonValue));
161
161
  });
162
162
  }
163
163
  /**
@@ -1983,9 +1983,9 @@ export type StagesAuthenticatorSmsListProviderEnum = typeof StagesAuthenticatorS
1983
1983
  * @export
1984
1984
  */
1985
1985
  export declare const StagesAuthenticatorTotpListDigitsEnum: {
1986
- readonly NUMBER_6: 6;
1987
- readonly NUMBER_8: 8;
1988
- readonly NUMBER_unknown_default_open_api: 11184809;
1986
+ readonly _6: "6";
1987
+ readonly _8: "8";
1988
+ readonly UnknownDefaultOpenApi: "11184809";
1989
1989
  };
1990
1990
  export type StagesAuthenticatorTotpListDigitsEnum = typeof StagesAuthenticatorTotpListDigitsEnum[keyof typeof StagesAuthenticatorTotpListDigitsEnum];
1991
1991
  /**
@@ -5632,9 +5632,9 @@ exports.StagesAuthenticatorSmsListProviderEnum = {
5632
5632
  * @export
5633
5633
  */
5634
5634
  exports.StagesAuthenticatorTotpListDigitsEnum = {
5635
- NUMBER_6: 6,
5636
- NUMBER_8: 8,
5637
- NUMBER_unknown_default_open_api: 11184809
5635
+ _6: '6',
5636
+ _8: '8',
5637
+ UnknownDefaultOpenApi: '11184809'
5638
5638
  };
5639
5639
  /**
5640
5640
  * @export
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { App, LoginMetrics, System, Task, Version, Workers } from '../models';
13
+ import type { App, LoginMetrics, SystemInfo, Task, Version, Workers } from '../models';
14
14
  export interface AdminSystemTasksRetrieveRequest {
15
15
  id: string;
16
16
  }
@@ -48,19 +48,19 @@ export declare class AdminApi extends runtime.BaseAPI {
48
48
  /**
49
49
  * Get system information.
50
50
  */
51
- adminSystemCreateRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<System>>;
51
+ adminSystemCreateRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfo>>;
52
52
  /**
53
53
  * Get system information.
54
54
  */
55
- adminSystemCreate(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<System>;
55
+ adminSystemCreate(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfo>;
56
56
  /**
57
57
  * Get system information.
58
58
  */
59
- adminSystemRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<System>>;
59
+ adminSystemRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfo>>;
60
60
  /**
61
61
  * Get system information.
62
62
  */
63
- adminSystemRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<System>;
63
+ adminSystemRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfo>;
64
64
  /**
65
65
  * List system tasks
66
66
  */
@@ -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 { AppFromJSON, LoginMetricsFromJSON, SystemFromJSON, TaskFromJSON, VersionFromJSON, WorkersFromJSON, } from '../models';
24
+ import { AppFromJSON, LoginMetricsFromJSON, SystemInfoFromJSON, TaskFromJSON, VersionFromJSON, WorkersFromJSON, } from '../models';
25
25
  /**
26
26
  *
27
27
  */
@@ -126,7 +126,7 @@ export class AdminApi extends runtime.BaseAPI {
126
126
  headers: headerParameters,
127
127
  query: queryParameters,
128
128
  }, initOverrides);
129
- return new runtime.JSONApiResponse(response, (jsonValue) => SystemFromJSON(jsonValue));
129
+ return new runtime.JSONApiResponse(response, (jsonValue) => SystemInfoFromJSON(jsonValue));
130
130
  });
131
131
  }
132
132
  /**
@@ -154,7 +154,7 @@ export class AdminApi extends runtime.BaseAPI {
154
154
  headers: headerParameters,
155
155
  query: queryParameters,
156
156
  }, initOverrides);
157
- return new runtime.JSONApiResponse(response, (jsonValue) => SystemFromJSON(jsonValue));
157
+ return new runtime.JSONApiResponse(response, (jsonValue) => SystemInfoFromJSON(jsonValue));
158
158
  });
159
159
  }
160
160
  /**
@@ -1983,9 +1983,9 @@ export type StagesAuthenticatorSmsListProviderEnum = typeof StagesAuthenticatorS
1983
1983
  * @export
1984
1984
  */
1985
1985
  export declare const StagesAuthenticatorTotpListDigitsEnum: {
1986
- readonly NUMBER_6: 6;
1987
- readonly NUMBER_8: 8;
1988
- readonly NUMBER_unknown_default_open_api: 11184809;
1986
+ readonly _6: "6";
1987
+ readonly _8: "8";
1988
+ readonly UnknownDefaultOpenApi: "11184809";
1989
1989
  };
1990
1990
  export type StagesAuthenticatorTotpListDigitsEnum = typeof StagesAuthenticatorTotpListDigitsEnum[keyof typeof StagesAuthenticatorTotpListDigitsEnum];
1991
1991
  /**
@@ -5628,9 +5628,9 @@ export const StagesAuthenticatorSmsListProviderEnum = {
5628
5628
  * @export
5629
5629
  */
5630
5630
  export const StagesAuthenticatorTotpListDigitsEnum = {
5631
- NUMBER_6: 6,
5632
- NUMBER_8: 8,
5633
- NUMBER_unknown_default_open_api: 11184809
5631
+ _6: '6',
5632
+ _8: '8',
5633
+ UnknownDefaultOpenApi: '11184809'
5634
5634
  };
5635
5635
  /**
5636
5636
  * @export
@@ -15,9 +15,9 @@
15
15
  * @export
16
16
  */
17
17
  export declare const DigitsEnum: {
18
- readonly NUMBER_6: 6;
19
- readonly NUMBER_8: 8;
20
- readonly NUMBER_unknown_default_open_api: 11184809;
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;
@@ -17,9 +17,9 @@
17
17
  * @export
18
18
  */
19
19
  export const DigitsEnum = {
20
- NUMBER_6: 6,
21
- NUMBER_8: 8,
22
- NUMBER_unknown_default_open_api: 11184809
20
+ _6: '6',
21
+ _8: '8',
22
+ UnknownDefaultOpenApi: '11184809'
23
23
  };
24
24
  export function DigitsEnumFromJSON(json) {
25
25
  return DigitsEnumFromJSONTyped(json, false);
@@ -9,17 +9,17 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { SystemRuntime } from './SystemRuntime';
12
+ import type { SystemInfoRuntime } from './SystemInfoRuntime';
13
13
  /**
14
14
  * Get system information.
15
15
  * @export
16
- * @interface System
16
+ * @interface SystemInfo
17
17
  */
18
- export interface System {
18
+ export interface SystemInfo {
19
19
  /**
20
20
  * Get HTTP Request headers
21
21
  * @type {{ [key: string]: string; }}
22
- * @memberof System
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 System
30
+ * @memberof SystemInfo
31
31
  */
32
32
  readonly httpHost: string;
33
33
  /**
34
34
  * Get HTTP Secure flag
35
35
  * @type {boolean}
36
- * @memberof System
36
+ * @memberof SystemInfo
37
37
  */
38
38
  readonly httpIsSecure: boolean;
39
39
  /**
40
40
  *
41
- * @type {SystemRuntime}
42
- * @memberof System
41
+ * @type {SystemInfoRuntime}
42
+ * @memberof SystemInfo
43
43
  */
44
- runtime: SystemRuntime;
44
+ runtime: SystemInfoRuntime;
45
45
  /**
46
46
  * Currently active tenant
47
47
  * @type {string}
48
- * @memberof System
48
+ * @memberof SystemInfo
49
49
  */
50
50
  readonly tenant: string;
51
51
  /**
52
52
  * Current server time
53
53
  * @type {Date}
54
- * @memberof System
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 System
60
+ * @memberof SystemInfo
61
61
  */
62
62
  readonly embeddedOutpostHost: string;
63
63
  }
64
64
  /**
65
- * Check if a given object implements the System interface.
65
+ * Check if a given object implements the SystemInfo interface.
66
66
  */
67
- export declare function instanceOfSystem(value: object): boolean;
68
- export declare function SystemFromJSON(json: any): System;
69
- export declare function SystemFromJSONTyped(json: any, ignoreDiscriminator: boolean): System;
70
- export declare function SystemToJSON(value?: System | null): any;
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;
@@ -11,11 +11,11 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { SystemRuntimeFromJSON, SystemRuntimeToJSON, } from './SystemRuntime';
14
+ import { SystemInfoRuntimeFromJSON, SystemInfoRuntimeToJSON, } from './SystemInfoRuntime';
15
15
  /**
16
- * Check if a given object implements the System interface.
16
+ * Check if a given object implements the SystemInfo interface.
17
17
  */
18
- export function instanceOfSystem(value) {
18
+ export function instanceOfSystemInfo(value) {
19
19
  let isInstance = true;
20
20
  isInstance = isInstance && "httpHeaders" in value;
21
21
  isInstance = isInstance && "httpHost" in value;
@@ -26,10 +26,10 @@ export function instanceOfSystem(value) {
26
26
  isInstance = isInstance && "embeddedOutpostHost" in value;
27
27
  return isInstance;
28
28
  }
29
- export function SystemFromJSON(json) {
30
- return SystemFromJSONTyped(json, false);
29
+ export function SystemInfoFromJSON(json) {
30
+ return SystemInfoFromJSONTyped(json, false);
31
31
  }
32
- export function SystemFromJSONTyped(json, ignoreDiscriminator) {
32
+ export function SystemInfoFromJSONTyped(json, ignoreDiscriminator) {
33
33
  if ((json === undefined) || (json === null)) {
34
34
  return json;
35
35
  }
@@ -37,13 +37,13 @@ export function SystemFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'httpHeaders': json['http_headers'],
38
38
  'httpHost': json['http_host'],
39
39
  'httpIsSecure': json['http_is_secure'],
40
- 'runtime': SystemRuntimeFromJSON(json['runtime']),
40
+ 'runtime': SystemInfoRuntimeFromJSON(json['runtime']),
41
41
  'tenant': json['tenant'],
42
42
  'serverTime': (new Date(json['server_time'])),
43
43
  'embeddedOutpostHost': json['embedded_outpost_host'],
44
44
  };
45
45
  }
46
- export function SystemToJSON(value) {
46
+ export function SystemInfoToJSON(value) {
47
47
  if (value === undefined) {
48
48
  return undefined;
49
49
  }
@@ -51,6 +51,6 @@ export function SystemToJSON(value) {
51
51
  return null;
52
52
  }
53
53
  return {
54
- 'runtime': SystemRuntimeToJSON(value.runtime),
54
+ 'runtime': SystemInfoRuntimeToJSON(value.runtime),
55
55
  };
56
56
  }
@@ -12,50 +12,50 @@
12
12
  /**
13
13
  * Get versions
14
14
  * @export
15
- * @interface SystemRuntime
15
+ * @interface SystemInfoRuntime
16
16
  */
17
- export interface SystemRuntime {
17
+ export interface SystemInfoRuntime {
18
18
  /**
19
19
  *
20
20
  * @type {string}
21
- * @memberof SystemRuntime
21
+ * @memberof SystemInfoRuntime
22
22
  */
23
23
  pythonVersion: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
- * @memberof SystemRuntime
27
+ * @memberof SystemInfoRuntime
28
28
  */
29
29
  gunicornVersion: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
- * @memberof SystemRuntime
33
+ * @memberof SystemInfoRuntime
34
34
  */
35
35
  environment: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
39
- * @memberof SystemRuntime
39
+ * @memberof SystemInfoRuntime
40
40
  */
41
41
  architecture: string;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
- * @memberof SystemRuntime
45
+ * @memberof SystemInfoRuntime
46
46
  */
47
47
  platform: string;
48
48
  /**
49
49
  *
50
50
  * @type {string}
51
- * @memberof SystemRuntime
51
+ * @memberof SystemInfoRuntime
52
52
  */
53
53
  uname: string;
54
54
  }
55
55
  /**
56
- * Check if a given object implements the SystemRuntime interface.
56
+ * Check if a given object implements the SystemInfoRuntime interface.
57
57
  */
58
- export declare function instanceOfSystemRuntime(value: object): boolean;
59
- export declare function SystemRuntimeFromJSON(json: any): SystemRuntime;
60
- export declare function SystemRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemRuntime;
61
- export declare function SystemRuntimeToJSON(value?: SystemRuntime | null): any;
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 SystemRuntime interface.
15
+ * Check if a given object implements the SystemInfoRuntime interface.
16
16
  */
17
- export function instanceOfSystemRuntime(value) {
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 SystemRuntimeFromJSON(json) {
28
- return SystemRuntimeFromJSONTyped(json, false);
27
+ export function SystemInfoRuntimeFromJSON(json) {
28
+ return SystemInfoRuntimeFromJSONTyped(json, false);
29
29
  }
30
- export function SystemRuntimeFromJSONTyped(json, ignoreDiscriminator) {
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 SystemRuntimeToJSON(value) {
43
+ export function SystemInfoRuntimeToJSON(value) {
44
44
  if (value === undefined) {
45
45
  return undefined;
46
46
  }
@@ -442,8 +442,8 @@ export * from './StaticDeviceRequest';
442
442
  export * from './StaticDeviceToken';
443
443
  export * from './StaticDeviceTokenRequest';
444
444
  export * from './SubModeEnum';
445
- export * from './System';
446
- export * from './SystemRuntime';
445
+ export * from './SystemInfo';
446
+ export * from './SystemInfoRuntime';
447
447
  export * from './TOTPDevice';
448
448
  export * from './TOTPDeviceRequest';
449
449
  export * from './Task';
@@ -444,8 +444,8 @@ export * from './StaticDeviceRequest';
444
444
  export * from './StaticDeviceToken';
445
445
  export * from './StaticDeviceTokenRequest';
446
446
  export * from './SubModeEnum';
447
- export * from './System';
448
- export * from './SystemRuntime';
447
+ export * from './SystemInfo';
448
+ export * from './SystemInfoRuntime';
449
449
  export * from './TOTPDevice';
450
450
  export * from './TOTPDeviceRequest';
451
451
  export * from './Task';
@@ -15,9 +15,9 @@
15
15
  * @export
16
16
  */
17
17
  export declare const DigitsEnum: {
18
- readonly NUMBER_6: 6;
19
- readonly NUMBER_8: 8;
20
- readonly NUMBER_unknown_default_open_api: 11184809;
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
- NUMBER_6: 6,
24
- NUMBER_8: 8,
25
- NUMBER_unknown_default_open_api: 11184809
23
+ _6: '6',
24
+ _8: '8',
25
+ UnknownDefaultOpenApi: '11184809'
26
26
  };
27
27
  function DigitsEnumFromJSON(json) {
28
28
  return DigitsEnumFromJSONTyped(json, false);
@@ -9,17 +9,17 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { SystemRuntime } from './SystemRuntime';
12
+ import type { SystemInfoRuntime } from './SystemInfoRuntime';
13
13
  /**
14
14
  * Get system information.
15
15
  * @export
16
- * @interface System
16
+ * @interface SystemInfo
17
17
  */
18
- export interface System {
18
+ export interface SystemInfo {
19
19
  /**
20
20
  * Get HTTP Request headers
21
21
  * @type {{ [key: string]: string; }}
22
- * @memberof System
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 System
30
+ * @memberof SystemInfo
31
31
  */
32
32
  readonly httpHost: string;
33
33
  /**
34
34
  * Get HTTP Secure flag
35
35
  * @type {boolean}
36
- * @memberof System
36
+ * @memberof SystemInfo
37
37
  */
38
38
  readonly httpIsSecure: boolean;
39
39
  /**
40
40
  *
41
- * @type {SystemRuntime}
42
- * @memberof System
41
+ * @type {SystemInfoRuntime}
42
+ * @memberof SystemInfo
43
43
  */
44
- runtime: SystemRuntime;
44
+ runtime: SystemInfoRuntime;
45
45
  /**
46
46
  * Currently active tenant
47
47
  * @type {string}
48
- * @memberof System
48
+ * @memberof SystemInfo
49
49
  */
50
50
  readonly tenant: string;
51
51
  /**
52
52
  * Current server time
53
53
  * @type {Date}
54
- * @memberof System
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 System
60
+ * @memberof SystemInfo
61
61
  */
62
62
  readonly embeddedOutpostHost: string;
63
63
  }
64
64
  /**
65
- * Check if a given object implements the System interface.
65
+ * Check if a given object implements the SystemInfo interface.
66
66
  */
67
- export declare function instanceOfSystem(value: object): boolean;
68
- export declare function SystemFromJSON(json: any): System;
69
- export declare function SystemFromJSONTyped(json: any, ignoreDiscriminator: boolean): System;
70
- export declare function SystemToJSON(value?: System | null): any;
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.SystemToJSON = exports.SystemFromJSONTyped = exports.SystemFromJSON = exports.instanceOfSystem = void 0;
17
- const SystemRuntime_1 = require("./SystemRuntime");
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 System interface.
19
+ * Check if a given object implements the SystemInfo interface.
20
20
  */
21
- function instanceOfSystem(value) {
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.instanceOfSystem = instanceOfSystem;
33
- function SystemFromJSON(json) {
34
- return SystemFromJSONTyped(json, false);
32
+ exports.instanceOfSystemInfo = instanceOfSystemInfo;
33
+ function SystemInfoFromJSON(json) {
34
+ return SystemInfoFromJSONTyped(json, false);
35
35
  }
36
- exports.SystemFromJSON = SystemFromJSON;
37
- function SystemFromJSONTyped(json, ignoreDiscriminator) {
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, SystemRuntime_1.SystemRuntimeFromJSON)(json['runtime']),
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.SystemFromJSONTyped = SystemFromJSONTyped;
52
- function SystemToJSON(value) {
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, SystemRuntime_1.SystemRuntimeToJSON)(value.runtime),
60
+ 'runtime': (0, SystemInfoRuntime_1.SystemInfoRuntimeToJSON)(value.runtime),
61
61
  };
62
62
  }
63
- exports.SystemToJSON = SystemToJSON;
63
+ exports.SystemInfoToJSON = SystemInfoToJSON;
@@ -12,50 +12,50 @@
12
12
  /**
13
13
  * Get versions
14
14
  * @export
15
- * @interface SystemRuntime
15
+ * @interface SystemInfoRuntime
16
16
  */
17
- export interface SystemRuntime {
17
+ export interface SystemInfoRuntime {
18
18
  /**
19
19
  *
20
20
  * @type {string}
21
- * @memberof SystemRuntime
21
+ * @memberof SystemInfoRuntime
22
22
  */
23
23
  pythonVersion: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
- * @memberof SystemRuntime
27
+ * @memberof SystemInfoRuntime
28
28
  */
29
29
  gunicornVersion: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
- * @memberof SystemRuntime
33
+ * @memberof SystemInfoRuntime
34
34
  */
35
35
  environment: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
39
- * @memberof SystemRuntime
39
+ * @memberof SystemInfoRuntime
40
40
  */
41
41
  architecture: string;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
- * @memberof SystemRuntime
45
+ * @memberof SystemInfoRuntime
46
46
  */
47
47
  platform: string;
48
48
  /**
49
49
  *
50
50
  * @type {string}
51
- * @memberof SystemRuntime
51
+ * @memberof SystemInfoRuntime
52
52
  */
53
53
  uname: string;
54
54
  }
55
55
  /**
56
- * Check if a given object implements the SystemRuntime interface.
56
+ * Check if a given object implements the SystemInfoRuntime interface.
57
57
  */
58
- export declare function instanceOfSystemRuntime(value: object): boolean;
59
- export declare function SystemRuntimeFromJSON(json: any): SystemRuntime;
60
- export declare function SystemRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemRuntime;
61
- export declare function SystemRuntimeToJSON(value?: SystemRuntime | null): any;
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.SystemRuntimeToJSON = exports.SystemRuntimeFromJSONTyped = exports.SystemRuntimeFromJSON = exports.instanceOfSystemRuntime = void 0;
16
+ exports.SystemInfoRuntimeToJSON = exports.SystemInfoRuntimeFromJSONTyped = exports.SystemInfoRuntimeFromJSON = exports.instanceOfSystemInfoRuntime = void 0;
17
17
  /**
18
- * Check if a given object implements the SystemRuntime interface.
18
+ * Check if a given object implements the SystemInfoRuntime interface.
19
19
  */
20
- function instanceOfSystemRuntime(value) {
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.instanceOfSystemRuntime = instanceOfSystemRuntime;
31
- function SystemRuntimeFromJSON(json) {
32
- return SystemRuntimeFromJSONTyped(json, false);
30
+ exports.instanceOfSystemInfoRuntime = instanceOfSystemInfoRuntime;
31
+ function SystemInfoRuntimeFromJSON(json) {
32
+ return SystemInfoRuntimeFromJSONTyped(json, false);
33
33
  }
34
- exports.SystemRuntimeFromJSON = SystemRuntimeFromJSON;
35
- function SystemRuntimeFromJSONTyped(json, ignoreDiscriminator) {
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.SystemRuntimeFromJSONTyped = SystemRuntimeFromJSONTyped;
49
- function SystemRuntimeToJSON(value) {
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.SystemRuntimeToJSON = SystemRuntimeToJSON;
65
+ exports.SystemInfoRuntimeToJSON = SystemInfoRuntimeToJSON;
@@ -442,8 +442,8 @@ export * from './StaticDeviceRequest';
442
442
  export * from './StaticDeviceToken';
443
443
  export * from './StaticDeviceTokenRequest';
444
444
  export * from './SubModeEnum';
445
- export * from './System';
446
- export * from './SystemRuntime';
445
+ export * from './SystemInfo';
446
+ export * from './SystemInfoRuntime';
447
447
  export * from './TOTPDevice';
448
448
  export * from './TOTPDeviceRequest';
449
449
  export * from './Task';
@@ -460,8 +460,8 @@ __exportStar(require("./StaticDeviceRequest"), exports);
460
460
  __exportStar(require("./StaticDeviceToken"), exports);
461
461
  __exportStar(require("./StaticDeviceTokenRequest"), exports);
462
462
  __exportStar(require("./SubModeEnum"), exports);
463
- __exportStar(require("./System"), exports);
464
- __exportStar(require("./SystemRuntime"), exports);
463
+ __exportStar(require("./SystemInfo"), exports);
464
+ __exportStar(require("./SystemInfoRuntime"), exports);
465
465
  __exportStar(require("./TOTPDevice"), exports);
466
466
  __exportStar(require("./TOTPDeviceRequest"), exports);
467
467
  __exportStar(require("./Task"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2023.10.3-1699884123",
3
+ "version": "2023.10.3-1700176062",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -18,7 +18,7 @@ import type {
18
18
  App,
19
19
  GenericError,
20
20
  LoginMetrics,
21
- System,
21
+ SystemInfo,
22
22
  Task,
23
23
  ValidationError,
24
24
  Version,
@@ -31,8 +31,8 @@ import {
31
31
  GenericErrorToJSON,
32
32
  LoginMetricsFromJSON,
33
33
  LoginMetricsToJSON,
34
- SystemFromJSON,
35
- SystemToJSON,
34
+ SystemInfoFromJSON,
35
+ SystemInfoToJSON,
36
36
  TaskFromJSON,
37
37
  TaskToJSON,
38
38
  ValidationErrorFromJSON,
@@ -149,7 +149,7 @@ export class AdminApi extends runtime.BaseAPI {
149
149
  /**
150
150
  * Get system information.
151
151
  */
152
- async adminSystemCreateRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<System>> {
152
+ async adminSystemCreateRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfo>> {
153
153
  const queryParameters: any = {};
154
154
 
155
155
  const headerParameters: runtime.HTTPHeaders = {};
@@ -165,13 +165,13 @@ export class AdminApi extends runtime.BaseAPI {
165
165
  query: queryParameters,
166
166
  }, initOverrides);
167
167
 
168
- return new runtime.JSONApiResponse(response, (jsonValue) => SystemFromJSON(jsonValue));
168
+ return new runtime.JSONApiResponse(response, (jsonValue) => SystemInfoFromJSON(jsonValue));
169
169
  }
170
170
 
171
171
  /**
172
172
  * Get system information.
173
173
  */
174
- async adminSystemCreate(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<System> {
174
+ async adminSystemCreate(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfo> {
175
175
  const response = await this.adminSystemCreateRaw(initOverrides);
176
176
  return await response.value();
177
177
  }
@@ -179,7 +179,7 @@ export class AdminApi extends runtime.BaseAPI {
179
179
  /**
180
180
  * Get system information.
181
181
  */
182
- async adminSystemRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<System>> {
182
+ async adminSystemRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfo>> {
183
183
  const queryParameters: any = {};
184
184
 
185
185
  const headerParameters: runtime.HTTPHeaders = {};
@@ -195,13 +195,13 @@ export class AdminApi extends runtime.BaseAPI {
195
195
  query: queryParameters,
196
196
  }, initOverrides);
197
197
 
198
- return new runtime.JSONApiResponse(response, (jsonValue) => SystemFromJSON(jsonValue));
198
+ return new runtime.JSONApiResponse(response, (jsonValue) => SystemInfoFromJSON(jsonValue));
199
199
  }
200
200
 
201
201
  /**
202
202
  * Get system information.
203
203
  */
204
- async adminSystemRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<System> {
204
+ async adminSystemRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfo> {
205
205
  const response = await this.adminSystemRetrieveRaw(initOverrides);
206
206
  return await response.value();
207
207
  }
@@ -7481,9 +7481,9 @@ export type StagesAuthenticatorSmsListProviderEnum = typeof StagesAuthenticatorS
7481
7481
  * @export
7482
7482
  */
7483
7483
  export const StagesAuthenticatorTotpListDigitsEnum = {
7484
- NUMBER_6: 6,
7485
- NUMBER_8: 8,
7486
- NUMBER_unknown_default_open_api: 11184809
7484
+ _6: '6',
7485
+ _8: '8',
7486
+ UnknownDefaultOpenApi: '11184809'
7487
7487
  } as const;
7488
7488
  export type StagesAuthenticatorTotpListDigitsEnum = typeof StagesAuthenticatorTotpListDigitsEnum[keyof typeof StagesAuthenticatorTotpListDigitsEnum];
7489
7489
  /**
@@ -19,9 +19,9 @@
19
19
  * @export
20
20
  */
21
21
  export const DigitsEnum = {
22
- NUMBER_6: 6,
23
- NUMBER_8: 8,
24
- NUMBER_unknown_default_open_api: 11184809
22
+ _6: '6',
23
+ _8: '8',
24
+ UnknownDefaultOpenApi: '11184809'
25
25
  } as const;
26
26
  export type DigitsEnum = typeof DigitsEnum[keyof typeof DigitsEnum];
27
27
 
@@ -13,67 +13,67 @@
13
13
  */
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
- import type { SystemRuntime } from './SystemRuntime';
16
+ import type { SystemInfoRuntime } from './SystemInfoRuntime';
17
17
  import {
18
- SystemRuntimeFromJSON,
19
- SystemRuntimeFromJSONTyped,
20
- SystemRuntimeToJSON,
21
- } from './SystemRuntime';
18
+ SystemInfoRuntimeFromJSON,
19
+ SystemInfoRuntimeFromJSONTyped,
20
+ SystemInfoRuntimeToJSON,
21
+ } from './SystemInfoRuntime';
22
22
 
23
23
  /**
24
24
  * Get system information.
25
25
  * @export
26
- * @interface System
26
+ * @interface SystemInfo
27
27
  */
28
- export interface System {
28
+ export interface SystemInfo {
29
29
  /**
30
30
  * Get HTTP Request headers
31
31
  * @type {{ [key: string]: string; }}
32
- * @memberof System
32
+ * @memberof SystemInfo
33
33
  */
34
34
  readonly httpHeaders: { [key: string]: string; };
35
35
  /**
36
36
  * Get HTTP host
37
37
  * @type {string}
38
- * @memberof System
38
+ * @memberof SystemInfo
39
39
  */
40
40
  readonly httpHost: string;
41
41
  /**
42
42
  * Get HTTP Secure flag
43
43
  * @type {boolean}
44
- * @memberof System
44
+ * @memberof SystemInfo
45
45
  */
46
46
  readonly httpIsSecure: boolean;
47
47
  /**
48
48
  *
49
- * @type {SystemRuntime}
50
- * @memberof System
49
+ * @type {SystemInfoRuntime}
50
+ * @memberof SystemInfo
51
51
  */
52
- runtime: SystemRuntime;
52
+ runtime: SystemInfoRuntime;
53
53
  /**
54
54
  * Currently active tenant
55
55
  * @type {string}
56
- * @memberof System
56
+ * @memberof SystemInfo
57
57
  */
58
58
  readonly tenant: string;
59
59
  /**
60
60
  * Current server time
61
61
  * @type {Date}
62
- * @memberof System
62
+ * @memberof SystemInfo
63
63
  */
64
64
  readonly serverTime: Date;
65
65
  /**
66
66
  * Get the FQDN configured on the embedded outpost
67
67
  * @type {string}
68
- * @memberof System
68
+ * @memberof SystemInfo
69
69
  */
70
70
  readonly embeddedOutpostHost: string;
71
71
  }
72
72
 
73
73
  /**
74
- * Check if a given object implements the System interface.
74
+ * Check if a given object implements the SystemInfo interface.
75
75
  */
76
- export function instanceOfSystem(value: object): boolean {
76
+ export function instanceOfSystemInfo(value: object): boolean {
77
77
  let isInstance = true;
78
78
  isInstance = isInstance && "httpHeaders" in value;
79
79
  isInstance = isInstance && "httpHost" in value;
@@ -86,11 +86,11 @@ export function instanceOfSystem(value: object): boolean {
86
86
  return isInstance;
87
87
  }
88
88
 
89
- export function SystemFromJSON(json: any): System {
90
- return SystemFromJSONTyped(json, false);
89
+ export function SystemInfoFromJSON(json: any): SystemInfo {
90
+ return SystemInfoFromJSONTyped(json, false);
91
91
  }
92
92
 
93
- export function SystemFromJSONTyped(json: any, ignoreDiscriminator: boolean): System {
93
+ export function SystemInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemInfo {
94
94
  if ((json === undefined) || (json === null)) {
95
95
  return json;
96
96
  }
@@ -99,14 +99,14 @@ export function SystemFromJSONTyped(json: any, ignoreDiscriminator: boolean): Sy
99
99
  'httpHeaders': json['http_headers'],
100
100
  'httpHost': json['http_host'],
101
101
  'httpIsSecure': json['http_is_secure'],
102
- 'runtime': SystemRuntimeFromJSON(json['runtime']),
102
+ 'runtime': SystemInfoRuntimeFromJSON(json['runtime']),
103
103
  'tenant': json['tenant'],
104
104
  'serverTime': (new Date(json['server_time'])),
105
105
  'embeddedOutpostHost': json['embedded_outpost_host'],
106
106
  };
107
107
  }
108
108
 
109
- export function SystemToJSON(value?: System | null): any {
109
+ export function SystemInfoToJSON(value?: SystemInfo | null): any {
110
110
  if (value === undefined) {
111
111
  return undefined;
112
112
  }
@@ -115,7 +115,7 @@ export function SystemToJSON(value?: System | null): any {
115
115
  }
116
116
  return {
117
117
 
118
- 'runtime': SystemRuntimeToJSON(value.runtime),
118
+ 'runtime': SystemInfoRuntimeToJSON(value.runtime),
119
119
  };
120
120
  }
121
121
 
@@ -16,51 +16,51 @@ import { exists, mapValues } from '../runtime';
16
16
  /**
17
17
  * Get versions
18
18
  * @export
19
- * @interface SystemRuntime
19
+ * @interface SystemInfoRuntime
20
20
  */
21
- export interface SystemRuntime {
21
+ export interface SystemInfoRuntime {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof SystemRuntime
25
+ * @memberof SystemInfoRuntime
26
26
  */
27
27
  pythonVersion: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof SystemRuntime
31
+ * @memberof SystemInfoRuntime
32
32
  */
33
33
  gunicornVersion: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
- * @memberof SystemRuntime
37
+ * @memberof SystemInfoRuntime
38
38
  */
39
39
  environment: string;
40
40
  /**
41
41
  *
42
42
  * @type {string}
43
- * @memberof SystemRuntime
43
+ * @memberof SystemInfoRuntime
44
44
  */
45
45
  architecture: string;
46
46
  /**
47
47
  *
48
48
  * @type {string}
49
- * @memberof SystemRuntime
49
+ * @memberof SystemInfoRuntime
50
50
  */
51
51
  platform: string;
52
52
  /**
53
53
  *
54
54
  * @type {string}
55
- * @memberof SystemRuntime
55
+ * @memberof SystemInfoRuntime
56
56
  */
57
57
  uname: string;
58
58
  }
59
59
 
60
60
  /**
61
- * Check if a given object implements the SystemRuntime interface.
61
+ * Check if a given object implements the SystemInfoRuntime interface.
62
62
  */
63
- export function instanceOfSystemRuntime(value: object): boolean {
63
+ export function instanceOfSystemInfoRuntime(value: object): boolean {
64
64
  let isInstance = true;
65
65
  isInstance = isInstance && "pythonVersion" in value;
66
66
  isInstance = isInstance && "gunicornVersion" in value;
@@ -72,11 +72,11 @@ export function instanceOfSystemRuntime(value: object): boolean {
72
72
  return isInstance;
73
73
  }
74
74
 
75
- export function SystemRuntimeFromJSON(json: any): SystemRuntime {
76
- return SystemRuntimeFromJSONTyped(json, false);
75
+ export function SystemInfoRuntimeFromJSON(json: any): SystemInfoRuntime {
76
+ return SystemInfoRuntimeFromJSONTyped(json, false);
77
77
  }
78
78
 
79
- export function SystemRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemRuntime {
79
+ export function SystemInfoRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemInfoRuntime {
80
80
  if ((json === undefined) || (json === null)) {
81
81
  return json;
82
82
  }
@@ -91,7 +91,7 @@ export function SystemRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boole
91
91
  };
92
92
  }
93
93
 
94
- export function SystemRuntimeToJSON(value?: SystemRuntime | null): any {
94
+ export function SystemInfoRuntimeToJSON(value?: SystemInfoRuntime | null): any {
95
95
  if (value === undefined) {
96
96
  return undefined;
97
97
  }
@@ -444,8 +444,8 @@ export * from './StaticDeviceRequest';
444
444
  export * from './StaticDeviceToken';
445
445
  export * from './StaticDeviceTokenRequest';
446
446
  export * from './SubModeEnum';
447
- export * from './System';
448
- export * from './SystemRuntime';
447
+ export * from './SystemInfo';
448
+ export * from './SystemInfoRuntime';
449
449
  export * from './TOTPDevice';
450
450
  export * from './TOTPDeviceRequest';
451
451
  export * from './Task';