@goauthentik/api 2025.2.2-1742395408 → 2025.2.2-1742424775
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/dist/esm/models/Brand.d.ts +6 -0
- package/dist/esm/models/Brand.js +2 -0
- package/dist/esm/models/BrandRequest.d.ts +6 -0
- package/dist/esm/models/BrandRequest.js +2 -0
- package/dist/esm/models/CurrentBrand.d.ts +6 -0
- package/dist/esm/models/CurrentBrand.js +4 -0
- package/dist/esm/models/PatchedBrandRequest.d.ts +6 -0
- package/dist/esm/models/PatchedBrandRequest.js +2 -0
- package/dist/models/Brand.d.ts +6 -0
- package/dist/models/Brand.js +2 -0
- package/dist/models/BrandRequest.d.ts +6 -0
- package/dist/models/BrandRequest.js +2 -0
- package/dist/models/CurrentBrand.d.ts +6 -0
- package/dist/models/CurrentBrand.js +4 -0
- package/dist/models/PatchedBrandRequest.d.ts +6 -0
- package/dist/models/PatchedBrandRequest.js +2 -0
- package/package.json +1 -1
- package/src/models/Brand.ts +8 -0
- package/src/models/BrandRequest.ts +8 -0
- package/src/models/CurrentBrand.ts +9 -0
- package/src/models/PatchedBrandRequest.ts +8 -0
package/dist/esm/models/Brand.js
CHANGED
|
@@ -35,6 +35,7 @@ export function BrandFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
|
|
36
36
|
'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
|
|
37
37
|
'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
|
|
38
|
+
'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
|
|
38
39
|
'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
|
|
39
40
|
'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
|
|
40
41
|
'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
|
|
@@ -59,6 +60,7 @@ export function BrandToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
59
60
|
'branding_title': value['brandingTitle'],
|
|
60
61
|
'branding_logo': value['brandingLogo'],
|
|
61
62
|
'branding_favicon': value['brandingFavicon'],
|
|
63
|
+
'branding_custom_css': value['brandingCustomCss'],
|
|
62
64
|
'flow_authentication': value['flowAuthentication'],
|
|
63
65
|
'flow_invalidation': value['flowInvalidation'],
|
|
64
66
|
'flow_recovery': value['flowRecovery'],
|
|
@@ -32,6 +32,7 @@ export function BrandRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
|
|
33
33
|
'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
|
|
34
34
|
'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
|
|
35
|
+
'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
|
|
35
36
|
'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
|
|
36
37
|
'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
|
|
37
38
|
'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
|
|
@@ -56,6 +57,7 @@ export function BrandRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
56
57
|
'branding_title': value['brandingTitle'],
|
|
57
58
|
'branding_logo': value['brandingLogo'],
|
|
58
59
|
'branding_favicon': value['brandingFavicon'],
|
|
60
|
+
'branding_custom_css': value['brandingCustomCss'],
|
|
59
61
|
'flow_authentication': value['flowAuthentication'],
|
|
60
62
|
'flow_invalidation': value['flowInvalidation'],
|
|
61
63
|
'flow_recovery': value['flowRecovery'],
|
|
@@ -25,6 +25,8 @@ export function instanceOfCurrentBrand(value) {
|
|
|
25
25
|
return false;
|
|
26
26
|
if (!('brandingFavicon' in value) || value['brandingFavicon'] === undefined)
|
|
27
27
|
return false;
|
|
28
|
+
if (!('brandingCustomCss' in value) || value['brandingCustomCss'] === undefined)
|
|
29
|
+
return false;
|
|
28
30
|
if (!('uiFooterLinks' in value) || value['uiFooterLinks'] === undefined)
|
|
29
31
|
return false;
|
|
30
32
|
if (!('uiTheme' in value) || value['uiTheme'] === undefined)
|
|
@@ -45,6 +47,7 @@ export function CurrentBrandFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
47
|
'brandingTitle': json['branding_title'],
|
|
46
48
|
'brandingLogo': json['branding_logo'],
|
|
47
49
|
'brandingFavicon': json['branding_favicon'],
|
|
50
|
+
'brandingCustomCss': json['branding_custom_css'],
|
|
48
51
|
'uiFooterLinks': (json['ui_footer_links'].map(FooterLinkFromJSON)),
|
|
49
52
|
'uiTheme': UiThemeEnumFromJSON(json['ui_theme']),
|
|
50
53
|
'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
|
|
@@ -68,6 +71,7 @@ export function CurrentBrandToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
68
71
|
'branding_title': value['brandingTitle'],
|
|
69
72
|
'branding_logo': value['brandingLogo'],
|
|
70
73
|
'branding_favicon': value['brandingFavicon'],
|
|
74
|
+
'branding_custom_css': value['brandingCustomCss'],
|
|
71
75
|
'flow_authentication': value['flowAuthentication'],
|
|
72
76
|
'flow_invalidation': value['flowInvalidation'],
|
|
73
77
|
'flow_recovery': value['flowRecovery'],
|
|
@@ -30,6 +30,7 @@ export function PatchedBrandRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
|
|
31
31
|
'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
|
|
32
32
|
'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
|
|
33
|
+
'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
|
|
33
34
|
'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
|
|
34
35
|
'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
|
|
35
36
|
'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
|
|
@@ -54,6 +55,7 @@ export function PatchedBrandRequestToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
54
55
|
'branding_title': value['brandingTitle'],
|
|
55
56
|
'branding_logo': value['brandingLogo'],
|
|
56
57
|
'branding_favicon': value['brandingFavicon'],
|
|
58
|
+
'branding_custom_css': value['brandingCustomCss'],
|
|
57
59
|
'flow_authentication': value['flowAuthentication'],
|
|
58
60
|
'flow_invalidation': value['flowInvalidation'],
|
|
59
61
|
'flow_recovery': value['flowRecovery'],
|
package/dist/models/Brand.d.ts
CHANGED
package/dist/models/Brand.js
CHANGED
|
@@ -42,6 +42,7 @@ function BrandFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
|
|
43
43
|
'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
|
|
44
44
|
'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
|
|
45
|
+
'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
|
|
45
46
|
'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
|
|
46
47
|
'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
|
|
47
48
|
'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
|
|
@@ -66,6 +67,7 @@ function BrandToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
66
67
|
'branding_title': value['brandingTitle'],
|
|
67
68
|
'branding_logo': value['brandingLogo'],
|
|
68
69
|
'branding_favicon': value['brandingFavicon'],
|
|
70
|
+
'branding_custom_css': value['brandingCustomCss'],
|
|
69
71
|
'flow_authentication': value['flowAuthentication'],
|
|
70
72
|
'flow_invalidation': value['flowInvalidation'],
|
|
71
73
|
'flow_recovery': value['flowRecovery'],
|
|
@@ -39,6 +39,7 @@ function BrandRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
|
|
40
40
|
'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
|
|
41
41
|
'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
|
|
42
|
+
'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
|
|
42
43
|
'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
|
|
43
44
|
'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
|
|
44
45
|
'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
|
|
@@ -63,6 +64,7 @@ function BrandRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
63
64
|
'branding_title': value['brandingTitle'],
|
|
64
65
|
'branding_logo': value['brandingLogo'],
|
|
65
66
|
'branding_favicon': value['brandingFavicon'],
|
|
67
|
+
'branding_custom_css': value['brandingCustomCss'],
|
|
66
68
|
'flow_authentication': value['flowAuthentication'],
|
|
67
69
|
'flow_invalidation': value['flowInvalidation'],
|
|
68
70
|
'flow_recovery': value['flowRecovery'],
|
|
@@ -32,6 +32,8 @@ function instanceOfCurrentBrand(value) {
|
|
|
32
32
|
return false;
|
|
33
33
|
if (!('brandingFavicon' in value) || value['brandingFavicon'] === undefined)
|
|
34
34
|
return false;
|
|
35
|
+
if (!('brandingCustomCss' in value) || value['brandingCustomCss'] === undefined)
|
|
36
|
+
return false;
|
|
35
37
|
if (!('uiFooterLinks' in value) || value['uiFooterLinks'] === undefined)
|
|
36
38
|
return false;
|
|
37
39
|
if (!('uiTheme' in value) || value['uiTheme'] === undefined)
|
|
@@ -52,6 +54,7 @@ function CurrentBrandFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
54
|
'brandingTitle': json['branding_title'],
|
|
53
55
|
'brandingLogo': json['branding_logo'],
|
|
54
56
|
'brandingFavicon': json['branding_favicon'],
|
|
57
|
+
'brandingCustomCss': json['branding_custom_css'],
|
|
55
58
|
'uiFooterLinks': (json['ui_footer_links'].map(FooterLink_1.FooterLinkFromJSON)),
|
|
56
59
|
'uiTheme': (0, UiThemeEnum_1.UiThemeEnumFromJSON)(json['ui_theme']),
|
|
57
60
|
'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
|
|
@@ -75,6 +78,7 @@ function CurrentBrandToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
75
78
|
'branding_title': value['brandingTitle'],
|
|
76
79
|
'branding_logo': value['brandingLogo'],
|
|
77
80
|
'branding_favicon': value['brandingFavicon'],
|
|
81
|
+
'branding_custom_css': value['brandingCustomCss'],
|
|
78
82
|
'flow_authentication': value['flowAuthentication'],
|
|
79
83
|
'flow_invalidation': value['flowInvalidation'],
|
|
80
84
|
'flow_recovery': value['flowRecovery'],
|
|
@@ -37,6 +37,7 @@ function PatchedBrandRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
|
|
38
38
|
'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
|
|
39
39
|
'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
|
|
40
|
+
'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
|
|
40
41
|
'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
|
|
41
42
|
'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
|
|
42
43
|
'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
|
|
@@ -61,6 +62,7 @@ function PatchedBrandRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
61
62
|
'branding_title': value['brandingTitle'],
|
|
62
63
|
'branding_logo': value['brandingLogo'],
|
|
63
64
|
'branding_favicon': value['brandingFavicon'],
|
|
65
|
+
'branding_custom_css': value['brandingCustomCss'],
|
|
64
66
|
'flow_authentication': value['flowAuthentication'],
|
|
65
67
|
'flow_invalidation': value['flowInvalidation'],
|
|
66
68
|
'flow_recovery': value['flowRecovery'],
|
package/package.json
CHANGED
package/src/models/Brand.ts
CHANGED
|
@@ -55,6 +55,12 @@ export interface Brand {
|
|
|
55
55
|
* @memberof Brand
|
|
56
56
|
*/
|
|
57
57
|
brandingFavicon?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof Brand
|
|
62
|
+
*/
|
|
63
|
+
brandingCustomCss?: string;
|
|
58
64
|
/**
|
|
59
65
|
*
|
|
60
66
|
* @type {string}
|
|
@@ -136,6 +142,7 @@ export function BrandFromJSONTyped(json: any, ignoreDiscriminator: boolean): Bra
|
|
|
136
142
|
'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
|
|
137
143
|
'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
|
|
138
144
|
'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
|
|
145
|
+
'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
|
|
139
146
|
'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
|
|
140
147
|
'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
|
|
141
148
|
'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
|
|
@@ -164,6 +171,7 @@ export function BrandToJSONTyped(value?: Omit<Brand, 'brand_uuid'> | null, ignor
|
|
|
164
171
|
'branding_title': value['brandingTitle'],
|
|
165
172
|
'branding_logo': value['brandingLogo'],
|
|
166
173
|
'branding_favicon': value['brandingFavicon'],
|
|
174
|
+
'branding_custom_css': value['brandingCustomCss'],
|
|
167
175
|
'flow_authentication': value['flowAuthentication'],
|
|
168
176
|
'flow_invalidation': value['flowInvalidation'],
|
|
169
177
|
'flow_recovery': value['flowRecovery'],
|
|
@@ -49,6 +49,12 @@ export interface BrandRequest {
|
|
|
49
49
|
* @memberof BrandRequest
|
|
50
50
|
*/
|
|
51
51
|
brandingFavicon?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof BrandRequest
|
|
56
|
+
*/
|
|
57
|
+
brandingCustomCss?: string;
|
|
52
58
|
/**
|
|
53
59
|
*
|
|
54
60
|
* @type {string}
|
|
@@ -128,6 +134,7 @@ export function BrandRequestFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
128
134
|
'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
|
|
129
135
|
'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
|
|
130
136
|
'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
|
|
137
|
+
'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
|
|
131
138
|
'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
|
|
132
139
|
'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
|
|
133
140
|
'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
|
|
@@ -156,6 +163,7 @@ export function BrandRequestToJSONTyped(value?: BrandRequest | null, ignoreDiscr
|
|
|
156
163
|
'branding_title': value['brandingTitle'],
|
|
157
164
|
'branding_logo': value['brandingLogo'],
|
|
158
165
|
'branding_favicon': value['brandingFavicon'],
|
|
166
|
+
'branding_custom_css': value['brandingCustomCss'],
|
|
159
167
|
'flow_authentication': value['flowAuthentication'],
|
|
160
168
|
'flow_invalidation': value['flowInvalidation'],
|
|
161
169
|
'flow_recovery': value['flowRecovery'],
|
|
@@ -58,6 +58,12 @@ export interface CurrentBrand {
|
|
|
58
58
|
* @memberof CurrentBrand
|
|
59
59
|
*/
|
|
60
60
|
brandingFavicon: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof CurrentBrand
|
|
65
|
+
*/
|
|
66
|
+
brandingCustomCss: string;
|
|
61
67
|
/**
|
|
62
68
|
*
|
|
63
69
|
* @type {Array<FooterLink>}
|
|
@@ -124,6 +130,7 @@ export function instanceOfCurrentBrand(value: object): value is CurrentBrand {
|
|
|
124
130
|
if (!('brandingTitle' in value) || value['brandingTitle'] === undefined) return false;
|
|
125
131
|
if (!('brandingLogo' in value) || value['brandingLogo'] === undefined) return false;
|
|
126
132
|
if (!('brandingFavicon' in value) || value['brandingFavicon'] === undefined) return false;
|
|
133
|
+
if (!('brandingCustomCss' in value) || value['brandingCustomCss'] === undefined) return false;
|
|
127
134
|
if (!('uiFooterLinks' in value) || value['uiFooterLinks'] === undefined) return false;
|
|
128
135
|
if (!('uiTheme' in value) || value['uiTheme'] === undefined) return false;
|
|
129
136
|
if (!('defaultLocale' in value) || value['defaultLocale'] === undefined) return false;
|
|
@@ -144,6 +151,7 @@ export function CurrentBrandFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
144
151
|
'brandingTitle': json['branding_title'],
|
|
145
152
|
'brandingLogo': json['branding_logo'],
|
|
146
153
|
'brandingFavicon': json['branding_favicon'],
|
|
154
|
+
'brandingCustomCss': json['branding_custom_css'],
|
|
147
155
|
'uiFooterLinks': ((json['ui_footer_links'] as Array<any>).map(FooterLinkFromJSON)),
|
|
148
156
|
'uiTheme': UiThemeEnumFromJSON(json['ui_theme']),
|
|
149
157
|
'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
|
|
@@ -171,6 +179,7 @@ export function CurrentBrandToJSONTyped(value?: Omit<CurrentBrand, 'ui_footer_li
|
|
|
171
179
|
'branding_title': value['brandingTitle'],
|
|
172
180
|
'branding_logo': value['brandingLogo'],
|
|
173
181
|
'branding_favicon': value['brandingFavicon'],
|
|
182
|
+
'branding_custom_css': value['brandingCustomCss'],
|
|
174
183
|
'flow_authentication': value['flowAuthentication'],
|
|
175
184
|
'flow_invalidation': value['flowInvalidation'],
|
|
176
185
|
'flow_recovery': value['flowRecovery'],
|
|
@@ -49,6 +49,12 @@ export interface PatchedBrandRequest {
|
|
|
49
49
|
* @memberof PatchedBrandRequest
|
|
50
50
|
*/
|
|
51
51
|
brandingFavicon?: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof PatchedBrandRequest
|
|
56
|
+
*/
|
|
57
|
+
brandingCustomCss?: string;
|
|
52
58
|
/**
|
|
53
59
|
*
|
|
54
60
|
* @type {string}
|
|
@@ -127,6 +133,7 @@ export function PatchedBrandRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
127
133
|
'brandingTitle': json['branding_title'] == null ? undefined : json['branding_title'],
|
|
128
134
|
'brandingLogo': json['branding_logo'] == null ? undefined : json['branding_logo'],
|
|
129
135
|
'brandingFavicon': json['branding_favicon'] == null ? undefined : json['branding_favicon'],
|
|
136
|
+
'brandingCustomCss': json['branding_custom_css'] == null ? undefined : json['branding_custom_css'],
|
|
130
137
|
'flowAuthentication': json['flow_authentication'] == null ? undefined : json['flow_authentication'],
|
|
131
138
|
'flowInvalidation': json['flow_invalidation'] == null ? undefined : json['flow_invalidation'],
|
|
132
139
|
'flowRecovery': json['flow_recovery'] == null ? undefined : json['flow_recovery'],
|
|
@@ -155,6 +162,7 @@ export function PatchedBrandRequestToJSONTyped(value?: PatchedBrandRequest | nul
|
|
|
155
162
|
'branding_title': value['brandingTitle'],
|
|
156
163
|
'branding_logo': value['brandingLogo'],
|
|
157
164
|
'branding_favicon': value['brandingFavicon'],
|
|
165
|
+
'branding_custom_css': value['brandingCustomCss'],
|
|
158
166
|
'flow_authentication': value['flowAuthentication'],
|
|
159
167
|
'flow_invalidation': value['flowInvalidation'],
|
|
160
168
|
'flow_recovery': value['flowRecovery'],
|