@goauthentik/api 2022.3.3-1647904732 → 2022.3.3-1647976662

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 (31) hide show
  1. package/dist/esm/models/AuthenticatedSessionGeoIp.d.ts +6 -6
  2. package/dist/esm/models/AuthenticatedSessionGeoIp.js +5 -6
  3. package/dist/esm/models/AuthenticatedSessionUserAgent.d.ts +5 -5
  4. package/dist/esm/models/AuthenticatedSessionUserAgent.js +4 -5
  5. package/dist/esm/models/AuthenticatedSessionUserAgentDevice.d.ts +4 -4
  6. package/dist/esm/models/AuthenticatedSessionUserAgentDevice.js +3 -4
  7. package/dist/esm/models/AuthenticatedSessionUserAgentOs.d.ts +6 -6
  8. package/dist/esm/models/AuthenticatedSessionUserAgentOs.js +5 -6
  9. package/dist/esm/models/AuthenticatedSessionUserAgentUserAgent.d.ts +5 -5
  10. package/dist/esm/models/AuthenticatedSessionUserAgentUserAgent.js +4 -5
  11. package/dist/esm/models/SystemRuntime.d.ts +7 -7
  12. package/dist/esm/models/SystemRuntime.js +6 -7
  13. package/dist/models/AuthenticatedSessionGeoIp.d.ts +6 -6
  14. package/dist/models/AuthenticatedSessionGeoIp.js +5 -6
  15. package/dist/models/AuthenticatedSessionUserAgent.d.ts +5 -5
  16. package/dist/models/AuthenticatedSessionUserAgent.js +4 -5
  17. package/dist/models/AuthenticatedSessionUserAgentDevice.d.ts +4 -4
  18. package/dist/models/AuthenticatedSessionUserAgentDevice.js +3 -4
  19. package/dist/models/AuthenticatedSessionUserAgentOs.d.ts +6 -6
  20. package/dist/models/AuthenticatedSessionUserAgentOs.js +5 -6
  21. package/dist/models/AuthenticatedSessionUserAgentUserAgent.d.ts +5 -5
  22. package/dist/models/AuthenticatedSessionUserAgentUserAgent.js +4 -5
  23. package/dist/models/SystemRuntime.d.ts +7 -7
  24. package/dist/models/SystemRuntime.js +6 -7
  25. package/package.json +1 -1
  26. package/src/models/AuthenticatedSessionGeoIp.ts +11 -11
  27. package/src/models/AuthenticatedSessionUserAgent.ts +9 -9
  28. package/src/models/AuthenticatedSessionUserAgentDevice.ts +7 -7
  29. package/src/models/AuthenticatedSessionUserAgentOs.ts +11 -11
  30. package/src/models/AuthenticatedSessionUserAgentUserAgent.ts +9 -9
  31. package/src/models/SystemRuntime.ts +13 -13
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * GeoIP Details
14
14
  * @export
15
15
  * @interface AuthenticatedSessionGeoIp
16
16
  */
@@ -20,31 +20,31 @@ export interface AuthenticatedSessionGeoIp {
20
20
  * @type {string}
21
21
  * @memberof AuthenticatedSessionGeoIp
22
22
  */
23
- continent?: string;
23
+ continent: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof AuthenticatedSessionGeoIp
28
28
  */
29
- country?: string;
29
+ country: string;
30
30
  /**
31
31
  *
32
32
  * @type {number}
33
33
  * @memberof AuthenticatedSessionGeoIp
34
34
  */
35
- lat?: number;
35
+ lat: number;
36
36
  /**
37
37
  *
38
38
  * @type {number}
39
39
  * @memberof AuthenticatedSessionGeoIp
40
40
  */
41
- _long?: number;
41
+ _long: number;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
45
  * @memberof AuthenticatedSessionGeoIp
46
46
  */
47
- city?: string;
47
+ city: string;
48
48
  }
49
49
  export declare function AuthenticatedSessionGeoIpFromJSON(json: any): AuthenticatedSessionGeoIp;
50
50
  export declare function AuthenticatedSessionGeoIpFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatedSessionGeoIp;
@@ -11,7 +11,6 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { exists } from '../runtime';
15
14
  export function AuthenticatedSessionGeoIpFromJSON(json) {
16
15
  return AuthenticatedSessionGeoIpFromJSONTyped(json, false);
17
16
  }
@@ -20,11 +19,11 @@ export function AuthenticatedSessionGeoIpFromJSONTyped(json, ignoreDiscriminator
20
19
  return json;
21
20
  }
22
21
  return {
23
- 'continent': !exists(json, 'continent') ? undefined : json['continent'],
24
- 'country': !exists(json, 'country') ? undefined : json['country'],
25
- 'lat': !exists(json, 'lat') ? undefined : json['lat'],
26
- '_long': !exists(json, 'long') ? undefined : json['long'],
27
- 'city': !exists(json, 'city') ? undefined : json['city'],
22
+ 'continent': json['continent'],
23
+ 'country': json['country'],
24
+ 'lat': json['lat'],
25
+ '_long': json['long'],
26
+ 'city': json['city'],
28
27
  };
29
28
  }
