@goauthentik/api 2024.8.3-1729166675 → 2024.8.3-1729630021
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +11 -0
- package/dist/apis/AdminApi.d.ts +26 -1
- package/dist/apis/AdminApi.js +79 -0
- package/dist/apis/AuthenticatorsApi.d.ts +110 -1
- package/dist/apis/AuthenticatorsApi.js +347 -0
- package/dist/apis/RbacApi.d.ts +2 -0
- package/dist/apis/RbacApi.js +2 -0
- package/dist/apis/StagesApi.d.ts +85 -1
- package/dist/apis/StagesApi.js +268 -0
- package/dist/esm/apis/AdminApi.d.ts +26 -1
- package/dist/esm/apis/AdminApi.js +80 -1
- package/dist/esm/apis/AuthenticatorsApi.d.ts +110 -1
- package/dist/esm/apis/AuthenticatorsApi.js +348 -1
- package/dist/esm/apis/RbacApi.d.ts +2 -0
- package/dist/esm/apis/RbacApi.js +2 -0
- package/dist/esm/apis/StagesApi.d.ts +85 -1
- package/dist/esm/apis/StagesApi.js +269 -1
- package/dist/esm/models/AppEnum.d.ts +1 -0
- package/dist/esm/models/AppEnum.js +1 -0
- package/dist/esm/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
- package/dist/esm/models/AuthenticatorEndpointGDTCStage.js +64 -0
- package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
- package/dist/esm/models/AuthenticatorEndpointGDTCStageRequest.js +54 -0
- package/dist/esm/models/ChallengeTypes.d.ts +3 -0
- package/dist/esm/models/ChallengeTypes.js +5 -0
- package/dist/esm/models/Device.d.ts +2 -2
- package/dist/esm/models/EndpointDevice.d.ts +37 -0
- package/dist/esm/models/EndpointDevice.js +46 -0
- package/dist/esm/models/EndpointDeviceRequest.d.ts +37 -0
- package/dist/esm/models/EndpointDeviceRequest.js +46 -0
- package/dist/esm/models/FlowChallengeResponseRequest.d.ts +4 -1
- package/dist/esm/models/FlowChallengeResponseRequest.js +5 -0
- package/dist/esm/models/FrameChallenge.d.ts +65 -0
- package/dist/esm/models/FrameChallenge.js +56 -0
- package/dist/esm/models/FrameChallengeResponseRequest.d.ts +31 -0
- package/dist/esm/models/FrameChallengeResponseRequest.js +43 -0
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
- package/dist/esm/models/PaginatedAuthenticatorEndpointGDTCStageList.js +48 -0
- package/dist/esm/models/PaginatedEndpointDeviceList.d.ts +39 -0
- package/dist/esm/models/PaginatedEndpointDeviceList.js +48 -0
- package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
- package/dist/esm/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +52 -0
- package/dist/esm/models/PatchedEndpointDeviceRequest.d.ts +37 -0
- package/dist/esm/models/PatchedEndpointDeviceRequest.js +45 -0
- package/dist/esm/models/VersionHistory.d.ts +49 -0
- package/dist/esm/models/VersionHistory.js +51 -0
- package/dist/esm/models/index.d.ts +11 -0
- package/dist/esm/models/index.js +11 -0
- package/dist/models/AppEnum.d.ts +1 -0
- package/dist/models/AppEnum.js +1 -0
- package/dist/models/AuthenticatorEndpointGDTCStage.d.ts +86 -0
- package/dist/models/AuthenticatorEndpointGDTCStage.js +71 -0
- package/dist/models/AuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
- package/dist/models/AuthenticatorEndpointGDTCStageRequest.js +61 -0
- package/dist/models/ChallengeTypes.d.ts +3 -0
- package/dist/models/ChallengeTypes.js +5 -0
- package/dist/models/Device.d.ts +2 -2
- package/dist/models/EndpointDevice.d.ts +37 -0
- package/dist/models/EndpointDevice.js +53 -0
- package/dist/models/EndpointDeviceRequest.d.ts +37 -0
- package/dist/models/EndpointDeviceRequest.js +53 -0
- package/dist/models/FlowChallengeResponseRequest.d.ts +4 -1
- package/dist/models/FlowChallengeResponseRequest.js +5 -0
- package/dist/models/FrameChallenge.d.ts +65 -0
- package/dist/models/FrameChallenge.js +63 -0
- package/dist/models/FrameChallengeResponseRequest.d.ts +31 -0
- package/dist/models/FrameChallengeResponseRequest.js +50 -0
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.d.ts +39 -0
- package/dist/models/PaginatedAuthenticatorEndpointGDTCStageList.js +55 -0
- package/dist/models/PaginatedEndpointDeviceList.d.ts +39 -0
- package/dist/models/PaginatedEndpointDeviceList.js +55 -0
- package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.d.ts +56 -0
- package/dist/models/PatchedAuthenticatorEndpointGDTCStageRequest.js +59 -0
- package/dist/models/PatchedEndpointDeviceRequest.d.ts +37 -0
- package/dist/models/PatchedEndpointDeviceRequest.js +52 -0
- package/dist/models/VersionHistory.d.ts +49 -0
- package/dist/models/VersionHistory.js +58 -0
- package/dist/models/index.d.ts +11 -0
- package/dist/models/index.js +11 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +102 -0
- package/src/apis/AuthenticatorsApi.ts +444 -0
- package/src/apis/RbacApi.ts +2 -0
- package/src/apis/StagesApi.ts +345 -0
- package/src/models/AppEnum.ts +1 -0
- package/src/models/AuthenticatorEndpointGDTCStage.ts +146 -0
- package/src/models/AuthenticatorEndpointGDTCStageRequest.ts +106 -0
- package/src/models/ChallengeTypes.ts +12 -1
- package/src/models/Device.ts +2 -2
- package/src/models/EndpointDevice.ts +74 -0
- package/src/models/EndpointDeviceRequest.ts +74 -0
- package/src/models/FlowChallengeResponseRequest.ts +12 -1
- package/src/models/FrameChallenge.ts +120 -0
- package/src/models/FrameChallengeResponseRequest.ts +65 -0
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/PaginatedAuthenticatorEndpointGDTCStageList.ts +88 -0
- package/src/models/PaginatedEndpointDeviceList.ts +88 -0
- package/src/models/PatchedAuthenticatorEndpointGDTCStageRequest.ts +104 -0
- package/src/models/PatchedEndpointDeviceRequest.ts +73 -0
- package/src/models/VersionHistory.ts +92 -0
- package/src/models/index.ts +11 -0
@@ -0,0 +1,52 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.8.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
|
+
import { exists } from '../runtime';
|
15
|
+
import { FlowSetRequestFromJSON, FlowSetRequestToJSON, } from './FlowSetRequest';
|
16
|
+
/**
|
17
|
+
* Check if a given object implements the PatchedAuthenticatorEndpointGDTCStageRequest interface.
|
18
|
+
*/
|
19
|
+
export function instanceOfPatchedAuthenticatorEndpointGDTCStageRequest(value) {
|
20
|
+
let isInstance = true;
|
21
|
+
return isInstance;
|
22
|
+
}
|
23
|
+
export function PatchedAuthenticatorEndpointGDTCStageRequestFromJSON(json) {
|
24
|
+
return PatchedAuthenticatorEndpointGDTCStageRequestFromJSONTyped(json, false);
|
25
|
+
}
|
26
|
+
export function PatchedAuthenticatorEndpointGDTCStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
27
|
+
if ((json === undefined) || (json === null)) {
|
28
|
+
return json;
|
29
|
+
}
|
30
|
+
return {
|
31
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
32
|
+
'flowSet': !exists(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequestFromJSON)),
|
33
|
+
'configureFlow': !exists(json, 'configure_flow') ? undefined : json['configure_flow'],
|
34
|
+
'friendlyName': !exists(json, 'friendly_name') ? undefined : json['friendly_name'],
|
35
|
+
'credentials': !exists(json, 'credentials') ? undefined : json['credentials'],
|
36
|
+
};
|
37
|
+
}
|
38
|
+
export function PatchedAuthenticatorEndpointGDTCStageRequestToJSON(value) {
|
39
|
+
if (value === undefined) {
|
40
|
+
return undefined;
|
41
|
+
}
|
42
|
+
if (value === null) {
|
43
|
+
return null;
|
44
|
+
}
|
45
|
+
return {
|
46
|
+
'name': value.name,
|
47
|
+
'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequestToJSON)),
|
48
|
+
'configure_flow': value.configureFlow,
|
49
|
+
'friendly_name': value.friendlyName,
|
50
|
+
'credentials': value.credentials,
|
51
|
+
};
|
52
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.8.3
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* Serializer for Endpoint authenticator devices
|
14
|
+
* @export
|
15
|
+
* @interface PatchedEndpointDeviceRequest
|
16
|
+
*/
|
17
|
+
export interface PatchedEndpointDeviceRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof PatchedEndpointDeviceRequest
|
22
|
+
*/
|
23
|
+
pk?: string;
|
24
|
+
/**
|
25
|
+
* The human-readable name of this device.
|
26
|
+
* @type {string}
|
27
|
+
* @memberof PatchedEndpointDeviceRequest
|
28
|
+
*/
|
29
|
+
name?: string;
|
30
|
+
}
|
31
|
+
/**
|
32
|
+
* Check if a given object implements the PatchedEndpointDeviceRequest interface.
|
33
|
+
*/
|
34
|
+
export declare function instanceOfPatchedEndpointDeviceRequest(value: object): boolean;
|
35
|
+
export declare function PatchedEndpointDeviceRequestFromJSON(json: any): PatchedEndpointDeviceRequest;
|
36
|
+
export declare function PatchedEndpointDeviceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedEndpointDeviceRequest;
|
37
|
+
export declare function PatchedEndpointDeviceRequestToJSON(value?: PatchedEndpointDeviceRequest | null): any;
|
@@ -0,0 +1,45 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.8.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
|
+
import { exists } from '../runtime';
|
15
|
+
/**
|
16
|
+
* Check if a given object implements the PatchedEndpointDeviceRequest interface.
|
17
|
+
*/
|
18
|
+
export function instanceOfPatchedEndpointDeviceRequest(value) {
|
19
|
+
let isInstance = true;
|
20
|
+
return isInstance;
|
21
|
+
}
|
22
|
+
export function PatchedEndpointDeviceRequestFromJSON(json) {
|
23
|
+
return PatchedEndpointDeviceRequestFromJSONTyped(json, false);
|
24
|
+
}
|
25
|
+
export function PatchedEndpointDeviceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
26
|
+
if ((json === undefined) || (json === null)) {
|
27
|
+
return json;
|
28
|
+
}
|
29
|
+
return {
|
30
|
+
'pk': !exists(json, 'pk') ? undefined : json['pk'],
|
31
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
32
|
+
};
|
33
|
+
}
|
34
|
+
export function PatchedEndpointDeviceRequestToJSON(value) {
|
35
|
+
if (value === undefined) {
|
36
|
+
return undefined;
|
37
|
+
}
|
38
|
+
if (value === null) {
|
39
|
+
return null;
|
40
|
+
}
|
41
|
+
return {
|
42
|
+
'pk': value.pk,
|
43
|
+
'name': value.name,
|
44
|
+
};
|
45
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.8.3
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
/**
|
13
|
+
* VersionHistory Serializer
|
14
|
+
* @export
|
15
|
+
* @interface VersionHistory
|
16
|
+
*/
|
17
|
+
export interface VersionHistory {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {number}
|
21
|
+
* @memberof VersionHistory
|
22
|
+
*/
|
23
|
+
readonly id: number;
|
24
|
+
/**
|
25
|
+
*
|
26
|
+
* @type {Date}
|
27
|
+
* @memberof VersionHistory
|
28
|
+
*/
|
29
|
+
timestamp: Date;
|
30
|
+
/**
|
31
|
+
*
|
32
|
+
* @type {string}
|
33
|
+
* @memberof VersionHistory
|
34
|
+
*/
|
35
|
+
version: string;
|
36
|
+
/**
|
37
|
+
*
|
38
|
+
* @type {string}
|
39
|
+
* @memberof VersionHistory
|
40
|
+
*/
|
41
|
+
build: string;
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* Check if a given object implements the VersionHistory interface.
|
45
|
+
*/
|
46
|
+
export declare function instanceOfVersionHistory(value: object): boolean;
|
47
|
+
export declare function VersionHistoryFromJSON(json: any): VersionHistory;
|
48
|
+
export declare function VersionHistoryFromJSONTyped(json: any, ignoreDiscriminator: boolean): VersionHistory;
|
49
|
+
export declare function VersionHistoryToJSON(value?: VersionHistory | null): any;
|
@@ -0,0 +1,51 @@
|
|
1
|
+
/* tslint:disable */
|
2
|
+
/* eslint-disable */
|
3
|
+
/**
|
4
|
+
* authentik
|
5
|
+
* Making authentication simple.
|
6
|
+
*
|
7
|
+
* The version of the OpenAPI document: 2024.8.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
|
+
* Check if a given object implements the VersionHistory interface.
|
16
|
+
*/
|
17
|
+
export function instanceOfVersionHistory(value) {
|
18
|
+
let isInstance = true;
|
19
|
+
isInstance = isInstance && "id" in value;
|
20
|
+
isInstance = isInstance && "timestamp" in value;
|
21
|
+
isInstance = isInstance && "version" in value;
|
22
|
+
isInstance = isInstance && "build" in value;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
export function VersionHistoryFromJSON(json) {
|
26
|
+
return VersionHistoryFromJSONTyped(json, false);
|
27
|
+
}
|
28
|
+
export function VersionHistoryFromJSONTyped(json, ignoreDiscriminator) {
|
29
|
+
if ((json === undefined) || (json === null)) {
|
30
|
+
return json;
|
31
|
+
}
|
32
|
+
return {
|
33
|
+
'id': json['id'],
|
34
|
+
'timestamp': (new Date(json['timestamp'])),
|
35
|
+
'version': json['version'],
|
36
|
+
'build': json['build'],
|
37
|
+
};
|
38
|
+
}
|
39
|
+
export function VersionHistoryToJSON(value) {
|
40
|
+
if (value === undefined) {
|
41
|
+
return undefined;
|
42
|
+
}
|
43
|
+
if (value === null) {
|
44
|
+
return null;
|
45
|
+
}
|
46
|
+
return {
|
47
|
+
'timestamp': (value.timestamp.toISOString()),
|
48
|
+
'version': value.version,
|
49
|
+
'build': value.build,
|
50
|
+
};
|
51
|
+
}
|
@@ -23,6 +23,8 @@ export * from './AuthenticatorDuoStage';
|
|
23
23
|
export * from './AuthenticatorDuoStageDeviceImportResponse';
|
24
24
|
export * from './AuthenticatorDuoStageManualDeviceImportRequest';
|
25
25
|
export * from './AuthenticatorDuoStageRequest';
|
26
|
+
export * from './AuthenticatorEndpointGDTCStage';
|
27
|
+
export * from './AuthenticatorEndpointGDTCStageRequest';
|
26
28
|
export * from './AuthenticatorSMSChallenge';
|
27
29
|
export * from './AuthenticatorSMSChallengeResponseRequest';
|
28
30
|
export * from './AuthenticatorSMSStage';
|
@@ -110,6 +112,8 @@ export * from './EmailChallengeResponseRequest';
|
|
110
112
|
export * from './EmailStage';
|
111
113
|
export * from './EmailStageRequest';
|
112
114
|
export * from './Endpoint';
|
115
|
+
export * from './EndpointDevice';
|
116
|
+
export * from './EndpointDeviceRequest';
|
113
117
|
export * from './EndpointRequest';
|
114
118
|
export * from './ErrorDetail';
|
115
119
|
export * from './ErrorReportingConfig';
|
@@ -142,6 +146,8 @@ export * from './FlowSetRequest';
|
|
142
146
|
export * from './FlowStageBinding';
|
143
147
|
export * from './FlowStageBindingRequest';
|
144
148
|
export * from './FooterLink';
|
149
|
+
export * from './FrameChallenge';
|
150
|
+
export * from './FrameChallengeResponseRequest';
|
145
151
|
export * from './GenericError';
|
146
152
|
export * from './GeoIPPolicy';
|
147
153
|
export * from './GeoIPPolicyRequest';
|
@@ -243,6 +249,7 @@ export * from './OutpostTypeEnum';
|
|
243
249
|
export * from './PaginatedApplicationList';
|
244
250
|
export * from './PaginatedAuthenticatedSessionList';
|
245
251
|
export * from './PaginatedAuthenticatorDuoStageList';
|
252
|
+
export * from './PaginatedAuthenticatorEndpointGDTCStageList';
|
246
253
|
export * from './PaginatedAuthenticatorSMSStageList';
|
247
254
|
export * from './PaginatedAuthenticatorStaticStageList';
|
248
255
|
export * from './PaginatedAuthenticatorTOTPStageList';
|
@@ -261,6 +268,7 @@ export * from './PaginatedDummyPolicyList';
|
|
261
268
|
export * from './PaginatedDummyStageList';
|
262
269
|
export * from './PaginatedDuoDeviceList';
|
263
270
|
export * from './PaginatedEmailStageList';
|
271
|
+
export * from './PaginatedEndpointDeviceList';
|
264
272
|
export * from './PaginatedEndpointList';
|
265
273
|
export * from './PaginatedEventList';
|
266
274
|
export * from './PaginatedEventMatcherPolicyList';
|
@@ -371,6 +379,7 @@ export * from './PasswordStage';
|
|
371
379
|
export * from './PasswordStageRequest';
|
372
380
|
export * from './PatchedApplicationRequest';
|
373
381
|
export * from './PatchedAuthenticatorDuoStageRequest';
|
382
|
+
export * from './PatchedAuthenticatorEndpointGDTCStageRequest';
|
374
383
|
export * from './PatchedAuthenticatorSMSStageRequest';
|
375
384
|
export * from './PatchedAuthenticatorStaticStageRequest';
|
376
385
|
export * from './PatchedAuthenticatorTOTPStageRequest';
|
@@ -389,6 +398,7 @@ export * from './PatchedDummyPolicyRequest';
|
|
389
398
|
export * from './PatchedDummyStageRequest';
|
390
399
|
export * from './PatchedDuoDeviceRequest';
|
391
400
|
export * from './PatchedEmailStageRequest';
|
401
|
+
export * from './PatchedEndpointDeviceRequest';
|
392
402
|
export * from './PatchedEndpointRequest';
|
393
403
|
export * from './PatchedEventMatcherPolicyRequest';
|
394
404
|
export * from './PatchedEventRequest';
|
@@ -639,6 +649,7 @@ export * from './UserWriteStage';
|
|
639
649
|
export * from './UserWriteStageRequest';
|
640
650
|
export * from './ValidationError';
|
641
651
|
export * from './Version';
|
652
|
+
export * from './VersionHistory';
|
642
653
|
export * from './WebAuthnDevice';
|
643
654
|
export * from './WebAuthnDeviceRequest';
|
644
655
|
export * from './WebAuthnDeviceType';
|
package/dist/esm/models/index.js
CHANGED
@@ -25,6 +25,8 @@ export * from './AuthenticatorDuoStage';
|
|
25
25
|
export * from './AuthenticatorDuoStageDeviceImportResponse';
|
26
26
|
export * from './AuthenticatorDuoStageManualDeviceImportRequest';
|
27
27
|
export * from './AuthenticatorDuoStageRequest';
|
28
|
+
export * from './AuthenticatorEndpointGDTCStage';
|
29
|
+
export * from './AuthenticatorEndpointGDTCStageRequest';
|
28
30
|
export * from './AuthenticatorSMSChallenge';
|
29
31
|
export * from './AuthenticatorSMSChallengeResponseRequest';
|
30
32
|
export * from './AuthenticatorSMSStage';
|
@@ -112,6 +114,8 @@ export * from './EmailChallengeResponseRequest';
|
|
112
114
|
export * from './EmailStage';
|
113
115
|
export * from './EmailStageRequest';
|
114
116
|
export * from './Endpoint';
|
117
|
+
export * from './EndpointDevice';
|
118
|
+
export * from './EndpointDeviceRequest';
|
115
119
|
export * from './EndpointRequest';
|
116
120
|
export * from './ErrorDetail';
|
117
121
|
export * from './ErrorReportingConfig';
|
@@ -144,6 +148,8 @@ export * from './FlowSetRequest';
|
|
144
148
|
export * from './FlowStageBinding';
|
145
149
|
export * from './FlowStageBindingRequest';
|
146
150
|
export * from './FooterLink';
|
151
|
+
export * from './FrameChallenge';
|
152
|
+
export * from './FrameChallengeResponseRequest';
|
147
153
|
export * from './GenericError';
|
148
154
|
export * from './GeoIPPolicy';
|
149
155
|
export * from './GeoIPPolicyRequest';
|
@@ -245,6 +251,7 @@ export * from './OutpostTypeEnum';
|
|
245
251
|
export * from './PaginatedApplicationList';
|
246
252
|
export * from './PaginatedAuthenticatedSessionList';
|
247
253
|
export * from './PaginatedAuthenticatorDuoStageList';
|
254
|
+
export * from './PaginatedAuthenticatorEndpointGDTCStageList';
|
248
255
|
export * from './PaginatedAuthenticatorSMSStageList';
|
249
256
|
export * from './PaginatedAuthenticatorStaticStageList';
|
250
257
|
export * from './PaginatedAuthenticatorTOTPStageList';
|
@@ -263,6 +270,7 @@ export * from './PaginatedDummyPolicyList';
|
|
263
270
|
export * from './PaginatedDummyStageList';
|
264
271
|
export * from './PaginatedDuoDeviceList';
|
265
272
|
export * from './PaginatedEmailStageList';
|
273
|
+
export * from './PaginatedEndpointDeviceList';
|
266
274
|
export * from './PaginatedEndpointList';
|
267
275
|
export * from './PaginatedEventList';
|
268
276
|
export * from './PaginatedEventMatcherPolicyList';
|
@@ -373,6 +381,7 @@ export * from './PasswordStage';
|
|
373
381
|
export * from './PasswordStageRequest';
|
374
382
|
export * from './PatchedApplicationRequest';
|
375
383
|
export * from './PatchedAuthenticatorDuoStageRequest';
|
384
|
+
export * from './PatchedAuthenticatorEndpointGDTCStageRequest';
|
376
385
|
export * from './PatchedAuthenticatorSMSStageRequest';
|
377
386
|
export * from './PatchedAuthenticatorStaticStageRequest';
|
378
387
|
export * from './PatchedAuthenticatorTOTPStageRequest';
|
@@ -391,6 +400,7 @@ export * from './PatchedDummyPolicyRequest';
|
|
391
400
|
export * from './PatchedDummyStageRequest';
|
392
401
|
export * from './PatchedDuoDeviceRequest';
|
393
402
|
export * from './PatchedEmailStageRequest';
|
403
|
+
export * from './PatchedEndpointDeviceRequest';
|
394
404
|
export * from './PatchedEndpointRequest';
|
395
405
|
export * from './PatchedEventMatcherPolicyRequest';
|
396
406
|
export * from './PatchedEventRequest';
|
@@ -641,6 +651,7 @@ export * from './UserWriteStage';
|
|
641
651
|
export * from './UserWriteStageRequest';
|
642
652
|
export * from './ValidationError';
|
643
653
|
export * from './Version';
|
654
|
+
export * from './VersionHistory';
|
644
655
|
export * from './WebAuthnDevice';
|
645
656
|
export * from './WebAuthnDeviceRequest';
|
646
657
|
export * from './WebAuthnDeviceType';
|
package/dist/models/AppEnum.d.ts
CHANGED
@@ -69,6 +69,7 @@ export declare const AppEnum: {
|
|
69
69
|
readonly EnterpriseProvidersGoogleWorkspace: "authentik.enterprise.providers.google_workspace";
|
70
70
|
readonly EnterpriseProvidersMicrosoftEntra: "authentik.enterprise.providers.microsoft_entra";
|
71
71
|
readonly EnterpriseProvidersRac: "authentik.enterprise.providers.rac";
|
72
|
+
readonly EnterpriseStagesAuthenticatorEndpointGdtc: "authentik.enterprise.stages.authenticator_endpoint_gdtc";
|
72
73
|
readonly EnterpriseStagesSource: "authentik.enterprise.stages.source";
|
73
74
|
readonly Events: "authentik.events";
|
74
75
|
readonly UnknownDefaultOpenApi: "11184809";
|
package/dist/models/AppEnum.js
CHANGED
@@ -74,6 +74,7 @@ exports.AppEnum = {
|
|
74
74
|
EnterpriseProvidersGoogleWorkspace: 'authentik.enterprise.providers.google_workspace',
|
75
75
|
EnterpriseProvidersMicrosoftEntra: 'authentik.enterprise.providers.microsoft_entra',
|
76
76
|
EnterpriseProvidersRac: 'authentik.enterprise.providers.rac',
|
77
|
+
EnterpriseStagesAuthenticatorEndpointGdtc: 'authentik.enterprise.stages.authenticator_endpoint_gdtc',
|
77
78
|
EnterpriseStagesSource: 'authentik.enterprise.stages.source',
|
78
79
|
Events: 'authentik.events',
|
79
80
|
UnknownDefaultOpenApi: '11184809'
|
@@ -0,0 +1,86 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.8.3
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
import type { FlowSet } from './FlowSet';
|
13
|
+
/**
|
14
|
+
* AuthenticatorEndpointGDTCStage Serializer
|
15
|
+
* @export
|
16
|
+
* @interface AuthenticatorEndpointGDTCStage
|
17
|
+
*/
|
18
|
+
export interface AuthenticatorEndpointGDTCStage {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {string}
|
22
|
+
* @memberof AuthenticatorEndpointGDTCStage
|
23
|
+
*/
|
24
|
+
readonly pk: string;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {string}
|
28
|
+
* @memberof AuthenticatorEndpointGDTCStage
|
29
|
+
*/
|
30
|
+
name: string;
|
31
|
+
/**
|
32
|
+
* Get object type so that we know how to edit the object
|
33
|
+
* @type {string}
|
34
|
+
* @memberof AuthenticatorEndpointGDTCStage
|
35
|
+
*/
|
36
|
+
readonly component: string;
|
37
|
+
/**
|
38
|
+
* Return object's verbose_name
|
39
|
+
* @type {string}
|
40
|
+
* @memberof AuthenticatorEndpointGDTCStage
|
41
|
+
*/
|
42
|
+
readonly verboseName: string;
|
43
|
+
/**
|
44
|
+
* Return object's plural verbose_name
|
45
|
+
* @type {string}
|
46
|
+
* @memberof AuthenticatorEndpointGDTCStage
|
47
|
+
*/
|
48
|
+
readonly verboseNamePlural: string;
|
49
|
+
/**
|
50
|
+
* Return internal model name
|
51
|
+
* @type {string}
|
52
|
+
* @memberof AuthenticatorEndpointGDTCStage
|
53
|
+
*/
|
54
|
+
readonly metaModelName: string;
|
55
|
+
/**
|
56
|
+
*
|
57
|
+
* @type {Array<FlowSet>}
|
58
|
+
* @memberof AuthenticatorEndpointGDTCStage
|
59
|
+
*/
|
60
|
+
flowSet?: Array<FlowSet>;
|
61
|
+
/**
|
62
|
+
* Flow used by an authenticated user to configure this Stage. If empty, user will not be able to configure this stage.
|
63
|
+
* @type {string}
|
64
|
+
* @memberof AuthenticatorEndpointGDTCStage
|
65
|
+
*/
|
66
|
+
configureFlow?: string | null;
|
67
|
+
/**
|
68
|
+
*
|
69
|
+
* @type {string}
|
70
|
+
* @memberof AuthenticatorEndpointGDTCStage
|
71
|
+
*/
|
72
|
+
friendlyName?: string | null;
|
73
|
+
/**
|
74
|
+
*
|
75
|
+
* @type {any}
|
76
|
+
* @memberof AuthenticatorEndpointGDTCStage
|
77
|
+
*/
|
78
|
+
credentials: any | null;
|
79
|
+
}
|
80
|
+
/**
|
81
|
+
* Check if a given object implements the AuthenticatorEndpointGDTCStage interface.
|
82
|
+
*/
|
83
|
+
export declare function instanceOfAuthenticatorEndpointGDTCStage(value: object): boolean;
|
84
|
+
export declare function AuthenticatorEndpointGDTCStageFromJSON(json: any): AuthenticatorEndpointGDTCStage;
|
85
|
+
export declare function AuthenticatorEndpointGDTCStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorEndpointGDTCStage;
|
86
|
+
export declare function AuthenticatorEndpointGDTCStageToJSON(value?: AuthenticatorEndpointGDTCStage | null): any;
|
@@ -0,0 +1,71 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.8.3
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.AuthenticatorEndpointGDTCStageToJSON = exports.AuthenticatorEndpointGDTCStageFromJSONTyped = exports.AuthenticatorEndpointGDTCStageFromJSON = exports.instanceOfAuthenticatorEndpointGDTCStage = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
const FlowSet_1 = require("./FlowSet");
|
19
|
+
/**
|
20
|
+
* Check if a given object implements the AuthenticatorEndpointGDTCStage interface.
|
21
|
+
*/
|
22
|
+
function instanceOfAuthenticatorEndpointGDTCStage(value) {
|
23
|
+
let isInstance = true;
|
24
|
+
isInstance = isInstance && "pk" in value;
|
25
|
+
isInstance = isInstance && "name" in value;
|
26
|
+
isInstance = isInstance && "component" in value;
|
27
|
+
isInstance = isInstance && "verboseName" in value;
|
28
|
+
isInstance = isInstance && "verboseNamePlural" in value;
|
29
|
+
isInstance = isInstance && "metaModelName" in value;
|
30
|
+
isInstance = isInstance && "credentials" in value;
|
31
|
+
return isInstance;
|
32
|
+
}
|
33
|
+
exports.instanceOfAuthenticatorEndpointGDTCStage = instanceOfAuthenticatorEndpointGDTCStage;
|
34
|
+
function AuthenticatorEndpointGDTCStageFromJSON(json) {
|
35
|
+
return AuthenticatorEndpointGDTCStageFromJSONTyped(json, false);
|
36
|
+
}
|
37
|
+
exports.AuthenticatorEndpointGDTCStageFromJSON = AuthenticatorEndpointGDTCStageFromJSON;
|
38
|
+
function AuthenticatorEndpointGDTCStageFromJSONTyped(json, ignoreDiscriminator) {
|
39
|
+
if ((json === undefined) || (json === null)) {
|
40
|
+
return json;
|
41
|
+
}
|
42
|
+
return {
|
43
|
+
'pk': json['pk'],
|
44
|
+
'name': json['name'],
|
45
|
+
'component': json['component'],
|
46
|
+
'verboseName': json['verbose_name'],
|
47
|
+
'verboseNamePlural': json['verbose_name_plural'],
|
48
|
+
'metaModelName': json['meta_model_name'],
|
49
|
+
'flowSet': !(0, runtime_1.exists)(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSet_1.FlowSetFromJSON)),
|
50
|
+
'configureFlow': !(0, runtime_1.exists)(json, 'configure_flow') ? undefined : json['configure_flow'],
|
51
|
+
'friendlyName': !(0, runtime_1.exists)(json, 'friendly_name') ? undefined : json['friendly_name'],
|
52
|
+
'credentials': json['credentials'],
|
53
|
+
};
|
54
|
+
}
|
55
|
+
exports.AuthenticatorEndpointGDTCStageFromJSONTyped = AuthenticatorEndpointGDTCStageFromJSONTyped;
|
56
|
+
function AuthenticatorEndpointGDTCStageToJSON(value) {
|
57
|
+
if (value === undefined) {
|
58
|
+
return undefined;
|
59
|
+
}
|
60
|
+
if (value === null) {
|
61
|
+
return null;
|
62
|
+
}
|
63
|
+
return {
|
64
|
+
'name': value.name,
|
65
|
+
'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSet_1.FlowSetToJSON)),
|
66
|
+
'configure_flow': value.configureFlow,
|
67
|
+
'friendly_name': value.friendlyName,
|
68
|
+
'credentials': value.credentials,
|
69
|
+
};
|
70
|
+
}
|
71
|
+
exports.AuthenticatorEndpointGDTCStageToJSON = AuthenticatorEndpointGDTCStageToJSON;
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/**
|
2
|
+
* authentik
|
3
|
+
* Making authentication simple.
|
4
|
+
*
|
5
|
+
* The version of the OpenAPI document: 2024.8.3
|
6
|
+
* Contact: hello@goauthentik.io
|
7
|
+
*
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
9
|
+
* https://openapi-generator.tech
|
10
|
+
* Do not edit the class manually.
|
11
|
+
*/
|
12
|
+
import type { FlowSetRequest } from './FlowSetRequest';
|
13
|
+
/**
|
14
|
+
* AuthenticatorEndpointGDTCStage Serializer
|
15
|
+
* @export
|
16
|
+
* @interface AuthenticatorEndpointGDTCStageRequest
|
17
|
+
*/
|
18
|
+
export interface AuthenticatorEndpointGDTCStageRequest {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {string}
|
22
|
+
* @memberof AuthenticatorEndpointGDTCStageRequest
|
23
|
+
*/
|
24
|
+
name: string;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {Array<FlowSetRequest>}
|
28
|
+
* @memberof AuthenticatorEndpointGDTCStageRequest
|
29
|
+
*/
|
30
|
+
flowSet?: Array<FlowSetRequest>;
|
31
|
+
/**
|
32
|
+
* Flow used by an authenticated user to configure this Stage. If empty, user will not be able to configure this stage.
|
33
|
+
* @type {string}
|
34
|
+
* @memberof AuthenticatorEndpointGDTCStageRequest
|
35
|
+
*/
|
36
|
+
configureFlow?: string | null;
|
37
|
+
/**
|
38
|
+
*
|
39
|
+
* @type {string}
|
40
|
+
* @memberof AuthenticatorEndpointGDTCStageRequest
|
41
|
+
*/
|
42
|
+
friendlyName?: string | null;
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* @type {any}
|
46
|
+
* @memberof AuthenticatorEndpointGDTCStageRequest
|
47
|
+
*/
|
48
|
+
credentials: any | null;
|
49
|
+
}
|
50
|
+
/**
|
51
|
+
* Check if a given object implements the AuthenticatorEndpointGDTCStageRequest interface.
|
52
|
+
*/
|
53
|
+
export declare function instanceOfAuthenticatorEndpointGDTCStageRequest(value: object): boolean;
|
54
|
+
export declare function AuthenticatorEndpointGDTCStageRequestFromJSON(json: any): AuthenticatorEndpointGDTCStageRequest;
|
55
|
+
export declare function AuthenticatorEndpointGDTCStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticatorEndpointGDTCStageRequest;
|
56
|
+
export declare function AuthenticatorEndpointGDTCStageRequestToJSON(value?: AuthenticatorEndpointGDTCStageRequest | null): any;
|
@@ -0,0 +1,61 @@
|
|
1
|
+
"use strict";
|
2
|
+
/* tslint:disable */
|
3
|
+
/* eslint-disable */
|
4
|
+
/**
|
5
|
+
* authentik
|
6
|
+
* Making authentication simple.
|
7
|
+
*
|
8
|
+
* The version of the OpenAPI document: 2024.8.3
|
9
|
+
* Contact: hello@goauthentik.io
|
10
|
+
*
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
12
|
+
* https://openapi-generator.tech
|
13
|
+
* Do not edit the class manually.
|
14
|
+
*/
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
16
|
+
exports.AuthenticatorEndpointGDTCStageRequestToJSON = exports.AuthenticatorEndpointGDTCStageRequestFromJSONTyped = exports.AuthenticatorEndpointGDTCStageRequestFromJSON = exports.instanceOfAuthenticatorEndpointGDTCStageRequest = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
const FlowSetRequest_1 = require("./FlowSetRequest");
|
19
|
+
/**
|
20
|
+
* Check if a given object implements the AuthenticatorEndpointGDTCStageRequest interface.
|
21
|
+
*/
|
22
|
+
function instanceOfAuthenticatorEndpointGDTCStageRequest(value) {
|
23
|
+
let isInstance = true;
|
24
|
+
isInstance = isInstance && "name" in value;
|
25
|
+
isInstance = isInstance && "credentials" in value;
|
26
|
+
return isInstance;
|
27
|
+
}
|
28
|
+
exports.instanceOfAuthenticatorEndpointGDTCStageRequest = instanceOfAuthenticatorEndpointGDTCStageRequest;
|
29
|
+
function AuthenticatorEndpointGDTCStageRequestFromJSON(json) {
|
30
|
+
return AuthenticatorEndpointGDTCStageRequestFromJSONTyped(json, false);
|
31
|
+
}
|
32
|
+
exports.AuthenticatorEndpointGDTCStageRequestFromJSON = AuthenticatorEndpointGDTCStageRequestFromJSON;
|
33
|
+
function AuthenticatorEndpointGDTCStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
34
|
+
if ((json === undefined) || (json === null)) {
|
35
|
+
return json;
|
36
|
+
}
|
37
|
+
return {
|
38
|
+
'name': json['name'],
|
39
|
+
'flowSet': !(0, runtime_1.exists)(json, 'flow_set') ? undefined : (json['flow_set'].map(FlowSetRequest_1.FlowSetRequestFromJSON)),
|
40
|
+
'configureFlow': !(0, runtime_1.exists)(json, 'configure_flow') ? undefined : json['configure_flow'],
|
41
|
+
'friendlyName': !(0, runtime_1.exists)(json, 'friendly_name') ? undefined : json['friendly_name'],
|
42
|
+
'credentials': json['credentials'],
|
43
|
+
};
|
44
|
+
}
|
45
|
+
exports.AuthenticatorEndpointGDTCStageRequestFromJSONTyped = AuthenticatorEndpointGDTCStageRequestFromJSONTyped;
|
46
|
+
function AuthenticatorEndpointGDTCStageRequestToJSON(value) {
|
47
|
+
if (value === undefined) {
|
48
|
+
return undefined;
|
49
|
+
}
|
50
|
+
if (value === null) {
|
51
|
+
return null;
|
52
|
+
}
|
53
|
+
return {
|
54
|
+
'name': value.name,
|
55
|
+
'flow_set': value.flowSet === undefined ? undefined : (value.flowSet.map(FlowSetRequest_1.FlowSetRequestToJSON)),
|
56
|
+
'configure_flow': value.configureFlow,
|
57
|
+
'friendly_name': value.friendlyName,
|
58
|
+
'credentials': value.credentials,
|
59
|
+
};
|
60
|
+
}
|
61
|
+
exports.AuthenticatorEndpointGDTCStageRequestToJSON = AuthenticatorEndpointGDTCStageRequestToJSON;
|