@goauthentik/api 2026.2.0-rc1-1767672135 → 2026.2.0-rc1-1767803006

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.
@@ -16,6 +16,7 @@ Name | Type
16
16
  `nssGidOffset` | number
17
17
  `authTerminateSessionOnExpiry` | boolean
18
18
  `systemConfig` | [Config](Config.md)
19
+ `licenseStatus` | [LicenseStatusEnum](LicenseStatusEnum.md)
19
20
 
20
21
  ## Example
21
22
 
@@ -33,6 +34,7 @@ const example = {
33
34
  "nssGidOffset": null,
34
35
  "authTerminateSessionOnExpiry": null,
35
36
  "systemConfig": null,
37
+ "licenseStatus": null,
36
38
  } satisfies AgentConfig
37
39
 
38
40
  console.log(example)
@@ -0,0 +1,32 @@
1
+
2
+ # LicenseStatusEnum
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import type { LicenseStatusEnum } from '@goauthentik/api'
14
+
15
+ // TODO: Update the object below with actual values
16
+ const example = {
17
+ } satisfies LicenseStatusEnum
18
+
19
+ console.log(example)
20
+
21
+ // Convert the instance to a JSON string
22
+ const exampleJSON: string = JSON.stringify(example)
23
+ console.log(exampleJSON)
24
+
25
+ // Parse the JSON string back to an object
26
+ const exampleParsed = JSON.parse(exampleJSON) as LicenseStatusEnum
27
+ console.log(exampleParsed)
28
+ ```
29
+
30
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
31
+
32
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2026.2.0-rc1-1767672135",
3
+ "version": "2026.2.0-rc1-1767803006",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { LicenseStatusEnum } from './LicenseStatusEnum';
17
+ import {
18
+ LicenseStatusEnumFromJSON,
19
+ LicenseStatusEnumFromJSONTyped,
20
+ LicenseStatusEnumToJSON,
21
+ LicenseStatusEnumToJSONTyped,
22
+ } from './LicenseStatusEnum';
16
23
  import type { Config } from './Config';
17
24
  import {
18
25
  ConfigFromJSON,
@@ -81,8 +88,16 @@ export interface AgentConfig {
81
88
  * @memberof AgentConfig
82
89
  */
83
90
  readonly systemConfig: Config;
91
+ /**
92
+ *
93
+ * @type {LicenseStatusEnum}
94
+ * @memberof AgentConfig
95
+ */
96
+ readonly licenseStatus: LicenseStatusEnum | null;
84
97
  }
85
98
 
99
+
100
+
86
101
  /**
87
102
  * Check if a given object implements the AgentConfig interface.
88
103
  */
@@ -96,6 +111,7 @@ export function instanceOfAgentConfig(value: object): value is AgentConfig {
96
111
  if (!('nssGidOffset' in value) || value['nssGidOffset'] === undefined) return false;
97
112
  if (!('authTerminateSessionOnExpiry' in value) || value['authTerminateSessionOnExpiry'] === undefined) return false;
98
113
  if (!('systemConfig' in value) || value['systemConfig'] === undefined) return false;
114
+ if (!('licenseStatus' in value) || value['licenseStatus'] === undefined) return false;
99
115
  return true;
100
116
  }
101
117
 
@@ -118,6 +134,7 @@ export function AgentConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean
118
134
  'nssGidOffset': json['nss_gid_offset'],
119
135
  'authTerminateSessionOnExpiry': json['auth_terminate_session_on_expiry'],
120
136
  'systemConfig': ConfigFromJSON(json['system_config']),
137
+ 'licenseStatus': LicenseStatusEnumFromJSON(json['license_status']),
121
138
  };
122
139
  }
123
140
 
@@ -125,7 +142,7 @@ export function AgentConfigToJSON(json: any): AgentConfig {
125
142
  return AgentConfigToJSONTyped(json, false);
126
143
  }
127
144
 
128
- export function AgentConfigToJSONTyped(value?: Omit<AgentConfig, 'device_id'|'refresh_interval'|'authorization_flow'|'jwks_auth'|'jwks_challenge'|'system_config'> | null, ignoreDiscriminator: boolean = false): any {
145
+ export function AgentConfigToJSONTyped(value?: Omit<AgentConfig, 'device_id'|'refresh_interval'|'authorization_flow'|'jwks_auth'|'jwks_challenge'|'system_config'|'license_status'> | null, ignoreDiscriminator: boolean = false): any {
129
146
  if (value == null) {
130
147
  return value;
131
148
  }
@@ -0,0 +1,59 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2026.2.0-rc1
8
+ * Contact: hello@goauthentik.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const LicenseStatusEnum = {
21
+ Unlicensed: 'unlicensed',
22
+ Valid: 'valid',
23
+ Expired: 'expired',
24
+ ExpirySoon: 'expiry_soon',
25
+ LimitExceededAdmin: 'limit_exceeded_admin',
26
+ LimitExceededUser: 'limit_exceeded_user',
27
+ ReadOnly: 'read_only',
28
+ UnknownDefaultOpenApi: '11184809'
29
+ } as const;
30
+ export type LicenseStatusEnum = typeof LicenseStatusEnum[keyof typeof LicenseStatusEnum];
31
+
32
+
33
+ export function instanceOfLicenseStatusEnum(value: any): boolean {
34
+ for (const key in LicenseStatusEnum) {
35
+ if (Object.prototype.hasOwnProperty.call(LicenseStatusEnum, key)) {
36
+ if (LicenseStatusEnum[key as keyof typeof LicenseStatusEnum] === value) {
37
+ return true;
38
+ }
39
+ }
40
+ }
41
+ return false;
42
+ }
43
+
44
+ export function LicenseStatusEnumFromJSON(json: any): LicenseStatusEnum {
45
+ return LicenseStatusEnumFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function LicenseStatusEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenseStatusEnum {
49
+ return json as LicenseStatusEnum;
50
+ }
51
+
52
+ export function LicenseStatusEnumToJSON(value?: LicenseStatusEnum | null): any {
53
+ return value as any;
54
+ }
55
+
56
+ export function LicenseStatusEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): LicenseStatusEnum {
57
+ return value as LicenseStatusEnum;
58
+ }
59
+
@@ -268,6 +268,7 @@ export * from './License';
268
268
  export * from './LicenseFlagsEnum';
269
269
  export * from './LicenseForecast';
270
270
  export * from './LicenseRequest';
271
+ export * from './LicenseStatusEnum';
271
272
  export * from './LicenseSummary';
272
273
  export * from './LicenseSummaryStatusEnum';
273
274
  export * from './Link';