30
29
  export function AuthenticatedSessionGeoIpToJSON(value) {
@@ -13,7 +13,7 @@ import { AuthenticatedSessionUserAgentDevice } from './AuthenticatedSessionUserA
13
13
  import { AuthenticatedSessionUserAgentOs } from './AuthenticatedSessionUserAgentOs';
14
14
  import { AuthenticatedSessionUserAgentUserAgent } from './AuthenticatedSessionUserAgentUserAgent';
15
15
  /**
16
- *
16
+ * User agent details
17
17
  * @export
18
18
  * @interface AuthenticatedSessionUserAgent
19
19
  */
@@ -23,25 +23,25 @@ export interface AuthenticatedSessionUserAgent {
23
23
  * @type {AuthenticatedSessionUserAgentDevice}
24
24
  * @memberof AuthenticatedSessionUserAgent
25
25
  */
26
- device?: AuthenticatedSessionUserAgentDevice;
26
+ device: AuthenticatedSessionUserAgentDevice;
27
27
  /**
28
28
  *
29
29
  * @type {AuthenticatedSessionUserAgentOs}
30
30
  * @memberof AuthenticatedSessionUserAgent
31
31
  */
32
- os?: AuthenticatedSessionUserAgentOs;
32
+ os: AuthenticatedSessionUserAgentOs;
33
33
  /**
34
34
  *
35
35
  * @type {AuthenticatedSessionUserAgentUserAgent}
36
36
  * @memberof AuthenticatedSessionUserAgent
37
37
  */
38
- userAgent?: AuthenticatedSessionUserAgentUserAgent;
38
+ userAgent: AuthenticatedSessionUserAgentUserAgent;
39
39
  /**
40
40
  *
41
41
  * @type {string}
42
42
  * @memberof AuthenticatedSessionUserAgent
43
43
  */
44
- string?: string;
44
+ string: string;
45
45
  }
46
46
  export declare function AuthenticatedSessionUserAgentFromJSON(json: any): AuthenticatedSessionUserAgent;
47
47
  export declare function AuthenticatedSessionUserAgentFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatedSessionUserAgent;
@@ -11,7 +11,6 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { exists } from '../runtime';
15
14
  import { AuthenticatedSessionUserAgentDeviceFromJSON, AuthenticatedSessionUserAgentDeviceToJSON, } from './AuthenticatedSessionUserAgentDevice';
16
15
  import { AuthenticatedSessionUserAgentOsFromJSON, AuthenticatedSessionUserAgentOsToJSON, } from './AuthenticatedSessionUserAgentOs';
17
16
  import { AuthenticatedSessionUserAgentUserAgentFromJSON, AuthenticatedSessionUserAgentUserAgentToJSON, } from './AuthenticatedSessionUserAgentUserAgent';
@@ -23,10 +22,10 @@ export function AuthenticatedSessionUserAgentFromJSONTyped(json, ignoreDiscrimin
23
22
  return json;
24
23
  }
25
24
  return {
26
- 'device': !exists(json, 'device') ? undefined : AuthenticatedSessionUserAgentDeviceFromJSON(json['device']),
27
- 'os': !exists(json, 'os') ? undefined : AuthenticatedSessionUserAgentOsFromJSON(json['os']),
28
- 'userAgent': !exists(json, 'user_agent') ? undefined : AuthenticatedSessionUserAgentUserAgentFromJSON(json['user_agent']),
29
- 'string': !exists(json, 'string') ? undefined : json['string'],
25
+ 'device': AuthenticatedSessionUserAgentDeviceFromJSON(json['device']),
26
+ 'os': AuthenticatedSessionUserAgentOsFromJSON(json['os']),
27
+ 'userAgent': AuthenticatedSessionUserAgentUserAgentFromJSON(json['user_agent']),
28
+ 'string': json['string'],
30
29
  };
31
30
  }
32
31
  export function AuthenticatedSessionUserAgentToJSON(value) {
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * User agent device
14
14
  * @export
15
15
  * @interface AuthenticatedSessionUserAgentDevice
16
16
  */
@@ -20,19 +20,19 @@ export interface AuthenticatedSessionUserAgentDevice {
20
20
  * @type {string}
21
21
  * @memberof AuthenticatedSessionUserAgentDevice
22
22
  */
23
- brand?: string;
23
+ brand: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof AuthenticatedSessionUserAgentDevice
28
28
  */
29
- family?: string;
29
+ family: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof AuthenticatedSessionUserAgentDevice
34
34
  */
35
- model?: string;
35
+ model: string;
36
36
  }
37
37
  export declare function AuthenticatedSessionUserAgentDeviceFromJSON(json: any): AuthenticatedSessionUserAgentDevice;
38
38
  export declare function AuthenticatedSessionUserAgentDeviceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatedSessionUserAgentDevice;
@@ -11,7 +11,6 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { exists } from '../runtime';
15
14
  export function AuthenticatedSessionUserAgentDeviceFromJSON(json) {
16
15
  return AuthenticatedSessionUserAgentDeviceFromJSONTyped(json, false);
17
16
  }
@@ -20,9 +19,9 @@ export function AuthenticatedSessionUserAgentDeviceFromJSONTyped(json, ignoreDis
20
19
  return json;
21
20
  }
22
21
  return {
23
- 'brand': !exists(json, 'brand') ? undefined : json['brand'],
24
- 'family': !exists(json, 'family') ? undefined : json['family'],
25
- 'model': !exists(json, 'model') ? undefined : json['model'],
22
+ 'brand': json['brand'],
23
+ 'family': json['family'],
24
+ 'model': json['model'],
26
25
  };
27
26
  }
28
27
  export function AuthenticatedSessionUserAgentDeviceToJSON(value) {
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * User agent os
14
14
  * @export
15
15
  * @interface AuthenticatedSessionUserAgentOs
16
16
  */
@@ -20,31 +20,31 @@ export interface AuthenticatedSessionUserAgentOs {
20
20
  * @type {string}
21
21
  * @memberof AuthenticatedSessionUserAgentOs
22
22
  */
23
- family?: string;
23
+ family: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof AuthenticatedSessionUserAgentOs
28
28
  */
29
- major?: string;
29
+ major: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof AuthenticatedSessionUserAgentOs
34
34
  */
35
- minor?: string;
35
+ minor: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
39
39
  * @memberof AuthenticatedSessionUserAgentOs
40
40
  */
41
- patch?: string;
41
+ patch: string;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
45
  * @memberof AuthenticatedSessionUserAgentOs
46
46
  */
47
- patchMinor?: string;
47
+ patchMinor: string;
48
48
  }
49
49
  export declare function AuthenticatedSessionUserAgentOsFromJSON(json: any): AuthenticatedSessionUserAgentOs;
50
50
  export declare function AuthenticatedSessionUserAgentOsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatedSessionUserAgentOs;
@@ -11,7 +11,6 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { exists } from '../runtime';
15
14
  export function AuthenticatedSessionUserAgentOsFromJSON(json) {
16
15
  return AuthenticatedSessionUserAgentOsFromJSONTyped(json, false);
17
16
  }
@@ -20,11 +19,11 @@ export function AuthenticatedSessionUserAgentOsFromJSONTyped(json, ignoreDiscrim
20
19
  return json;
21
20
  }
22
21
  return {
23
- 'family': !exists(json, 'family') ? undefined : json['family'],
24
- 'major': !exists(json, 'major') ? undefined : json['major'],
25
- 'minor': !exists(json, 'minor') ? undefined : json['minor'],
26
- 'patch': !exists(json, 'patch') ? undefined : json['patch'],
27
- 'patchMinor': !exists(json, 'patch_minor') ? undefined : json['patch_minor'],
22
+ 'family': json['family'],
23
+ 'major': json['major'],
24
+ 'minor': json['minor'],
25
+ 'patch': json['patch'],
26
+ 'patchMinor': json['patch_minor'],
28
27
  };
29
28
  }
