@goauthentik/api 2025.6.2-1750636159 → 2025.6.2-1750801939

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2025.6.2-1750636159",
3
+ "version": "2025.6.2-1750801939",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -14,7 +14,7 @@
14
14
 
15
15
  import { mapValues } from '../runtime';
16
16
  /**
17
- * Serializer for Duo authenticator devices
17
+ * Serializer for authenticator devices
18
18
  * @export
19
19
  * @interface Device
20
20
  */
@@ -84,7 +84,13 @@ export interface Device {
84
84
  * @type {string}
85
85
  * @memberof Device
86
86
  */
87
- readonly extraDescription: string;
87
+ readonly extraDescription: string | null;
88
+ /**
89
+ * Get external Device ID
90
+ * @type {string}
91
+ * @memberof Device
92
+ */
93
+ readonly externalId: string | null;
88
94
  }
89
95
 
90
96
  /**
@@ -102,6 +108,7 @@ export function instanceOfDevice(value: object): value is Device {
102
108
  if (!('lastUpdated' in value) || value['lastUpdated'] === undefined) return false;
103
109
  if (!('lastUsed' in value) || value['lastUsed'] === undefined) return false;
104
110
  if (!('extraDescription' in value) || value['extraDescription'] === undefined) return false;
111
+ if (!('externalId' in value) || value['externalId'] === undefined) return false;
105
112
  return true;
106
113
  }
107
114
 
@@ -126,6 +133,7 @@ export function DeviceFromJSONTyped(json: any, ignoreDiscriminator: boolean): De
126
133
  'lastUpdated': (new Date(json['last_updated'])),
127
134
  'lastUsed': (json['last_used'] == null ? null : new Date(json['last_used'])),
128
135
  'extraDescription': json['extra_description'],
136
+ 'externalId': json['external_id'],
129
137
  };
130
138
  }
131
139
 
@@ -133,7 +141,7 @@ export function DeviceToJSON(json: any): Device {
133
141
  return DeviceToJSONTyped(json, false);
134
142
  }
135
143
 
136
- export function DeviceToJSONTyped(value?: Omit<Device, 'verbose_name'|'verbose_name_plural'|'meta_model_name'|'type'|'created'|'last_updated'|'last_used'|'extra_description'> | null, ignoreDiscriminator: boolean = false): any {
144
+ export function DeviceToJSONTyped(value?: Omit<Device, 'verbose_name'|'verbose_name_plural'|'meta_model_name'|'type'|'created'|'last_updated'|'last_used'|'extra_description'|'external_id'> | null, ignoreDiscriminator: boolean = false): any {
137
145
  if (value == null) {
138
146
  return value;
139
147
  }