@goauthentik/api 2026.2.0-rc1-1767654897 → 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.
Files changed (43) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/dist/apis/CoreApi.d.ts +8 -0
  3. package/dist/apis/CoreApi.d.ts.map +1 -1
  4. package/dist/apis/CoreApi.js +24 -0
  5. package/dist/apis/CoreApi.js.map +1 -1
  6. package/dist/esm/apis/CoreApi.d.ts +8 -0
  7. package/dist/esm/apis/CoreApi.d.ts.map +1 -1
  8. package/dist/esm/apis/CoreApi.js +24 -0
  9. package/dist/esm/apis/CoreApi.js.map +1 -1
  10. package/dist/esm/models/AgentConfig.d.ts +8 -1
  11. package/dist/esm/models/AgentConfig.d.ts.map +1 -1
  12. package/dist/esm/models/AgentConfig.js +4 -0
  13. package/dist/esm/models/AgentConfig.js.map +1 -1
  14. package/dist/esm/models/LicenseStatusEnum.d.ts +32 -0
  15. package/dist/esm/models/LicenseStatusEnum.d.ts.map +1 -0
  16. package/dist/esm/models/LicenseStatusEnum.js +58 -0
  17. package/dist/esm/models/LicenseStatusEnum.js.map +1 -0
  18. package/dist/esm/models/index.d.ts +1 -0
  19. package/dist/esm/models/index.d.ts.map +1 -1
  20. package/dist/esm/models/index.js +1 -0
  21. package/dist/esm/models/index.js.map +1 -1
  22. package/dist/models/AgentConfig.d.ts +8 -1
  23. package/dist/models/AgentConfig.d.ts.map +1 -1
  24. package/dist/models/AgentConfig.js +4 -0
  25. package/dist/models/AgentConfig.js.map +1 -1
  26. package/dist/models/LicenseStatusEnum.d.ts +32 -0
  27. package/dist/models/LicenseStatusEnum.d.ts.map +1 -0
  28. package/dist/models/LicenseStatusEnum.js +58 -0
  29. package/dist/models/LicenseStatusEnum.js.map +1 -0
  30. package/dist/models/index.d.ts +1 -0
  31. package/dist/models/index.d.ts.map +1 -1
  32. package/dist/models/index.js +1 -0
  33. package/dist/models/index.js.map +1 -1
  34. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  35. package/docs/AgentConfig.md +2 -0
  36. package/docs/CoreApi.md +26 -2
  37. package/docs/LicenseStatusEnum.md +32 -0
  38. package/package.json +1 -1
  39. package/src/apis/CoreApi.ts +40 -0
  40. package/src/models/AgentConfig.ts +18 -1
  41. package/src/models/LicenseStatusEnum.ts +59 -0
  42. package/src/models/index.ts +1 -0
  43. package/tsconfig.tsbuildinfo +1 -1
@@ -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)
package/docs/CoreApi.md CHANGED
@@ -4128,7 +4128,7 @@ example().catch(console.error);
4128
4128
 
4129
4129
  ## coreUsersExportCreate
4130
4130
 
4131
- > DataExport coreUsersExportCreate(attributes, dateJoined, dateJoinedGt, dateJoinedLt, email, groupsByName, groupsByPk, isActive, isSuperuser, lastUpdated, lastUpdatedGt, lastUpdatedLt, name, ordering, path, pathStartswith, rolesByName, rolesByPk, search, type, username, uuid)
4131
+ > DataExport coreUsersExportCreate(attributes, dateJoined, dateJoinedGt, dateJoinedLt, email, groupsByName, groupsByPk, isActive, isSuperuser, lastLogin, lastLoginGt, lastLoginIsnull, lastLoginLt, lastUpdated, lastUpdatedGt, lastUpdatedLt, name, ordering, path, pathStartswith, rolesByName, rolesByPk, search, type, username, uuid)
4132
4132
 
4133
4133
 
4134
4134
 