30
29
  export function AuthenticatedSessionUserAgentOsToJSON(value) {
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * User agent browser
14
14
  * @export
15
15
  * @interface AuthenticatedSessionUserAgentUserAgent
16
16
  */
@@ -20,25 +20,25 @@ export interface AuthenticatedSessionUserAgentUserAgent {
20
20
  * @type {string}
21
21
  * @memberof AuthenticatedSessionUserAgentUserAgent
22
22
  */
23
- family?: string;
23
+ family: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof AuthenticatedSessionUserAgentUserAgent
28
28
  */
29
- major?: string;
29
+ major: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof AuthenticatedSessionUserAgentUserAgent
34
34
  */
35
- minor?: string;
35
+ minor: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
39
39
  * @memberof AuthenticatedSessionUserAgentUserAgent
40
40
  */
41
- patch?: string;
41
+ patch: string;
42
42
  }
43
43
  export declare function AuthenticatedSessionUserAgentUserAgentFromJSON(json: any): AuthenticatedSessionUserAgentUserAgent;
44
44
  export declare function AuthenticatedSessionUserAgentUserAgentFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatedSessionUserAgentUserAgent;
@@ -11,7 +11,6 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { exists } from '../runtime';
15
14
  export function AuthenticatedSessionUserAgentUserAgentFromJSON(json) {
16
15
  return AuthenticatedSessionUserAgentUserAgentFromJSONTyped(json, false);
17
16
  }
@@ -20,10 +19,10 @@ export function AuthenticatedSessionUserAgentUserAgentFromJSONTyped(json, ignore
20
19
  return json;
21
20
  }
22
21
  return {
23
- 'family': !exists(json, 'family') ? undefined : json['family'],
24
- 'major': !exists(json, 'major') ? undefined : json['major'],
25
- 'minor': !exists(json, 'minor') ? undefined : json['minor'],
26
- 'patch': !exists(json, 'patch') ? undefined : json['patch'],
22
+ 'family': json['family'],
23
+ 'major': json['major'],
24
+ 'minor': json['minor'],
25
+ 'patch': json['patch'],
27
26
  };
28
27
  }
29
28
  export function AuthenticatedSessionUserAgentUserAgentToJSON(value) {
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * Runtime information
14
14
  * @export
15
15
  * @interface SystemRuntime
16
16
  */
@@ -20,37 +20,37 @@ export interface SystemRuntime {
20
20
  * @type {string}
21
21
  * @memberof SystemRuntime
22
22
  */
23
- pythonVersion?: string;
23
+ pythonVersion: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof SystemRuntime
28
28
  */
29
- gunicornVersion?: string;
29
+ gunicornVersion: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof SystemRuntime
34
34
  */
35
- environment?: string;
35
+ environment: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
39
39
  * @memberof SystemRuntime
40
40
  */
41
- architecture?: string;
41
+ architecture: string;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
45
  * @memberof SystemRuntime
46
46
  */
47
- platform?: string;
47
+ platform: string;
48
48
  /**
49
49
  *
50
50
  * @type {string}
51
51
  * @memberof SystemRuntime
52
52
  */
53
- uname?: string;
53
+ uname: string;
54
54
  }
55
55
  export declare function SystemRuntimeFromJSON(json: any): SystemRuntime;
56
56
  export declare function SystemRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemRuntime;
@@ -11,7 +11,6 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { exists } from '../runtime';
15
14
  export function SystemRuntimeFromJSON(json) {
16
15
  return SystemRuntimeFromJSONTyped(json, false);
17
16
  }
@@ -20,12 +19,12 @@ export function SystemRuntimeFromJSONTyped(json, ignoreDiscriminator) {
20
19
  return json;
21
20
  }
22
21
  return {
23
- 'pythonVersion': !exists(json, 'python_version') ? undefined : json['python_version'],
24
- 'gunicornVersion': !exists(json, 'gunicorn_version') ? undefined : json['gunicorn_version'],
25
- 'environment': !exists(json, 'environment') ? undefined : json['environment'],
26
- 'architecture': !exists(json, 'architecture') ? undefined : json['architecture'],
27
- 'platform': !exists(json, 'platform') ? undefined : json['platform'],
28
- 'uname': !exists(json, 'uname') ? undefined : json['uname'],
22
+ 'pythonVersion': json['python_version'],
23
+ 'gunicornVersion': json['gunicorn_version'],
24
+ 'environment': json['environment'],
25
+ 'architecture': json['architecture'],
26
+ 'platform': json['platform'],
27
+ 'uname': json['uname'],
29
28
  };
30
29
  }
