@goauthentik/api 2024.6.3-1723468407 → 2024.6.3-1723497462

Sign up to get free protection for your applications and to get access to all the features.
@@ -45,6 +45,12 @@ export interface Version {
45
45
  * @memberof Version
46
46
  */
47
47
  readonly outdated: boolean;
48
+ /**
49
+ * Check if any outpost is outdated/has a version mismatch
50
+ * @type {boolean}
51
+ * @memberof Version
52
+ */
53
+ readonly outpostOutdated: boolean;
48
54
  }
49
55
  /**
50
56
  * Check if a given object implements the Version interface.
@@ -21,6 +21,7 @@ export function instanceOfVersion(value) {
21
21
  isInstance = isInstance && "versionLatestValid" in value;
22
22
  isInstance = isInstance && "buildHash" in value;
23
23
  isInstance = isInstance && "outdated" in value;
24
+ isInstance = isInstance && "outpostOutdated" in value;
24
25
  return isInstance;
25
26
  }
26
27
  export function VersionFromJSON(json) {
@@ -36,6 +37,7 @@ export function VersionFromJSONTyped(json, ignoreDiscriminator) {
36
37
  'versionLatestValid': json['version_latest_valid'],
37
38
  'buildHash': json['build_hash'],
38
39
  'outdated': json['outdated'],
40
+ 'outpostOutdated': json['outpost_outdated'],
39
41
  };
40
42
  }
41
43
  export function VersionToJSON(value) {
@@ -45,6 +45,12 @@ export interface Version {
45
45
  * @memberof Version
46
46
  */
47
47
  readonly outdated: boolean;
48
+ /**
49
+ * Check if any outpost is outdated/has a version mismatch
50
+ * @type {boolean}
51
+ * @memberof Version
52
+ */
53
+ readonly outpostOutdated: boolean;
48
54
  }
49
55
  /**
50
56
  * Check if a given object implements the Version interface.
@@ -24,6 +24,7 @@ function instanceOfVersion(value) {
24
24
  isInstance = isInstance && "versionLatestValid" in value;
25
25
  isInstance = isInstance && "buildHash" in value;
26
26
  isInstance = isInstance && "outdated" in value;
27
+ isInstance = isInstance && "outpostOutdated" in value;
27
28
  return isInstance;
28
29
  }
29
30
  exports.instanceOfVersion = instanceOfVersion;
@@ -41,6 +42,7 @@ function VersionFromJSONTyped(json, ignoreDiscriminator) {
41
42
  'versionLatestValid': json['version_latest_valid'],
42
43
  'buildHash': json['build_hash'],
43
44
  'outdated': json['outdated'],
45
+ 'outpostOutdated': json['outpost_outdated'],
44
46
  };
45
47
  }
46
48
  exports.VersionFromJSONTyped = VersionFromJSONTyped;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2024.6.3-1723468407",
3
+ "version": "2024.6.3-1723497462",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -49,6 +49,12 @@ export interface Version {
49
49
  * @memberof Version
50
50
  */
51
51
  readonly outdated: boolean;
52
+ /**
53
+ * Check if any outpost is outdated/has a version mismatch
54
+ * @type {boolean}
55
+ * @memberof Version
56
+ */
57
+ readonly outpostOutdated: boolean;
52
58
  }
53
59
 
54
60
  /**
@@ -61,6 +67,7 @@ export function instanceOfVersion(value: object): boolean {
61
67
  isInstance = isInstance && "versionLatestValid" in value;
62
68
  isInstance = isInstance && "buildHash" in value;
63
69
  isInstance = isInstance && "outdated" in value;
70
+ isInstance = isInstance && "outpostOutdated" in value;
64
71
 
65
72
  return isInstance;
66
73
  }
@@ -80,6 +87,7 @@ export function VersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): V
80
87
  'versionLatestValid': json['version_latest_valid'],
81
88
  'buildHash': json['build_hash'],
82
89
  'outdated': json['outdated'],
90
+ 'outpostOutdated': json['outpost_outdated'],
83
91
  };
84
92
  }
85
93