@goauthentik/api 2025.12.0-rc1-1765191857 → 2025.12.0-rc1-1765290953
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/.openapi-generator/FILES +5 -0
- package/dist/apis/CoreApi.d.ts +44 -1
- package/dist/apis/CoreApi.d.ts.map +1 -1
- package/dist/apis/CoreApi.js +106 -1
- package/dist/apis/CoreApi.js.map +1 -1
- package/dist/apis/EventsApi.d.ts +59 -1
- package/dist/apis/EventsApi.d.ts.map +1 -1
- package/dist/apis/EventsApi.js +99 -1
- package/dist/apis/EventsApi.js.map +1 -1
- package/dist/apis/PoliciesApi.d.ts +1 -0
- package/dist/apis/PoliciesApi.d.ts.map +1 -1
- package/dist/apis/PoliciesApi.js +1 -0
- package/dist/apis/PoliciesApi.js.map +1 -1
- package/dist/apis/RbacApi.d.ts +1 -0
- package/dist/apis/RbacApi.d.ts.map +1 -1
- package/dist/apis/RbacApi.js +1 -0
- package/dist/apis/RbacApi.js.map +1 -1
- package/dist/apis/ReportsApi.d.ts +49 -0
- package/dist/apis/ReportsApi.d.ts.map +1 -0
- package/dist/apis/ReportsApi.js +158 -0
- package/dist/apis/ReportsApi.js.map +1 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.d.ts.map +1 -1
- package/dist/apis/index.js +1 -0
- package/dist/apis/index.js.map +1 -1
- package/dist/esm/apis/CoreApi.d.ts +44 -1
- package/dist/esm/apis/CoreApi.d.ts.map +1 -1
- package/dist/esm/apis/CoreApi.js +106 -1
- package/dist/esm/apis/CoreApi.js.map +1 -1
- package/dist/esm/apis/EventsApi.d.ts +59 -1
- package/dist/esm/apis/EventsApi.d.ts.map +1 -1
- package/dist/esm/apis/EventsApi.js +99 -1
- package/dist/esm/apis/EventsApi.js.map +1 -1
- package/dist/esm/apis/PoliciesApi.d.ts +1 -0
- package/dist/esm/apis/PoliciesApi.d.ts.map +1 -1
- package/dist/esm/apis/PoliciesApi.js +1 -0
- package/dist/esm/apis/PoliciesApi.js.map +1 -1
- package/dist/esm/apis/RbacApi.d.ts +1 -0
- package/dist/esm/apis/RbacApi.d.ts.map +1 -1
- package/dist/esm/apis/RbacApi.js +1 -0
- package/dist/esm/apis/RbacApi.js.map +1 -1
- package/dist/esm/apis/ReportsApi.d.ts +49 -0
- package/dist/esm/apis/ReportsApi.d.ts.map +1 -0
- package/dist/esm/apis/ReportsApi.js +158 -0
- package/dist/esm/apis/ReportsApi.js.map +1 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.d.ts.map +1 -1
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/apis/index.js.map +1 -1
- package/dist/esm/models/AppEnum.d.ts +1 -0
- package/dist/esm/models/AppEnum.d.ts.map +1 -1
- package/dist/esm/models/AppEnum.js +1 -0
- package/dist/esm/models/AppEnum.js.map +1 -1
- package/dist/esm/models/ContentType.d.ts +45 -0
- package/dist/esm/models/ContentType.d.ts.map +1 -0
- package/dist/esm/models/ContentType.js +55 -0
- package/dist/esm/models/ContentType.js.map +1 -0
- package/dist/esm/models/DataExport.d.ts +74 -0
- package/dist/esm/models/DataExport.d.ts.map +1 -0
- package/dist/esm/models/DataExport.js +71 -0
- package/dist/esm/models/DataExport.js.map +1 -0
- package/dist/esm/models/EventActions.d.ts +1 -0
- package/dist/esm/models/EventActions.d.ts.map +1 -1
- package/dist/esm/models/EventActions.js +1 -0
- package/dist/esm/models/EventActions.js.map +1 -1
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.d.ts.map +1 -1
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/ModelEnum.js.map +1 -1
- package/dist/esm/models/Notification.d.ts +12 -0
- package/dist/esm/models/Notification.d.ts.map +1 -1
- package/dist/esm/models/Notification.js +4 -0
- package/dist/esm/models/Notification.js.map +1 -1
- package/dist/esm/models/NotificationRequest.d.ts +12 -0
- package/dist/esm/models/NotificationRequest.d.ts.map +1 -1
- package/dist/esm/models/NotificationRequest.js +4 -0
- package/dist/esm/models/NotificationRequest.js.map +1 -1
- package/dist/esm/models/PaginatedDataExportList.d.ts +49 -0
- package/dist/esm/models/PaginatedDataExportList.d.ts.map +1 -0
- package/dist/esm/models/PaginatedDataExportList.js +61 -0
- package/dist/esm/models/PaginatedDataExportList.js.map +1 -0
- package/dist/esm/models/PatchedNotificationRequest.d.ts +12 -0
- package/dist/esm/models/PatchedNotificationRequest.d.ts.map +1 -1
- package/dist/esm/models/PatchedNotificationRequest.js +4 -0
- package/dist/esm/models/PatchedNotificationRequest.js.map +1 -1
- package/dist/esm/models/RequestedBy.d.ts +39 -0
- package/dist/esm/models/RequestedBy.d.ts.map +1 -0
- package/dist/esm/models/RequestedBy.js +54 -0
- package/dist/esm/models/RequestedBy.js.map +1 -0
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/models/AppEnum.d.ts +1 -0
- package/dist/models/AppEnum.d.ts.map +1 -1
- package/dist/models/AppEnum.js +1 -0
- package/dist/models/AppEnum.js.map +1 -1
- package/dist/models/ContentType.d.ts +45 -0
- package/dist/models/ContentType.d.ts.map +1 -0
- package/dist/models/ContentType.js +55 -0
- package/dist/models/ContentType.js.map +1 -0
- package/dist/models/DataExport.d.ts +74 -0
- package/dist/models/DataExport.d.ts.map +1 -0
- package/dist/models/DataExport.js +71 -0
- package/dist/models/DataExport.js.map +1 -0
- package/dist/models/EventActions.d.ts +1 -0
- package/dist/models/EventActions.d.ts.map +1 -1
- package/dist/models/EventActions.js +1 -0
- package/dist/models/EventActions.js.map +1 -1
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.d.ts.map +1 -1
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/ModelEnum.js.map +1 -1
- package/dist/models/Notification.d.ts +12 -0
- package/dist/models/Notification.d.ts.map +1 -1
- package/dist/models/Notification.js +4 -0
- package/dist/models/Notification.js.map +1 -1
- package/dist/models/NotificationRequest.d.ts +12 -0
- package/dist/models/NotificationRequest.d.ts.map +1 -1
- package/dist/models/NotificationRequest.js +4 -0
- package/dist/models/NotificationRequest.js.map +1 -1
- package/dist/models/PaginatedDataExportList.d.ts +49 -0
- package/dist/models/PaginatedDataExportList.d.ts.map +1 -0
- package/dist/models/PaginatedDataExportList.js +61 -0
- package/dist/models/PaginatedDataExportList.js.map +1 -0
- package/dist/models/PatchedNotificationRequest.d.ts +12 -0
- package/dist/models/PatchedNotificationRequest.d.ts.map +1 -1
- package/dist/models/PatchedNotificationRequest.js +4 -0
- package/dist/models/PatchedNotificationRequest.js.map +1 -1
- package/dist/models/RequestedBy.d.ts +39 -0
- package/dist/models/RequestedBy.d.ts.map +1 -0
- package/dist/models/RequestedBy.js +54 -0
- package/dist/models/RequestedBy.js.map +1 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +4 -0
- package/dist/models/index.js.map +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/apis/CoreApi.ts +164 -0
- package/src/apis/EventsApi.ts +135 -0
- package/src/apis/PoliciesApi.ts +1 -0
- package/src/apis/RbacApi.ts +1 -0
- package/src/apis/ReportsApi.ts +190 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AppEnum.ts +1 -0
- package/src/models/ContentType.ts +81 -0
- package/src/models/DataExport.ts +130 -0
- package/src/models/EventActions.ts +1 -0
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/Notification.ts +16 -0
- package/src/models/NotificationRequest.ts +16 -0
- package/src/models/PaginatedDataExportList.ts +99 -0
- package/src/models/PatchedNotificationRequest.ts +16 -0
- package/src/models/RequestedBy.ts +74 -0
- package/src/models/index.ts +4 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.12.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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ContentType } from './ContentType';
|
|
17
|
+
import {
|
|
18
|
+
ContentTypeFromJSON,
|
|
19
|
+
ContentTypeFromJSONTyped,
|
|
20
|
+
ContentTypeToJSON,
|
|
21
|
+
ContentTypeToJSONTyped,
|
|
22
|
+
} from './ContentType';
|
|
23
|
+
import type { RequestedBy } from './RequestedBy';
|
|
24
|
+
import {
|
|
25
|
+
RequestedByFromJSON,
|
|
26
|
+
RequestedByFromJSONTyped,
|
|
27
|
+
RequestedByToJSON,
|
|
28
|
+
RequestedByToJSONTyped,
|
|
29
|
+
} from './RequestedBy';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Mixin to validate that a valid enterprise license
|
|
33
|
+
* exists before allowing to save the object
|
|
34
|
+
* @export
|
|
35
|
+
* @interface DataExport
|
|
36
|
+
*/
|
|
37
|
+
export interface DataExport {
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof DataExport
|
|
42
|
+
*/
|
|
43
|
+
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {RequestedBy}
|
|
47
|
+
* @memberof DataExport
|
|
48
|
+
*/
|
|
49
|
+
readonly requestedBy: RequestedBy;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {Date}
|
|
53
|
+
* @memberof DataExport
|
|
54
|
+
*/
|
|
55
|
+
readonly requestedOn: Date;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {ContentType}
|
|
59
|
+
* @memberof DataExport
|
|
60
|
+
*/
|
|
61
|
+
readonly contentType: ContentType;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {{ [key: string]: any; }}
|
|
65
|
+
* @memberof DataExport
|
|
66
|
+
*/
|
|
67
|
+
queryParams: { [key: string]: any; };
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof DataExport
|
|
72
|
+
*/
|
|
73
|
+
readonly fileUrl: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {boolean}
|
|
77
|
+
* @memberof DataExport
|
|
78
|
+
*/
|
|
79
|
+
readonly completed: boolean;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Check if a given object implements the DataExport interface.
|
|
84
|
+
*/
|
|
85
|
+
export function instanceOfDataExport(value: object): value is DataExport {
|
|
86
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
87
|
+
if (!('requestedBy' in value) || value['requestedBy'] === undefined) return false;
|
|
88
|
+
if (!('requestedOn' in value) || value['requestedOn'] === undefined) return false;
|
|
89
|
+
if (!('contentType' in value) || value['contentType'] === undefined) return false;
|
|
90
|
+
if (!('queryParams' in value) || value['queryParams'] === undefined) return false;
|
|
91
|
+
if (!('fileUrl' in value) || value['fileUrl'] === undefined) return false;
|
|
92
|
+
if (!('completed' in value) || value['completed'] === undefined) return false;
|
|
93
|
+
return true;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function DataExportFromJSON(json: any): DataExport {
|
|
97
|
+
return DataExportFromJSONTyped(json, false);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function DataExportFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataExport {
|
|
101
|
+
if (json == null) {
|
|
102
|
+
return json;
|
|
103
|
+
}
|
|
104
|
+
return {
|
|
105
|
+
|
|
106
|
+
'id': json['id'],
|
|
107
|
+
'requestedBy': RequestedByFromJSON(json['requested_by']),
|
|
108
|
+
'requestedOn': (new Date(json['requested_on'])),
|
|
109
|
+
'contentType': ContentTypeFromJSON(json['content_type']),
|
|
110
|
+
'queryParams': json['query_params'],
|
|
111
|
+
'fileUrl': json['file_url'],
|
|
112
|
+
'completed': json['completed'],
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export function DataExportToJSON(json: any): DataExport {
|
|
117
|
+
return DataExportToJSONTyped(json, false);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function DataExportToJSONTyped(value?: Omit<DataExport, 'id'|'requested_by'|'requested_on'|'content_type'|'file_url'|'completed'> | null, ignoreDiscriminator: boolean = false): any {
|
|
121
|
+
if (value == null) {
|
|
122
|
+
return value;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
return {
|
|
126
|
+
|
|
127
|
+
'query_params': value['queryParams'],
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
|
package/src/models/ModelEnum.ts
CHANGED
|
@@ -128,6 +128,7 @@ export const ModelEnum = {
|
|
|
128
128
|
AuthentikProvidersMicrosoftEntraMicrosoftentraprovider: 'authentik_providers_microsoft_entra.microsoftentraprovider',
|
|
129
129
|
AuthentikProvidersMicrosoftEntraMicrosoftentraprovidermapping: 'authentik_providers_microsoft_entra.microsoftentraprovidermapping',
|
|
130
130
|
AuthentikProvidersSsfSsfprovider: 'authentik_providers_ssf.ssfprovider',
|
|
131
|
+
AuthentikReportsDataexport: 'authentik_reports.dataexport',
|
|
131
132
|
AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: 'authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage',
|
|
132
133
|
AuthentikStagesMtlsMutualtlsstage: 'authentik_stages_mtls.mutualtlsstage',
|
|
133
134
|
AuthentikStagesSourceSourcestage: 'authentik_stages_source.sourcestage',
|
|
@@ -52,6 +52,18 @@ export interface Notification {
|
|
|
52
52
|
* @memberof Notification
|
|
53
53
|
*/
|
|
54
54
|
readonly body: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof Notification
|
|
59
|
+
*/
|
|
60
|
+
hyperlink?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof Notification
|
|
65
|
+
*/
|
|
66
|
+
hyperlinkLabel?: string | null;
|
|
55
67
|
/**
|
|
56
68
|
*
|
|
57
69
|
* @type {Date}
|
|
@@ -98,6 +110,8 @@ export function NotificationFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
98
110
|
'pk': json['pk'],
|
|
99
111
|
'severity': SeverityEnumFromJSON(json['severity']),
|
|
100
112
|
'body': json['body'],
|
|
113
|
+
'hyperlink': json['hyperlink'] == null ? undefined : json['hyperlink'],
|
|
114
|
+
'hyperlinkLabel': json['hyperlink_label'] == null ? undefined : json['hyperlink_label'],
|
|
101
115
|
'created': (new Date(json['created'])),
|
|
102
116
|
'event': json['event'] == null ? undefined : EventFromJSON(json['event']),
|
|
103
117
|
'seen': json['seen'] == null ? undefined : json['seen'],
|
|
@@ -115,6 +129,8 @@ export function NotificationToJSONTyped(value?: Omit<Notification, 'pk'|'severit
|
|
|
115
129
|
|
|
116
130
|
return {
|
|
117
131
|
|
|
132
|
+
'hyperlink': value['hyperlink'],
|
|
133
|
+
'hyperlink_label': value['hyperlinkLabel'],
|
|
118
134
|
'event': EventToJSON(value['event']),
|
|
119
135
|
'seen': value['seen'],
|
|
120
136
|
};
|
|
@@ -27,6 +27,18 @@ import {
|
|
|
27
27
|
* @interface NotificationRequest
|
|
28
28
|
*/
|
|
29
29
|
export interface NotificationRequest {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof NotificationRequest
|
|
34
|
+
*/
|
|
35
|
+
hyperlink?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof NotificationRequest
|
|
40
|
+
*/
|
|
41
|
+
hyperlinkLabel?: string | null;
|
|
30
42
|
/**
|
|
31
43
|
*
|
|
32
44
|
* @type {EventRequest}
|
|
@@ -58,6 +70,8 @@ export function NotificationRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
58
70
|
}
|
|
59
71
|
return {
|
|
60
72
|
|
|
73
|
+
'hyperlink': json['hyperlink'] == null ? undefined : json['hyperlink'],
|
|
74
|
+
'hyperlinkLabel': json['hyperlink_label'] == null ? undefined : json['hyperlink_label'],
|
|
61
75
|
'event': json['event'] == null ? undefined : EventRequestFromJSON(json['event']),
|
|
62
76
|
'seen': json['seen'] == null ? undefined : json['seen'],
|
|
63
77
|
};
|
|
@@ -74,6 +88,8 @@ export function NotificationRequestToJSONTyped(value?: NotificationRequest | nul
|
|
|
74
88
|
|
|
75
89
|
return {
|
|
76
90
|
|
|
91
|
+
'hyperlink': value['hyperlink'],
|
|
92
|
+
'hyperlink_label': value['hyperlinkLabel'],
|
|
77
93
|
'event': EventRequestToJSON(value['event']),
|
|
78
94
|
'seen': value['seen'],
|
|
79
95
|
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.12.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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { Pagination } from './Pagination';
|
|
17
|
+
import {
|
|
18
|
+
PaginationFromJSON,
|
|
19
|
+
PaginationFromJSONTyped,
|
|
20
|
+
PaginationToJSON,
|
|
21
|
+
PaginationToJSONTyped,
|
|
22
|
+
} from './Pagination';
|
|
23
|
+
import type { DataExport } from './DataExport';
|
|
24
|
+
import {
|
|
25
|
+
DataExportFromJSON,
|
|
26
|
+
DataExportFromJSONTyped,
|
|
27
|
+
DataExportToJSON,
|
|
28
|
+
DataExportToJSONTyped,
|
|
29
|
+
} from './DataExport';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface PaginatedDataExportList
|
|
35
|
+
*/
|
|
36
|
+
export interface PaginatedDataExportList {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Pagination}
|
|
40
|
+
* @memberof PaginatedDataExportList
|
|
41
|
+
*/
|
|
42
|
+
pagination: Pagination;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<DataExport>}
|
|
46
|
+
* @memberof PaginatedDataExportList
|
|
47
|
+
*/
|
|
48
|
+
results: Array<DataExport>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {{ [key: string]: any; }}
|
|
52
|
+
* @memberof PaginatedDataExportList
|
|
53
|
+
*/
|
|
54
|
+
autocomplete: { [key: string]: any; };
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the PaginatedDataExportList interface.
|
|
59
|
+
*/
|
|
60
|
+
export function instanceOfPaginatedDataExportList(value: object): value is PaginatedDataExportList {
|
|
61
|
+
if (!('pagination' in value) || value['pagination'] === undefined) return false;
|
|
62
|
+
if (!('results' in value) || value['results'] === undefined) return false;
|
|
63
|
+
if (!('autocomplete' in value) || value['autocomplete'] === undefined) return false;
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function PaginatedDataExportListFromJSON(json: any): PaginatedDataExportList {
|
|
68
|
+
return PaginatedDataExportListFromJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function PaginatedDataExportListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedDataExportList {
|
|
72
|
+
if (json == null) {
|
|
73
|
+
return json;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
78
|
+
'results': ((json['results'] as Array<any>).map(DataExportFromJSON)),
|
|
79
|
+
'autocomplete': json['autocomplete'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function PaginatedDataExportListToJSON(json: any): PaginatedDataExportList {
|
|
84
|
+
return PaginatedDataExportListToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function PaginatedDataExportListToJSONTyped(value?: PaginatedDataExportList | null, ignoreDiscriminator: boolean = false): any {
|
|
88
|
+
if (value == null) {
|
|
89
|
+
return value;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
|
|
94
|
+
'pagination': PaginationToJSON(value['pagination']),
|
|
95
|
+
'results': ((value['results'] as Array<any>).map(DataExportToJSON)),
|
|
96
|
+
'autocomplete': value['autocomplete'],
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
@@ -27,6 +27,18 @@ import {
|
|
|
27
27
|
* @interface PatchedNotificationRequest
|
|
28
28
|
*/
|
|
29
29
|
export interface PatchedNotificationRequest {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PatchedNotificationRequest
|
|
34
|
+
*/
|
|
35
|
+
hyperlink?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PatchedNotificationRequest
|
|
40
|
+
*/
|
|
41
|
+
hyperlinkLabel?: string | null;
|
|
30
42
|
/**
|
|
31
43
|
*
|
|
32
44
|
* @type {EventRequest}
|
|
@@ -58,6 +70,8 @@ export function PatchedNotificationRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
58
70
|
}
|
|
59
71
|
return {
|
|
60
72
|
|
|
73
|
+
'hyperlink': json['hyperlink'] == null ? undefined : json['hyperlink'],
|
|
74
|
+
'hyperlinkLabel': json['hyperlink_label'] == null ? undefined : json['hyperlink_label'],
|
|
61
75
|
'event': json['event'] == null ? undefined : EventRequestFromJSON(json['event']),
|
|
62
76
|
'seen': json['seen'] == null ? undefined : json['seen'],
|
|
63
77
|
};
|
|
@@ -74,6 +88,8 @@ export function PatchedNotificationRequestToJSONTyped(value?: PatchedNotificatio
|
|
|
74
88
|
|
|
75
89
|
return {
|
|
76
90
|
|
|
91
|
+
'hyperlink': value['hyperlink'],
|
|
92
|
+
'hyperlink_label': value['hyperlinkLabel'],
|
|
77
93
|
'event': EventRequestToJSON(value['event']),
|
|
78
94
|
'seen': value['seen'],
|
|
79
95
|
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.12.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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface RequestedBy
|
|
20
|
+
*/
|
|
21
|
+
export interface RequestedBy {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof RequestedBy
|
|
26
|
+
*/
|
|
27
|
+
readonly pk: number;
|
|
28
|
+
/**
|
|
29
|
+
* Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof RequestedBy
|
|
32
|
+
*/
|
|
33
|
+
username: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the RequestedBy interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfRequestedBy(value: object): value is RequestedBy {
|
|
40
|
+
if (!('pk' in value) || value['pk'] === undefined) return false;
|
|
41
|
+
if (!('username' in value) || value['username'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function RequestedByFromJSON(json: any): RequestedBy {
|
|
46
|
+
return RequestedByFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function RequestedByFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestedBy {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'pk': json['pk'],
|
|
56
|
+
'username': json['username'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function RequestedByToJSON(json: any): RequestedBy {
|
|
61
|
+
return RequestedByToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function RequestedByToJSONTyped(value?: Omit<RequestedBy, 'pk'> | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'username': value['username'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -95,11 +95,13 @@ export * from './ConsentPermission';
|
|
|
95
95
|
export * from './ConsentStage';
|
|
96
96
|
export * from './ConsentStageModeEnum';
|
|
97
97
|
export * from './ConsentStageRequest';
|
|
98
|
+
export * from './ContentType';
|
|
98
99
|
export * from './ContextualFlowInfo';
|
|
99
100
|
export * from './ContextualFlowInfoLayoutEnum';
|
|
100
101
|
export * from './CountryCodeEnum';
|
|
101
102
|
export * from './CurrentBrand';
|
|
102
103
|
export * from './CurrentBrandFlags';
|
|
104
|
+
export * from './DataExport';
|
|
103
105
|
export * from './DeliveryMethodEnum';
|
|
104
106
|
export * from './DeniedActionEnum';
|
|
105
107
|
export * from './DenyStage';
|
|
@@ -349,6 +351,7 @@ export * from './PaginatedCertificateKeyPairList';
|
|
|
349
351
|
export * from './PaginatedConnectionTokenList';
|
|
350
352
|
export * from './PaginatedConnectorList';
|
|
351
353
|
export * from './PaginatedConsentStageList';
|
|
354
|
+
export * from './PaginatedDataExportList';
|
|
352
355
|
export * from './PaginatedDenyStageList';
|
|
353
356
|
export * from './PaginatedDeviceAccessGroupList';
|
|
354
357
|
export * from './PaginatedDeviceUserBindingList';
|
|
@@ -673,6 +676,7 @@ export * from './RelatedGroup';
|
|
|
673
676
|
export * from './Reputation';
|
|
674
677
|
export * from './ReputationPolicy';
|
|
675
678
|
export * from './ReputationPolicyRequest';
|
|
679
|
+
export * from './RequestedBy';
|
|
676
680
|
export * from './ResidentKeyRequirementEnum';
|
|
677
681
|
export * from './Role';
|
|
678
682
|
export * from './RoleAssignedObjectPermission';
|