@goauthentik/api 2026.2.0-rc1-1769128766 → 2026.2.0-rc1-1769200848
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 +8 -0
- package/dist/apis/EndpointsApi.d.ts +84 -1
- package/dist/apis/EndpointsApi.d.ts.map +1 -1
- package/dist/apis/EndpointsApi.js +249 -0
- package/dist/apis/EndpointsApi.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/esm/apis/EndpointsApi.d.ts +84 -1
- package/dist/esm/apis/EndpointsApi.d.ts.map +1 -1
- package/dist/esm/apis/EndpointsApi.js +249 -0
- package/dist/esm/apis/EndpointsApi.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/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/DeviceAccessGroup.d.ts +8 -0
- package/dist/esm/models/DeviceAccessGroup.d.ts.map +1 -1
- package/dist/esm/models/DeviceAccessGroup.js +2 -0
- package/dist/esm/models/DeviceAccessGroup.js.map +1 -1
- package/dist/esm/models/DeviceAccessGroupRequest.d.ts +8 -0
- package/dist/esm/models/DeviceAccessGroupRequest.d.ts.map +1 -1
- package/dist/esm/models/DeviceAccessGroupRequest.js +2 -0
- package/dist/esm/models/DeviceAccessGroupRequest.js.map +1 -1
- package/dist/esm/models/FleetConnector.d.ts +93 -0
- package/dist/esm/models/FleetConnector.d.ts.map +1 -0
- package/dist/esm/models/FleetConnector.js +77 -0
- package/dist/esm/models/FleetConnector.js.map +1 -0
- package/dist/esm/models/FleetConnectorRequest.d.ts +75 -0
- package/dist/esm/models/FleetConnectorRequest.d.ts.map +1 -0
- package/dist/esm/models/FleetConnectorRequest.js +69 -0
- package/dist/esm/models/FleetConnectorRequest.js.map +1 -0
- 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/OperatingSystem.d.ts +7 -3
- package/dist/esm/models/OperatingSystem.d.ts.map +1 -1
- package/dist/esm/models/OperatingSystem.js.map +1 -1
- package/dist/esm/models/OperatingSystemRequest.d.ts +7 -3
- package/dist/esm/models/OperatingSystemRequest.d.ts.map +1 -1
- package/dist/esm/models/OperatingSystemRequest.js.map +1 -1
- package/dist/esm/models/PaginatedFleetConnectorList.d.ts +49 -0
- package/dist/esm/models/PaginatedFleetConnectorList.d.ts.map +1 -0
- package/dist/esm/models/PaginatedFleetConnectorList.js +61 -0
- package/dist/esm/models/PaginatedFleetConnectorList.js.map +1 -0
- package/dist/esm/models/PatchedDeviceAccessGroupRequest.d.ts +8 -0
- package/dist/esm/models/PatchedDeviceAccessGroupRequest.d.ts.map +1 -1
- package/dist/esm/models/PatchedDeviceAccessGroupRequest.js +2 -0
- package/dist/esm/models/PatchedDeviceAccessGroupRequest.js.map +1 -1
- package/dist/esm/models/PatchedFleetConnectorRequest.d.ts +75 -0
- package/dist/esm/models/PatchedFleetConnectorRequest.d.ts.map +1 -0
- package/dist/esm/models/PatchedFleetConnectorRequest.js +63 -0
- package/dist/esm/models/PatchedFleetConnectorRequest.js.map +1 -0
- package/dist/esm/models/VendorEnum.d.ts +1 -0
- package/dist/esm/models/VendorEnum.d.ts.map +1 -1
- package/dist/esm/models/VendorEnum.js +1 -0
- package/dist/esm/models/VendorEnum.js.map +1 -1
- 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/DeviceAccessGroup.d.ts +8 -0
- package/dist/models/DeviceAccessGroup.d.ts.map +1 -1
- package/dist/models/DeviceAccessGroup.js +2 -0
- package/dist/models/DeviceAccessGroup.js.map +1 -1
- package/dist/models/DeviceAccessGroupRequest.d.ts +8 -0
- package/dist/models/DeviceAccessGroupRequest.d.ts.map +1 -1
- package/dist/models/DeviceAccessGroupRequest.js +2 -0
- package/dist/models/DeviceAccessGroupRequest.js.map +1 -1
- package/dist/models/FleetConnector.d.ts +93 -0
- package/dist/models/FleetConnector.d.ts.map +1 -0
- package/dist/models/FleetConnector.js +77 -0
- package/dist/models/FleetConnector.js.map +1 -0
- package/dist/models/FleetConnectorRequest.d.ts +75 -0
- package/dist/models/FleetConnectorRequest.d.ts.map +1 -0
- package/dist/models/FleetConnectorRequest.js +69 -0
- package/dist/models/FleetConnectorRequest.js.map +1 -0
- 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/OperatingSystem.d.ts +7 -3
- package/dist/models/OperatingSystem.d.ts.map +1 -1
- package/dist/models/OperatingSystem.js.map +1 -1
- package/dist/models/OperatingSystemRequest.d.ts +7 -3
- package/dist/models/OperatingSystemRequest.d.ts.map +1 -1
- package/dist/models/OperatingSystemRequest.js.map +1 -1
- package/dist/models/PaginatedFleetConnectorList.d.ts +49 -0
- package/dist/models/PaginatedFleetConnectorList.d.ts.map +1 -0
- package/dist/models/PaginatedFleetConnectorList.js +61 -0
- package/dist/models/PaginatedFleetConnectorList.js.map +1 -0
- package/dist/models/PatchedDeviceAccessGroupRequest.d.ts +8 -0
- package/dist/models/PatchedDeviceAccessGroupRequest.d.ts.map +1 -1
- package/dist/models/PatchedDeviceAccessGroupRequest.js +2 -0
- package/dist/models/PatchedDeviceAccessGroupRequest.js.map +1 -1
- package/dist/models/PatchedFleetConnectorRequest.d.ts +75 -0
- package/dist/models/PatchedFleetConnectorRequest.d.ts.map +1 -0
- package/dist/models/PatchedFleetConnectorRequest.js +63 -0
- package/dist/models/PatchedFleetConnectorRequest.js.map +1 -0
- package/dist/models/VendorEnum.d.ts +1 -0
- package/dist/models/VendorEnum.d.ts.map +1 -1
- package/dist/models/VendorEnum.js +1 -0
- package/dist/models/VendorEnum.js.map +1 -1
- 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/docs/DeviceAccessGroup.md +2 -0
- package/docs/DeviceAccessGroupRequest.md +2 -0
- package/docs/EndpointsApi.md +536 -0
- package/docs/FleetConnector.md +55 -0
- package/docs/FleetConnectorRequest.md +49 -0
- package/docs/OperatingSystem.md +1 -0
- package/docs/OperatingSystemRequest.md +1 -0
- package/docs/PaginatedFleetConnectorList.md +38 -0
- package/docs/PatchedDeviceAccessGroupRequest.md +2 -0
- package/docs/PatchedFleetConnectorRequest.md +49 -0
- package/docs/RbacApi.md +2 -2
- package/package.json +1 -1
- package/src/apis/EndpointsApi.ts +387 -0
- package/src/apis/RbacApi.ts +1 -0
- package/src/models/AppEnum.ts +1 -0
- package/src/models/DeviceAccessGroup.ts +8 -0
- package/src/models/DeviceAccessGroupRequest.ts +8 -0
- package/src/models/FleetConnector.ts +147 -0
- package/src/models/FleetConnectorRequest.ts +124 -0
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/OperatingSystem.ts +7 -3
- package/src/models/OperatingSystemRequest.ts +7 -3
- package/src/models/PaginatedFleetConnectorList.ts +99 -0
- package/src/models/PatchedDeviceAccessGroupRequest.ts +8 -0
- package/src/models/PatchedFleetConnectorRequest.ts +121 -0
- package/src/models/VendorEnum.ts +1 -0
- package/src/models/index.ts +4 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -31,6 +31,12 @@ export interface DeviceAccessGroup {
|
|
|
31
31
|
* @memberof DeviceAccessGroup
|
|
32
32
|
*/
|
|
33
33
|
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {{ [key: string]: any; }}
|
|
37
|
+
* @memberof DeviceAccessGroup
|
|
38
|
+
*/
|
|
39
|
+
attributes?: { [key: string]: any; };
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
/**
|
|
@@ -54,6 +60,7 @@ export function DeviceAccessGroupFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
54
60
|
|
|
55
61
|
'pbmUuid': json['pbm_uuid'],
|
|
56
62
|
'name': json['name'],
|
|
63
|
+
'attributes': json['attributes'] == null ? undefined : json['attributes'],
|
|
57
64
|
};
|
|
58
65
|
}
|
|
59
66
|
|
|
@@ -69,6 +76,7 @@ export function DeviceAccessGroupToJSONTyped(value?: Omit<DeviceAccessGroup, 'pb
|
|
|
69
76
|
return {
|
|
70
77
|
|
|
71
78
|
'name': value['name'],
|
|
79
|
+
'attributes': value['attributes'],
|
|
72
80
|
};
|
|
73
81
|
}
|
|
74
82
|
|
|
@@ -25,6 +25,12 @@ export interface DeviceAccessGroupRequest {
|
|
|
25
25
|
* @memberof DeviceAccessGroupRequest
|
|
26
26
|
*/
|
|
27
27
|
name: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {{ [key: string]: any; }}
|
|
31
|
+
* @memberof DeviceAccessGroupRequest
|
|
32
|
+
*/
|
|
33
|
+
attributes?: { [key: string]: any; };
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
/**
|
|
@@ -46,6 +52,7 @@ export function DeviceAccessGroupRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
46
52
|
return {
|
|
47
53
|
|
|
48
54
|
'name': json['name'],
|
|
55
|
+
'attributes': json['attributes'] == null ? undefined : json['attributes'],
|
|
49
56
|
};
|
|
50
57
|
}
|
|
51
58
|
|
|
@@ -61,6 +68,7 @@ export function DeviceAccessGroupRequestToJSONTyped(value?: DeviceAccessGroupReq
|
|
|
61
68
|
return {
|
|
62
69
|
|
|
63
70
|
'name': value['name'],
|
|
71
|
+
'attributes': value['attributes'],
|
|
64
72
|
};
|
|
65
73
|
}
|
|
66
74
|
|
|
@@ -0,0 +1,147 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* FleetConnector Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface FleetConnector
|
|
20
|
+
*/
|
|
21
|
+
export interface FleetConnector {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof FleetConnector
|
|
26
|
+
*/
|
|
27
|
+
connectorUuid?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof FleetConnector
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof FleetConnector
|
|
38
|
+
*/
|
|
39
|
+
enabled?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Get object component so that we know how to edit the object
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof FleetConnector
|
|
44
|
+
*/
|
|
45
|
+
readonly component: string;
|
|
46
|
+
/**
|
|
47
|
+
* Return object's verbose_name
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof FleetConnector
|
|
50
|
+
*/
|
|
51
|
+
readonly verboseName: string;
|
|
52
|
+
/**
|
|
53
|
+
* Return object's plural verbose_name
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof FleetConnector
|
|
56
|
+
*/
|
|
57
|
+
readonly verboseNamePlural: string;
|
|
58
|
+
/**
|
|
59
|
+
* Return internal model name
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof FleetConnector
|
|
62
|
+
*/
|
|
63
|
+
readonly metaModelName: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof FleetConnector
|
|
68
|
+
*/
|
|
69
|
+
url: string;
|
|
70
|
+
/**
|
|
71
|
+
* Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof FleetConnector
|
|
74
|
+
*/
|
|
75
|
+
headersMapping?: string | null;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {boolean}
|
|
79
|
+
* @memberof FleetConnector
|
|
80
|
+
*/
|
|
81
|
+
mapUsers?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {boolean}
|
|
85
|
+
* @memberof FleetConnector
|
|
86
|
+
*/
|
|
87
|
+
mapTeamsAccessGroup?: boolean;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Check if a given object implements the FleetConnector interface.
|
|
92
|
+
*/
|
|
93
|
+
export function instanceOfFleetConnector(value: object): value is FleetConnector {
|
|
94
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
95
|
+
if (!('component' in value) || value['component'] === undefined) return false;
|
|
96
|
+
if (!('verboseName' in value) || value['verboseName'] === undefined) return false;
|
|
97
|
+
if (!('verboseNamePlural' in value) || value['verboseNamePlural'] === undefined) return false;
|
|
98
|
+
if (!('metaModelName' in value) || value['metaModelName'] === undefined) return false;
|
|
99
|
+
if (!('url' in value) || value['url'] === undefined) return false;
|
|
100
|
+
return true;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export function FleetConnectorFromJSON(json: any): FleetConnector {
|
|
104
|
+
return FleetConnectorFromJSONTyped(json, false);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export function FleetConnectorFromJSONTyped(json: any, ignoreDiscriminator: boolean): FleetConnector {
|
|
108
|
+
if (json == null) {
|
|
109
|
+
return json;
|
|
110
|
+
}
|
|
111
|
+
return {
|
|
112
|
+
|
|
113
|
+
'connectorUuid': json['connector_uuid'] == null ? undefined : json['connector_uuid'],
|
|
114
|
+
'name': json['name'],
|
|
115
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
116
|
+
'component': json['component'],
|
|
117
|
+
'verboseName': json['verbose_name'],
|
|
118
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
|
119
|
+
'metaModelName': json['meta_model_name'],
|
|
120
|
+
'url': json['url'],
|
|
121
|
+
'headersMapping': json['headers_mapping'] == null ? undefined : json['headers_mapping'],
|
|
122
|
+
'mapUsers': json['map_users'] == null ? undefined : json['map_users'],
|
|
123
|
+
'mapTeamsAccessGroup': json['map_teams_access_group'] == null ? undefined : json['map_teams_access_group'],
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export function FleetConnectorToJSON(json: any): FleetConnector {
|
|
128
|
+
return FleetConnectorToJSONTyped(json, false);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export function FleetConnectorToJSONTyped(value?: Omit<FleetConnector, 'component'|'verbose_name'|'verbose_name_plural'|'meta_model_name'> | null, ignoreDiscriminator: boolean = false): any {
|
|
132
|
+
if (value == null) {
|
|
133
|
+
return value;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
return {
|
|
137
|
+
|
|
138
|
+
'connector_uuid': value['connectorUuid'],
|
|
139
|
+
'name': value['name'],
|
|
140
|
+
'enabled': value['enabled'],
|
|
141
|
+
'url': value['url'],
|
|
142
|
+
'headers_mapping': value['headersMapping'],
|
|
143
|
+
'map_users': value['mapUsers'],
|
|
144
|
+
'map_teams_access_group': value['mapTeamsAccessGroup'],
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
|
|
@@ -0,0 +1,124 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* FleetConnector Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface FleetConnectorRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface FleetConnectorRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof FleetConnectorRequest
|
|
26
|
+
*/
|
|
27
|
+
connectorUuid?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof FleetConnectorRequest
|
|
32
|
+
*/
|
|
33
|
+
name: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof FleetConnectorRequest
|
|
38
|
+
*/
|
|
39
|
+
enabled?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof FleetConnectorRequest
|
|
44
|
+
*/
|
|
45
|
+
url: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof FleetConnectorRequest
|
|
50
|
+
*/
|
|
51
|
+
token: string;
|
|
52
|
+
/**
|
|
53
|
+
* Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof FleetConnectorRequest
|
|
56
|
+
*/
|
|
57
|
+
headersMapping?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {boolean}
|
|
61
|
+
* @memberof FleetConnectorRequest
|
|
62
|
+
*/
|
|
63
|
+
mapUsers?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof FleetConnectorRequest
|
|
68
|
+
*/
|
|
69
|
+
mapTeamsAccessGroup?: boolean;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the FleetConnectorRequest interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfFleetConnectorRequest(value: object): value is FleetConnectorRequest {
|
|
76
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
77
|
+
if (!('url' in value) || value['url'] === undefined) return false;
|
|
78
|
+
if (!('token' in value) || value['token'] === undefined) return false;
|
|
79
|
+
return true;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function FleetConnectorRequestFromJSON(json: any): FleetConnectorRequest {
|
|
83
|
+
return FleetConnectorRequestFromJSONTyped(json, false);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function FleetConnectorRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FleetConnectorRequest {
|
|
87
|
+
if (json == null) {
|
|
88
|
+
return json;
|
|
89
|
+
}
|
|
90
|
+
return {
|
|
91
|
+
|
|
92
|
+
'connectorUuid': json['connector_uuid'] == null ? undefined : json['connector_uuid'],
|
|
93
|
+
'name': json['name'],
|
|
94
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
95
|
+
'url': json['url'],
|
|
96
|
+
'token': json['token'],
|
|
97
|
+
'headersMapping': json['headers_mapping'] == null ? undefined : json['headers_mapping'],
|
|
98
|
+
'mapUsers': json['map_users'] == null ? undefined : json['map_users'],
|
|
99
|
+
'mapTeamsAccessGroup': json['map_teams_access_group'] == null ? undefined : json['map_teams_access_group'],
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export function FleetConnectorRequestToJSON(json: any): FleetConnectorRequest {
|
|
104
|
+
return FleetConnectorRequestToJSONTyped(json, false);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export function FleetConnectorRequestToJSONTyped(value?: FleetConnectorRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
108
|
+
if (value == null) {
|
|
109
|
+
return value;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
return {
|
|
113
|
+
|
|
114
|
+
'connector_uuid': value['connectorUuid'],
|
|
115
|
+
'name': value['name'],
|
|
116
|
+
'enabled': value['enabled'],
|
|
117
|
+
'url': value['url'],
|
|
118
|
+
'token': value['token'],
|
|
119
|
+
'headers_mapping': value['headersMapping'],
|
|
120
|
+
'map_users': value['mapUsers'],
|
|
121
|
+
'map_teams_access_group': value['mapTeamsAccessGroup'],
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
|
package/src/models/ModelEnum.ts
CHANGED
|
@@ -123,6 +123,7 @@ export const ModelEnum = {
|
|
|
123
123
|
AuthentikTasksSchedulesSchedule: 'authentik_tasks_schedules.schedule',
|
|
124
124
|
AuthentikBrandsBrand: 'authentik_brands.brand',
|
|
125
125
|
AuthentikBlueprintsBlueprintinstance: 'authentik_blueprints.blueprintinstance',
|
|
126
|
+
AuthentikEndpointsConnectorsFleetFleetconnector: 'authentik_endpoints_connectors_fleet.fleetconnector',
|
|
126
127
|
AuthentikPoliciesUniquePasswordUniquepasswordpolicy: 'authentik_policies_unique_password.uniquepasswordpolicy',
|
|
127
128
|
AuthentikProvidersGoogleWorkspaceGoogleworkspaceprovider: 'authentik_providers_google_workspace.googleworkspaceprovider',
|
|
128
129
|
AuthentikProvidersGoogleWorkspaceGoogleworkspaceprovidermapping: 'authentik_providers_google_workspace.googleworkspaceprovidermapping',
|
|
@@ -22,7 +22,11 @@ import {
|
|
|
22
22
|
} from './DeviceFactsOSFamily';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* For example:
|
|
26
|
+
* {"family":"linux","name":"Ubuntu","version":"24.04.3 LTS (Noble Numbat)","arch":"amd64"}
|
|
27
|
+
* {"family": "windows","name":"Server 2022 Datacenter","version":"10.0.20348.4405","arch":"amd64"}
|
|
28
|
+
* {"family": "windows","name":"Server 2022 Datacenter","version":"10.0.20348.4405","arch":"amd64"}
|
|
29
|
+
* {"family": "mac_os", "name": "", "version": "26.2", "arch": "arm64"}
|
|
26
30
|
* @export
|
|
27
31
|
* @interface OperatingSystem
|
|
28
32
|
*/
|
|
@@ -34,13 +38,13 @@ export interface OperatingSystem {
|
|
|
34
38
|
*/
|
|
35
39
|
family: DeviceFactsOSFamily;
|
|
36
40
|
/**
|
|
37
|
-
*
|
|
41
|
+
* Operating System name, such as 'Server 2022' or 'Ubuntu'
|
|
38
42
|
* @type {string}
|
|
39
43
|
* @memberof OperatingSystem
|
|
40
44
|
*/
|
|
41
45
|
name?: string;
|
|
42
46
|
/**
|
|
43
|
-
*
|
|
47
|
+
* Operating System version, must always be the version number but may contain build name
|
|
44
48
|
* @type {string}
|
|
45
49
|
* @memberof OperatingSystem
|
|
46
50
|
*/
|
|
@@ -22,7 +22,11 @@ import {
|
|
|
22
22
|
} from './DeviceFactsOSFamily';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* For example:
|
|
26
|
+
* {"family":"linux","name":"Ubuntu","version":"24.04.3 LTS (Noble Numbat)","arch":"amd64"}
|
|
27
|
+
* {"family": "windows","name":"Server 2022 Datacenter","version":"10.0.20348.4405","arch":"amd64"}
|
|
28
|
+
* {"family": "windows","name":"Server 2022 Datacenter","version":"10.0.20348.4405","arch":"amd64"}
|
|
29
|
+
* {"family": "mac_os", "name": "", "version": "26.2", "arch": "arm64"}
|
|
26
30
|
* @export
|
|
27
31
|
* @interface OperatingSystemRequest
|
|
28
32
|
*/
|
|
@@ -34,13 +38,13 @@ export interface OperatingSystemRequest {
|
|
|
34
38
|
*/
|
|
35
39
|
family: DeviceFactsOSFamily;
|
|
36
40
|
/**
|
|
37
|
-
*
|
|
41
|
+
* Operating System name, such as 'Server 2022' or 'Ubuntu'
|
|
38
42
|
* @type {string}
|
|
39
43
|
* @memberof OperatingSystemRequest
|
|
40
44
|
*/
|
|
41
45
|
name?: string;
|
|
42
46
|
/**
|
|
43
|
-
*
|
|
47
|
+
* Operating System version, must always be the version number but may contain build name
|
|
44
48
|
* @type {string}
|
|
45
49
|
* @memberof OperatingSystemRequest
|
|
46
50
|
*/
|
|
@@ -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: 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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { FleetConnector } from './FleetConnector';
|
|
17
|
+
import {
|
|
18
|
+
FleetConnectorFromJSON,
|
|
19
|
+
FleetConnectorFromJSONTyped,
|
|
20
|
+
FleetConnectorToJSON,
|
|
21
|
+
FleetConnectorToJSONTyped,
|
|
22
|
+
} from './FleetConnector';
|
|
23
|
+
import type { Pagination } from './Pagination';
|
|
24
|
+
import {
|
|
25
|
+
PaginationFromJSON,
|
|
26
|
+
PaginationFromJSONTyped,
|
|
27
|
+
PaginationToJSON,
|
|
28
|
+
PaginationToJSONTyped,
|
|
29
|
+
} from './Pagination';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface PaginatedFleetConnectorList
|
|
35
|
+
*/
|
|
36
|
+
export interface PaginatedFleetConnectorList {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Pagination}
|
|
40
|
+
* @memberof PaginatedFleetConnectorList
|
|
41
|
+
*/
|
|
42
|
+
pagination: Pagination;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<FleetConnector>}
|
|
46
|
+
* @memberof PaginatedFleetConnectorList
|
|
47
|
+
*/
|
|
48
|
+
results: Array<FleetConnector>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {{ [key: string]: any; }}
|
|
52
|
+
* @memberof PaginatedFleetConnectorList
|
|
53
|
+
*/
|
|
54
|
+
autocomplete: { [key: string]: any; };
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the PaginatedFleetConnectorList interface.
|
|
59
|
+
*/
|
|
60
|
+
export function instanceOfPaginatedFleetConnectorList(value: object): value is PaginatedFleetConnectorList {
|
|
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 PaginatedFleetConnectorListFromJSON(json: any): PaginatedFleetConnectorList {
|
|
68
|
+
return PaginatedFleetConnectorListFromJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function PaginatedFleetConnectorListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedFleetConnectorList {
|
|
72
|
+
if (json == null) {
|
|
73
|
+
return json;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
78
|
+
'results': ((json['results'] as Array<any>).map(FleetConnectorFromJSON)),
|
|
79
|
+
'autocomplete': json['autocomplete'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function PaginatedFleetConnectorListToJSON(json: any): PaginatedFleetConnectorList {
|
|
84
|
+
return PaginatedFleetConnectorListToJSONTyped(json, false);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function PaginatedFleetConnectorListToJSONTyped(value?: PaginatedFleetConnectorList | 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(FleetConnectorToJSON)),
|
|
96
|
+
'autocomplete': value['autocomplete'],
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
@@ -25,6 +25,12 @@ export interface PatchedDeviceAccessGroupRequest {
|
|
|
25
25
|
* @memberof PatchedDeviceAccessGroupRequest
|
|
26
26
|
*/
|
|
27
27
|
name?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {{ [key: string]: any; }}
|
|
31
|
+
* @memberof PatchedDeviceAccessGroupRequest
|
|
32
|
+
*/
|
|
33
|
+
attributes?: { [key: string]: any; };
|
|
28
34
|
}
|
|
29
35
|
|
|
30
36
|
/**
|
|
@@ -45,6 +51,7 @@ export function PatchedDeviceAccessGroupRequestFromJSONTyped(json: any, ignoreDi
|
|
|
45
51
|
return {
|
|
46
52
|
|
|
47
53
|
'name': json['name'] == null ? undefined : json['name'],
|
|
54
|
+
'attributes': json['attributes'] == null ? undefined : json['attributes'],
|
|
48
55
|
};
|
|
49
56
|
}
|
|
50
57
|
|
|
@@ -60,6 +67,7 @@ export function PatchedDeviceAccessGroupRequestToJSONTyped(value?: PatchedDevice
|
|
|
60
67
|
return {
|
|
61
68
|
|
|
62
69
|
'name': value['name'],
|
|
70
|
+
'attributes': value['attributes'],
|
|
63
71
|
};
|
|
64
72
|
}
|
|
65
73
|
|
|
@@ -0,0 +1,121 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* FleetConnector Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PatchedFleetConnectorRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PatchedFleetConnectorRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PatchedFleetConnectorRequest
|
|
26
|
+
*/
|
|
27
|
+
connectorUuid?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PatchedFleetConnectorRequest
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof PatchedFleetConnectorRequest
|
|
38
|
+
*/
|
|
39
|
+
enabled?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof PatchedFleetConnectorRequest
|
|
44
|
+
*/
|
|
45
|
+
url?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof PatchedFleetConnectorRequest
|
|
50
|
+
*/
|
|
51
|
+
token?: string;
|
|
52
|
+
/**
|
|
53
|
+
* Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof PatchedFleetConnectorRequest
|
|
56
|
+
*/
|
|
57
|
+
headersMapping?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {boolean}
|
|
61
|
+
* @memberof PatchedFleetConnectorRequest
|
|
62
|
+
*/
|
|
63
|
+
mapUsers?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof PatchedFleetConnectorRequest
|
|
68
|
+
*/
|
|
69
|
+
mapTeamsAccessGroup?: boolean;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the PatchedFleetConnectorRequest interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfPatchedFleetConnectorRequest(value: object): value is PatchedFleetConnectorRequest {
|
|
76
|
+
return true;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function PatchedFleetConnectorRequestFromJSON(json: any): PatchedFleetConnectorRequest {
|
|
80
|
+
return PatchedFleetConnectorRequestFromJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function PatchedFleetConnectorRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedFleetConnectorRequest {
|
|
84
|
+
if (json == null) {
|
|
85
|
+
return json;
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'connectorUuid': json['connector_uuid'] == null ? undefined : json['connector_uuid'],
|
|
90
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
91
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
92
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
93
|
+
'token': json['token'] == null ? undefined : json['token'],
|
|
94
|
+
'headersMapping': json['headers_mapping'] == null ? undefined : json['headers_mapping'],
|
|
95
|
+
'mapUsers': json['map_users'] == null ? undefined : json['map_users'],
|
|
96
|
+
'mapTeamsAccessGroup': json['map_teams_access_group'] == null ? undefined : json['map_teams_access_group'],
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function PatchedFleetConnectorRequestToJSON(json: any): PatchedFleetConnectorRequest {
|
|
101
|
+
return PatchedFleetConnectorRequestToJSONTyped(json, false);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function PatchedFleetConnectorRequestToJSONTyped(value?: PatchedFleetConnectorRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
105
|
+
if (value == null) {
|
|
106
|
+
return value;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'connector_uuid': value['connectorUuid'],
|
|
112
|
+
'name': value['name'],
|
|
113
|
+
'enabled': value['enabled'],
|
|
114
|
+
'url': value['url'],
|
|
115
|
+
'token': value['token'],
|
|
116
|
+
'headers_mapping': value['headersMapping'],
|
|
117
|
+
'map_users': value['mapUsers'],
|
|
118
|
+
'map_teams_access_group': value['mapTeamsAccessGroup'],
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
package/src/models/VendorEnum.ts
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
export const VendorEnum = {
|
|
21
21
|
GoauthentikIoMerged: 'goauthentik.io/@merged',
|
|
22
22
|
GoauthentikIoPlatform: 'goauthentik.io/platform',
|
|
23
|
+
FleetdmCom: 'fleetdm.com',
|
|
23
24
|
UnknownDefaultOpenApi: '11184809'
|
|
24
25
|
} as const;
|
|
25
26
|
export type VendorEnum = typeof VendorEnum[keyof typeof VendorEnum];
|
package/src/models/index.ts
CHANGED
|
@@ -179,6 +179,8 @@ export * from './ExpressionPolicy';
|
|
|
179
179
|
export * from './ExpressionPolicyRequest';
|
|
180
180
|
export * from './ExtraRoleObjectPermission';
|
|
181
181
|
export * from './FileList';
|
|
182
|
+
export * from './FleetConnector';
|
|
183
|
+
export * from './FleetConnectorRequest';
|
|
182
184
|
export * from './Flow';
|
|
183
185
|
export * from './FlowChallengeResponseRequest';
|
|
184
186
|
export * from './FlowDesignationEnum';
|
|
@@ -372,6 +374,7 @@ export * from './PaginatedEventMatcherPolicyList';
|
|
|
372
374
|
export * from './PaginatedExpiringBaseGrantModelList';
|
|
373
375
|
export * from './PaginatedExpressionPolicyList';
|
|
374
376
|
export * from './PaginatedExtraRoleObjectPermissionList';
|
|
377
|
+
export * from './PaginatedFleetConnectorList';
|
|
375
378
|
export * from './PaginatedFlowList';
|
|
376
379
|
export * from './PaginatedFlowStageBindingList';
|
|
377
380
|
export * from './PaginatedGeoIPPolicyList';
|
|
@@ -527,6 +530,7 @@ export * from './PatchedEnrollmentTokenRequest';
|
|
|
527
530
|
export * from './PatchedEventMatcherPolicyRequest';
|
|
528
531
|
export * from './PatchedEventRequest';
|
|
529
532
|
export * from './PatchedExpressionPolicyRequest';
|
|
533
|
+
export * from './PatchedFleetConnectorRequest';
|
|
530
534
|
export * from './PatchedFlowRequest';
|
|
531
535
|
export * from './PatchedFlowStageBindingRequest';
|
|
532
536
|
export * from './PatchedGeoIPPolicyRequest';
|