@goauthentik/api 2024.6.3-1723921843 → 2024.6.3-1724337552

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.
@@ -0,0 +1,72 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * authentik
5
+ * Making authentication simple.
6
+ *
7
+ * The version of the OpenAPI document: 2024.6.3
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
+ import { exists, mapValues } from '../runtime';
16
+ import type { LogEvent } from './LogEvent';
17
+ import {
18
+ LogEventFromJSON,
19
+ LogEventFromJSONTyped,
20
+ LogEventToJSON,
21
+ } from './LogEvent';
22
+
23
+ /**
24
+ * Result of a single object sync
25
+ * @export
26
+ * @interface SyncObjectResult
27
+ */
28
+ export interface SyncObjectResult {
29
+ /**
30
+ *
31
+ * @type {Array<LogEvent>}
32
+ * @memberof SyncObjectResult
33
+ */
34
+ readonly messages: Array<LogEvent>;
35
+ }
36
+
37
+ /**
38
+ * Check if a given object implements the SyncObjectResult interface.
39
+ */
40
+ export function instanceOfSyncObjectResult(value: object): boolean {
41
+ let isInstance = true;
42
+ isInstance = isInstance && "messages" in value;
43
+
44
+ return isInstance;
45
+ }
46
+
47
+ export function SyncObjectResultFromJSON(json: any): SyncObjectResult {
48
+ return SyncObjectResultFromJSONTyped(json, false);
49
+ }
50
+
51
+ export function SyncObjectResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncObjectResult {
52
+ if ((json === undefined) || (json === null)) {
53
+ return json;
54
+ }
55
+ return {
56
+
57
+ 'messages': ((json['messages'] as Array<any>).map(LogEventFromJSON)),
58
+ };
59
+ }
60
+
61
+ export function SyncObjectResultToJSON(value?: SyncObjectResult | null): any {
62
+ if (value === undefined) {
63
+ return undefined;
64
+ }
65
+ if (value === null) {
66
+ return null;
67
+ }
68
+ return {
69
+
70
+ };
71
+ }
72
+
@@ -574,6 +574,9 @@ export * from './StaticDeviceRequest';
574
574
  export * from './StaticDeviceToken';
575
575
  export * from './StaticDeviceTokenRequest';
576
576
  export * from './SubModeEnum';
577
+ export * from './SyncObjectModelEnum';
578
+ export * from './SyncObjectRequest';
579
+ export * from './SyncObjectResult';
577
580
  export * from './SyncStatus';
578
581
  export * from './SystemInfo';
579
582
  export * from './SystemInfoRuntime';