@goauthentik/api 2024.8.3-1729167001 → 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 +10 -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/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/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -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/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/package.json +1 -1
- 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/index.ts +10 -0
@@ -0,0 +1,53 @@
|
|
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.EndpointDeviceToJSON = exports.EndpointDeviceFromJSONTyped = exports.EndpointDeviceFromJSON = exports.instanceOfEndpointDevice = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the EndpointDevice interface.
|
20
|
+
*/
|
21
|
+
function instanceOfEndpointDevice(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
isInstance = isInstance && "name" in value;
|
24
|
+
return isInstance;
|
25
|
+
}
|
26
|
+
exports.instanceOfEndpointDevice = instanceOfEndpointDevice;
|
27
|
+
function EndpointDeviceFromJSON(json) {
|
28
|
+
return EndpointDeviceFromJSONTyped(json, false);
|
29
|
+
}
|
30
|
+
exports.EndpointDeviceFromJSON = EndpointDeviceFromJSON;
|
31
|
+
function EndpointDeviceFromJSONTyped(json, ignoreDiscriminator) {
|
32
|
+
if ((json === undefined) || (json === null)) {
|
33
|
+
return json;
|
34
|
+
}
|
35
|
+
return {
|
36
|
+
'pk': !(0, runtime_1.exists)(json, 'pk') ? undefined : json['pk'],
|
37
|
+
'name': json['name'],
|
38
|
+
};
|
39
|
+
}
|
40
|
+
exports.EndpointDeviceFromJSONTyped = EndpointDeviceFromJSONTyped;
|
41
|
+
function EndpointDeviceToJSON(value) {
|
42
|
+
if (value === undefined) {
|
43
|
+
return undefined;
|
44
|
+
}
|
45
|
+
if (value === null) {
|
46
|
+
return null;
|
47
|
+
}
|
48
|
+
return {
|
49
|
+
'pk': value.pk,
|
50
|
+
'name': value.name,
|
51
|
+
};
|
52
|
+
}
|
53
|
+
exports.EndpointDeviceToJSON = EndpointDeviceToJSON;
|
@@ -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 EndpointDeviceRequest
|
16
|
+
*/
|
17
|
+
export interface EndpointDeviceRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof EndpointDeviceRequest
|
22
|
+
*/
|
23
|
+
pk?: string;
|
24
|
+
/**
|
25
|
+
* The human-readable name of this device.
|
26
|
+
* @type {string}
|
27
|
+
* @memberof EndpointDeviceRequest
|
28
|
+
*/
|
29
|
+
name: string;
|
30
|
+
}
|
31
|
+
/**
|
32
|
+
* Check if a given object implements the EndpointDeviceRequest interface.
|
33
|
+
*/
|
34
|
+
export declare function instanceOfEndpointDeviceRequest(value: object): boolean;
|
35
|
+
export declare function EndpointDeviceRequestFromJSON(json: any): EndpointDeviceRequest;
|
36
|
+
export declare function EndpointDeviceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EndpointDeviceRequest;
|
37
|
+
export declare function EndpointDeviceRequestToJSON(value?: EndpointDeviceRequest | null): any;
|
@@ -0,0 +1,53 @@
|
|
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.EndpointDeviceRequestToJSON = exports.EndpointDeviceRequestFromJSONTyped = exports.EndpointDeviceRequestFromJSON = exports.instanceOfEndpointDeviceRequest = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the EndpointDeviceRequest interface.
|
20
|
+
*/
|
21
|
+
function instanceOfEndpointDeviceRequest(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
isInstance = isInstance && "name" in value;
|
24
|
+
return isInstance;
|
25
|
+
}
|
26
|
+
exports.instanceOfEndpointDeviceRequest = instanceOfEndpointDeviceRequest;
|
27
|
+
function EndpointDeviceRequestFromJSON(json) {
|
28
|
+
return EndpointDeviceRequestFromJSONTyped(json, false);
|
29
|
+
}
|
30
|
+
exports.EndpointDeviceRequestFromJSON = EndpointDeviceRequestFromJSON;
|
31
|
+
function EndpointDeviceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
32
|
+
if ((json === undefined) || (json === null)) {
|
33
|
+
return json;
|
34
|
+
}
|
35
|
+
return {
|
36
|
+
'pk': !(0, runtime_1.exists)(json, 'pk') ? undefined : json['pk'],
|
37
|
+
'name': json['name'],
|
38
|
+
};
|
39
|
+
}
|
40
|
+
exports.EndpointDeviceRequestFromJSONTyped = EndpointDeviceRequestFromJSONTyped;
|
41
|
+
function EndpointDeviceRequestToJSON(value) {
|
42
|
+
if (value === undefined) {
|
43
|
+
return undefined;
|
44
|
+
}
|
45
|
+
if (value === null) {
|
46
|
+
return null;
|
47
|
+
}
|
48
|
+
return {
|
49
|
+
'pk': value.pk,
|
50
|
+
'name': value.name,
|
51
|
+
};
|
52
|
+
}
|
53
|
+
exports.EndpointDeviceRequestToJSON = EndpointDeviceRequestToJSON;
|
@@ -21,6 +21,7 @@ import { CaptchaChallengeResponseRequest } from './CaptchaChallengeResponseReque
|
|
21
21
|
import { ConsentChallengeResponseRequest } from './ConsentChallengeResponseRequest';
|
22
22
|
import { DummyChallengeResponseRequest } from './DummyChallengeResponseRequest';
|
23
23
|
import { EmailChallengeResponseRequest } from './EmailChallengeResponseRequest';
|
24
|
+
import { FrameChallengeResponseRequest } from './FrameChallengeResponseRequest';
|
24
25
|
import { IdentificationChallengeResponseRequest } from './IdentificationChallengeResponseRequest';
|
25
26
|
import { OAuthDeviceCodeChallengeResponseRequest } from './OAuthDeviceCodeChallengeResponseRequest';
|
26
27
|
import { OAuthDeviceCodeFinishChallengeResponseRequest } from './OAuthDeviceCodeFinishChallengeResponseRequest';
|
@@ -71,7 +72,9 @@ export type FlowChallengeResponseRequest = {
|
|
71
72
|
component: 'ak-stage-prompt';
|
72
73
|
} & PromptChallengeResponseRequest | {
|
73
74
|
component: 'ak-stage-user-login';
|
74
|
-
} & UserLoginChallengeResponseRequest
|
75
|
+
} & UserLoginChallengeResponseRequest | {
|
76
|
+
component: 'xak-flow-frame';
|
77
|
+
} & FrameChallengeResponseRequest;
|
75
78
|
export declare function FlowChallengeResponseRequestFromJSON(json: any): FlowChallengeResponseRequest;
|
76
79
|
export declare function FlowChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowChallengeResponseRequest;
|
77
80
|
export declare function FlowChallengeResponseRequestToJSON(value?: FlowChallengeResponseRequest | null): any;
|
@@ -26,6 +26,7 @@ const CaptchaChallengeResponseRequest_1 = require("./CaptchaChallengeResponseReq
|
|
26
26
|
const ConsentChallengeResponseRequest_1 = require("./ConsentChallengeResponseRequest");
|
27
27
|
const DummyChallengeResponseRequest_1 = require("./DummyChallengeResponseRequest");
|
28
28
|
const EmailChallengeResponseRequest_1 = require("./EmailChallengeResponseRequest");
|
29
|
+
const FrameChallengeResponseRequest_1 = require("./FrameChallengeResponseRequest");
|
29
30
|
const IdentificationChallengeResponseRequest_1 = require("./IdentificationChallengeResponseRequest");
|
30
31
|
const OAuthDeviceCodeChallengeResponseRequest_1 = require("./OAuthDeviceCodeChallengeResponseRequest");
|
31
32
|
const OAuthDeviceCodeFinishChallengeResponseRequest_1 = require("./OAuthDeviceCodeFinishChallengeResponseRequest");
|
@@ -80,6 +81,8 @@ function FlowChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
80
81
|
return Object.assign(Object.assign({}, (0, PromptChallengeResponseRequest_1.PromptChallengeResponseRequestFromJSONTyped)(json, true)), { component: 'ak-stage-prompt' });
|
81
82
|
case 'ak-stage-user-login':
|
82
83
|
return Object.assign(Object.assign({}, (0, UserLoginChallengeResponseRequest_1.UserLoginChallengeResponseRequestFromJSONTyped)(json, true)), { component: 'ak-stage-user-login' });
|
84
|
+
case 'xak-flow-frame':
|
85
|
+
return Object.assign(Object.assign({}, (0, FrameChallengeResponseRequest_1.FrameChallengeResponseRequestFromJSONTyped)(json, true)), { component: 'xak-flow-frame' });
|
83
86
|
default:
|
84
87
|
throw new Error(`No variant of FlowChallengeResponseRequest exists with 'component=${json['component']}'`);
|
85
88
|
}
|
@@ -131,6 +134,8 @@ function FlowChallengeResponseRequestToJSON(value) {
|
|
131
134
|
return (0, PromptChallengeResponseRequest_1.PromptChallengeResponseRequestToJSON)(value);
|
132
135
|
case 'ak-stage-user-login':
|
133
136
|
return (0, UserLoginChallengeResponseRequest_1.UserLoginChallengeResponseRequestToJSON)(value);
|
137
|
+
case 'xak-flow-frame':
|
138
|
+
return (0, FrameChallengeResponseRequest_1.FrameChallengeResponseRequestToJSON)(value);
|
134
139
|
default:
|
135
140
|
throw new Error(`No variant of FlowChallengeResponseRequest exists with 'component=${value['component']}'`);
|
136
141
|
}
|
@@ -0,0 +1,65 @@
|
|
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 { ContextualFlowInfo } from './ContextualFlowInfo';
|
13
|
+
import type { ErrorDetail } from './ErrorDetail';
|
14
|
+
/**
|
15
|
+
* Challenge type to render a frame
|
16
|
+
* @export
|
17
|
+
* @interface FrameChallenge
|
18
|
+
*/
|
19
|
+
export interface FrameChallenge {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {ContextualFlowInfo}
|
23
|
+
* @memberof FrameChallenge
|
24
|
+
*/
|
25
|
+
flowInfo?: ContextualFlowInfo;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {string}
|
29
|
+
* @memberof FrameChallenge
|
30
|
+
*/
|
31
|
+
component?: string;
|
32
|
+
/**
|
33
|
+
*
|
34
|
+
* @type {{ [key: string]: Array<ErrorDetail>; }}
|
35
|
+
* @memberof FrameChallenge
|
36
|
+
*/
|
37
|
+
responseErrors?: {
|
38
|
+
[key: string]: Array<ErrorDetail>;
|
39
|
+
};
|
40
|
+
/**
|
41
|
+
*
|
42
|
+
* @type {string}
|
43
|
+
* @memberof FrameChallenge
|
44
|
+
*/
|
45
|
+
url: string;
|
46
|
+
/**
|
47
|
+
*
|
48
|
+
* @type {boolean}
|
49
|
+
* @memberof FrameChallenge
|
50
|
+
*/
|
51
|
+
loadingOverlay?: boolean;
|
52
|
+
/**
|
53
|
+
*
|
54
|
+
* @type {string}
|
55
|
+
* @memberof FrameChallenge
|
56
|
+
*/
|
57
|
+
loadingText: string;
|
58
|
+
}
|
59
|
+
/**
|
60
|
+
* Check if a given object implements the FrameChallenge interface.
|
61
|
+
*/
|
62
|
+
export declare function instanceOfFrameChallenge(value: object): boolean;
|
63
|
+
export declare function FrameChallengeFromJSON(json: any): FrameChallenge;
|
64
|
+
export declare function FrameChallengeFromJSONTyped(json: any, ignoreDiscriminator: boolean): FrameChallenge;
|
65
|
+
export declare function FrameChallengeToJSON(value?: FrameChallenge | null): any;
|
@@ -0,0 +1,63 @@
|
|
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.FrameChallengeToJSON = exports.FrameChallengeFromJSONTyped = exports.FrameChallengeFromJSON = exports.instanceOfFrameChallenge = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
|
19
|
+
/**
|
20
|
+
* Check if a given object implements the FrameChallenge interface.
|
21
|
+
*/
|
22
|
+
function instanceOfFrameChallenge(value) {
|
23
|
+
let isInstance = true;
|
24
|
+
isInstance = isInstance && "url" in value;
|
25
|
+
isInstance = isInstance && "loadingText" in value;
|
26
|
+
return isInstance;
|
27
|
+
}
|
28
|
+
exports.instanceOfFrameChallenge = instanceOfFrameChallenge;
|
29
|
+
function FrameChallengeFromJSON(json) {
|
30
|
+
return FrameChallengeFromJSONTyped(json, false);
|
31
|
+
}
|
32
|
+
exports.FrameChallengeFromJSON = FrameChallengeFromJSON;
|
33
|
+
function FrameChallengeFromJSONTyped(json, ignoreDiscriminator) {
|
34
|
+
if ((json === undefined) || (json === null)) {
|
35
|
+
return json;
|
36
|
+
}
|
37
|
+
return {
|
38
|
+
'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
|
39
|
+
'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
|
40
|
+
'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
|
41
|
+
'url': json['url'],
|
42
|
+
'loadingOverlay': !(0, runtime_1.exists)(json, 'loading_overlay') ? undefined : json['loading_overlay'],
|
43
|
+
'loadingText': json['loading_text'],
|
44
|
+
};
|
45
|
+
}
|
46
|
+
exports.FrameChallengeFromJSONTyped = FrameChallengeFromJSONTyped;
|
47
|
+
function FrameChallengeToJSON(value) {
|
48
|
+
if (value === undefined) {
|
49
|
+
return undefined;
|
50
|
+
}
|
51
|
+
if (value === null) {
|
52
|
+
return null;
|
53
|
+
}
|
54
|
+
return {
|
55
|
+
'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
|
56
|
+
'component': value.component,
|
57
|
+
'response_errors': value.responseErrors,
|
58
|
+
'url': value.url,
|
59
|
+
'loading_overlay': value.loadingOverlay,
|
60
|
+
'loading_text': value.loadingText,
|
61
|
+
};
|
62
|
+
}
|
63
|
+
exports.FrameChallengeToJSON = FrameChallengeToJSON;
|
@@ -0,0 +1,31 @@
|
|
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
|
+
* Base class for all challenge responses
|
14
|
+
* @export
|
15
|
+
* @interface FrameChallengeResponseRequest
|
16
|
+
*/
|
17
|
+
export interface FrameChallengeResponseRequest {
|
18
|
+
/**
|
19
|
+
*
|
20
|
+
* @type {string}
|
21
|
+
* @memberof FrameChallengeResponseRequest
|
22
|
+
*/
|
23
|
+
component?: string;
|
24
|
+
}
|
25
|
+
/**
|
26
|
+
* Check if a given object implements the FrameChallengeResponseRequest interface.
|
27
|
+
*/
|
28
|
+
export declare function instanceOfFrameChallengeResponseRequest(value: object): boolean;
|
29
|
+
export declare function FrameChallengeResponseRequestFromJSON(json: any): FrameChallengeResponseRequest;
|
30
|
+
export declare function FrameChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FrameChallengeResponseRequest;
|
31
|
+
export declare function FrameChallengeResponseRequestToJSON(value?: FrameChallengeResponseRequest | null): any;
|
@@ -0,0 +1,50 @@
|
|
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.FrameChallengeResponseRequestToJSON = exports.FrameChallengeResponseRequestFromJSONTyped = exports.FrameChallengeResponseRequestFromJSON = exports.instanceOfFrameChallengeResponseRequest = void 0;
|
17
|
+
const runtime_1 = require("../runtime");
|
18
|
+
/**
|
19
|
+
* Check if a given object implements the FrameChallengeResponseRequest interface.
|
20
|
+
*/
|
21
|
+
function instanceOfFrameChallengeResponseRequest(value) {
|
22
|
+
let isInstance = true;
|
23
|
+
return isInstance;
|
24
|
+
}
|
25
|
+
exports.instanceOfFrameChallengeResponseRequest = instanceOfFrameChallengeResponseRequest;
|
26
|
+
function FrameChallengeResponseRequestFromJSON(json) {
|
27
|
+
return FrameChallengeResponseRequestFromJSONTyped(json, false);
|
28
|
+
}
|
29
|
+
exports.FrameChallengeResponseRequestFromJSON = FrameChallengeResponseRequestFromJSON;
|
30
|
+
function FrameChallengeResponseRequestFromJSONTyped(json, ignoreDiscriminator) {
|
31
|
+
if ((json === undefined) || (json === null)) {
|
32
|
+
return json;
|
33
|
+
}
|
34
|
+
return {
|
35
|
+
'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
|
36
|
+
};
|
37
|
+
}
|
38
|
+
exports.FrameChallengeResponseRequestFromJSONTyped = FrameChallengeResponseRequestFromJSONTyped;
|
39
|
+
function FrameChallengeResponseRequestToJSON(value) {
|
40
|
+
if (value === undefined) {
|
41
|
+
return undefined;
|
42
|
+
}
|
43
|
+
if (value === null) {
|
44
|
+
return null;
|
45
|
+
}
|
46
|
+
return {
|
47
|
+
'component': value.component,
|
48
|
+
};
|
49
|
+
}
|
50
|
+
exports.FrameChallengeResponseRequestToJSON = FrameChallengeResponseRequestToJSON;
|
@@ -97,6 +97,7 @@ export declare const ModelEnum: {
|
|
97
97
|
readonly ProvidersRacRacprovider: "authentik_providers_rac.racprovider";
|
98
98
|
readonly ProvidersRacEndpoint: "authentik_providers_rac.endpoint";
|
99
99
|
readonly ProvidersRacRacpropertymapping: "authentik_providers_rac.racpropertymapping";
|
100
|
+
readonly StagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: "authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage";
|
100
101
|
readonly StagesSourceSourcestage: "authentik_stages_source.sourcestage";
|
101
102
|
readonly EventsEvent: "authentik_events.event";
|
102
103
|
readonly EventsNotificationtransport: "authentik_events.notificationtransport";
|
package/dist/models/ModelEnum.js
CHANGED
@@ -102,6 +102,7 @@ exports.ModelEnum = {
|
|
102
102
|
ProvidersRacRacprovider: 'authentik_providers_rac.racprovider',
|
103
103
|
ProvidersRacEndpoint: 'authentik_providers_rac.endpoint',
|
104
104
|
ProvidersRacRacpropertymapping: 'authentik_providers_rac.racpropertymapping',
|
105
|
+
StagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: 'authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage',
|
105
106
|
StagesSourceSourcestage: 'authentik_stages_source.sourcestage',
|
106
107
|
EventsEvent: 'authentik_events.event',
|
107
108
|
EventsNotificationtransport: 'authentik_events.notificationtransport',
|
@@ -0,0 +1,39 @@
|
|
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 { AuthenticatorEndpointGDTCStage } from './AuthenticatorEndpointGDTCStage';
|
13
|
+
import type { Pagination } from './Pagination';
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @export
|
17
|
+
* @interface PaginatedAuthenticatorEndpointGDTCStageList
|
18
|
+
*/
|
19
|
+
export interface PaginatedAuthenticatorEndpointGDTCStageList {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {Pagination}
|
23
|
+
* @memberof PaginatedAuthenticatorEndpointGDTCStageList
|
24
|
+
*/
|
25
|
+
pagination: Pagination;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {Array<AuthenticatorEndpointGDTCStage>}
|
29
|
+
* @memberof PaginatedAuthenticatorEndpointGDTCStageList
|
30
|
+
*/
|
31
|
+
results: Array<AuthenticatorEndpointGDTCStage>;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Check if a given object implements the PaginatedAuthenticatorEndpointGDTCStageList interface.
|
35
|
+
*/
|
36
|
+
export declare function instanceOfPaginatedAuthenticatorEndpointGDTCStageList(value: object): boolean;
|
37
|
+
export declare function PaginatedAuthenticatorEndpointGDTCStageListFromJSON(json: any): PaginatedAuthenticatorEndpointGDTCStageList;
|
38
|
+
export declare function PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedAuthenticatorEndpointGDTCStageList;
|
39
|
+
export declare function PaginatedAuthenticatorEndpointGDTCStageListToJSON(value?: PaginatedAuthenticatorEndpointGDTCStageList | null): any;
|
@@ -0,0 +1,55 @@
|
|
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.PaginatedAuthenticatorEndpointGDTCStageListToJSON = exports.PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped = exports.PaginatedAuthenticatorEndpointGDTCStageListFromJSON = exports.instanceOfPaginatedAuthenticatorEndpointGDTCStageList = void 0;
|
17
|
+
const AuthenticatorEndpointGDTCStage_1 = require("./AuthenticatorEndpointGDTCStage");
|
18
|
+
const Pagination_1 = require("./Pagination");
|
19
|
+
/**
|
20
|
+
* Check if a given object implements the PaginatedAuthenticatorEndpointGDTCStageList interface.
|
21
|
+
*/
|
22
|
+
function instanceOfPaginatedAuthenticatorEndpointGDTCStageList(value) {
|
23
|
+
let isInstance = true;
|
24
|
+
isInstance = isInstance && "pagination" in value;
|
25
|
+
isInstance = isInstance && "results" in value;
|
26
|
+
return isInstance;
|
27
|
+
}
|
28
|
+
exports.instanceOfPaginatedAuthenticatorEndpointGDTCStageList = instanceOfPaginatedAuthenticatorEndpointGDTCStageList;
|
29
|
+
function PaginatedAuthenticatorEndpointGDTCStageListFromJSON(json) {
|
30
|
+
return PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped(json, false);
|
31
|
+
}
|
32
|
+
exports.PaginatedAuthenticatorEndpointGDTCStageListFromJSON = PaginatedAuthenticatorEndpointGDTCStageListFromJSON;
|
33
|
+
function PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped(json, ignoreDiscriminator) {
|
34
|
+
if ((json === undefined) || (json === null)) {
|
35
|
+
return json;
|
36
|
+
}
|
37
|
+
return {
|
38
|
+
'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
|
39
|
+
'results': (json['results'].map(AuthenticatorEndpointGDTCStage_1.AuthenticatorEndpointGDTCStageFromJSON)),
|
40
|
+
};
|
41
|
+
}
|
42
|
+
exports.PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped = PaginatedAuthenticatorEndpointGDTCStageListFromJSONTyped;
|
43
|
+
function PaginatedAuthenticatorEndpointGDTCStageListToJSON(value) {
|
44
|
+
if (value === undefined) {
|
45
|
+
return undefined;
|
46
|
+
}
|
47
|
+
if (value === null) {
|
48
|
+
return null;
|
49
|
+
}
|
50
|
+
return {
|
51
|
+
'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
|
52
|
+
'results': (value.results.map(AuthenticatorEndpointGDTCStage_1.AuthenticatorEndpointGDTCStageToJSON)),
|
53
|
+
};
|
54
|
+
}
|
55
|
+
exports.PaginatedAuthenticatorEndpointGDTCStageListToJSON = PaginatedAuthenticatorEndpointGDTCStageListToJSON;
|
@@ -0,0 +1,39 @@
|
|
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 { EndpointDevice } from './EndpointDevice';
|
13
|
+
import type { Pagination } from './Pagination';
|
14
|
+
/**
|
15
|
+
*
|
16
|
+
* @export
|
17
|
+
* @interface PaginatedEndpointDeviceList
|
18
|
+
*/
|
19
|
+
export interface PaginatedEndpointDeviceList {
|
20
|
+
/**
|
21
|
+
*
|
22
|
+
* @type {Pagination}
|
23
|
+
* @memberof PaginatedEndpointDeviceList
|
24
|
+
*/
|
25
|
+
pagination: Pagination;
|
26
|
+
/**
|
27
|
+
*
|
28
|
+
* @type {Array<EndpointDevice>}
|
29
|
+
* @memberof PaginatedEndpointDeviceList
|
30
|
+
*/
|
31
|
+
results: Array<EndpointDevice>;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Check if a given object implements the PaginatedEndpointDeviceList interface.
|
35
|
+
*/
|
36
|
+
export declare function instanceOfPaginatedEndpointDeviceList(value: object): boolean;
|
37
|
+
export declare function PaginatedEndpointDeviceListFromJSON(json: any): PaginatedEndpointDeviceList;
|
38
|
+
export declare function PaginatedEndpointDeviceListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedEndpointDeviceList;
|
39
|
+
export declare function PaginatedEndpointDeviceListToJSON(value?: PaginatedEndpointDeviceList | null): any;
|
@@ -0,0 +1,55 @@
|
|
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.PaginatedEndpointDeviceListToJSON = exports.PaginatedEndpointDeviceListFromJSONTyped = exports.PaginatedEndpointDeviceListFromJSON = exports.instanceOfPaginatedEndpointDeviceList = void 0;
|
17
|
+
const EndpointDevice_1 = require("./EndpointDevice");
|
18
|
+
const Pagination_1 = require("./Pagination");
|
19
|
+
/**
|
20
|
+
* Check if a given object implements the PaginatedEndpointDeviceList interface.
|
21
|
+
*/
|
22
|
+
function instanceOfPaginatedEndpointDeviceList(value) {
|
23
|
+
let isInstance = true;
|
24
|
+
isInstance = isInstance && "pagination" in value;
|
25
|
+
isInstance = isInstance && "results" in value;
|
26
|
+
return isInstance;
|
27
|
+
}
|
28
|
+
exports.instanceOfPaginatedEndpointDeviceList = instanceOfPaginatedEndpointDeviceList;
|
29
|
+
function PaginatedEndpointDeviceListFromJSON(json) {
|
30
|
+
return PaginatedEndpointDeviceListFromJSONTyped(json, false);
|
31
|
+
}
|
32
|
+
exports.PaginatedEndpointDeviceListFromJSON = PaginatedEndpointDeviceListFromJSON;
|
33
|
+
function PaginatedEndpointDeviceListFromJSONTyped(json, ignoreDiscriminator) {
|
34
|
+
if ((json === undefined) || (json === null)) {
|
35
|
+
return json;
|
36
|
+
}
|
37
|
+
return {
|
38
|
+
'pagination': (0, Pagination_1.PaginationFromJSON)(json['pagination']),
|
39
|
+
'results': (json['results'].map(EndpointDevice_1.EndpointDeviceFromJSON)),
|
40
|
+
};
|
41
|
+
}
|
42
|
+
exports.PaginatedEndpointDeviceListFromJSONTyped = PaginatedEndpointDeviceListFromJSONTyped;
|
43
|
+
function PaginatedEndpointDeviceListToJSON(value) {
|
44
|
+
if (value === undefined) {
|
45
|
+
return undefined;
|
46
|
+
}
|
47
|
+
if (value === null) {
|
48
|
+
return null;
|
49
|
+
}
|
50
|
+
return {
|
51
|
+
'pagination': (0, Pagination_1.PaginationToJSON)(value.pagination),
|
52
|
+
'results': (value.results.map(EndpointDevice_1.EndpointDeviceToJSON)),
|
53
|
+
};
|
54
|
+
}
|
55
|
+
exports.PaginatedEndpointDeviceListToJSON = PaginatedEndpointDeviceListToJSON;
|
@@ -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 PatchedAuthenticatorEndpointGDTCStageRequest
|
17
|
+
*/
|
18
|
+
export interface PatchedAuthenticatorEndpointGDTCStageRequest {
|
19
|
+
/**
|
20
|
+
*
|
21
|
+
* @type {string}
|
22
|
+
* @memberof PatchedAuthenticatorEndpointGDTCStageRequest
|
23
|
+
*/
|
24
|
+
name?: string;
|
25
|
+
/**
|
26
|
+
*
|
27
|
+
* @type {Array<FlowSetRequest>}
|
28
|
+
* @memberof PatchedAuthenticatorEndpointGDTCStageRequest
|
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 PatchedAuthenticatorEndpointGDTCStageRequest
|
35
|
+
*/
|
36
|
+
configureFlow?: string | null;
|
37
|
+
/**
|
38
|
+
*
|
39
|
+
* @type {string}
|
40
|
+
* @memberof PatchedAuthenticatorEndpointGDTCStageRequest
|
41
|
+
*/
|
42
|
+
friendlyName?: string | null;
|
43
|
+
/**
|
44
|
+
*
|
45
|
+
* @type {any}
|
46
|
+
* @memberof PatchedAuthenticatorEndpointGDTCStageRequest
|
47
|
+
*/
|
48
|
+
credentials?: any | null;
|
49
|
+
}
|
50
|
+
/**
|
51
|
+
* Check if a given object implements the PatchedAuthenticatorEndpointGDTCStageRequest interface.
|
52
|
+
*/
|
53
|
+
export declare function instanceOfPatchedAuthenticatorEndpointGDTCStageRequest(value: object): boolean;
|
54
|
+
export declare function PatchedAuthenticatorEndpointGDTCStageRequestFromJSON(json: any): PatchedAuthenticatorEndpointGDTCStageRequest;
|
55
|
+
export declare function PatchedAuthenticatorEndpointGDTCStageRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedAuthenticatorEndpointGDTCStageRequest;
|
56
|
+
export declare function PatchedAuthenticatorEndpointGDTCStageRequestToJSON(value?: PatchedAuthenticatorEndpointGDTCStageRequest | null): any;
|