@goauthentik/api 2024.12.3-1738190128 → 2024.12.3-1739200400
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 +9 -0
- package/dist/apis/ProvidersApi.d.ts +85 -1
- package/dist/apis/ProvidersApi.js +268 -0
- package/dist/apis/RbacApi.d.ts +2 -0
- package/dist/apis/RbacApi.js +2 -0
- package/dist/apis/SsfApi.d.ts +55 -0
- package/dist/apis/SsfApi.js +129 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ProvidersApi.d.ts +85 -1
- package/dist/esm/apis/ProvidersApi.js +269 -1
- package/dist/esm/apis/RbacApi.d.ts +2 -0
- package/dist/esm/apis/RbacApi.js +2 -0
- package/dist/esm/apis/SsfApi.d.ts +55 -0
- package/dist/esm/apis/SsfApi.js +125 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AppEnum.d.ts +1 -0
- package/dist/esm/models/AppEnum.js +1 -0
- package/dist/esm/models/DeliveryMethodEnum.d.ts +26 -0
- package/dist/esm/models/DeliveryMethodEnum.js +44 -0
- package/dist/esm/models/EventsRequestedEnum.d.ts +27 -0
- package/dist/esm/models/EventsRequestedEnum.js +45 -0
- package/dist/esm/models/ModelEnum.d.ts +1 -0
- package/dist/esm/models/ModelEnum.js +1 -0
- package/dist/esm/models/ModelRequest.d.ts +4 -1
- package/dist/esm/models/ModelRequest.js +5 -0
- package/dist/esm/models/PaginatedSSFProviderList.d.ts +40 -0
- package/dist/esm/models/PaginatedSSFProviderList.js +49 -0
- package/dist/esm/models/PaginatedSSFStreamList.d.ts +40 -0
- package/dist/esm/models/PaginatedSSFStreamList.js +49 -0
- package/dist/esm/models/PatchedSSFProviderRequest.d.ts +50 -0
- package/dist/esm/models/PatchedSSFProviderRequest.js +47 -0
- package/dist/esm/models/ProviderModelEnum.d.ts +1 -0
- package/dist/esm/models/ProviderModelEnum.js +1 -0
- package/dist/esm/models/SSFProvider.d.ts +93 -0
- package/dist/esm/models/SSFProvider.js +73 -0
- package/dist/esm/models/SSFProviderRequest.d.ts +50 -0
- package/dist/esm/models/SSFProviderRequest.js +51 -0
- package/dist/esm/models/SSFStream.d.ts +83 -0
- package/dist/esm/models/SSFStream.js +70 -0
- package/dist/esm/models/User.d.ts +7 -1
- package/dist/esm/models/User.js +3 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/models/AppEnum.d.ts +1 -0
- package/dist/models/AppEnum.js +1 -0
- package/dist/models/DeliveryMethodEnum.d.ts +26 -0
- package/dist/models/DeliveryMethodEnum.js +52 -0
- package/dist/models/EventsRequestedEnum.d.ts +27 -0
- package/dist/models/EventsRequestedEnum.js +53 -0
- package/dist/models/ModelEnum.d.ts +1 -0
- package/dist/models/ModelEnum.js +1 -0
- package/dist/models/ModelRequest.d.ts +4 -1
- package/dist/models/ModelRequest.js +5 -0
- package/dist/models/PaginatedSSFProviderList.d.ts +40 -0
- package/dist/models/PaginatedSSFProviderList.js +56 -0
- package/dist/models/PaginatedSSFStreamList.d.ts +40 -0
- package/dist/models/PaginatedSSFStreamList.js +56 -0
- package/dist/models/PatchedSSFProviderRequest.d.ts +50 -0
- package/dist/models/PatchedSSFProviderRequest.js +54 -0
- package/dist/models/ProviderModelEnum.d.ts +1 -0
- package/dist/models/ProviderModelEnum.js +1 -0
- package/dist/models/SSFProvider.d.ts +93 -0
- package/dist/models/SSFProvider.js +80 -0
- package/dist/models/SSFProviderRequest.d.ts +50 -0
- package/dist/models/SSFProviderRequest.js +58 -0
- package/dist/models/SSFStream.d.ts +83 -0
- package/dist/models/SSFStream.js +77 -0
- package/dist/models/User.d.ts +7 -1
- package/dist/models/User.js +3 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
- package/src/apis/ProvidersApi.ts +366 -0
- package/src/apis/RbacApi.ts +2 -0
- package/src/apis/SsfApi.ts +166 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AppEnum.ts +1 -0
- package/src/models/DeliveryMethodEnum.ts +54 -0
- package/src/models/EventsRequestedEnum.ts +55 -0
- package/src/models/ModelEnum.ts +1 -0
- package/src/models/ModelRequest.ts +12 -1
- package/src/models/PaginatedSSFProviderList.ts +90 -0
- package/src/models/PaginatedSSFStreamList.ts +90 -0
- package/src/models/PatchedSSFProviderRequest.ts +89 -0
- package/src/models/ProviderModelEnum.ts +1 -0
- package/src/models/SSFProvider.ts +155 -0
- package/src/models/SSFProviderRequest.ts +91 -0
- package/src/models/SSFStream.ts +157 -0
- package/src/models/User.ts +9 -1
- package/src/models/index.ts +8 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.12.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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const DeliveryMethodEnum: {
|
|
17
|
+
readonly HttpsSchemasOpenidNetSeceventRiscDeliveryMethodPush: "https://schemas.openid.net/secevent/risc/delivery-method/push";
|
|
18
|
+
readonly HttpsSchemasOpenidNetSeceventRiscDeliveryMethodPoll: "https://schemas.openid.net/secevent/risc/delivery-method/poll";
|
|
19
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
20
|
+
};
|
|
21
|
+
export type DeliveryMethodEnum = typeof DeliveryMethodEnum[keyof typeof DeliveryMethodEnum];
|
|
22
|
+
export declare function instanceOfDeliveryMethodEnum(value: any): boolean;
|
|
23
|
+
export declare function DeliveryMethodEnumFromJSON(json: any): DeliveryMethodEnum;
|
|
24
|
+
export declare function DeliveryMethodEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeliveryMethodEnum;
|
|
25
|
+
export declare function DeliveryMethodEnumToJSON(value?: DeliveryMethodEnum | null): any;
|
|
26
|
+
export declare function DeliveryMethodEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): DeliveryMethodEnum;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.12.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
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const DeliveryMethodEnum = {
|
|
19
|
+
HttpsSchemasOpenidNetSeceventRiscDeliveryMethodPush: 'https://schemas.openid.net/secevent/risc/delivery-method/push',
|
|
20
|
+
HttpsSchemasOpenidNetSeceventRiscDeliveryMethodPoll: 'https://schemas.openid.net/secevent/risc/delivery-method/poll',
|
|
21
|
+
UnknownDefaultOpenApi: '11184809'
|
|
22
|
+
};
|
|
23
|
+
export function instanceOfDeliveryMethodEnum(value) {
|
|
24
|
+
for (const key in DeliveryMethodEnum) {
|
|
25
|
+
if (Object.prototype.hasOwnProperty.call(DeliveryMethodEnum, key)) {
|
|
26
|
+
if (DeliveryMethodEnum[key] === value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
export function DeliveryMethodEnumFromJSON(json) {
|
|
34
|
+
return DeliveryMethodEnumFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function DeliveryMethodEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
export function DeliveryMethodEnumToJSON(value) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
export function DeliveryMethodEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.12.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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const EventsRequestedEnum: {
|
|
17
|
+
readonly HttpsSchemasOpenidNetSeceventCaepEventTypeSessionRevoked: "https://schemas.openid.net/secevent/caep/event-type/session-revoked";
|
|
18
|
+
readonly HttpsSchemasOpenidNetSeceventCaepEventTypeCredentialChange: "https://schemas.openid.net/secevent/caep/event-type/credential-change";
|
|
19
|
+
readonly HttpsSchemasOpenidNetSeceventSsfEventTypeVerification: "https://schemas.openid.net/secevent/ssf/event-type/verification";
|
|
20
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
21
|
+
};
|
|
22
|
+
export type EventsRequestedEnum = typeof EventsRequestedEnum[keyof typeof EventsRequestedEnum];
|
|
23
|
+
export declare function instanceOfEventsRequestedEnum(value: any): boolean;
|
|
24
|
+
export declare function EventsRequestedEnumFromJSON(json: any): EventsRequestedEnum;
|
|
25
|
+
export declare function EventsRequestedEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): EventsRequestedEnum;
|
|
26
|
+
export declare function EventsRequestedEnumToJSON(value?: EventsRequestedEnum | null): any;
|
|
27
|
+
export declare function EventsRequestedEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): EventsRequestedEnum;
|
|
@@ -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.12.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
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const EventsRequestedEnum = {
|
|
19
|
+
HttpsSchemasOpenidNetSeceventCaepEventTypeSessionRevoked: 'https://schemas.openid.net/secevent/caep/event-type/session-revoked',
|
|
20
|
+
HttpsSchemasOpenidNetSeceventCaepEventTypeCredentialChange: 'https://schemas.openid.net/secevent/caep/event-type/credential-change',
|
|
21
|
+
HttpsSchemasOpenidNetSeceventSsfEventTypeVerification: 'https://schemas.openid.net/secevent/ssf/event-type/verification',
|
|
22
|
+
UnknownDefaultOpenApi: '11184809'
|
|
23
|
+
};
|
|
24
|
+
export function instanceOfEventsRequestedEnum(value) {
|
|
25
|
+
for (const key in EventsRequestedEnum) {
|
|
26
|
+
if (Object.prototype.hasOwnProperty.call(EventsRequestedEnum, key)) {
|
|
27
|
+
if (EventsRequestedEnum[key] === value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
export function EventsRequestedEnumFromJSON(json) {
|
|
35
|
+
return EventsRequestedEnumFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function EventsRequestedEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
export function EventsRequestedEnumToJSON(value) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
export function EventsRequestedEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
@@ -103,6 +103,7 @@ export declare const ModelEnum: {
|
|
|
103
103
|
readonly AuthentikProvidersRacRacprovider: "authentik_providers_rac.racprovider";
|
|
104
104
|
readonly AuthentikProvidersRacEndpoint: "authentik_providers_rac.endpoint";
|
|
105
105
|
readonly AuthentikProvidersRacRacpropertymapping: "authentik_providers_rac.racpropertymapping";
|
|
106
|
+
readonly AuthentikProvidersSsfSsfprovider: "authentik_providers_ssf.ssfprovider";
|
|
106
107
|
readonly AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: "authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage";
|
|
107
108
|
readonly AuthentikStagesSourceSourcestage: "authentik_stages_source.sourcestage";
|
|
108
109
|
readonly AuthentikEventsEvent: "authentik_events.event";
|
|
@@ -105,6 +105,7 @@ export const ModelEnum = {
|
|
|
105
105
|
AuthentikProvidersRacRacprovider: 'authentik_providers_rac.racprovider',
|
|
106
106
|
AuthentikProvidersRacEndpoint: 'authentik_providers_rac.endpoint',
|
|
107
107
|
AuthentikProvidersRacRacpropertymapping: 'authentik_providers_rac.racpropertymapping',
|
|
108
|
+
AuthentikProvidersSsfSsfprovider: 'authentik_providers_ssf.ssfprovider',
|
|
108
109
|
AuthentikStagesAuthenticatorEndpointGdtcAuthenticatorendpointgdtcstage: 'authentik_stages_authenticator_endpoint_gdtc.authenticatorendpointgdtcstage',
|
|
109
110
|
AuthentikStagesSourceSourcestage: 'authentik_stages_source.sourcestage',
|
|
110
111
|
AuthentikEventsEvent: 'authentik_events.event',
|
|
@@ -18,6 +18,7 @@ import type { RACProviderRequest } from './RACProviderRequest';
|
|
|
18
18
|
import type { RadiusProviderRequest } from './RadiusProviderRequest';
|
|
19
19
|
import type { SAMLProviderRequest } from './SAMLProviderRequest';
|
|
20
20
|
import type { SCIMProviderRequest } from './SCIMProviderRequest';
|
|
21
|
+
import type { SSFProviderRequest } from './SSFProviderRequest';
|
|
21
22
|
/**
|
|
22
23
|
* @type ModelRequest
|
|
23
24
|
*
|
|
@@ -41,7 +42,9 @@ export type ModelRequest = {
|
|
|
41
42
|
providerModel: 'authentik_providers_saml.samlprovider';
|
|
42
43
|
} & SAMLProviderRequest | {
|
|
43
44
|
providerModel: 'authentik_providers_scim.scimprovider';
|
|
44
|
-
} & SCIMProviderRequest
|
|
45
|
+
} & SCIMProviderRequest | {
|
|
46
|
+
providerModel: 'authentik_providers_ssf.ssfprovider';
|
|
47
|
+
} & SSFProviderRequest;
|
|
45
48
|
export declare function ModelRequestFromJSON(json: any): ModelRequest;
|
|
46
49
|
export declare function ModelRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelRequest;
|
|
47
50
|
export declare function ModelRequestToJSON(json: any): any;
|
|
@@ -20,6 +20,7 @@ import { RACProviderRequestFromJSONTyped, RACProviderRequestToJSON, } from './RA
|
|
|
20
20
|
import { RadiusProviderRequestFromJSONTyped, RadiusProviderRequestToJSON, } from './RadiusProviderRequest';
|
|
21
21
|
import { SAMLProviderRequestFromJSONTyped, SAMLProviderRequestToJSON, } from './SAMLProviderRequest';
|
|
22
22
|
import { SCIMProviderRequestFromJSONTyped, SCIMProviderRequestToJSON, } from './SCIMProviderRequest';
|
|
23
|
+
import { SSFProviderRequestFromJSONTyped, SSFProviderRequestToJSON, } from './SSFProviderRequest';
|
|
23
24
|
export function ModelRequestFromJSON(json) {
|
|
24
25
|
return ModelRequestFromJSONTyped(json, false);
|
|
25
26
|
}
|
|
@@ -46,6 +47,8 @@ export function ModelRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
47
|
return Object.assign({}, SAMLProviderRequestFromJSONTyped(json, true), { providerModel: 'authentik_providers_saml.samlprovider' });
|
|
47
48
|
case 'authentik_providers_scim.scimprovider':
|
|
48
49
|
return Object.assign({}, SCIMProviderRequestFromJSONTyped(json, true), { providerModel: 'authentik_providers_scim.scimprovider' });
|
|
50
|
+
case 'authentik_providers_ssf.ssfprovider':
|
|
51
|
+
return Object.assign({}, SSFProviderRequestFromJSONTyped(json, true), { providerModel: 'authentik_providers_ssf.ssfprovider' });
|
|
49
52
|
default:
|
|
50
53
|
throw new Error(`No variant of ModelRequest exists with 'providerModel=${json['providerModel']}'`);
|
|
51
54
|
}
|
|
@@ -76,6 +79,8 @@ export function ModelRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
76
79
|
return Object.assign({}, SAMLProviderRequestToJSON(value), { providerModel: 'authentik_providers_saml.samlprovider' });
|
|
77
80
|
case 'authentik_providers_scim.scimprovider':
|
|
78
81
|
return Object.assign({}, SCIMProviderRequestToJSON(value), { providerModel: 'authentik_providers_scim.scimprovider' });
|
|
82
|
+
case 'authentik_providers_ssf.ssfprovider':
|
|
83
|
+
return Object.assign({}, SSFProviderRequestToJSON(value), { providerModel: 'authentik_providers_ssf.ssfprovider' });
|
|
79
84
|
default:
|
|
80
85
|
throw new Error(`No variant of ModelRequest exists with 'providerModel=${value['providerModel']}'`);
|
|
81
86
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.12.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 { Pagination } from './Pagination';
|
|
13
|
+
import type { SSFProvider } from './SSFProvider';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedSSFProviderList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedSSFProviderList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedSSFProviderList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<SSFProvider>}
|
|
29
|
+
* @memberof PaginatedSSFProviderList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<SSFProvider>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedSSFProviderList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedSSFProviderList(value: object): value is PaginatedSSFProviderList;
|
|
37
|
+
export declare function PaginatedSSFProviderListFromJSON(json: any): PaginatedSSFProviderList;
|
|
38
|
+
export declare function PaginatedSSFProviderListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSSFProviderList;
|
|
39
|
+
export declare function PaginatedSSFProviderListToJSON(json: any): PaginatedSSFProviderList;
|
|
40
|
+
export declare function PaginatedSSFProviderListToJSONTyped(value?: PaginatedSSFProviderList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.12.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 { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
|
15
|
+
import { SSFProviderFromJSON, SSFProviderToJSON, } from './SSFProvider';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PaginatedSSFProviderList interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPaginatedSSFProviderList(value) {
|
|
20
|
+
if (!('pagination' in value) || value['pagination'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('results' in value) || value['results'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function PaginatedSSFProviderListFromJSON(json) {
|
|
27
|
+
return PaginatedSSFProviderListFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function PaginatedSSFProviderListFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
35
|
+
'results': (json['results'].map(SSFProviderFromJSON)),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function PaginatedSSFProviderListToJSON(json) {
|
|
39
|
+
return PaginatedSSFProviderListToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function PaginatedSSFProviderListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'pagination': PaginationToJSON(value['pagination']),
|
|
47
|
+
'results': (value['results'].map(SSFProviderToJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.12.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 { Pagination } from './Pagination';
|
|
13
|
+
import type { SSFStream } from './SSFStream';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedSSFStreamList
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedSSFStreamList {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Pagination}
|
|
23
|
+
* @memberof PaginatedSSFStreamList
|
|
24
|
+
*/
|
|
25
|
+
pagination: Pagination;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<SSFStream>}
|
|
29
|
+
* @memberof PaginatedSSFStreamList
|
|
30
|
+
*/
|
|
31
|
+
results: Array<SSFStream>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PaginatedSSFStreamList interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPaginatedSSFStreamList(value: object): value is PaginatedSSFStreamList;
|
|
37
|
+
export declare function PaginatedSSFStreamListFromJSON(json: any): PaginatedSSFStreamList;
|
|
38
|
+
export declare function PaginatedSSFStreamListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSSFStreamList;
|
|
39
|
+
export declare function PaginatedSSFStreamListToJSON(json: any): PaginatedSSFStreamList;
|
|
40
|
+
export declare function PaginatedSSFStreamListToJSONTyped(value?: PaginatedSSFStreamList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.12.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 { PaginationFromJSON, PaginationToJSON, } from './Pagination';
|
|
15
|
+
import { SSFStreamFromJSON, SSFStreamToJSON, } from './SSFStream';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PaginatedSSFStreamList interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPaginatedSSFStreamList(value) {
|
|
20
|
+
if (!('pagination' in value) || value['pagination'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('results' in value) || value['results'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function PaginatedSSFStreamListFromJSON(json) {
|
|
27
|
+
return PaginatedSSFStreamListFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function PaginatedSSFStreamListFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
35
|
+
'results': (json['results'].map(SSFStreamFromJSON)),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function PaginatedSSFStreamListToJSON(json) {
|
|
39
|
+
return PaginatedSSFStreamListToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function PaginatedSSFStreamListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'pagination': PaginationToJSON(value['pagination']),
|
|
47
|
+
'results': (value['results'].map(SSFStreamToJSON)),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.12.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
|
+
* SSFProvider Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchedSSFProviderRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchedSSFProviderRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchedSSFProviderRequest
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Key used to sign the SSF Events.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchedSSFProviderRequest
|
|
28
|
+
*/
|
|
29
|
+
signingKey?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<number>}
|
|
33
|
+
* @memberof PatchedSSFProviderRequest
|
|
34
|
+
*/
|
|
35
|
+
oidcAuthProviders?: Array<number>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PatchedSSFProviderRequest
|
|
40
|
+
*/
|
|
41
|
+
eventRetention?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the PatchedSSFProviderRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfPatchedSSFProviderRequest(value: object): value is PatchedSSFProviderRequest;
|
|
47
|
+
export declare function PatchedSSFProviderRequestFromJSON(json: any): PatchedSSFProviderRequest;
|
|
48
|
+
export declare function PatchedSSFProviderRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSSFProviderRequest;
|
|
49
|
+
export declare function PatchedSSFProviderRequestToJSON(json: any): PatchedSSFProviderRequest;
|
|
50
|
+
export declare function PatchedSSFProviderRequestToJSONTyped(value?: PatchedSSFProviderRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2024.12.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 PatchedSSFProviderRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPatchedSSFProviderRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PatchedSSFProviderRequestFromJSON(json) {
|
|
21
|
+
return PatchedSSFProviderRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PatchedSSFProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
29
|
+
'signingKey': json['signing_key'] == null ? undefined : json['signing_key'],
|
|
30
|
+
'oidcAuthProviders': json['oidc_auth_providers'] == null ? undefined : json['oidc_auth_providers'],
|
|
31
|
+
'eventRetention': json['event_retention'] == null ? undefined : json['event_retention'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function PatchedSSFProviderRequestToJSON(json) {
|
|
35
|
+
return PatchedSSFProviderRequestToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function PatchedSSFProviderRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'name': value['name'],
|
|
43
|
+
'signing_key': value['signingKey'],
|
|
44
|
+
'oidc_auth_providers': value['oidcAuthProviders'],
|
|
45
|
+
'event_retention': value['eventRetention'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -23,6 +23,7 @@ export declare const ProviderModelEnum: {
|
|
|
23
23
|
readonly AuthentikProvidersRadiusRadiusprovider: "authentik_providers_radius.radiusprovider";
|
|
24
24
|
readonly AuthentikProvidersSamlSamlprovider: "authentik_providers_saml.samlprovider";
|
|
25
25
|
readonly AuthentikProvidersScimScimprovider: "authentik_providers_scim.scimprovider";
|
|
26
|
+
readonly AuthentikProvidersSsfSsfprovider: "authentik_providers_ssf.ssfprovider";
|
|
26
27
|
readonly UnknownDefaultOpenApi: "11184809";
|
|
27
28
|
};
|
|
28
29
|
export type ProviderModelEnum = typeof ProviderModelEnum[keyof typeof ProviderModelEnum];
|
|
@@ -25,6 +25,7 @@ export const ProviderModelEnum = {
|
|
|
25
25
|
AuthentikProvidersRadiusRadiusprovider: 'authentik_providers_radius.radiusprovider',
|
|
26
26
|
AuthentikProvidersSamlSamlprovider: 'authentik_providers_saml.samlprovider',
|
|
27
27
|
AuthentikProvidersScimScimprovider: 'authentik_providers_scim.scimprovider',
|
|
28
|
+
AuthentikProvidersSsfSsfprovider: 'authentik_providers_ssf.ssfprovider',
|
|
28
29
|
UnknownDefaultOpenApi: '11184809'
|
|
29
30
|
};
|
|
30
31
|
export function instanceOfProviderModelEnum(value) {
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2024.12.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 { Token } from './Token';
|
|
13
|
+
/**
|
|
14
|
+
* SSFProvider Serializer
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SSFProvider
|
|
17
|
+
*/
|
|
18
|
+
export interface SSFProvider {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof SSFProvider
|
|
23
|
+
*/
|
|
24
|
+
readonly pk: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SSFProvider
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
* Get object component so that we know how to edit the object
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SSFProvider
|
|
35
|
+
*/
|
|
36
|
+
readonly component: string;
|
|
37
|
+
/**
|
|
38
|
+
* Return object's verbose_name
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SSFProvider
|
|
41
|
+
*/
|
|
42
|
+
readonly verboseName: string;
|
|
43
|
+
/**
|
|
44
|
+
* Return object's plural verbose_name
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SSFProvider
|
|
47
|
+
*/
|
|
48
|
+
readonly verboseNamePlural: string;
|
|
49
|
+
/**
|
|
50
|
+
* Return internal model name
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SSFProvider
|
|
53
|
+
*/
|
|
54
|
+
readonly metaModelName: string;
|
|
55
|
+
/**
|
|
56
|
+
* Key used to sign the SSF Events.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof SSFProvider
|
|
59
|
+
*/
|
|
60
|
+
signingKey: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Token}
|
|
64
|
+
* @memberof SSFProvider
|
|
65
|
+
*/
|
|
66
|
+
readonly tokenObj: Token;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Array<number>}
|
|
70
|
+
* @memberof SSFProvider
|
|
71
|
+
*/
|
|
72
|
+
oidcAuthProviders?: Array<number>;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof SSFProvider
|
|
77
|
+
*/
|
|
78
|
+
readonly ssfUrl: string | null;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof SSFProvider
|
|
83
|
+
*/
|
|
84
|
+
eventRetention?: string;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Check if a given object implements the SSFProvider interface.
|
|
88
|
+
*/
|
|
89
|
+
export declare function instanceOfSSFProvider(value: object): value is SSFProvider;
|
|
90
|
+
export declare function SSFProviderFromJSON(json: any): SSFProvider;
|
|
91
|
+
export declare function SSFProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): SSFProvider;
|
|
92
|
+
export declare function SSFProviderToJSON(json: any): SSFProvider;
|
|
93
|
+
export declare function SSFProviderToJSONTyped(value?: Omit<SSFProvider, 'pk' | 'component' | 'verbose_name' | 'verbose_name_plural' | 'meta_model_name' | 'token_obj' | 'ssf_url'> | null, ignoreDiscriminator?: boolean): any;
|