31
30
  export function SystemRuntimeToJSON(value) {
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * GeoIP Details
14
14
  * @export
15
15
  * @interface AuthenticatedSessionGeoIp
16
16
  */
@@ -20,31 +20,31 @@ export interface AuthenticatedSessionGeoIp {
20
20
  * @type {string}
21
21
  * @memberof AuthenticatedSessionGeoIp
22
22
  */
23
- continent?: string;
23
+ continent: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof AuthenticatedSessionGeoIp
28
28
  */
29
- country?: string;
29
+ country: string;
30
30
  /**
31
31
  *
32
32
  * @type {number}
33
33
  * @memberof AuthenticatedSessionGeoIp
34
34
  */
35
- lat?: number;
35
+ lat: number;
36
36
  /**
37
37
  *
38
38
  * @type {number}
39
39
  * @memberof AuthenticatedSessionGeoIp
40
40
  */
41
- _long?: number;
41
+ _long: number;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
45
  * @memberof AuthenticatedSessionGeoIp
46
46
  */
47
- city?: string;
47
+ city: string;
48
48
  }
49
49
  export declare function AuthenticatedSessionGeoIpFromJSON(json: any): AuthenticatedSessionGeoIp;
50
50
  export declare function AuthenticatedSessionGeoIpFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatedSessionGeoIp;
@@ -14,7 +14,6 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AuthenticatedSessionGeoIpToJSON = exports.AuthenticatedSessionGeoIpFromJSONTyped = exports.AuthenticatedSessionGeoIpFromJSON = void 0;
17
- const runtime_1 = require("../runtime");
18
17
  function AuthenticatedSessionGeoIpFromJSON(json) {
19
18
  return AuthenticatedSessionGeoIpFromJSONTyped(json, false);
20
19
  }
@@ -24,11 +23,11 @@ function AuthenticatedSessionGeoIpFromJSONTyped(json, ignoreDiscriminator) {
24
23
  return json;
25
24
  }
26
25
  return {
27
- 'continent': !runtime_1.exists(json, 'continent') ? undefined : json['continent'],
28
- 'country': !runtime_1.exists(json, 'country') ? undefined : json['country'],
29
- 'lat': !runtime_1.exists(json, 'lat') ? undefined : json['lat'],
30
- '_long': !runtime_1.exists(json, 'long') ? undefined : json['long'],
31
- 'city': !runtime_1.exists(json, 'city') ? undefined : json['city'],
26
+ 'continent': json['continent'],
27
+ 'country': json['country'],
28
+ 'lat': json['lat'],
29
+ '_long': json['long'],
30
+ 'city': json['city'],
32
31
  };
33
32
  }
34
33
  exports.AuthenticatedSessionGeoIpFromJSONTyped = AuthenticatedSessionGeoIpFromJSONTyped;
@@ -13,7 +13,7 @@ import { AuthenticatedSessionUserAgentDevice } from './AuthenticatedSessionUserA
13
13
  import { AuthenticatedSessionUserAgentOs } from './AuthenticatedSessionUserAgentOs';
14
14
  import { AuthenticatedSessionUserAgentUserAgent } from './AuthenticatedSessionUserAgentUserAgent';
15
15
  /**
16
- *
16
+ * User agent details
17
17
  * @export
18
18
  * @interface AuthenticatedSessionUserAgent
19
19
  */
@@ -23,25 +23,25 @@ export interface AuthenticatedSessionUserAgent {
23
23
  * @type {AuthenticatedSessionUserAgentDevice}
24
24
  * @memberof AuthenticatedSessionUserAgent
25
25
  */
26
- device?: AuthenticatedSessionUserAgentDevice;
26
+ device: AuthenticatedSessionUserAgentDevice;
27
27
  /**
28
28
  *
29
29
  * @type {AuthenticatedSessionUserAgentOs}
30
30
  * @memberof AuthenticatedSessionUserAgent
31
31
  */
32
- os?: AuthenticatedSessionUserAgentOs;
32
+ os: AuthenticatedSessionUserAgentOs;
33
33
  /**
34
34
  *
35
35
  * @type {AuthenticatedSessionUserAgentUserAgent}
36
36
  * @memberof AuthenticatedSessionUserAgent
37
37
  */
38
- userAgent?: AuthenticatedSessionUserAgentUserAgent;
38
+ userAgent: AuthenticatedSessionUserAgentUserAgent;
39
39
  /**
40
40
  *
41
41
  * @type {string}
42
42
  * @memberof AuthenticatedSessionUserAgent
43
43
  */
44
- string?: string;
44
+ string: string;
45
45
  }
46
46
  export declare function AuthenticatedSessionUserAgentFromJSON(json: any): AuthenticatedSessionUserAgent;
47
47
  export declare function AuthenticatedSessionUserAgentFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatedSessionUserAgent;
@@ -14,7 +14,6 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AuthenticatedSessionUserAgentToJSON = exports.AuthenticatedSessionUserAgentFromJSONTyped = exports.AuthenticatedSessionUserAgentFromJSON = void 0;
17
- const runtime_1 = require("../runtime");
18
17
  const AuthenticatedSessionUserAgentDevice_1 = require("./AuthenticatedSessionUserAgentDevice");
19
18
  const AuthenticatedSessionUserAgentOs_1 = require("./AuthenticatedSessionUserAgentOs");
20
19
  const AuthenticatedSessionUserAgentUserAgent_1 = require("./AuthenticatedSessionUserAgentUserAgent");
@@ -27,10 +26,10 @@ function AuthenticatedSessionUserAgentFromJSONTyped(json, ignoreDiscriminator) {
27
26
  return json;
28
27
  }
29
28
  return {
30
- 'device': !runtime_1.exists(json, 'device') ? undefined : AuthenticatedSessionUserAgentDevice_1.AuthenticatedSessionUserAgentDeviceFromJSON(json['device']),
31
- 'os': !runtime_1.exists(json, 'os') ? undefined : AuthenticatedSessionUserAgentOs_1.AuthenticatedSessionUserAgentOsFromJSON(json['os']),
32
- 'userAgent': !runtime_1.exists(json, 'user_agent') ? undefined : AuthenticatedSessionUserAgentUserAgent_1.AuthenticatedSessionUserAgentUserAgentFromJSON(json['user_agent']),
33
- 'string': !runtime_1.exists(json, 'string') ? undefined : json['string'],
29
+ 'device': AuthenticatedSessionUserAgentDevice_1.AuthenticatedSessionUserAgentDeviceFromJSON(json['device']),
30
+ 'os': AuthenticatedSessionUserAgentOs_1.AuthenticatedSessionUserAgentOsFromJSON(json['os']),
31
+ 'userAgent': AuthenticatedSessionUserAgentUserAgent_1.AuthenticatedSessionUserAgentUserAgentFromJSON(json['user_agent']),
32
+ 'string': json['string'],
34
33
  };
