@goauthentik/api 2023.10.6-1705072854 → 2023.10.6-1706016512
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/PropertymappingsApi.d.ts +1 -1
- package/dist/apis/PropertymappingsApi.js +1 -1
- 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/PropertymappingsApi.d.ts +1 -1
- package/dist/esm/apis/PropertymappingsApi.js +1 -1
- 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 +4 -2
- package/dist/esm/models/AppEnum.js +4 -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 +4 -2
- package/dist/models/AppEnum.js +4 -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/PropertymappingsApi.ts +2 -2
- 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 +4 -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
package/src/models/ModelEnum.ts
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
+
* * `authentik_tenants.domain` - Domain
|
|
17
18
|
* * `authentik_crypto.certificatekeypair` - Certificate-Key Pair
|
|
18
19
|
* * `authentik_events.event` - Event
|
|
19
20
|
* * `authentik_events.notificationtransport` - Notification Transport
|
|
@@ -81,7 +82,7 @@
|
|
|
81
82
|
* * `authentik_stages_user_login.userloginstage` - User Login Stage
|
|
82
83
|
* * `authentik_stages_user_logout.userlogoutstage` - User Logout Stage
|
|
83
84
|
* * `authentik_stages_user_write.userwritestage` - User Write Stage
|
|
84
|
-
* * `
|
|
85
|
+
* * `authentik_brands.brand` - Brand
|
|
85
86
|
* * `authentik_blueprints.blueprintinstance` - Blueprint Instance
|
|
86
87
|
* * `authentik_core.group` - Group
|
|
87
88
|
* * `authentik_core.user` - User
|
|
@@ -94,6 +95,7 @@
|
|
|
94
95
|
* @export
|
|
95
96
|
*/
|
|
96
97
|
export const ModelEnum = {
|
|
98
|
+
TenantsDomain: 'authentik_tenants.domain',
|
|
97
99
|
CryptoCertificatekeypair: 'authentik_crypto.certificatekeypair',
|
|
98
100
|
EventsEvent: 'authentik_events.event',
|
|
99
101
|
EventsNotificationtransport: 'authentik_events.notificationtransport',
|
|
@@ -161,7 +163,7 @@ export const ModelEnum = {
|
|
|
161
163
|
StagesUserLoginUserloginstage: 'authentik_stages_user_login.userloginstage',
|
|
162
164
|
StagesUserLogoutUserlogoutstage: 'authentik_stages_user_logout.userlogoutstage',
|
|
163
165
|
StagesUserWriteUserwritestage: 'authentik_stages_user_write.userwritestage',
|
|
164
|
-
|
|
166
|
+
BrandsBrand: 'authentik_brands.brand',
|
|
165
167
|
BlueprintsBlueprintinstance: 'authentik_blueprints.blueprintinstance',
|
|
166
168
|
CoreGroup: 'authentik_core.group',
|
|
167
169
|
CoreUser: 'authentik_core.user',
|
|
@@ -0,0 +1,88 @@
|
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { Brand } from './Brand';
|
|
17
|
+
import {
|
|
18
|
+
BrandFromJSON,
|
|
19
|
+
BrandFromJSONTyped,
|
|
20
|
+
BrandToJSON,
|
|
21
|
+
} from './Brand';
|
|
22
|
+
import type { Pagination } from './Pagination';
|
|
23
|
+
import {
|
|
24
|
+
PaginationFromJSON,
|
|
25
|
+
PaginationFromJSONTyped,
|
|
26
|
+
PaginationToJSON,
|
|
27
|
+
} from './Pagination';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @export
|
|
32
|
+
* @interface PaginatedBrandList
|
|
33
|
+
*/
|
|
34
|
+
export interface PaginatedBrandList {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Pagination}
|
|
38
|
+
* @memberof PaginatedBrandList
|
|
39
|
+
*/
|
|
40
|
+
pagination: Pagination;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Array<Brand>}
|
|
44
|
+
* @memberof PaginatedBrandList
|
|
45
|
+
*/
|
|
46
|
+
results: Array<Brand>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the PaginatedBrandList interface.
|
|
51
|
+
*/
|
|
52
|
+
export function instanceOfPaginatedBrandList(value: object): boolean {
|
|
53
|
+
let isInstance = true;
|
|
54
|
+
isInstance = isInstance && "pagination" in value;
|
|
55
|
+
isInstance = isInstance && "results" in value;
|
|
56
|
+
|
|
57
|
+
return isInstance;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function PaginatedBrandListFromJSON(json: any): PaginatedBrandList {
|
|
61
|
+
return PaginatedBrandListFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function PaginatedBrandListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedBrandList {
|
|
65
|
+
if ((json === undefined) || (json === null)) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
71
|
+
'results': ((json['results'] as Array<any>).map(BrandFromJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function PaginatedBrandListToJSON(value?: PaginatedBrandList | null): any {
|
|
76
|
+
if (value === undefined) {
|
|
77
|
+
return undefined;
|
|
78
|
+
}
|
|
79
|
+
if (value === null) {
|
|
80
|
+
return null;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'pagination': PaginationToJSON(value.pagination),
|
|
85
|
+
'results': ((value.results as Array<any>).map(BrandToJSON)),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { Domain } from './Domain';
|
|
17
|
+
import {
|
|
18
|
+
DomainFromJSON,
|
|
19
|
+
DomainFromJSONTyped,
|
|
20
|
+
DomainToJSON,
|
|
21
|
+
} from './Domain';
|
|
22
|
+
import type { Pagination } from './Pagination';
|
|
23
|
+
import {
|
|
24
|
+
PaginationFromJSON,
|
|
25
|
+
PaginationFromJSONTyped,
|
|
26
|
+
PaginationToJSON,
|
|
27
|
+
} from './Pagination';
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @export
|
|
32
|
+
* @interface PaginatedDomainList
|
|
33
|
+
*/
|
|
34
|
+
export interface PaginatedDomainList {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {Pagination}
|
|
38
|
+
* @memberof PaginatedDomainList
|
|
39
|
+
*/
|
|
40
|
+
pagination: Pagination;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {Array<Domain>}
|
|
44
|
+
* @memberof PaginatedDomainList
|
|
45
|
+
*/
|
|
46
|
+
results: Array<Domain>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the PaginatedDomainList interface.
|
|
51
|
+
*/
|
|
52
|
+
export function instanceOfPaginatedDomainList(value: object): boolean {
|
|
53
|
+
let isInstance = true;
|
|
54
|
+
isInstance = isInstance && "pagination" in value;
|
|
55
|
+
isInstance = isInstance && "results" in value;
|
|
56
|
+
|
|
57
|
+
return isInstance;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function PaginatedDomainListFromJSON(json: any): PaginatedDomainList {
|
|
61
|
+
return PaginatedDomainListFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function PaginatedDomainListFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedDomainList {
|
|
65
|
+
if ((json === undefined) || (json === null)) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'pagination': PaginationFromJSON(json['pagination']),
|
|
71
|
+
'results': ((json['results'] as Array<any>).map(DomainFromJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function PaginatedDomainListToJSON(value?: PaginatedDomainList | null): any {
|
|
76
|
+
if (value === undefined) {
|
|
77
|
+
return undefined;
|
|
78
|
+
}
|
|
79
|
+
if (value === null) {
|
|
80
|
+
return null;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'pagination': PaginationToJSON(value.pagination),
|
|
85
|
+
'results': ((value.results as Array<any>).map(DomainToJSON)),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
@@ -0,0 +1,161 @@
|
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Brand Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PatchedBrandRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PatchedBrandRequest {
|
|
22
|
+
/**
|
|
23
|
+
* Domain that activates this brand. Can be a superset, i.e. `a.b` for `aa.b` and `ba.b`
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PatchedBrandRequest
|
|
26
|
+
*/
|
|
27
|
+
domain?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof PatchedBrandRequest
|
|
32
|
+
*/
|
|
33
|
+
_default?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PatchedBrandRequest
|
|
38
|
+
*/
|
|
39
|
+
brandingTitle?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof PatchedBrandRequest
|
|
44
|
+
*/
|
|
45
|
+
brandingLogo?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof PatchedBrandRequest
|
|
50
|
+
*/
|
|
51
|
+
brandingFavicon?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof PatchedBrandRequest
|
|
56
|
+
*/
|
|
57
|
+
flowAuthentication?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof PatchedBrandRequest
|
|
62
|
+
*/
|
|
63
|
+
flowInvalidation?: string | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof PatchedBrandRequest
|
|
68
|
+
*/
|
|
69
|
+
flowRecovery?: string | null;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof PatchedBrandRequest
|
|
74
|
+
*/
|
|
75
|
+
flowUnenrollment?: string | null;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof PatchedBrandRequest
|
|
80
|
+
*/
|
|
81
|
+
flowUserSettings?: string | null;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof PatchedBrandRequest
|
|
86
|
+
*/
|
|
87
|
+
flowDeviceCode?: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* Web Certificate used by the authentik Core webserver.
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof PatchedBrandRequest
|
|
92
|
+
*/
|
|
93
|
+
webCertificate?: string | null;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {any}
|
|
97
|
+
* @memberof PatchedBrandRequest
|
|
98
|
+
*/
|
|
99
|
+
attributes?: any | null;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Check if a given object implements the PatchedBrandRequest interface.
|
|
104
|
+
*/
|
|
105
|
+
export function instanceOfPatchedBrandRequest(value: object): boolean {
|
|
106
|
+
let isInstance = true;
|
|
107
|
+
|
|
108
|
+
return isInstance;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export function PatchedBrandRequestFromJSON(json: any): PatchedBrandRequest {
|
|
112
|
+
return PatchedBrandRequestFromJSONTyped(json, false);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function PatchedBrandRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedBrandRequest {
|
|
116
|
+
if ((json === undefined) || (json === null)) {
|
|
117
|
+
return json;
|
|
118
|
+
}
|
|
119
|
+
return {
|
|
120
|
+
|
|
121
|
+
'domain': !exists(json, 'domain') ? undefined : json['domain'],
|
|
122
|
+
'_default': !exists(json, 'default') ? undefined : json['default'],
|
|
123
|
+
'brandingTitle': !exists(json, 'branding_title') ? undefined : json['branding_title'],
|
|
124
|
+
'brandingLogo': !exists(json, 'branding_logo') ? undefined : json['branding_logo'],
|
|
125
|
+
'brandingFavicon': !exists(json, 'branding_favicon') ? undefined : json['branding_favicon'],
|
|
126
|
+
'flowAuthentication': !exists(json, 'flow_authentication') ? undefined : json['flow_authentication'],
|
|
127
|
+
'flowInvalidation': !exists(json, 'flow_invalidation') ? undefined : json['flow_invalidation'],
|
|
128
|
+
'flowRecovery': !exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
129
|
+
'flowUnenrollment': !exists(json, 'flow_unenrollment') ? undefined : json['flow_unenrollment'],
|
|
130
|
+
'flowUserSettings': !exists(json, 'flow_user_settings') ? undefined : json['flow_user_settings'],
|
|
131
|
+
'flowDeviceCode': !exists(json, 'flow_device_code') ? undefined : json['flow_device_code'],
|
|
132
|
+
'webCertificate': !exists(json, 'web_certificate') ? undefined : json['web_certificate'],
|
|
133
|
+
'attributes': !exists(json, 'attributes') ? undefined : json['attributes'],
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export function PatchedBrandRequestToJSON(value?: PatchedBrandRequest | null): any {
|
|
138
|
+
if (value === undefined) {
|
|
139
|
+
return undefined;
|
|
140
|
+
}
|
|
141
|
+
if (value === null) {
|
|
142
|
+
return null;
|
|
143
|
+
}
|
|
144
|
+
return {
|
|
145
|
+
|
|
146
|
+
'domain': value.domain,
|
|
147
|
+
'default': value._default,
|
|
148
|
+
'branding_title': value.brandingTitle,
|
|
149
|
+
'branding_logo': value.brandingLogo,
|
|
150
|
+
'branding_favicon': value.brandingFavicon,
|
|
151
|
+
'flow_authentication': value.flowAuthentication,
|
|
152
|
+
'flow_invalidation': value.flowInvalidation,
|
|
153
|
+
'flow_recovery': value.flowRecovery,
|
|
154
|
+
'flow_unenrollment': value.flowUnenrollment,
|
|
155
|
+
'flow_user_settings': value.flowUserSettings,
|
|
156
|
+
'flow_device_code': value.flowDeviceCode,
|
|
157
|
+
'web_certificate': value.webCertificate,
|
|
158
|
+
'attributes': value.attributes,
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Domain Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PatchedDomainRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PatchedDomainRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PatchedDomainRequest
|
|
26
|
+
*/
|
|
27
|
+
domain?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof PatchedDomainRequest
|
|
32
|
+
*/
|
|
33
|
+
isPrimary?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PatchedDomainRequest
|
|
38
|
+
*/
|
|
39
|
+
tenant?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the PatchedDomainRequest interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfPatchedDomainRequest(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
|
|
48
|
+
return isInstance;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function PatchedDomainRequestFromJSON(json: any): PatchedDomainRequest {
|
|
52
|
+
return PatchedDomainRequestFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function PatchedDomainRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedDomainRequest {
|
|
56
|
+
if ((json === undefined) || (json === null)) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'domain': !exists(json, 'domain') ? undefined : json['domain'],
|
|
62
|
+
'isPrimary': !exists(json, 'is_primary') ? undefined : json['is_primary'],
|
|
63
|
+
'tenant': !exists(json, 'tenant') ? undefined : json['tenant'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function PatchedDomainRequestToJSON(value?: PatchedDomainRequest | null): any {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'domain': value.domain,
|
|
77
|
+
'is_primary': value.isPrimary,
|
|
78
|
+
'tenant': value.tenant,
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -67,7 +67,7 @@ export interface PatchedEventRequest {
|
|
|
67
67
|
* @type {any}
|
|
68
68
|
* @memberof PatchedEventRequest
|
|
69
69
|
*/
|
|
70
|
-
|
|
70
|
+
brand?: any | null;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
|
@@ -95,7 +95,7 @@ export function PatchedEventRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
95
95
|
'context': !exists(json, 'context') ? undefined : json['context'],
|
|
96
96
|
'clientIp': !exists(json, 'client_ip') ? undefined : json['client_ip'],
|
|
97
97
|
'expires': !exists(json, 'expires') ? undefined : (new Date(json['expires'])),
|
|
98
|
-
'
|
|
98
|
+
'brand': !exists(json, 'brand') ? undefined : json['brand'],
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -114,7 +114,7 @@ export function PatchedEventRequestToJSON(value?: PatchedEventRequest | null): a
|
|
|
114
114
|
'context': value.context,
|
|
115
115
|
'client_ip': value.clientIp,
|
|
116
116
|
'expires': value.expires === undefined ? undefined : (value.expires.toISOString()),
|
|
117
|
-
'
|
|
117
|
+
'brand': value.brand,
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
120
|
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Settings Serializer
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PatchedSettingsRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PatchedSettingsRequest {
|
|
22
|
+
/**
|
|
23
|
+
* Configure how authentik should show avatars for users.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PatchedSettingsRequest
|
|
26
|
+
*/
|
|
27
|
+
avatars?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Enable the ability for users to change their name.
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof PatchedSettingsRequest
|
|
32
|
+
*/
|
|
33
|
+
defaultUserChangeName?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Enable the ability for users to change their email address.
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof PatchedSettingsRequest
|
|
38
|
+
*/
|
|
39
|
+
defaultUserChangeEmail?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Enable the ability for users to change their username.
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof PatchedSettingsRequest
|
|
44
|
+
*/
|
|
45
|
+
defaultUserChangeUsername?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Events will be deleted after this duration.(Format: weeks=3;days=2;hours=3,seconds=2).
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof PatchedSettingsRequest
|
|
50
|
+
*/
|
|
51
|
+
eventRetention?: string;
|
|
52
|
+
/**
|
|
53
|
+
* The option configures the footer links on the flow executor pages.
|
|
54
|
+
* @type {any}
|
|
55
|
+
* @memberof PatchedSettingsRequest
|
|
56
|
+
*/
|
|
57
|
+
footerLinks?: any | null;
|
|
58
|
+
/**
|
|
59
|
+
* When enabled, all the events caused by a user will be deleted upon the user's deletion.
|
|
60
|
+
* @type {boolean}
|
|
61
|
+
* @memberof PatchedSettingsRequest
|
|
62
|
+
*/
|
|
63
|
+
gdprCompliance?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Globally enable/disable impersonation.
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof PatchedSettingsRequest
|
|
68
|
+
*/
|
|
69
|
+
impersonation?: boolean;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the PatchedSettingsRequest interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfPatchedSettingsRequest(value: object): boolean {
|
|
76
|
+
let isInstance = true;
|
|
77
|
+
|
|
78
|
+
return isInstance;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function PatchedSettingsRequestFromJSON(json: any): PatchedSettingsRequest {
|
|
82
|
+
return PatchedSettingsRequestFromJSONTyped(json, false);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function PatchedSettingsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSettingsRequest {
|
|
86
|
+
if ((json === undefined) || (json === null)) {
|
|
87
|
+
return json;
|
|
88
|
+
}
|
|
89
|
+
return {
|
|
90
|
+
|
|
91
|
+
'avatars': !exists(json, 'avatars') ? undefined : json['avatars'],
|
|
92
|
+
'defaultUserChangeName': !exists(json, 'default_user_change_name') ? undefined : json['default_user_change_name'],
|
|
93
|
+
'defaultUserChangeEmail': !exists(json, 'default_user_change_email') ? undefined : json['default_user_change_email'],
|
|
94
|
+
'defaultUserChangeUsername': !exists(json, 'default_user_change_username') ? undefined : json['default_user_change_username'],
|
|
95
|
+
'eventRetention': !exists(json, 'event_retention') ? undefined : json['event_retention'],
|
|
96
|
+
'footerLinks': !exists(json, 'footer_links') ? undefined : json['footer_links'],
|
|
97
|
+
'gdprCompliance': !exists(json, 'gdpr_compliance') ? undefined : json['gdpr_compliance'],
|
|
98
|
+
'impersonation': !exists(json, 'impersonation') ? undefined : json['impersonation'],
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function PatchedSettingsRequestToJSON(value?: PatchedSettingsRequest | null): any {
|
|
103
|
+
if (value === undefined) {
|
|
104
|
+
return undefined;
|
|
105
|
+
}
|
|
106
|
+
if (value === null) {
|
|
107
|
+
return null;
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'avatars': value.avatars,
|
|
112
|
+
'default_user_change_name': value.defaultUserChangeName,
|
|
113
|
+
'default_user_change_email': value.defaultUserChangeEmail,
|
|
114
|
+
'default_user_change_username': value.defaultUserChangeUsername,
|
|
115
|
+
'event_retention': value.eventRetention,
|
|
116
|
+
'footer_links': value.footerLinks,
|
|
117
|
+
'gdpr_compliance': value.gdprCompliance,
|
|
118
|
+
'impersonation': value.impersonation,
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|