@@ -4171,6 +4171,14 @@ async function example() {
4171
4171
  // boolean (optional)
4172
4172
  isSuperuser: true,
4173
4173
  // Date (optional)
4174
+ lastLogin: 2013-10-20T19:20:30+01:00,
4175
+ // Date (optional)
4176
+ lastLoginGt: 2013-10-20T19:20:30+01:00,
4177
+ // boolean (optional)
4178
+ lastLoginIsnull: true,
4179
+ // Date (optional)
4180
+ lastLoginLt: 2013-10-20T19:20:30+01:00,
4181
+ // Date (optional)
4174
4182
  lastUpdated: 2013-10-20T19:20:30+01:00,
4175
4183
  // Date (optional)
4176
4184
  lastUpdatedGt: 2013-10-20T19:20:30+01:00,
@@ -4224,6 +4232,10 @@ example().catch(console.error);
4224
4232
  | **groupsByPk** | `Array<string>` | | [Optional] |
4225
4233
  | **isActive** | `boolean` | | [Optional] [Defaults to `undefined`] |
4226
4234
  | **isSuperuser** | `boolean` | | [Optional] [Defaults to `undefined`] |
4235
+ | **lastLogin** | `Date` | | [Optional] [Defaults to `undefined`] |
4236
+ | **lastLoginGt** | `Date` | | [Optional] [Defaults to `undefined`] |
4237
+ | **lastLoginIsnull** | `boolean` | | [Optional] [Defaults to `undefined`] |
4238
+ | **lastLoginLt** | `Date` | | [Optional] [Defaults to `undefined`] |
4227
4239
  | **lastUpdated** | `Date` | | [Optional] [Defaults to `undefined`] |
4228
4240
  | **lastUpdatedGt** | `Date` | | [Optional] [Defaults to `undefined`] |
4229
4241
  | **lastUpdatedLt** | `Date` | | [Optional] [Defaults to `undefined`] |
@@ -4405,7 +4417,7 @@ This endpoint does not need any parameter.
4405
4417
 
4406
4418
  ## coreUsersList
4407
4419
 
4408
- > PaginatedUserList coreUsersList(attributes, dateJoined, dateJoinedGt, dateJoinedLt, email, groupsByName, groupsByPk, includeGroups, includeRoles, isActive, isSuperuser, lastUpdated, lastUpdatedGt, lastUpdatedLt, name, ordering, page, pageSize, path, pathStartswith, rolesByName, rolesByPk, search, type, username, uuid)
4420
+ > PaginatedUserList coreUsersList(attributes, dateJoined, dateJoinedGt, dateJoinedLt, email, groupsByName, groupsByPk, includeGroups, includeRoles, isActive, isSuperuser, lastLogin, lastLoginGt, lastLoginIsnull, lastLoginLt, lastUpdated, lastUpdatedGt, lastUpdatedLt, name, ordering, page, pageSize, path, pathStartswith, rolesByName, rolesByPk, search, type, username, uuid)
4409
4421
 
4410
4422
 
4411
4423
 
@@ -4452,6 +4464,14 @@ async function example() {
4452
4464
  // boolean (optional)
4453
4465
  isSuperuser: true,
4454
4466
  // Date (optional)
4467
+ lastLogin: 2013-10-20T19:20:30+01:00,
4468
+ // Date (optional)
4469
+ lastLoginGt: 2013-10-20T19:20:30+01:00,
4470
+ // boolean (optional)
4471
+ lastLoginIsnull: true,
4472
+ // Date (optional)
4473
+ lastLoginLt: 2013-10-20T19:20:30+01:00,
4474
+ // Date (optional)
4455
4475
  lastUpdated: 2013-10-20T19:20:30+01:00,
4456
4476
  // Date (optional)
4457
4477
  lastUpdatedGt: 2013-10-20T19:20:30+01:00,
@@ -4511,6 +4531,10 @@ example().catch(console.error);
4511
4531
  | **includeRoles** | `boolean` | | [Optional] [Defaults to `true`] |
4512
4532
  | **isActive** | `boolean` | | [Optional] [Defaults to `undefined`] |
4513
4533
  | **isSuperuser** | `boolean` | | [Optional] [Defaults to `undefined`] |
4534
+ | **lastLogin** | `Date` | | [Optional] [Defaults to `undefined`] |
4535
+ | **lastLoginGt** | `Date` | | [Optional] [Defaults to `undefined`] |
4536
+ | **lastLoginIsnull** | `boolean` | | [Optional] [Defaults to `undefined`] |
4537
+ | **lastLoginLt** | `Date` | | [Optional] [Defaults to `undefined`] |
4514
4538
  | **lastUpdated** | `Date` | | [Optional] [Defaults to `undefined`] |
4515
4539
  | **lastUpdatedGt** | `Date` | | [Optional] [Defaults to `undefined`] |
4516
4540
  | **lastUpdatedLt** | `Date` | | [Optional] [Defaults to `undefined`] |
@@ -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-1767654897",
3
+ "version": "2026.2.0-rc1-1767803006",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -458,6 +458,10 @@ export interface CoreUsersExportCreateRequest {
458
458
  groupsByPk?: Array<string>;
459
459
  isActive?: boolean;
460
460
  isSuperuser?: boolean;
461
+ lastLogin?: Date;
462
+ lastLoginGt?: Date;
463
+ lastLoginIsnull?: boolean;
464
+ lastLoginLt?: Date;
461
465
  lastUpdated?: Date;
462
466
  lastUpdatedGt?: Date;
463
467
  lastUpdatedLt?: Date;
@@ -490,6 +494,10 @@ export interface CoreUsersListRequest {
490
494
  includeRoles?: boolean;
491
495
  isActive?: boolean;
492
496
  isSuperuser?: boolean;
497
+ lastLogin?: Date;
498
+ lastLoginGt?: Date;
499
+ lastLoginIsnull?: boolean;
500
+ lastLoginLt?: Date;
493
501
  lastUpdated?: Date;
494
502
  lastUpdatedGt?: Date;
495
503
  lastUpdatedLt?: Date;
@@ -3292,6 +3300,22 @@ export class CoreApi extends runtime.BaseAPI {
3292
3300
  queryParameters['is_superuser'] = requestParameters['isSuperuser'];
3293
3301
  }
3294
3302
 
3303
+ if (requestParameters['lastLogin'] != null) {
3304
+ queryParameters['last_login'] = (requestParameters['lastLogin'] as any).toISOString();
3305
+ }
3306
+
3307
+ if (requestParameters['lastLoginGt'] != null) {
3308
+ queryParameters['last_login__gt'] = (requestParameters['lastLoginGt'] as any).toISOString();
3309
+ }
3310
+
3311
+ if (requestParameters['lastLoginIsnull'] != null) {
3312
+ queryParameters['last_login__isnull'] = requestParameters['lastLoginIsnull'];
3313
+ }
3314
+
3315
+ if (requestParameters['lastLoginLt'] != null) {
3316
+ queryParameters['last_login__lt'] = (requestParameters['lastLoginLt'] as any).toISOString();
3317
+ }
3318
+
3295
3319
  if (requestParameters['lastUpdated'] != null) {
3296
3320
  queryParameters['last_updated'] = (requestParameters['lastUpdated'] as any).toISOString();
3297
3321
  }
@@ -3515,6 +3539,22 @@ export class CoreApi extends runtime.BaseAPI {
3515
3539
  queryParameters['is_superuser'] = requestParameters['isSuperuser'];
3516
3540
  }
3517
3541
 
3542
+ if (requestParameters['lastLogin'] != null) {
3543
+ queryParameters['last_login'] = (requestParameters['lastLogin'] as any).toISOString();
3544
+ }
3545
+
3546
+ if (requestParameters['lastLoginGt'] != null) {
3547
+ queryParameters['last_login__gt'] = (requestParameters['lastLoginGt'] as any).toISOString();
3548
+ }
3549
+
3550
+ if (requestParameters['lastLoginIsnull'] != null) {
3551
+ queryParameters['last_login__isnull'] = requestParameters['lastLoginIsnull'];
3552
+ }
3553
+
3554
+ if (requestParameters['lastLoginLt'] != null) {
3555
+ queryParameters['last_login__lt'] = (requestParameters['lastLoginLt'] as any).toISOString();
3556
+ }
3557
+
3518
3558
  if (requestParameters['lastUpdated'] != null) {
3519
3559
  queryParameters['last_updated'] = (requestParameters['lastUpdated'] as any).toISOString();
3520
3560
  }
@@ -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';