35
34
  }
36
35
  exports.AuthenticatedSessionUserAgentFromJSONTyped = AuthenticatedSessionUserAgentFromJSONTyped;
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * User agent device
14
14
  * @export
15
15
  * @interface AuthenticatedSessionUserAgentDevice
16
16
  */
@@ -20,19 +20,19 @@ export interface AuthenticatedSessionUserAgentDevice {
20
20
  * @type {string}
21
21
  * @memberof AuthenticatedSessionUserAgentDevice
22
22
  */
23
- brand?: string;
23
+ brand: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof AuthenticatedSessionUserAgentDevice
28
28
  */
29
- family?: string;
29
+ family: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof AuthenticatedSessionUserAgentDevice
34
34
  */
35
- model?: string;
35
+ model: string;
36
36
  }
37
37
  export declare function AuthenticatedSessionUserAgentDeviceFromJSON(json: any): AuthenticatedSessionUserAgentDevice;
38
38
  export declare function AuthenticatedSessionUserAgentDeviceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatedSessionUserAgentDevice;
@@ -14,7 +14,6 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AuthenticatedSessionUserAgentDeviceToJSON = exports.AuthenticatedSessionUserAgentDeviceFromJSONTyped = exports.AuthenticatedSessionUserAgentDeviceFromJSON = void 0;
17
- const runtime_1 = require("../runtime");
18
17
  function AuthenticatedSessionUserAgentDeviceFromJSON(json) {
19
18
  return AuthenticatedSessionUserAgentDeviceFromJSONTyped(json, false);
20
19
  }
@@ -24,9 +23,9 @@ function AuthenticatedSessionUserAgentDeviceFromJSONTyped(json, ignoreDiscrimina
24
23
  return json;
25
24
  }
26
25
  return {
27
- 'brand': !runtime_1.exists(json, 'brand') ? undefined : json['brand'],
28
- 'family': !runtime_1.exists(json, 'family') ? undefined : json['family'],
29
- 'model': !runtime_1.exists(json, 'model') ? undefined : json['model'],
26
+ 'brand': json['brand'],
27
+ 'family': json['family'],
28
+ 'model': json['model'],
30
29
  };
31
30
  }
32
31
  exports.AuthenticatedSessionUserAgentDeviceFromJSONTyped = AuthenticatedSessionUserAgentDeviceFromJSONTyped;
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * User agent os
14
14
  * @export
15
15
  * @interface AuthenticatedSessionUserAgentOs
16
16
  */
@@ -20,31 +20,31 @@ export interface AuthenticatedSessionUserAgentOs {
20
20
  * @type {string}
21
21
  * @memberof AuthenticatedSessionUserAgentOs
22
22
  */
23
- family?: string;
23
+ family: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof AuthenticatedSessionUserAgentOs
28
28
  */
29
- major?: string;
29
+ major: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof AuthenticatedSessionUserAgentOs
34
34
  */
35
- minor?: string;
35
+ minor: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
39
39
  * @memberof AuthenticatedSessionUserAgentOs
40
40
  */
41
- patch?: string;
41
+ patch: string;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
45
  * @memberof AuthenticatedSessionUserAgentOs
46
46
  */
47
- patchMinor?: string;
47
+ patchMinor: string;
48
48
  }
49
49
  export declare function AuthenticatedSessionUserAgentOsFromJSON(json: any): AuthenticatedSessionUserAgentOs;
50
50
  export declare function AuthenticatedSessionUserAgentOsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatedSessionUserAgentOs;
@@ -14,7 +14,6 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AuthenticatedSessionUserAgentOsToJSON = exports.AuthenticatedSessionUserAgentOsFromJSONTyped = exports.AuthenticatedSessionUserAgentOsFromJSON = void 0;
17
- const runtime_1 = require("../runtime");
18
17
  function AuthenticatedSessionUserAgentOsFromJSON(json) {
19
18
  return AuthenticatedSessionUserAgentOsFromJSONTyped(json, false);
20
19
  }
@@ -24,11 +23,11 @@ function AuthenticatedSessionUserAgentOsFromJSONTyped(json, ignoreDiscriminator)
24
23
  return json;
25
24
  }
26
25
  return {
27
- 'family': !runtime_1.exists(json, 'family') ? undefined : json['family'],
28
- 'major': !runtime_1.exists(json, 'major') ? undefined : json['major'],
29
- 'minor': !runtime_1.exists(json, 'minor') ? undefined : json['minor'],
30
- 'patch': !runtime_1.exists(json, 'patch') ? undefined : json['patch'],
31
- 'patchMinor': !runtime_1.exists(json, 'patch_minor') ? undefined : json['patch_minor'],
26
+ 'family': json['family'],
27
+ 'major': json['major'],
28
+ 'minor': json['minor'],
29
+ 'patch': json['patch'],
30
+ 'patchMinor': json['patch_minor'],
32
31
  };
33
32
  }
34
33
  exports.AuthenticatedSessionUserAgentOsFromJSONTyped = AuthenticatedSessionUserAgentOsFromJSONTyped;
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * User agent browser
14
14
  * @export
15
15
  * @interface AuthenticatedSessionUserAgentUserAgent
16
16
  */
@@ -20,25 +20,25 @@ export interface AuthenticatedSessionUserAgentUserAgent {
20
20
  * @type {string}
21
21
  * @memberof AuthenticatedSessionUserAgentUserAgent
22
22
  */
23
- family?: string;
23
+ family: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof AuthenticatedSessionUserAgentUserAgent
28
28
  */
29
- major?: string;
29
+ major: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof AuthenticatedSessionUserAgentUserAgent
34
34
  */
35
- minor?: string;
35
+ minor: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
39
39
  * @memberof AuthenticatedSessionUserAgentUserAgent
40
40
  */
41
- patch?: string;
41
+ patch: string;
42
42
  }
