@goauthentik/api 2024.6.3-1723234818 → 2024.6.3-1723497462

Sign up to get free protection for your applications and to get access to all the features.
@@ -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