@goauthentik/api 2024.8.3-1728918276 → 2024.8.3-1728939481

Sign up to get free protection for your applications and to get access to all the features.
@@ -75,6 +75,12 @@ export interface Device {
75
75
  * @memberof Device
76
76
  */
77
77
  readonly lastUsed: Date | null;
78
+ /**
79
+ * Get extra description
80
+ * @type {string}
81
+ * @memberof Device
82
+ */
83
+ readonly extraDescription: string;
78
84
  }
79
85
  /**
80
86
  * Check if a given object implements the Device interface.
@@ -26,6 +26,7 @@ export function instanceOfDevice(value) {
26
26
  isInstance = isInstance && "created" in value;
27
27
  isInstance = isInstance && "lastUpdated" in value;
28
28
  isInstance = isInstance && "lastUsed" in value;
29
+ isInstance = isInstance && "extraDescription" in value;
29
30
  return isInstance;
30
31
  }
31
32
  export function DeviceFromJSON(json) {
@@ -46,6 +47,7 @@ export function DeviceFromJSONTyped(json, ignoreDiscriminator) {
46
47
  'created': (new Date(json['created'])),
47
48
  'lastUpdated': (new Date(json['last_updated'])),
48
49
  'lastUsed': (json['last_used'] === null ? null : new Date(json['last_used'])),
50
+ 'extraDescription': json['extra_description'],
49
51
  };
50
52
  }
51
53
  export function DeviceToJSON(value) {
@@ -75,6 +75,12 @@ export interface Device {
75
75
  * @memberof Device
76
76
  */
77
77
  readonly lastUsed: Date | null;
78
+ /**
79
+ * Get extra description
80
+ * @type {string}
81
+ * @memberof Device
82
+ */
83
+ readonly extraDescription: string;
78
84
  }
79
85
  /**
80
86
  * Check if a given object implements the Device interface.
@@ -29,6 +29,7 @@ function instanceOfDevice(value) {
29
29
  isInstance = isInstance && "created" in value;
30
30
  isInstance = isInstance && "lastUpdated" in value;
31
31
  isInstance = isInstance && "lastUsed" in value;
32
+ isInstance = isInstance && "extraDescription" in value;
32
33
  return isInstance;
33
34
  }
34
35
  exports.instanceOfDevice = instanceOfDevice;
@@ -51,6 +52,7 @@ function DeviceFromJSONTyped(json, ignoreDiscriminator) {
51
52
  'created': (new Date(json['created'])),
52
53
  'lastUpdated': (new Date(json['last_updated'])),
53
54
  'lastUsed': (json['last_used'] === null ? null : new Date(json['last_used'])),
55
+ 'extraDescription': json['extra_description'],
54
56
  };
55
57
  }
56
58
  exports.DeviceFromJSONTyped = DeviceFromJSONTyped;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2024.8.3-1728918276",
3
+ "version": "2024.8.3-1728939481",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -79,6 +79,12 @@ export interface Device {
79
79
  * @memberof Device
80
80
  */
81
81
  readonly lastUsed: Date | null;
82
+ /**
83
+ * Get extra description
84
+ * @type {string}
85
+ * @memberof Device
86
+ */
87
+ readonly extraDescription: string;
82
88
  }
83
89
 
84
90
  /**
@@ -96,6 +102,7 @@ export function instanceOfDevice(value: object): boolean {
96
102
  isInstance = isInstance && "created" in value;
97
103
  isInstance = isInstance && "lastUpdated" in value;
98
104
  isInstance = isInstance && "lastUsed" in value;
105
+ isInstance = isInstance && "extraDescription" in value;
99
106
 
100
107
  return isInstance;
101
108
  }
@@ -120,6 +127,7 @@ export function DeviceFromJSONTyped(json: any, ignoreDiscriminator: boolean): De
120
127
  'created': (new Date(json['created'])),
121
128
  'lastUpdated': (new Date(json['last_updated'])),
122
129
  'lastUsed': (json['last_used'] === null ? null : new Date(json['last_used'])),
130
+ 'extraDescription': json['extra_description'],
123
131
  };
124
132
  }
125
133