43
43
  export declare function AuthenticatedSessionUserAgentUserAgentFromJSON(json: any): AuthenticatedSessionUserAgentUserAgent;
44
44
  export declare function AuthenticatedSessionUserAgentUserAgentFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatedSessionUserAgentUserAgent;
@@ -14,7 +14,6 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.AuthenticatedSessionUserAgentUserAgentToJSON = exports.AuthenticatedSessionUserAgentUserAgentFromJSONTyped = exports.AuthenticatedSessionUserAgentUserAgentFromJSON = void 0;
17
- const runtime_1 = require("../runtime");
18
17
  function AuthenticatedSessionUserAgentUserAgentFromJSON(json) {
19
18
  return AuthenticatedSessionUserAgentUserAgentFromJSONTyped(json, false);
20
19
  }
@@ -24,10 +23,10 @@ function AuthenticatedSessionUserAgentUserAgentFromJSONTyped(json, ignoreDiscrim
24
23
  return json;
25
24
  }
26
25
  return {
27
- 'family': !runtime_1.exists(json, 'family') ? undefined : json['family'],
28
- 'major': !runtime_1.exists(json, 'major') ? undefined : json['major'],
29
- 'minor': !runtime_1.exists(json, 'minor') ? undefined : json['minor'],
30
- 'patch': !runtime_1.exists(json, 'patch') ? undefined : json['patch'],
26
+ 'family': json['family'],
27
+ 'major': json['major'],
28
+ 'minor': json['minor'],
29
+ 'patch': json['patch'],
31
30
  };
32
31
  }
33
32
  exports.AuthenticatedSessionUserAgentUserAgentFromJSONTyped = AuthenticatedSessionUserAgentUserAgentFromJSONTyped;
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * Runtime information
14
14
  * @export
15
15
  * @interface SystemRuntime
16
16
  */
@@ -20,37 +20,37 @@ export interface SystemRuntime {
20
20
  * @type {string}
21
21
  * @memberof SystemRuntime
22
22
  */
23
- pythonVersion?: string;
23
+ pythonVersion: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof SystemRuntime
28
28
  */
29
- gunicornVersion?: string;
29
+ gunicornVersion: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof SystemRuntime
34
34
  */
35
- environment?: string;
35
+ environment: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
39
39
  * @memberof SystemRuntime
40
40
  */
41
- architecture?: string;
41
+ architecture: string;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
45
  * @memberof SystemRuntime
46
46
  */
47
- platform?: string;
47
+ platform: string;
48
48
  /**
49
49
  *
50
50
  * @type {string}
51
51
  * @memberof SystemRuntime
52
52
  */
53
- uname?: string;
53
+ uname: string;
54
54
  }
55
55
  export declare function SystemRuntimeFromJSON(json: any): SystemRuntime;
56
56
  export declare function SystemRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemRuntime;
@@ -14,7 +14,6 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.SystemRuntimeToJSON = exports.SystemRuntimeFromJSONTyped = exports.SystemRuntimeFromJSON = void 0;
17
- const runtime_1 = require("../runtime");
18
17
  function SystemRuntimeFromJSON(json) {
19
18
  return SystemRuntimeFromJSONTyped(json, false);
20
19
  }
@@ -24,12 +23,12 @@ function SystemRuntimeFromJSONTyped(json, ignoreDiscriminator) {
24
23
  return json;
25
24
  }
26
25
  return {
27
- 'pythonVersion': !runtime_1.exists(json, 'python_version') ? undefined : json['python_version'],
28
- 'gunicornVersion': !runtime_1.exists(json, 'gunicorn_version') ? undefined : json['gunicorn_version'],
29
- 'environment': !runtime_1.exists(json, 'environment') ? undefined : json['environment'],
30
- 'architecture': !runtime_1.exists(json, 'architecture') ? undefined : json['architecture'],
31
- 'platform': !runtime_1.exists(json, 'platform') ? undefined : json['platform'],
32
- 'uname': !runtime_1.exists(json, 'uname') ? undefined : json['uname'],
26
+ 'pythonVersion': json['python_version'],
27
+ 'gunicornVersion': json['gunicorn_version'],
28
+ 'environment': json['environment'],
29
+ 'architecture': json['architecture'],
30
+ 'platform': json['platform'],
31
+ 'uname': json['uname'],
33
32
  };
34
33
  }
35
34
  exports.SystemRuntimeFromJSONTyped = SystemRuntimeFromJSONTyped;
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name": "@goauthentik/api", "version": "2022.3.3-1647904732", "description": "OpenAPI client for @goauthentik/api", "author": "OpenAPI-Generator", "main": "./dist/index.js", "typings": "./dist/index.d.ts", "module": "./dist/esm/index.js", "sideEffects": false, "scripts": {"build": "tsc && tsc --project tsconfig.esm.json", "prepare": "npm run build"}, "devDependencies": {"typescript": "^3.9.5"}, "license": "GPL-3.0-only"}
1
+ {"name": "@goauthentik/api", "version": "2022.3.3-1647976662", "description": "OpenAPI client for @goauthentik/api", "author": "OpenAPI-Generator", "main": "./dist/index.js", "typings": "./dist/index.d.ts", "module": "./dist/esm/index.js", "sideEffects": false, "scripts": {"build": "tsc && tsc --project tsconfig.esm.json", "prepare": "npm run build"}, "devDependencies": {"typescript": "^3.9.5"}, "license": "GPL-3.0-only"}
@@ -14,7 +14,7 @@
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
16
  /**
17
- *
17
+ * GeoIP Details
18
18
  * @export
19
19
  * @interface AuthenticatedSessionGeoIp
20
20
  */
