@goauthentik/api 2023.2.2-1678200024 → 2023.2.2-1678400303
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 +1 -0
- package/dist/esm/models/CurrentTenant.d.ts +7 -0
- package/dist/esm/models/CurrentTenant.js +2 -0
- package/dist/esm/models/UiThemeEnum.d.ts +27 -0
- package/dist/esm/models/UiThemeEnum.js +34 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- package/dist/models/CurrentTenant.d.ts +7 -0
- package/dist/models/CurrentTenant.js +2 -0
- package/dist/models/UiThemeEnum.d.ts +27 -0
- package/dist/models/UiThemeEnum.js +40 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
- package/src/models/CurrentTenant.ts +13 -0
- package/src/models/UiThemeEnum.ts +42 -0
- package/src/models/index.ts +1 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { FooterLink } from './FooterLink';
|
|
13
|
+
import { UiThemeEnum } from './UiThemeEnum';
|
|
13
14
|
/**
|
|
14
15
|
* Partial tenant information for styling
|
|
15
16
|
* @export
|
|
@@ -46,6 +47,12 @@ export interface CurrentTenant {
|
|
|
46
47
|
* @memberof CurrentTenant
|
|
47
48
|
*/
|
|
48
49
|
readonly uiFooterLinks: Array<FooterLink>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {UiThemeEnum}
|
|
53
|
+
* @memberof CurrentTenant
|
|
54
|
+
*/
|
|
55
|
+
readonly uiTheme: UiThemeEnum | null;
|
|
49
56
|
/**
|
|
50
57
|
*
|
|
51
58
|
* @type {string}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
15
|
import { FooterLinkFromJSON, } from './FooterLink';
|
|
16
|
+
import { UiThemeEnumFromJSON, } from './UiThemeEnum';
|
|
16
17
|
export function CurrentTenantFromJSON(json) {
|
|
17
18
|
return CurrentTenantFromJSONTyped(json, false);
|
|
18
19
|
}
|
|
@@ -26,6 +27,7 @@ export function CurrentTenantFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
27
|
'brandingLogo': json['branding_logo'],
|
|
27
28
|
'brandingFavicon': json['branding_favicon'],
|
|
28
29
|
'uiFooterLinks': (json['ui_footer_links'].map(FooterLinkFromJSON)),
|
|
30
|
+
'uiTheme': UiThemeEnumFromJSON(json['ui_theme']),
|
|
29
31
|
'flowAuthentication': !exists(json, 'flow_authentication') ? undefined : json['flow_authentication'],
|
|
30
32
|
'flowInvalidation': !exists(json, 'flow_invalidation') ? undefined : json['flow_invalidation'],
|
|
31
33
|
'flowRecovery': !exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.2.2
|
|
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
|
+
* * `automatic` - Automatic
|
|
14
|
+
* * `light` - Light
|
|
15
|
+
* * `dark` - Dark
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export declare const UiThemeEnum: {
|
|
19
|
+
readonly Automatic: "automatic";
|
|
20
|
+
readonly Light: "light";
|
|
21
|
+
readonly Dark: "dark";
|
|
22
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
23
|
+
};
|
|
24
|
+
export type UiThemeEnum = typeof UiThemeEnum[keyof typeof UiThemeEnum];
|
|
25
|
+
export declare function UiThemeEnumFromJSON(json: any): UiThemeEnum;
|
|
26
|
+
export declare function UiThemeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiThemeEnum;
|
|
27
|
+
export declare function UiThemeEnumToJSON(value?: UiThemeEnum | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2023.2.2
|
|
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
|
+
* * `automatic` - Automatic
|
|
16
|
+
* * `light` - Light
|
|
17
|
+
* * `dark` - Dark
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const UiThemeEnum = {
|
|
21
|
+
Automatic: 'automatic',
|
|
22
|
+
Light: 'light',
|
|
23
|
+
Dark: 'dark',
|
|
24
|
+
UnknownDefaultOpenApi: '11184809'
|
|
25
|
+
};
|
|
26
|
+
export function UiThemeEnumFromJSON(json) {
|
|
27
|
+
return UiThemeEnumFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function UiThemeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
export function UiThemeEnumToJSON(value) {
|
|
33
|
+
return value;
|
|
34
|
+
}
|
|
@@ -436,6 +436,7 @@ export * from './TokenRequest';
|
|
|
436
436
|
export * from './TokenSetKeyRequest';
|
|
437
437
|
export * from './TokenView';
|
|
438
438
|
export * from './TypeCreate';
|
|
439
|
+
export * from './UiThemeEnum';
|
|
439
440
|
export * from './UsedBy';
|
|
440
441
|
export * from './UsedByActionEnum';
|
|
441
442
|
export * from './User';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -438,6 +438,7 @@ export * from './TokenRequest';
|
|
|
438
438
|
export * from './TokenSetKeyRequest';
|
|
439
439
|
export * from './TokenView';
|
|
440
440
|
export * from './TypeCreate';
|
|
441
|
+
export * from './UiThemeEnum';
|
|
441
442
|
export * from './UsedBy';
|
|
442
443
|
export * from './UsedByActionEnum';
|
|
443
444
|
export * from './User';
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { FooterLink } from './FooterLink';
|
|
13
|
+
import { UiThemeEnum } from './UiThemeEnum';
|
|
13
14
|
/**
|
|
14
15
|
* Partial tenant information for styling
|
|
15
16
|
* @export
|
|
@@ -46,6 +47,12 @@ export interface CurrentTenant {
|
|
|
46
47
|
* @memberof CurrentTenant
|
|
47
48
|
*/
|
|
48
49
|
readonly uiFooterLinks: Array<FooterLink>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {UiThemeEnum}
|
|
53
|
+
* @memberof CurrentTenant
|
|
54
|
+
*/
|
|
55
|
+
readonly uiTheme: UiThemeEnum | null;
|
|
49
56
|
/**
|
|
50
57
|
*
|
|
51
58
|
* @type {string}
|
|
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.CurrentTenantToJSON = exports.CurrentTenantFromJSONTyped = exports.CurrentTenantFromJSON = void 0;
|
|
17
17
|
const runtime_1 = require("../runtime");
|
|
18
18
|
const FooterLink_1 = require("./FooterLink");
|
|
19
|
+
const UiThemeEnum_1 = require("./UiThemeEnum");
|
|
19
20
|
function CurrentTenantFromJSON(json) {
|
|
20
21
|
return CurrentTenantFromJSONTyped(json, false);
|
|
21
22
|
}
|
|
@@ -30,6 +31,7 @@ function CurrentTenantFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
31
|
'brandingLogo': json['branding_logo'],
|
|
31
32
|
'brandingFavicon': json['branding_favicon'],
|
|
32
33
|
'uiFooterLinks': (json['ui_footer_links'].map(FooterLink_1.FooterLinkFromJSON)),
|
|
34
|
+
'uiTheme': (0, UiThemeEnum_1.UiThemeEnumFromJSON)(json['ui_theme']),
|
|
33
35
|
'flowAuthentication': !(0, runtime_1.exists)(json, 'flow_authentication') ? undefined : json['flow_authentication'],
|
|
34
36
|
'flowInvalidation': !(0, runtime_1.exists)(json, 'flow_invalidation') ? undefined : json['flow_invalidation'],
|
|
35
37
|
'flowRecovery': !(0, runtime_1.exists)(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* authentik
|
|
3
|
+
* Making authentication simple.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2023.2.2
|
|
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
|
+
* * `automatic` - Automatic
|
|
14
|
+
* * `light` - Light
|
|
15
|
+
* * `dark` - Dark
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export declare const UiThemeEnum: {
|
|
19
|
+
readonly Automatic: "automatic";
|
|
20
|
+
readonly Light: "light";
|
|
21
|
+
readonly Dark: "dark";
|
|
22
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
23
|
+
};
|
|
24
|
+
export type UiThemeEnum = typeof UiThemeEnum[keyof typeof UiThemeEnum];
|
|
25
|
+
export declare function UiThemeEnumFromJSON(json: any): UiThemeEnum;
|
|
26
|
+
export declare function UiThemeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiThemeEnum;
|
|
27
|
+
export declare function UiThemeEnumToJSON(value?: UiThemeEnum | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* authentik
|
|
6
|
+
* Making authentication simple.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2023.2.2
|
|
9
|
+
* Contact: hello@goauthentik.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UiThemeEnumToJSON = exports.UiThemeEnumFromJSONTyped = exports.UiThemeEnumFromJSON = exports.UiThemeEnum = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* * `automatic` - Automatic
|
|
19
|
+
* * `light` - Light
|
|
20
|
+
* * `dark` - Dark
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
exports.UiThemeEnum = {
|
|
24
|
+
Automatic: 'automatic',
|
|
25
|
+
Light: 'light',
|
|
26
|
+
Dark: 'dark',
|
|
27
|
+
UnknownDefaultOpenApi: '11184809'
|
|
28
|
+
};
|
|
29
|
+
function UiThemeEnumFromJSON(json) {
|
|
30
|
+
return UiThemeEnumFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.UiThemeEnumFromJSON = UiThemeEnumFromJSON;
|
|
33
|
+
function UiThemeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
exports.UiThemeEnumFromJSONTyped = UiThemeEnumFromJSONTyped;
|
|
37
|
+
function UiThemeEnumToJSON(value) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
exports.UiThemeEnumToJSON = UiThemeEnumToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -436,6 +436,7 @@ export * from './TokenRequest';
|
|
|
436
436
|
export * from './TokenSetKeyRequest';
|
|
437
437
|
export * from './TokenView';
|
|
438
438
|
export * from './TypeCreate';
|
|
439
|
+
export * from './UiThemeEnum';
|
|
439
440
|
export * from './UsedBy';
|
|
440
441
|
export * from './UsedByActionEnum';
|
|
441
442
|
export * from './User';
|
package/dist/models/index.js
CHANGED
|
@@ -454,6 +454,7 @@ __exportStar(require("./TokenRequest"), exports);
|
|
|
454
454
|
__exportStar(require("./TokenSetKeyRequest"), exports);
|
|
455
455
|
__exportStar(require("./TokenView"), exports);
|
|
456
456
|
__exportStar(require("./TypeCreate"), exports);
|
|
457
|
+
__exportStar(require("./UiThemeEnum"), exports);
|
|
457
458
|
__exportStar(require("./UsedBy"), exports);
|
|
458
459
|
__exportStar(require("./UsedByActionEnum"), exports);
|
|
459
460
|
__exportStar(require("./User"), exports);
|
package/package.json
CHANGED
|
@@ -19,6 +19,12 @@ import {
|
|
|
19
19
|
FooterLinkFromJSONTyped,
|
|
20
20
|
FooterLinkToJSON,
|
|
21
21
|
} from './FooterLink';
|
|
22
|
+
import {
|
|
23
|
+
UiThemeEnum,
|
|
24
|
+
UiThemeEnumFromJSON,
|
|
25
|
+
UiThemeEnumFromJSONTyped,
|
|
26
|
+
UiThemeEnumToJSON,
|
|
27
|
+
} from './UiThemeEnum';
|
|
22
28
|
|
|
23
29
|
/**
|
|
24
30
|
* Partial tenant information for styling
|
|
@@ -56,6 +62,12 @@ export interface CurrentTenant {
|
|
|
56
62
|
* @memberof CurrentTenant
|
|
57
63
|
*/
|
|
58
64
|
readonly uiFooterLinks: Array<FooterLink>;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {UiThemeEnum}
|
|
68
|
+
* @memberof CurrentTenant
|
|
69
|
+
*/
|
|
70
|
+
readonly uiTheme: UiThemeEnum | null;
|
|
59
71
|
/**
|
|
60
72
|
*
|
|
61
73
|
* @type {string}
|
|
@@ -115,6 +127,7 @@ export function CurrentTenantFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
115
127
|
'brandingLogo': json['branding_logo'],
|
|
116
128
|
'brandingFavicon': json['branding_favicon'],
|
|
117
129
|
'uiFooterLinks': ((json['ui_footer_links'] as Array<any>).map(FooterLinkFromJSON)),
|
|
130
|
+
'uiTheme': UiThemeEnumFromJSON(json['ui_theme']),
|
|
118
131
|
'flowAuthentication': !exists(json, 'flow_authentication') ? undefined : json['flow_authentication'],
|
|
119
132
|
'flowInvalidation': !exists(json, 'flow_invalidation') ? undefined : json['flow_invalidation'],
|
|
120
133
|
'flowRecovery': !exists(json, 'flow_recovery') ? undefined : json['flow_recovery'],
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2023.2.2
|
|
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
|
+
/**
|
|
17
|
+
* * `automatic` - Automatic
|
|
18
|
+
* * `light` - Light
|
|
19
|
+
* * `dark` - Dark
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
export const UiThemeEnum = {
|
|
23
|
+
Automatic: 'automatic',
|
|
24
|
+
Light: 'light',
|
|
25
|
+
Dark: 'dark',
|
|
26
|
+
UnknownDefaultOpenApi: '11184809'
|
|
27
|
+
} as const;
|
|
28
|
+
export type UiThemeEnum = typeof UiThemeEnum[keyof typeof UiThemeEnum];
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
export function UiThemeEnumFromJSON(json: any): UiThemeEnum {
|
|
32
|
+
return UiThemeEnumFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function UiThemeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiThemeEnum {
|
|
36
|
+
return json as UiThemeEnum;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function UiThemeEnumToJSON(value?: UiThemeEnum | null): any {
|
|
40
|
+
return value as any;
|
|
41
|
+
}
|
|
42
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -438,6 +438,7 @@ export * from './TokenRequest';
|
|
|
438
438
|
export * from './TokenSetKeyRequest';
|
|
439
439
|
export * from './TokenView';
|
|
440
440
|
export * from './TypeCreate';
|
|
441
|
+
export * from './UiThemeEnum';
|
|
441
442
|
export * from './UsedBy';
|
|
442
443
|
export * from './UsedByActionEnum';
|
|
443
444
|
export * from './User';
|