@goauthentik/api 2023.10.6-1705263684 → 2023.10.6-1706092584
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 +16 -1
- package/dist/apis/AdminApi.d.ts +31 -1
- package/dist/apis/AdminApi.js +88 -0
- package/dist/apis/CoreApi.d.ts +104 -105
- package/dist/apis/CoreApi.js +228 -231
- package/dist/apis/EventsApi.d.ts +2 -2
- package/dist/apis/EventsApi.js +6 -6
- package/dist/apis/RbacApi.d.ts +4 -2
- package/dist/apis/RbacApi.js +4 -2
- package/dist/apis/TenantsApi.d.ts +184 -0
- package/dist/apis/TenantsApi.js +468 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AdminApi.d.ts +31 -1
- package/dist/esm/apis/AdminApi.js +89 -1
- package/dist/esm/apis/CoreApi.d.ts +104 -105
- package/dist/esm/apis/CoreApi.js +229 -232
- package/dist/esm/apis/EventsApi.d.ts +2 -2
- package/dist/esm/apis/EventsApi.js +6 -6
- package/dist/esm/apis/RbacApi.d.ts +4 -2
- package/dist/esm/apis/RbacApi.js +4 -2
- package/dist/esm/apis/TenantsApi.d.ts +184 -0
- package/dist/esm/apis/TenantsApi.js +464 -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 +6 -2
- package/dist/esm/models/AppEnum.js +6 -2
- package/dist/esm/models/Brand.d.ts +109 -0
- package/dist/esm/models/Brand.js +70 -0
- package/dist/esm/models/BrandRequest.d.ts +103 -0
- package/dist/esm/models/BrandRequest.js +68 -0
- package/dist/esm/models/{CurrentTenant.d.ts → CurrentBrand.d.ts} +21 -21
- package/dist/esm/models/{CurrentTenant.js → CurrentBrand.js} +6 -6
- package/dist/esm/models/Domain.d.ts +49 -0
- package/dist/esm/models/Domain.js +51 -0
- package/dist/esm/models/DomainRequest.d.ts +43 -0
- package/dist/esm/models/DomainRequest.js +49 -0
- package/dist/esm/models/Event.d.ts +1 -1
- package/dist/esm/models/Event.js +2 -2
- package/dist/esm/models/EventRequest.d.ts +1 -1
- package/dist/esm/models/EventRequest.js +2 -2
- package/dist/esm/models/ModelEnum.d.ts +4 -2
- package/dist/esm/models/ModelEnum.js +4 -2
- package/dist/esm/models/PaginatedBrandList.d.ts +39 -0
- package/dist/esm/models/PaginatedBrandList.js +48 -0
- package/dist/esm/models/PaginatedDomainList.d.ts +39 -0
- package/dist/esm/models/PaginatedDomainList.js +48 -0
- package/dist/esm/models/PatchedBrandRequest.d.ts +103 -0
- package/dist/esm/models/PatchedBrandRequest.js +67 -0
- package/dist/esm/models/PatchedDomainRequest.d.ts +43 -0
- package/dist/esm/models/PatchedDomainRequest.js +47 -0
- package/dist/esm/models/PatchedEventRequest.d.ts +1 -1
- package/dist/esm/models/PatchedEventRequest.js +2 -2
- package/dist/esm/models/PatchedSettingsRequest.d.ts +73 -0
- package/dist/esm/models/PatchedSettingsRequest.js +57 -0
- package/dist/esm/models/PatchedTenantRequest.d.ts +4 -70
- package/dist/esm/models/PatchedTenantRequest.js +6 -28
- package/dist/esm/models/Settings.d.ts +73 -0
- package/dist/esm/models/Settings.js +57 -0
- package/dist/esm/models/SettingsRequest.d.ts +73 -0
- package/dist/esm/models/SettingsRequest.js +57 -0
- package/dist/esm/models/SystemInfo.d.ts +8 -2
- package/dist/esm/models/SystemInfo.js +4 -2
- package/dist/esm/models/Tenant.d.ts +4 -70
- package/dist/esm/models/Tenant.js +8 -29
- package/dist/esm/models/TenantAdminGroupRequestRequest.d.ts +31 -0
- package/dist/esm/models/TenantAdminGroupRequestRequest.js +43 -0
- package/dist/esm/models/TenantRecoveryKeyRequestRequest.d.ts +37 -0
- package/dist/esm/models/TenantRecoveryKeyRequestRequest.js +46 -0
- package/dist/esm/models/TenantRecoveryKeyResponse.d.ts +37 -0
- package/dist/esm/models/TenantRecoveryKeyResponse.js +46 -0
- package/dist/esm/models/TenantRequest.d.ts +4 -70
- package/dist/esm/models/TenantRequest.js +8 -29
- package/dist/esm/models/UserSelf.d.ts +1 -1
- package/dist/esm/models/index.d.ts +15 -1
- package/dist/esm/models/index.js +15 -1
- package/dist/models/AppEnum.d.ts +6 -2
- package/dist/models/AppEnum.js +6 -2
- package/dist/models/Brand.d.ts +109 -0
- package/dist/models/Brand.js +77 -0
- package/dist/models/BrandRequest.d.ts +103 -0
- package/dist/models/BrandRequest.js +75 -0
- package/dist/models/{CurrentTenant.d.ts → CurrentBrand.d.ts} +21 -21
- package/dist/models/{CurrentTenant.js → CurrentBrand.js} +11 -11
- package/dist/models/Domain.d.ts +49 -0
- package/dist/models/Domain.js +58 -0
- package/dist/models/DomainRequest.d.ts +43 -0
- package/dist/models/DomainRequest.js +56 -0
- package/dist/models/Event.d.ts +1 -1
- package/dist/models/Event.js +2 -2
- package/dist/models/EventRequest.d.ts +1 -1
- package/dist/models/EventRequest.js +2 -2
- package/dist/models/ModelEnum.d.ts +4 -2
- package/dist/models/ModelEnum.js +4 -2
- package/dist/models/PaginatedBrandList.d.ts +39 -0
- package/dist/models/PaginatedBrandList.js +55 -0
- package/dist/models/PaginatedDomainList.d.ts +39 -0
- package/dist/models/PaginatedDomainList.js +55 -0
- package/dist/models/PatchedBrandRequest.d.ts +103 -0
- package/dist/models/PatchedBrandRequest.js +74 -0
- package/dist/models/PatchedDomainRequest.d.ts +43 -0
- package/dist/models/PatchedDomainRequest.js +54 -0
- package/dist/models/PatchedEventRequest.d.ts +1 -1
- package/dist/models/PatchedEventRequest.js +2 -2
- package/dist/models/PatchedSettingsRequest.d.ts +73 -0
- package/dist/models/PatchedSettingsRequest.js +64 -0
- package/dist/models/PatchedTenantRequest.d.ts +4 -70
- package/dist/models/PatchedTenantRequest.js +6 -28
- package/dist/models/Settings.d.ts +73 -0
- package/dist/models/Settings.js +64 -0
- package/dist/models/SettingsRequest.d.ts +73 -0
- package/dist/models/SettingsRequest.js +64 -0
- package/dist/models/SystemInfo.d.ts +8 -2
- package/dist/models/SystemInfo.js +4 -2
- package/dist/models/Tenant.d.ts +4 -70
- package/dist/models/Tenant.js +8 -29
- package/dist/models/TenantAdminGroupRequestRequest.d.ts +31 -0
- package/dist/models/TenantAdminGroupRequestRequest.js +50 -0
- package/dist/models/TenantRecoveryKeyRequestRequest.d.ts +37 -0
- package/dist/models/TenantRecoveryKeyRequestRequest.js +53 -0
- package/dist/models/TenantRecoveryKeyResponse.d.ts +37 -0
- package/dist/models/TenantRecoveryKeyResponse.js +53 -0
- package/dist/models/TenantRequest.d.ts +4 -70
- package/dist/models/TenantRequest.js +8 -29
- package/dist/models/UserSelf.d.ts +1 -1
- package/dist/models/index.d.ts +15 -1
- package/dist/models/index.js +15 -1
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +113 -0
- package/src/apis/CoreApi.ts +304 -309
- package/src/apis/EventsApi.ts +10 -10
- package/src/apis/RbacApi.ts +4 -2
- package/src/apis/TenantsApi.ts +615 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AppEnum.ts +6 -2
- package/src/models/Brand.ts +170 -0
- package/src/models/BrandRequest.ts +162 -0
- package/src/models/{CurrentTenant.ts → CurrentBrand.ts} +22 -22
- package/src/models/Domain.ts +91 -0
- package/src/models/DomainRequest.ts +83 -0
- package/src/models/Event.ts +3 -3
- package/src/models/EventRequest.ts +3 -3
- package/src/models/ModelEnum.ts +4 -2
- package/src/models/PaginatedBrandList.ts +88 -0
- package/src/models/PaginatedDomainList.ts +88 -0
- package/src/models/PatchedBrandRequest.ts +161 -0
- package/src/models/PatchedDomainRequest.ts +81 -0
- package/src/models/PatchedEventRequest.ts +3 -3
- package/src/models/PatchedSettingsRequest.ts +121 -0
- package/src/models/PatchedTenantRequest.ts +10 -98
- package/src/models/Settings.ts +121 -0
- package/src/models/SettingsRequest.ts +121 -0
- package/src/models/SystemInfo.ts +12 -4
- package/src/models/Tenant.ts +12 -99
- package/src/models/TenantAdminGroupRequestRequest.ts +66 -0
- package/src/models/TenantRecoveryKeyRequestRequest.ts +75 -0
- package/src/models/TenantRecoveryKeyResponse.ts +75 -0
- package/src/models/TenantRequest.ts +12 -99
- package/src/models/UserSelf.ts +1 -1
- package/src/models/index.ts +15 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.6
|
|
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
|
+
* Tenant recovery key creation request serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface TenantRecoveryKeyRequestRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface TenantRecoveryKeyRequestRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TenantRecoveryKeyRequestRequest
|
|
22
|
+
*/
|
|
23
|
+
user: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof TenantRecoveryKeyRequestRequest
|
|
28
|
+
*/
|
|
29
|
+
durationDays: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the TenantRecoveryKeyRequestRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfTenantRecoveryKeyRequestRequest(value: object): boolean;
|
|
35
|
+
export declare function TenantRecoveryKeyRequestRequestFromJSON(json: any): TenantRecoveryKeyRequestRequest;
|
|
36
|
+
export declare function TenantRecoveryKeyRequestRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenantRecoveryKeyRequestRequest;
|
|
37
|
+
export declare function TenantRecoveryKeyRequestRequestToJSON(value?: TenantRecoveryKeyRequestRequest | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2023.10.6
|
|
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 TenantRecoveryKeyRequestRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfTenantRecoveryKeyRequestRequest(value) {
|
|
18
|
+
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "user" in value;
|
|
20
|
+
isInstance = isInstance && "durationDays" in value;
|
|
21
|
+
return isInstance;
|
|
22
|
+
}
|
|
23
|
+
export function TenantRecoveryKeyRequestRequestFromJSON(json) {
|
|
24
|
+
return TenantRecoveryKeyRequestRequestFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function TenantRecoveryKeyRequestRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'user': json['user'],
|
|
32
|
+
'durationDays': json['duration_days'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function TenantRecoveryKeyRequestRequestToJSON(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'user': value.user,
|
|
44
|
+
'duration_days': value.durationDays,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.6
|
|
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
|
+
* Tenant recovery key creation response serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface TenantRecoveryKeyResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface TenantRecoveryKeyResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Date}
|
|
21
|
+
* @memberof TenantRecoveryKeyResponse
|
|
22
|
+
*/
|
|
23
|
+
expiry: Date;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TenantRecoveryKeyResponse
|
|
28
|
+
*/
|
|
29
|
+
url: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the TenantRecoveryKeyResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfTenantRecoveryKeyResponse(value: object): boolean;
|
|
35
|
+
export declare function TenantRecoveryKeyResponseFromJSON(json: any): TenantRecoveryKeyResponse;
|
|
36
|
+
export declare function TenantRecoveryKeyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TenantRecoveryKeyResponse;
|
|
37
|
+
export declare function TenantRecoveryKeyResponseToJSON(value?: TenantRecoveryKeyResponse | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2023.10.6
|
|
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 TenantRecoveryKeyResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfTenantRecoveryKeyResponse(value) {
|
|
18
|
+
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "expiry" in value;
|
|
20
|
+
isInstance = isInstance && "url" in value;
|
|
21
|
+
return isInstance;
|
|
22
|
+
}
|
|
23
|
+
export function TenantRecoveryKeyResponseFromJSON(json) {
|
|
24
|
+
return TenantRecoveryKeyResponseFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function TenantRecoveryKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'expiry': (new Date(json['expiry'])),
|
|
32
|
+
'url': json['url'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function TenantRecoveryKeyResponseToJSON(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'expiry': (value.expiry.toISOString()),
|
|
44
|
+
'url': value.url,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -15,90 +15,24 @@
|
|
|
15
15
|
* @interface TenantRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface TenantRequest {
|
|
18
|
-
/**
|
|
19
|
-
* Domain that activates this tenant. Can be a superset, i.e. `a.b` for `aa.b` and `ba.b`
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof TenantRequest
|
|
22
|
-
*/
|
|
23
|
-
domain: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof TenantRequest
|
|
28
|
-
*/
|
|
29
|
-
_default?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof TenantRequest
|
|
34
|
-
*/
|
|
35
|
-
brandingTitle?: string;
|
|
36
18
|
/**
|
|
37
19
|
*
|
|
38
20
|
* @type {string}
|
|
39
21
|
* @memberof TenantRequest
|
|
40
22
|
*/
|
|
41
|
-
|
|
23
|
+
schemaName: string;
|
|
42
24
|
/**
|
|
43
25
|
*
|
|
44
26
|
* @type {string}
|
|
45
27
|
* @memberof TenantRequest
|
|
46
28
|
*/
|
|
47
|
-
|
|
29
|
+
name: string;
|
|
48
30
|
/**
|
|
49
31
|
*
|
|
50
|
-
* @type {
|
|
51
|
-
* @memberof TenantRequest
|
|
52
|
-
*/
|
|
53
|
-
flowAuthentication?: string | null;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof TenantRequest
|
|
58
|
-
*/
|
|
59
|
-
flowInvalidation?: string | null;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof TenantRequest
|
|
64
|
-
*/
|
|
65
|
-
flowRecovery?: string | null;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof TenantRequest
|
|
70
|
-
*/
|
|
71
|
-
flowUnenrollment?: string | null;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof TenantRequest
|
|
76
|
-
*/
|
|
77
|
-
flowUserSettings?: string | null;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof TenantRequest
|
|
82
|
-
*/
|
|
83
|
-
flowDeviceCode?: string | null;
|
|
84
|
-
/**
|
|
85
|
-
* Events will be deleted after this duration.(Format: weeks=3;days=2;hours=3,seconds=2).
|
|
86
|
-
* @type {string}
|
|
87
|
-
* @memberof TenantRequest
|
|
88
|
-
*/
|
|
89
|
-
eventRetention?: string;
|
|
90
|
-
/**
|
|
91
|
-
* Web Certificate used by the authentik Core webserver.
|
|
92
|
-
* @type {string}
|
|
93
|
-
* @memberof TenantRequest
|
|
94
|
-
*/
|
|
95
|
-
webCertificate?: string | null;
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {any}
|
|
32
|
+
* @type {boolean}
|
|
99
33
|
* @memberof TenantRequest
|
|
100
34
|
*/
|
|
101
|
-
|
|
35
|
+
ready?: boolean;
|
|
102
36
|
}
|
|
103
37
|
/**
|
|
104
38
|
* Check if a given object implements the TenantRequest interface.
|
|
@@ -17,7 +17,8 @@ import { exists } from '../runtime';
|
|
|
17
17
|
*/
|
|
18
18
|
export function instanceOfTenantRequest(value) {
|
|
19
19
|
let isInstance = true;
|
|
20
|
-
isInstance = isInstance && "
|
|
20
|
+
isInstance = isInstance && "schemaName" in value;
|
|
21
|
+
isInstance = isInstance && "name" in value;
|
|
21
22
|
return isInstance;
|
|
22
23
|
}
|
|
23
24
|
export function TenantRequestFromJSON(json) {
|
|
@@ -28,20 +29,9 @@ export function TenantRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
29
|
return json;
|
|
29
30
|
}
|
|
30
31
|
return {
|
|
31
|
-
'
|
|
32
|
-
'
|
|
33
|
-
'
|
|
34
|
-
'brandingLogo': !exists(json, 'branding_logo') ? undefined : json['branding_logo'],
|
|
35
|
-
'brandingFavicon': !exists(json, 'branding_favicon') ? undefined : json['branding_favicon'],
|
|
36
|
-
'flowAuthentication': !exists(json, 'flow_authentication') ? undefined : json['flow_authentication'],
|
|
37
|
-
'flowInvalidation': !exists(json, 'flow_invalidation') ? undefined : json['flow_invalidation'],
|
|
38
|
-
'flowRecovery': !exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
39
|
-
'flowUnenrollment': !exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
|
|
40
|
-
'flowUserSettings': !exists(json, 'flow_user_settings') ? undefined : json['flow_user_settings'],
|
|
41
|
-
'flowDeviceCode': !exists(json, 'flow_device_code') ? undefined : json['flow_device_code'],
|
|
42
|
-
'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
|
|
43
|
-
'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
|
|
44
|
-
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
32
|
+
'schemaName': json['schema_name'],
|
|
33
|
+
'name': json['name'],
|
|
34
|
+
'ready': !exists(json, 'ready') ? undefined : json['ready'],
|
|
45
35
|
};
|
|
46
36
|
}
|
|
47
37
|
export function TenantRequestToJSON(value) {
|
|
@@ -52,19 +42,8 @@ export function TenantRequestToJSON(value) {
|
|
|
52
42
|
return null;
|
|
53
43
|
}
|
|
54
44
|
return {
|
|
55
|
-
'
|
|
56
|
-
'
|
|
57
|
-
'
|
|
58
|
-
'branding_logo': value.brandingLogo,
|
|
59
|
-
'branding_favicon': value.brandingFavicon,
|
|
60
|
-
'flow_authentication': value.flowAuthentication,
|
|
61
|
-
'flow_invalidation': value.flowInvalidation,
|
|
62
|
-
'flow_recovery': value.flowRecovery,
|
|
63
|
-
'flow_unenrollment': value.flowUnenrollment,
|
|
64
|
-
'flow_user_settings': value.flowUserSettings,
|
|
65
|
-
'flow_device_code': value.flowDeviceCode,
|
|
66
|
-
'event_retention': value.eventRetention,
|
|
67
|
-
'web_certificate': value.webCertificate,
|
|
68
|
-
'attributes': value.attributes,
|
|
45
|
+
'schema_name': value.schemaName,
|
|
46
|
+
'name': value.name,
|
|
47
|
+
'ready': value.ready,
|
|
69
48
|
};
|
|
70
49
|
}
|
|
@@ -50,6 +50,8 @@ export * from './BlueprintFile';
|
|
|
50
50
|
export * from './BlueprintInstance';
|
|
51
51
|
export * from './BlueprintInstanceRequest';
|
|
52
52
|
export * from './BlueprintInstanceStatusEnum';
|
|
53
|
+
export * from './Brand';
|
|
54
|
+
export * from './BrandRequest';
|
|
53
55
|
export * from './Cache';
|
|
54
56
|
export * from './CapabilitiesEnum';
|
|
55
57
|
export * from './CaptchaChallenge';
|
|
@@ -73,7 +75,7 @@ export * from './ConsentStageRequest';
|
|
|
73
75
|
export * from './ContextualFlowInfo';
|
|
74
76
|
export * from './ContextualFlowInfoLayoutEnum';
|
|
75
77
|
export * from './Coordinate';
|
|
76
|
-
export * from './
|
|
78
|
+
export * from './CurrentBrand';
|
|
77
79
|
export * from './DeniedActionEnum';
|
|
78
80
|
export * from './DenyStage';
|
|
79
81
|
export * from './DenyStageRequest';
|
|
@@ -85,6 +87,8 @@ export * from './DigestAlgorithmEnum';
|
|
|
85
87
|
export * from './DigitsEnum';
|
|
86
88
|
export * from './DockerServiceConnection';
|
|
87
89
|
export * from './DockerServiceConnectionRequest';
|
|
90
|
+
export * from './Domain';
|
|
91
|
+
export * from './DomainRequest';
|
|
88
92
|
export * from './DummyChallenge';
|
|
89
93
|
export * from './DummyChallengeResponseRequest';
|
|
90
94
|
export * from './DummyPolicy';
|
|
@@ -208,11 +212,13 @@ export * from './PaginatedAuthenticatorStaticStageList';
|
|
|
208
212
|
export * from './PaginatedAuthenticatorTOTPStageList';
|
|
209
213
|
export * from './PaginatedAuthenticatorValidateStageList';
|
|
210
214
|
export * from './PaginatedBlueprintInstanceList';
|
|
215
|
+
export * from './PaginatedBrandList';
|
|
211
216
|
export * from './PaginatedCaptchaStageList';
|
|
212
217
|
export * from './PaginatedCertificateKeyPairList';
|
|
213
218
|
export * from './PaginatedConsentStageList';
|
|
214
219
|
export * from './PaginatedDenyStageList';
|
|
215
220
|
export * from './PaginatedDockerServiceConnectionList';
|
|
221
|
+
export * from './PaginatedDomainList';
|
|
216
222
|
export * from './PaginatedDummyPolicyList';
|
|
217
223
|
export * from './PaginatedDummyStageList';
|
|
218
224
|
export * from './PaginatedDuoDeviceList';
|
|
@@ -308,11 +314,13 @@ export * from './PatchedAuthenticatorStaticStageRequest';
|
|
|
308
314
|
export * from './PatchedAuthenticatorTOTPStageRequest';
|
|
309
315
|
export * from './PatchedAuthenticatorValidateStageRequest';
|
|
310
316
|
export * from './PatchedBlueprintInstanceRequest';
|
|
317
|
+
export * from './PatchedBrandRequest';
|
|
311
318
|
export * from './PatchedCaptchaStageRequest';
|
|
312
319
|
export * from './PatchedCertificateKeyPairRequest';
|
|
313
320
|
export * from './PatchedConsentStageRequest';
|
|
314
321
|
export * from './PatchedDenyStageRequest';
|
|
315
322
|
export * from './PatchedDockerServiceConnectionRequest';
|
|
323
|
+
export * from './PatchedDomainRequest';
|
|
316
324
|
export * from './PatchedDummyPolicyRequest';
|
|
317
325
|
export * from './PatchedDummyStageRequest';
|
|
318
326
|
export * from './PatchedDuoDeviceRequest';
|
|
@@ -361,6 +369,7 @@ export * from './PatchedSCIMMappingRequest';
|
|
|
361
369
|
export * from './PatchedSCIMProviderRequest';
|
|
362
370
|
export * from './PatchedSMSDeviceRequest';
|
|
363
371
|
export * from './PatchedScopeMappingRequest';
|
|
372
|
+
export * from './PatchedSettingsRequest';
|
|
364
373
|
export * from './PatchedStaticDeviceRequest';
|
|
365
374
|
export * from './PatchedTOTPDeviceRequest';
|
|
366
375
|
export * from './PatchedTenantRequest';
|
|
@@ -446,6 +455,8 @@ export * from './ServiceConnection';
|
|
|
446
455
|
export * from './ServiceConnectionRequest';
|
|
447
456
|
export * from './ServiceConnectionState';
|
|
448
457
|
export * from './SessionUser';
|
|
458
|
+
export * from './Settings';
|
|
459
|
+
export * from './SettingsRequest';
|
|
449
460
|
export * from './SeverityEnum';
|
|
450
461
|
export * from './ShellChallenge';
|
|
451
462
|
export * from './SignatureAlgorithmEnum';
|
|
@@ -468,6 +479,9 @@ export * from './TOTPDeviceRequest';
|
|
|
468
479
|
export * from './Task';
|
|
469
480
|
export * from './TaskStatusEnum';
|
|
470
481
|
export * from './Tenant';
|
|
482
|
+
export * from './TenantAdminGroupRequestRequest';
|
|
483
|
+
export * from './TenantRecoveryKeyRequestRequest';
|
|
484
|
+
export * from './TenantRecoveryKeyResponse';
|
|
471
485
|
export * from './TenantRequest';
|
|
472
486
|
export * from './Token';
|
|
473
487
|
export * from './TokenModel';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -52,6 +52,8 @@ export * from './BlueprintFile';
|
|
|
52
52
|
export * from './BlueprintInstance';
|
|
53
53
|
export * from './BlueprintInstanceRequest';
|
|
54
54
|
export * from './BlueprintInstanceStatusEnum';
|
|
55
|
+
export * from './Brand';
|
|
56
|
+
export * from './BrandRequest';
|
|
55
57
|
export * from './Cache';
|
|
56
58
|
export * from './CapabilitiesEnum';
|
|
57
59
|
export * from './CaptchaChallenge';
|
|
@@ -75,7 +77,7 @@ export * from './ConsentStageRequest';
|
|
|
75
77
|
export * from './ContextualFlowInfo';
|
|
76
78
|
export * from './ContextualFlowInfoLayoutEnum';
|
|
77
79
|
export * from './Coordinate';
|
|
78
|
-
export * from './
|
|
80
|
+
export * from './CurrentBrand';
|
|
79
81
|
export * from './DeniedActionEnum';
|
|
80
82
|
export * from './DenyStage';
|
|
81
83
|
export * from './DenyStageRequest';
|
|
@@ -87,6 +89,8 @@ export * from './DigestAlgorithmEnum';
|
|
|
87
89
|
export * from './DigitsEnum';
|
|
88
90
|
export * from './DockerServiceConnection';
|
|
89
91
|
export * from './DockerServiceConnectionRequest';
|
|
92
|
+
export * from './Domain';
|
|
93
|
+
export * from './DomainRequest';
|
|
90
94
|
export * from './DummyChallenge';
|
|
91
95
|
export * from './DummyChallengeResponseRequest';
|
|
92
96
|
export * from './DummyPolicy';
|
|
@@ -210,11 +214,13 @@ export * from './PaginatedAuthenticatorStaticStageList';
|
|
|
210
214
|
export * from './PaginatedAuthenticatorTOTPStageList';
|
|
211
215
|
export * from './PaginatedAuthenticatorValidateStageList';
|
|
212
216
|
export * from './PaginatedBlueprintInstanceList';
|
|
217
|
+
export * from './PaginatedBrandList';
|
|
213
218
|
export * from './PaginatedCaptchaStageList';
|
|
214
219
|
export * from './PaginatedCertificateKeyPairList';
|
|
215
220
|
export * from './PaginatedConsentStageList';
|
|
216
221
|
export * from './PaginatedDenyStageList';
|
|
217
222
|
export * from './PaginatedDockerServiceConnectionList';
|
|
223
|
+
export * from './PaginatedDomainList';
|
|
218
224
|
export * from './PaginatedDummyPolicyList';
|
|
219
225
|
export * from './PaginatedDummyStageList';
|
|
220
226
|
export * from './PaginatedDuoDeviceList';
|
|
@@ -310,11 +316,13 @@ export * from './PatchedAuthenticatorStaticStageRequest';
|
|
|
310
316
|
export * from './PatchedAuthenticatorTOTPStageRequest';
|
|
311
317
|
export * from './PatchedAuthenticatorValidateStageRequest';
|
|
312
318
|
export * from './PatchedBlueprintInstanceRequest';
|
|
319
|
+
export * from './PatchedBrandRequest';
|
|
313
320
|
export * from './PatchedCaptchaStageRequest';
|
|
314
321
|
export * from './PatchedCertificateKeyPairRequest';
|
|
315
322
|
export * from './PatchedConsentStageRequest';
|
|
316
323
|
export * from './PatchedDenyStageRequest';
|
|
317
324
|
export * from './PatchedDockerServiceConnectionRequest';
|
|
325
|
+
export * from './PatchedDomainRequest';
|
|
318
326
|
export * from './PatchedDummyPolicyRequest';
|
|
319
327
|
export * from './PatchedDummyStageRequest';
|
|
320
328
|
export * from './PatchedDuoDeviceRequest';
|
|
@@ -363,6 +371,7 @@ export * from './PatchedSCIMMappingRequest';
|
|
|
363
371
|
export * from './PatchedSCIMProviderRequest';
|
|
364
372
|
export * from './PatchedSMSDeviceRequest';
|
|
365
373
|
export * from './PatchedScopeMappingRequest';
|
|
374
|
+
export * from './PatchedSettingsRequest';
|
|
366
375
|
export * from './PatchedStaticDeviceRequest';
|
|
367
376
|
export * from './PatchedTOTPDeviceRequest';
|
|
368
377
|
export * from './PatchedTenantRequest';
|
|
@@ -448,6 +457,8 @@ export * from './ServiceConnection';
|
|
|
448
457
|
export * from './ServiceConnectionRequest';
|
|
449
458
|
export * from './ServiceConnectionState';
|
|
450
459
|
export * from './SessionUser';
|
|
460
|
+
export * from './Settings';
|
|
461
|
+
export * from './SettingsRequest';
|
|
451
462
|
export * from './SeverityEnum';
|
|
452
463
|
export * from './ShellChallenge';
|
|
453
464
|
export * from './SignatureAlgorithmEnum';
|
|
@@ -470,6 +481,9 @@ export * from './TOTPDeviceRequest';
|
|
|
470
481
|
export * from './Task';
|
|
471
482
|
export * from './TaskStatusEnum';
|
|
472
483
|
export * from './Tenant';
|
|
484
|
+
export * from './TenantAdminGroupRequestRequest';
|
|
485
|
+
export * from './TenantRecoveryKeyRequestRequest';
|
|
486
|
+
export * from './TenantRecoveryKeyResponse';
|
|
473
487
|
export * from './TenantRequest';
|
|
474
488
|
export * from './Token';
|
|
475
489
|
export * from './TokenModel';
|
package/dist/models/AppEnum.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
+
* * `authentik.tenants` - authentik Tenants
|
|
13
14
|
* * `authentik.admin` - authentik Admin
|
|
14
15
|
* * `authentik.api` - authentik API
|
|
15
16
|
* * `authentik.crypto` - authentik Crypto
|
|
@@ -55,14 +56,16 @@
|
|
|
55
56
|
* * `authentik.stages.user_login` - authentik Stages.User Login
|
|
56
57
|
* * `authentik.stages.user_logout` - authentik Stages.User Logout
|
|
57
58
|
* * `authentik.stages.user_write` - authentik Stages.User Write
|
|
58
|
-
* * `authentik.
|
|
59
|
+
* * `authentik.brands` - authentik Brands
|
|
59
60
|
* * `authentik.blueprints` - authentik Blueprints
|
|
60
61
|
* * `authentik.core` - authentik Core
|
|
61
62
|
* * `authentik.enterprise` - authentik Enterprise
|
|
63
|
+
* * `authentik.enterprise.audit` - authentik Enterprise.Audit
|
|
62
64
|
* * `authentik.enterprise.providers.rac` - authentik Enterprise.Providers.RAC
|
|
63
65
|
* @export
|
|
64
66
|
*/
|
|
65
67
|
export declare const AppEnum: {
|
|
68
|
+
readonly Tenants: "authentik.tenants";
|
|
66
69
|
readonly Admin: "authentik.admin";
|
|
67
70
|
readonly Api: "authentik.api";
|
|
68
71
|
readonly Crypto: "authentik.crypto";
|
|
@@ -108,10 +111,11 @@ export declare const AppEnum: {
|
|
|
108
111
|
readonly StagesUserLogin: "authentik.stages.user_login";
|
|
109
112
|
readonly StagesUserLogout: "authentik.stages.user_logout";
|
|
110
113
|
readonly StagesUserWrite: "authentik.stages.user_write";
|
|
111
|
-
readonly
|
|
114
|
+
readonly Brands: "authentik.brands";
|
|
112
115
|
readonly Blueprints: "authentik.blueprints";
|
|
113
116
|
readonly Core: "authentik.core";
|
|
114
117
|
readonly Enterprise: "authentik.enterprise";
|
|
118
|
+
readonly EnterpriseAudit: "authentik.enterprise.audit";
|
|
115
119
|
readonly EnterpriseProvidersRac: "authentik.enterprise.providers.rac";
|
|
116
120
|
readonly UnknownDefaultOpenApi: "11184809";
|
|
117
121
|
};
|
package/dist/models/AppEnum.js
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.AppEnumToJSON = exports.AppEnumFromJSONTyped = exports.AppEnumFromJSON = exports.AppEnum = void 0;
|
|
17
17
|
/**
|
|
18
|
+
* * `authentik.tenants` - authentik Tenants
|
|
18
19
|
* * `authentik.admin` - authentik Admin
|
|
19
20
|
* * `authentik.api` - authentik API
|
|
20
21
|
* * `authentik.crypto` - authentik Crypto
|
|
@@ -60,14 +61,16 @@ exports.AppEnumToJSON = exports.AppEnumFromJSONTyped = exports.AppEnumFromJSON =
|
|
|
60
61
|
* * `authentik.stages.user_login` - authentik Stages.User Login
|
|
61
62
|
* * `authentik.stages.user_logout` - authentik Stages.User Logout
|
|
62
63
|
* * `authentik.stages.user_write` - authentik Stages.User Write
|
|
63
|
-
* * `authentik.
|
|
64
|
+
* * `authentik.brands` - authentik Brands
|
|
64
65
|
* * `authentik.blueprints` - authentik Blueprints
|
|
65
66
|
* * `authentik.core` - authentik Core
|
|
66
67
|
* * `authentik.enterprise` - authentik Enterprise
|
|
68
|
+
* * `authentik.enterprise.audit` - authentik Enterprise.Audit
|
|
67
69
|
* * `authentik.enterprise.providers.rac` - authentik Enterprise.Providers.RAC
|
|
68
70
|
* @export
|
|
69
71
|
*/
|
|
70
72
|
exports.AppEnum = {
|
|
73
|
+
Tenants: 'authentik.tenants',
|
|
71
74
|
Admin: 'authentik.admin',
|
|
72
75
|
Api: 'authentik.api',
|
|
73
76
|
Crypto: 'authentik.crypto',
|
|
@@ -113,10 +116,11 @@ exports.AppEnum = {
|
|
|
113
116
|
StagesUserLogin: 'authentik.stages.user_login',
|
|
114
117
|
StagesUserLogout: 'authentik.stages.user_logout',
|
|
115
118
|
StagesUserWrite: 'authentik.stages.user_write',
|
|
116
|
-
|
|
119
|
+
Brands: 'authentik.brands',
|
|
117
120
|
Blueprints: 'authentik.blueprints',
|
|
118
121
|
Core: 'authentik.core',
|
|
119
122
|
Enterprise: 'authentik.enterprise',
|
|
123
|
+
EnterpriseAudit: 'authentik.enterprise.audit',
|
|
120
124
|
EnterpriseProvidersRac: 'authentik.enterprise.providers.rac',
|
|
121
125
|
UnknownDefaultOpenApi: '11184809'
|
|
122
126
|
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.10.6
|
|
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
|
+
* Brand Serializer
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Brand
|
|
16
|
+
*/
|
|
17
|
+
export interface Brand {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Brand
|
|
22
|
+
*/
|
|
23
|
+
readonly brandUuid: string;
|
|
24
|
+
/**
|
|
25
|
+
* Domain that activates this brand. Can be a superset, i.e. `a.b` for `aa.b` and `ba.b`
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Brand
|
|
28
|
+
*/
|
|
29
|
+
domain: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof Brand
|
|
34
|
+
*/
|
|
35
|
+
_default?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Brand
|
|
40
|
+
*/
|
|
41
|
+
brandingTitle?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Brand
|
|
46
|
+
*/
|
|
47
|
+
brandingLogo?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof Brand
|
|
52
|
+
*/
|
|
53
|
+
brandingFavicon?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof Brand
|
|
58
|
+
*/
|
|
59
|
+
flowAuthentication?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof Brand
|
|
64
|
+
*/
|
|
65
|
+
flowInvalidation?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof Brand
|
|
70
|
+
*/
|
|
71
|
+
flowRecovery?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof Brand
|
|
76
|
+
*/
|
|
77
|
+
flowUnenrollment?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof Brand
|
|
82
|
+
*/
|
|
83
|
+
flowUserSettings?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof Brand
|
|
88
|
+
*/
|
|
89
|
+
flowDeviceCode?: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* Web Certificate used by the authentik Core webserver.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof Brand
|
|
94
|
+
*/
|
|
95
|
+
webCertificate?: string | null;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {any}
|
|
99
|
+
* @memberof Brand
|
|
100
|
+
*/
|
|
101
|
+
attributes?: any | null;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Check if a given object implements the Brand interface.
|
|
105
|
+
*/
|
|
106
|
+
export declare function instanceOfBrand(value: object): boolean;
|
|
107
|
+
export declare function BrandFromJSON(json: any): Brand;
|
|
108
|
+
export declare function BrandFromJSONTyped(json: any, ignoreDiscriminator: boolean): Brand;
|
|
109
|
+
export declare function BrandToJSON(value?: Brand | null): any;
|