@@ -24,31 +24,31 @@ export interface AuthenticatedSessionGeoIp {
24
24
  * @type {string}
25
25
  * @memberof AuthenticatedSessionGeoIp
26
26
  */
27
- continent?: string;
27
+ continent: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
31
  * @memberof AuthenticatedSessionGeoIp
32
32
  */
33
- country?: string;
33
+ country: string;
34
34
  /**
35
35
  *
36
36
  * @type {number}
37
37
  * @memberof AuthenticatedSessionGeoIp
38
38
  */
39
- lat?: number;
39
+ lat: number;
40
40
  /**
41
41
  *
42
42
  * @type {number}
43
43
  * @memberof AuthenticatedSessionGeoIp
44
44
  */
45
- _long?: number;
45
+ _long: number;
46
46
  /**
47
47
  *
48
48
  * @type {string}
49
49
  * @memberof AuthenticatedSessionGeoIp
50
50
  */
51
- city?: string;
51
+ city: string;
52
52
  }
53
53
 
54
54
  export function AuthenticatedSessionGeoIpFromJSON(json: any): AuthenticatedSessionGeoIp {
@@ -61,11 +61,11 @@ export function AuthenticatedSessionGeoIpFromJSONTyped(json: any, ignoreDiscrimi
61
61
  }
62
62
  return {
63
63
 
64
- 'continent': !exists(json, 'continent') ? undefined : json['continent'],
65
- 'country': !exists(json, 'country') ? undefined : json['country'],
66
- 'lat': !exists(json, 'lat') ? undefined : json['lat'],
67
- '_long': !exists(json, 'long') ? undefined : json['long'],
68
- 'city': !exists(json, 'city') ? undefined : json['city'],
64
+ 'continent': json['continent'],
65
+ 'country': json['country'],
66
+ 'lat': json['lat'],
67
+ '_long': json['long'],
68
+ 'city': json['city'],
69
69
  };
70
70
  }
71
71
 
@@ -33,7 +33,7 @@ import {
33
33
  } from './AuthenticatedSessionUserAgentUserAgent';
34
34
 
35
35
  /**
36
- *
36
+ * User agent details
37
37
  * @export
38
38
  * @interface AuthenticatedSessionUserAgent
39
39
  */
@@ -43,25 +43,25 @@ export interface AuthenticatedSessionUserAgent {
43
43
  * @type {AuthenticatedSessionUserAgentDevice}
44
44
  * @memberof AuthenticatedSessionUserAgent
45
45
  */
46
- device?: AuthenticatedSessionUserAgentDevice;
46
+ device: AuthenticatedSessionUserAgentDevice;
47
47
  /**
48
48
  *
49
49
  * @type {AuthenticatedSessionUserAgentOs}
50
50
  * @memberof AuthenticatedSessionUserAgent
51
51
  */
52
- os?: AuthenticatedSessionUserAgentOs;
52
+ os: AuthenticatedSessionUserAgentOs;
53
53
  /**
54
54
  *
55
55
  * @type {AuthenticatedSessionUserAgentUserAgent}
56
56
  * @memberof AuthenticatedSessionUserAgent
57
57
  */
58
- userAgent?: AuthenticatedSessionUserAgentUserAgent;
58
+ userAgent: AuthenticatedSessionUserAgentUserAgent;
59
59
  /**
60
60
  *
61
61
  * @type {string}
62
62
  * @memberof AuthenticatedSessionUserAgent
63
63
  */
64
- string?: string;
64
+ string: string;
65
65
  }
66
66
 
67
67
  export function AuthenticatedSessionUserAgentFromJSON(json: any): AuthenticatedSessionUserAgent {
@@ -74,10 +74,10 @@ export function AuthenticatedSessionUserAgentFromJSONTyped(json: any, ignoreDisc
74
74
  }
75
75
  return {
76
76
 
77
- 'device': !exists(json, 'device') ? undefined : AuthenticatedSessionUserAgentDeviceFromJSON(json['device']),
78
- 'os': !exists(json, 'os') ? undefined : AuthenticatedSessionUserAgentOsFromJSON(json['os']),
79
- 'userAgent': !exists(json, 'user_agent') ? undefined : AuthenticatedSessionUserAgentUserAgentFromJSON(json['user_agent']),
80
- 'string': !exists(json, 'string') ? undefined : json['string'],
77
+ 'device': AuthenticatedSessionUserAgentDeviceFromJSON(json['device']),
78
+ 'os': AuthenticatedSessionUserAgentOsFromJSON(json['os']),
79
+ 'userAgent': AuthenticatedSessionUserAgentUserAgentFromJSON(json['user_agent']),
80
+ 'string': json['string'],
81
81
  };
82
82
  }
83
83
 
@@ -14,7 +14,7 @@
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
16
  /**
17
- *
17
+ * User agent device
18
18
  * @export
19
19
  * @interface AuthenticatedSessionUserAgentDevice
20
20
  */
@@ -24,19 +24,19 @@ export interface AuthenticatedSessionUserAgentDevice {
24
24
  * @type {string}
25
25
  * @memberof AuthenticatedSessionUserAgentDevice
26
26
  */
27
- brand?: string;
27
+ brand: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
31
  * @memberof AuthenticatedSessionUserAgentDevice
32
32
  */
33
- family?: string;
33
+ family: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
37
  * @memberof AuthenticatedSessionUserAgentDevice
38
38
  */
39
- model?: string;
39
+ model: string;
40
40
  }
41
41
 
42
42
  export function AuthenticatedSessionUserAgentDeviceFromJSON(json: any): AuthenticatedSessionUserAgentDevice {
@@ -49,9 +49,9 @@ export function AuthenticatedSessionUserAgentDeviceFromJSONTyped(json: any, igno
49
49
  }
50
50
  return {
51
51
 
52
- 'brand': !exists(json, 'brand') ? undefined : json['brand'],
53
- 'family': !exists(json, 'family') ? undefined : json['family'],
54
- 'model': !exists(json, 'model') ? undefined : json['model'],
52
+ 'brand': json['brand'],
53
+ 'family': json['family'],
54
+ 'model': json['model'],
55
55
  };
56
56
  }
57
57
 
@@ -14,7 +14,7 @@
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
16
  /**
17
- *
17
+ * User agent os
18
18
  * @export
19
19
  * @interface AuthenticatedSessionUserAgentOs
20
20
  */
@@ -24,31 +24,31 @@ export interface AuthenticatedSessionUserAgentOs {
24
24
  * @type {string}
25
25
  * @memberof AuthenticatedSessionUserAgentOs
26
26
  */
27
- family?: string;
27
+ family: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
31
  * @memberof AuthenticatedSessionUserAgentOs
32
32
  */
33
- major?: string;
33
+ major: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
37
  * @memberof AuthenticatedSessionUserAgentOs
38
38
  */
39
- minor?: string;
39
+ minor: string;
40
40
  /**
41
41
  *
42
42
  * @type {string}
43
43
  * @memberof AuthenticatedSessionUserAgentOs
44
44
  */
45
- patch?: string;
45
+ patch: string;
46
46
  /**
47
47
  *
48
48
  * @type {string}
49
49
  * @memberof AuthenticatedSessionUserAgentOs
50
50
  */
51
- patchMinor?: string;
51
+ patchMinor: string;
52
52
  }
53
53
 
54
54
  export function AuthenticatedSessionUserAgentOsFromJSON(json: any): AuthenticatedSessionUserAgentOs {
@@ -61,11 +61,11 @@ export function AuthenticatedSessionUserAgentOsFromJSONTyped(json: any, ignoreDi
61
61
  }
62
62
  return {
63
63
 
64
- 'family': !exists(json, 'family') ? undefined : json['family'],
65
- 'major': !exists(json, 'major') ? undefined : json['major'],
66
- 'minor': !exists(json, 'minor') ? undefined : json['minor'],
67
- 'patch': !exists(json, 'patch') ? undefined : json['patch'],
68
- 'patchMinor': !exists(json, 'patch_minor') ? undefined : json['patch_minor'],
64
+ 'family': json['family'],
65
+ 'major': json['major'],
66
+ 'minor': json['minor'],
67
+ 'patch': json['patch'],
68
+ 'patchMinor': json['patch_minor'],
69
69
  };
70
70
  }
71
71
 
@@ -14,7 +14,7 @@
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
16
  /**
17
- *
17
+ * User agent browser
18
18
  * @export
19
19
  * @interface AuthenticatedSessionUserAgentUserAgent
20
20
  */
@@ -24,25 +24,25 @@ export interface AuthenticatedSessionUserAgentUserAgent {
24
24
  * @type {string}
25
25
  * @memberof AuthenticatedSessionUserAgentUserAgent
26
26
  */
27
- family?: string;
27
+ family: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
31
  * @memberof AuthenticatedSessionUserAgentUserAgent
32
32
  */
33
- major?: string;
33
+ major: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
37
  * @memberof AuthenticatedSessionUserAgentUserAgent
38
38
  */
39
- minor?: string;
39
+ minor: string;
40
40
  /**
41
41
  *
42
42
  * @type {string}
43
43
  * @memberof AuthenticatedSessionUserAgentUserAgent
44
44
  */
45
- patch?: string;
45
+ patch: string;
46
46
  }
47
47
 
48
48
  export function AuthenticatedSessionUserAgentUserAgentFromJSON(json: any): AuthenticatedSessionUserAgentUserAgent {
@@ -55,10 +55,10 @@ export function AuthenticatedSessionUserAgentUserAgentFromJSONTyped(json: any, i
55
55
  }
56
56
  return {
57
57
 
58
- 'family': !exists(json, 'family') ? undefined : json['family'],
59
- 'major': !exists(json, 'major') ? undefined : json['major'],
60
- 'minor': !exists(json, 'minor') ? undefined : json['minor'],
61
- 'patch': !exists(json, 'patch') ? undefined : json['patch'],
58
+ 'family': json['family'],
59
+ 'major': json['major'],
60
+ 'minor': json['minor'],
61
+ 'patch': json['patch'],
62
62
  };
63
63
  }
64
64
 
@@ -14,7 +14,7 @@
14
14
 
15
15
  import { exists, mapValues } from '../runtime';
16
16
  /**
17
- *
17
+ * Runtime information
18
18
  * @export
19
19
  * @interface SystemRuntime
20
20
  */
@@ -24,37 +24,37 @@ export interface SystemRuntime {
24
24
  * @type {string}
25
25
  * @memberof SystemRuntime
26
26
  */
27
- pythonVersion?: string;
27
+ pythonVersion: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
31
  * @memberof SystemRuntime
32
32
  */
33
- gunicornVersion?: string;
33
+ gunicornVersion: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
37
  * @memberof SystemRuntime
38
38
  */
39
- environment?: string;
39
+ environment: string;
40
40
  /**
41
41
  *
42
42
  * @type {string}
43
43
  * @memberof SystemRuntime
44
44
  */
45
- architecture?: string;
45
+ architecture: string;
46
46
  /**
47
47
  *
48
48
  * @type {string}
49
49
  * @memberof SystemRuntime
50
50
  */
51
- platform?: string;
51
+ platform: string;
52
52
  /**
53
53
  *
54
54
  * @type {string}
55
55
  * @memberof SystemRuntime
56
56
  */
57
- uname?: string;
57
+ uname: string;
58
58
  }
59
59
 
60
60
  export function SystemRuntimeFromJSON(json: any): SystemRuntime {
@@ -67,12 +67,12 @@ export function SystemRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boole
67
67
  }
68
68
  return {
69
69
 
70
- 'pythonVersion': !exists(json, 'python_version') ? undefined : json['python_version'],
71
- 'gunicornVersion': !exists(json, 'gunicorn_version') ? undefined : json['gunicorn_version'],
72
- 'environment': !exists(json, 'environment') ? undefined : json['environment'],
73
- 'architecture': !exists(json, 'architecture') ? undefined : json['architecture'],
74
- 'platform': !exists(json, 'platform') ? undefined : json['platform'],
75
- 'uname': !exists(json, 'uname') ? undefined : json['uname'],
70
+ 'pythonVersion': json['python_version'],
71
+ 'gunicornVersion': json['gunicorn_version'],
72
+ 'environment': json['environment'],
73
+ 'architecture': json['architecture'],
74
+ 'platform': json['platform'],
75
+ 'uname': json['uname'],
76
76
  };
77
77
  }
78
78