@goauthentik/api 2025.6.4-1754491498 → 2025.6.4-1755003758
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 +2 -0
- package/dist/apis/AdminApi.d.ts +2 -2
- package/dist/apis/AdminApi.d.ts.map +1 -1
- package/dist/apis/AdminApi.js +4 -1
- package/dist/apis/AdminApi.js.map +1 -1
- package/dist/esm/apis/AdminApi.d.ts +2 -2
- package/dist/esm/apis/AdminApi.d.ts.map +1 -1
- package/dist/esm/apis/AdminApi.js +4 -1
- package/dist/esm/apis/AdminApi.js.map +1 -1
- package/dist/esm/models/AppEnum.d.ts +2 -2
- package/dist/esm/models/AppEnum.js +2 -2
- package/dist/esm/models/AppEnum.js.map +1 -1
- package/dist/esm/models/CurrentBrand.d.ts +7 -0
- package/dist/esm/models/CurrentBrand.d.ts.map +1 -1
- package/dist/esm/models/CurrentBrand.js +5 -0
- package/dist/esm/models/CurrentBrand.js.map +1 -1
- package/dist/esm/models/CurrentBrandFlags.d.ts +33 -0
- package/dist/esm/models/CurrentBrandFlags.d.ts.map +1 -0
- package/dist/esm/models/CurrentBrandFlags.js +51 -0
- package/dist/esm/models/CurrentBrandFlags.js.map +1 -0
- package/dist/esm/models/ModelEnum.d.ts +6 -6
- package/dist/esm/models/ModelEnum.js +6 -6
- package/dist/esm/models/ModelEnum.js.map +1 -1
- package/dist/esm/models/PatchedSettingsRequest.d.ts +7 -0
- package/dist/esm/models/PatchedSettingsRequest.d.ts.map +1 -1
- package/dist/esm/models/PatchedSettingsRequest.js +3 -0
- package/dist/esm/models/PatchedSettingsRequest.js.map +1 -1
- package/dist/esm/models/PatchedSettingsRequestFlags.d.ts +33 -0
- package/dist/esm/models/PatchedSettingsRequestFlags.d.ts.map +1 -0
- package/dist/esm/models/PatchedSettingsRequestFlags.js +51 -0
- package/dist/esm/models/PatchedSettingsRequestFlags.js.map +1 -0
- package/dist/esm/models/Settings.d.ts +7 -0
- package/dist/esm/models/Settings.d.ts.map +1 -1
- package/dist/esm/models/Settings.js +5 -0
- package/dist/esm/models/Settings.js.map +1 -1
- package/dist/esm/models/SettingsRequest.d.ts +7 -0
- package/dist/esm/models/SettingsRequest.d.ts.map +1 -1
- package/dist/esm/models/SettingsRequest.js +5 -0
- package/dist/esm/models/SettingsRequest.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +2 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/runtime.d.ts.map +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/esm/runtime.js.map +1 -1
- package/dist/models/AppEnum.d.ts +2 -2
- package/dist/models/AppEnum.js +2 -2
- package/dist/models/AppEnum.js.map +1 -1
- package/dist/models/CurrentBrand.d.ts +7 -0
- package/dist/models/CurrentBrand.d.ts.map +1 -1
- package/dist/models/CurrentBrand.js +5 -0
- package/dist/models/CurrentBrand.js.map +1 -1
- package/dist/models/CurrentBrandFlags.d.ts +33 -0
- package/dist/models/CurrentBrandFlags.d.ts.map +1 -0
- package/dist/models/CurrentBrandFlags.js +51 -0
- package/dist/models/CurrentBrandFlags.js.map +1 -0
- package/dist/models/ModelEnum.d.ts +6 -6
- package/dist/models/ModelEnum.js +6 -6
- package/dist/models/ModelEnum.js.map +1 -1
- package/dist/models/PatchedSettingsRequest.d.ts +7 -0
- package/dist/models/PatchedSettingsRequest.d.ts.map +1 -1
- package/dist/models/PatchedSettingsRequest.js +3 -0
- package/dist/models/PatchedSettingsRequest.js.map +1 -1
- package/dist/models/PatchedSettingsRequestFlags.d.ts +33 -0
- package/dist/models/PatchedSettingsRequestFlags.d.ts.map +1 -0
- package/dist/models/PatchedSettingsRequestFlags.js +51 -0
- package/dist/models/PatchedSettingsRequestFlags.js.map +1 -0
- package/dist/models/Settings.d.ts +7 -0
- package/dist/models/Settings.d.ts.map +1 -1
- package/dist/models/Settings.js +5 -0
- package/dist/models/Settings.js.map +1 -1
- package/dist/models/SettingsRequest.d.ts +7 -0
- package/dist/models/SettingsRequest.d.ts.map +1 -1
- package/dist/models/SettingsRequest.js +5 -0
- package/dist/models/SettingsRequest.js.map +1 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +2 -0
- package/dist/models/index.js.map +1 -1
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +1 -1
- package/dist/runtime.js.map +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +9 -2
- package/src/models/AppEnum.ts +2 -2
- package/src/models/CurrentBrand.ts +16 -0
- package/src/models/CurrentBrandFlags.ts +66 -0
- package/src/models/ModelEnum.ts +6 -6
- package/src/models/PatchedSettingsRequest.ts +16 -0
- package/src/models/PatchedSettingsRequestFlags.ts +66 -0
- package/src/models/Settings.ts +17 -0
- package/src/models/SettingsRequest.ts +17 -0
- package/src/models/index.ts +2 -0
- package/src/runtime.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
package/src/apis/AdminApi.ts
CHANGED
|
@@ -51,7 +51,7 @@ export interface AdminSettingsPartialUpdateRequest {
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
export interface AdminSettingsUpdateRequest {
|
|
54
|
-
settingsRequest
|
|
54
|
+
settingsRequest: SettingsRequest;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
export interface AdminVersionHistoryListRequest {
|
|
@@ -213,6 +213,13 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
213
213
|
* Settings view
|
|
214
214
|
*/
|
|
215
215
|
async adminSettingsUpdateRaw(requestParameters: AdminSettingsUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Settings>> {
|
|
216
|
+
if (requestParameters['settingsRequest'] == null) {
|
|
217
|
+
throw new runtime.RequiredError(
|
|
218
|
+
'settingsRequest',
|
|
219
|
+
'Required parameter "settingsRequest" was null or undefined when calling adminSettingsUpdate().'
|
|
220
|
+
);
|
|
221
|
+
}
|
|
222
|
+
|
|
216
223
|
const queryParameters: any = {};
|
|
217
224
|
|
|
218
225
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -241,7 +248,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
241
248
|
/**
|
|
242
249
|
* Settings view
|
|
243
250
|
*/
|
|
244
|
-
async adminSettingsUpdate(requestParameters: AdminSettingsUpdateRequest
|
|
251
|
+
async adminSettingsUpdate(requestParameters: AdminSettingsUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Settings> {
|
|
245
252
|
const response = await this.adminSettingsUpdateRaw(requestParameters, initOverrides);
|
|
246
253
|
return await response.value();
|
|
247
254
|
}
|
package/src/models/AppEnum.ts
CHANGED
|
@@ -22,7 +22,9 @@ export const AppEnum = {
|
|
|
22
22
|
AuthentikTasks: 'authentik.tasks',
|
|
23
23
|
AuthentikAdmin: 'authentik.admin',
|
|
24
24
|
AuthentikApi: 'authentik.api',
|
|
25
|
+
AuthentikCore: 'authentik.core',
|
|
25
26
|
AuthentikCrypto: 'authentik.crypto',
|
|
27
|
+
AuthentikEnterprise: 'authentik.enterprise',
|
|
26
28
|
AuthentikEvents: 'authentik.events',
|
|
27
29
|
AuthentikFlows: 'authentik.flows',
|
|
28
30
|
AuthentikOutposts: 'authentik.outposts',
|
|
@@ -74,8 +76,6 @@ export const AppEnum = {
|
|
|
74
76
|
AuthentikTasksSchedules: 'authentik.tasks.schedules',
|
|
75
77
|
AuthentikBrands: 'authentik.brands',
|
|
76
78
|
AuthentikBlueprints: 'authentik.blueprints',
|
|
77
|
-
AuthentikCore: 'authentik.core',
|
|
78
|
-
AuthentikEnterprise: 'authentik.enterprise',
|
|
79
79
|
AuthentikEnterpriseAudit: 'authentik.enterprise.audit',
|
|
80
80
|
AuthentikEnterprisePoliciesUniquePassword: 'authentik.enterprise.policies.unique_password',
|
|
81
81
|
AuthentikEnterpriseProvidersGoogleWorkspace: 'authentik.enterprise.providers.google_workspace',
|
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { CurrentBrandFlags } from './CurrentBrandFlags';
|
|
17
|
+
import {
|
|
18
|
+
CurrentBrandFlagsFromJSON,
|
|
19
|
+
CurrentBrandFlagsFromJSONTyped,
|
|
20
|
+
CurrentBrandFlagsToJSON,
|
|
21
|
+
CurrentBrandFlagsToJSONTyped,
|
|
22
|
+
} from './CurrentBrandFlags';
|
|
16
23
|
import type { UiThemeEnum } from './UiThemeEnum';
|
|
17
24
|
import {
|
|
18
25
|
UiThemeEnumFromJSON,
|
|
@@ -118,6 +125,12 @@ export interface CurrentBrand {
|
|
|
118
125
|
* @memberof CurrentBrand
|
|
119
126
|
*/
|
|
120
127
|
readonly defaultLocale: string;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {CurrentBrandFlags}
|
|
131
|
+
* @memberof CurrentBrand
|
|
132
|
+
*/
|
|
133
|
+
flags: CurrentBrandFlags;
|
|
121
134
|
}
|
|
122
135
|
|
|
123
136
|
|
|
@@ -134,6 +147,7 @@ export function instanceOfCurrentBrand(value: object): value is CurrentBrand {
|
|
|
134
147
|
if (!('uiFooterLinks' in value) || value['uiFooterLinks'] === undefined) return false;
|
|
135
148
|
if (!('uiTheme' in value) || value['uiTheme'] === undefined) return false;
|
|
136
149
|
if (!('defaultLocale' in value) || value['defaultLocale'] === undefined) return false;
|
|
150
|
+
if (!('flags' in value) || value['flags'] === undefined) return false;
|
|
137
151
|
return true;
|
|
138
152
|
}
|
|
139
153
|
|
|
@@ -161,6 +175,7 @@ export function CurrentBrandFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
161
175
|
'flowUserSettings': json['flow_user_settings'] == null ? undefined : json['flow_user_settings'],
|
|
162
176
|
'flowDeviceCode': json['flow_device_code'] == null ? undefined : json['flow_device_code'],
|
|
163
177
|
'defaultLocale': json['default_locale'],
|
|
178
|
+
'flags': CurrentBrandFlagsFromJSON(json['flags']),
|
|
164
179
|
};
|
|
165
180
|
}
|
|
166
181
|
|
|
@@ -186,6 +201,7 @@ export function CurrentBrandToJSONTyped(value?: Omit<CurrentBrand, 'ui_footer_li
|
|
|
186
201
|
'flow_unenrollment': value['flowUnenrollment'],
|
|
187
202
|
'flow_user_settings': value['flowUserSettings'],
|
|
188
203
|
'flow_device_code': value['flowDeviceCode'],
|
|
204
|
+
'flags': CurrentBrandFlagsToJSON(value['flags']),
|
|
189
205
|
};
|
|
190
206
|
}
|
|
191
207
|
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.6.4
|
|
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 { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface CurrentBrandFlags
|
|
20
|
+
*/
|
|
21
|
+
export interface CurrentBrandFlags {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof CurrentBrandFlags
|
|
26
|
+
*/
|
|
27
|
+
policiesBufferedAccessView: boolean;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the CurrentBrandFlags interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfCurrentBrandFlags(value: object): value is CurrentBrandFlags {
|
|
34
|
+
if (!('policiesBufferedAccessView' in value) || value['policiesBufferedAccessView'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function CurrentBrandFlagsFromJSON(json: any): CurrentBrandFlags {
|
|
39
|
+
return CurrentBrandFlagsFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function CurrentBrandFlagsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CurrentBrandFlags {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'policiesBufferedAccessView': json['policies_buffered_access_view'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function CurrentBrandFlagsToJSON(json: any): CurrentBrandFlags {
|
|
53
|
+
return CurrentBrandFlagsToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function CurrentBrandFlagsToJSONTyped(value?: CurrentBrandFlags | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'policies_buffered_access_view': value['policiesBufferedAccessView'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/src/models/ModelEnum.ts
CHANGED
|
@@ -19,7 +19,13 @@
|
|
|
19
19
|
*/
|
|
20
20
|
export const ModelEnum = {
|
|
21
21
|
AuthentikTenantsDomain: 'authentik_tenants.domain',
|
|
22
|
+
AuthentikCoreGroup: 'authentik_core.group',
|
|
23
|
+
AuthentikCoreUser: 'authentik_core.user',
|
|
24
|
+
AuthentikCoreApplication: 'authentik_core.application',
|
|
25
|
+
AuthentikCoreApplicationentitlement: 'authentik_core.applicationentitlement',
|
|
26
|
+
AuthentikCoreToken: 'authentik_core.token',
|
|
22
27
|
AuthentikCryptoCertificatekeypair: 'authentik_crypto.certificatekeypair',
|
|
28
|
+
AuthentikEnterpriseLicense: 'authentik_enterprise.license',
|
|
23
29
|
AuthentikEventsEvent: 'authentik_events.event',
|
|
24
30
|
AuthentikEventsNotificationtransport: 'authentik_events.notificationtransport',
|
|
25
31
|
AuthentikEventsNotification: 'authentik_events.notification',
|
|
@@ -108,12 +114,6 @@ export const ModelEnum = {
|
|
|
108
114
|
AuthentikTasksSchedulesSchedule: 'authentik_tasks_schedules.schedule',
|
|
109
115
|
AuthentikBrandsBrand: 'authentik_brands.brand',
|
|
110
116
|
AuthentikBlueprintsBlueprintinstance: 'authentik_blueprints.blueprintinstance',
|
|
111
|
-
AuthentikCoreGroup: 'authentik_core.group',
|
|
112
|
-
AuthentikCoreUser: 'authentik_core.user',
|
|
113
|
-
AuthentikCoreApplication: 'authentik_core.application',
|
|
114
|
-
AuthentikCoreApplicationentitlement: 'authentik_core.applicationentitlement',
|
|
115
|
-
AuthentikCoreToken: 'authentik_core.token',
|
|
116
|
-
AuthentikEnterpriseLicense: 'authentik_enterprise.license',
|
|
117
117
|
AuthentikPoliciesUniquePasswordUniquepasswordpolicy: 'authentik_policies_unique_password.uniquepasswordpolicy',
|
|
118
118
|
AuthentikProvidersGoogleWorkspaceGoogleworkspaceprovider: 'authentik_providers_google_workspace.googleworkspaceprovider',
|
|
119
119
|
AuthentikProvidersGoogleWorkspaceGoogleworkspaceprovidermapping: 'authentik_providers_google_workspace.googleworkspaceprovidermapping',
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { PatchedSettingsRequestFlags } from './PatchedSettingsRequestFlags';
|
|
17
|
+
import {
|
|
18
|
+
PatchedSettingsRequestFlagsFromJSON,
|
|
19
|
+
PatchedSettingsRequestFlagsFromJSONTyped,
|
|
20
|
+
PatchedSettingsRequestFlagsToJSON,
|
|
21
|
+
PatchedSettingsRequestFlagsToJSONTyped,
|
|
22
|
+
} from './PatchedSettingsRequestFlags';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
* Settings Serializer
|
|
18
26
|
* @export
|
|
@@ -97,6 +105,12 @@ export interface PatchedSettingsRequest {
|
|
|
97
105
|
* @memberof PatchedSettingsRequest
|
|
98
106
|
*/
|
|
99
107
|
defaultTokenLength?: number;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {PatchedSettingsRequestFlags}
|
|
111
|
+
* @memberof PatchedSettingsRequest
|
|
112
|
+
*/
|
|
113
|
+
flags?: PatchedSettingsRequestFlags;
|
|
100
114
|
}
|
|
101
115
|
|
|
102
116
|
/**
|
|
@@ -129,6 +143,7 @@ export function PatchedSettingsRequestFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
129
143
|
'impersonationRequireReason': json['impersonation_require_reason'] == null ? undefined : json['impersonation_require_reason'],
|
|
130
144
|
'defaultTokenDuration': json['default_token_duration'] == null ? undefined : json['default_token_duration'],
|
|
131
145
|
'defaultTokenLength': json['default_token_length'] == null ? undefined : json['default_token_length'],
|
|
146
|
+
'flags': json['flags'] == null ? undefined : PatchedSettingsRequestFlagsFromJSON(json['flags']),
|
|
132
147
|
};
|
|
133
148
|
}
|
|
134
149
|
|
|
@@ -156,6 +171,7 @@ export function PatchedSettingsRequestToJSONTyped(value?: PatchedSettingsRequest
|
|
|
156
171
|
'impersonation_require_reason': value['impersonationRequireReason'],
|
|
157
172
|
'default_token_duration': value['defaultTokenDuration'],
|
|
158
173
|
'default_token_length': value['defaultTokenLength'],
|
|
174
|
+
'flags': PatchedSettingsRequestFlagsToJSON(value['flags']),
|
|
159
175
|
};
|
|
160
176
|
}
|
|
161
177
|
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* authentik
|
|
5
|
+
* Making authentication simple.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2025.6.4
|
|
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 { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PatchedSettingsRequestFlags
|
|
20
|
+
*/
|
|
21
|
+
export interface PatchedSettingsRequestFlags {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof PatchedSettingsRequestFlags
|
|
26
|
+
*/
|
|
27
|
+
policiesBufferedAccessView: boolean;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the PatchedSettingsRequestFlags interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfPatchedSettingsRequestFlags(value: object): value is PatchedSettingsRequestFlags {
|
|
34
|
+
if (!('policiesBufferedAccessView' in value) || value['policiesBufferedAccessView'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function PatchedSettingsRequestFlagsFromJSON(json: any): PatchedSettingsRequestFlags {
|
|
39
|
+
return PatchedSettingsRequestFlagsFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function PatchedSettingsRequestFlagsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedSettingsRequestFlags {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'policiesBufferedAccessView': json['policies_buffered_access_view'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function PatchedSettingsRequestFlagsToJSON(json: any): PatchedSettingsRequestFlags {
|
|
53
|
+
return PatchedSettingsRequestFlagsToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function PatchedSettingsRequestFlagsToJSONTyped(value?: PatchedSettingsRequestFlags | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'policies_buffered_access_view': value['policiesBufferedAccessView'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/src/models/Settings.ts
CHANGED
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { PatchedSettingsRequestFlags } from './PatchedSettingsRequestFlags';
|
|
17
|
+
import {
|
|
18
|
+
PatchedSettingsRequestFlagsFromJSON,
|
|
19
|
+
PatchedSettingsRequestFlagsFromJSONTyped,
|
|
20
|
+
PatchedSettingsRequestFlagsToJSON,
|
|
21
|
+
PatchedSettingsRequestFlagsToJSONTyped,
|
|
22
|
+
} from './PatchedSettingsRequestFlags';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
* Settings Serializer
|
|
18
26
|
* @export
|
|
@@ -97,12 +105,19 @@ export interface Settings {
|
|
|
97
105
|
* @memberof Settings
|
|
98
106
|
*/
|
|
99
107
|
defaultTokenLength?: number;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {PatchedSettingsRequestFlags}
|
|
111
|
+
* @memberof Settings
|
|
112
|
+
*/
|
|
113
|
+
flags: PatchedSettingsRequestFlags;
|
|
100
114
|
}
|
|
101
115
|
|
|
102
116
|
/**
|
|
103
117
|
* Check if a given object implements the Settings interface.
|
|
104
118
|
*/
|
|
105
119
|
export function instanceOfSettings(value: object): value is Settings {
|
|
120
|
+
if (!('flags' in value) || value['flags'] === undefined) return false;
|
|
106
121
|
return true;
|
|
107
122
|
}
|
|
108
123
|
|
|
@@ -129,6 +144,7 @@ export function SettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
129
144
|
'impersonationRequireReason': json['impersonation_require_reason'] == null ? undefined : json['impersonation_require_reason'],
|
|
130
145
|
'defaultTokenDuration': json['default_token_duration'] == null ? undefined : json['default_token_duration'],
|
|
131
146
|
'defaultTokenLength': json['default_token_length'] == null ? undefined : json['default_token_length'],
|
|
147
|
+
'flags': PatchedSettingsRequestFlagsFromJSON(json['flags']),
|
|
132
148
|
};
|
|
133
149
|
}
|
|
134
150
|
|
|
@@ -156,6 +172,7 @@ export function SettingsToJSONTyped(value?: Settings | null, ignoreDiscriminator
|
|
|
156
172
|
'impersonation_require_reason': value['impersonationRequireReason'],
|
|
157
173
|
'default_token_duration': value['defaultTokenDuration'],
|
|
158
174
|
'default_token_length': value['defaultTokenLength'],
|
|
175
|
+
'flags': PatchedSettingsRequestFlagsToJSON(value['flags']),
|
|
159
176
|
};
|
|
160
177
|
}
|
|
161
178
|
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { PatchedSettingsRequestFlags } from './PatchedSettingsRequestFlags';
|
|
17
|
+
import {
|
|
18
|
+
PatchedSettingsRequestFlagsFromJSON,
|
|
19
|
+
PatchedSettingsRequestFlagsFromJSONTyped,
|
|
20
|
+
PatchedSettingsRequestFlagsToJSON,
|
|
21
|
+
PatchedSettingsRequestFlagsToJSONTyped,
|
|
22
|
+
} from './PatchedSettingsRequestFlags';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
* Settings Serializer
|
|
18
26
|
* @export
|
|
@@ -97,12 +105,19 @@ export interface SettingsRequest {
|
|
|
97
105
|
* @memberof SettingsRequest
|
|
98
106
|
*/
|
|
99
107
|
defaultTokenLength?: number;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {PatchedSettingsRequestFlags}
|
|
111
|
+
* @memberof SettingsRequest
|
|
112
|
+
*/
|
|
113
|
+
flags: PatchedSettingsRequestFlags;
|
|
100
114
|
}
|
|
101
115
|
|
|
102
116
|
/**
|
|
103
117
|
* Check if a given object implements the SettingsRequest interface.
|
|
104
118
|
*/
|
|
105
119
|
export function instanceOfSettingsRequest(value: object): value is SettingsRequest {
|
|
120
|
+
if (!('flags' in value) || value['flags'] === undefined) return false;
|
|
106
121
|
return true;
|
|
107
122
|
}
|
|
108
123
|
|
|
@@ -129,6 +144,7 @@ export function SettingsRequestFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
129
144
|
'impersonationRequireReason': json['impersonation_require_reason'] == null ? undefined : json['impersonation_require_reason'],
|
|
130
145
|
'defaultTokenDuration': json['default_token_duration'] == null ? undefined : json['default_token_duration'],
|
|
131
146
|
'defaultTokenLength': json['default_token_length'] == null ? undefined : json['default_token_length'],
|
|
147
|
+
'flags': PatchedSettingsRequestFlagsFromJSON(json['flags']),
|
|
132
148
|
};
|
|
133
149
|
}
|
|
134
150
|
|
|
@@ -156,6 +172,7 @@ export function SettingsRequestToJSONTyped(value?: SettingsRequest | null, ignor
|
|
|
156
172
|
'impersonation_require_reason': value['impersonationRequireReason'],
|
|
157
173
|
'default_token_duration': value['defaultTokenDuration'],
|
|
158
174
|
'default_token_length': value['defaultTokenLength'],
|
|
175
|
+
'flags': PatchedSettingsRequestFlagsToJSON(value['flags']),
|
|
159
176
|
};
|
|
160
177
|
}
|
|
161
178
|
|
package/src/models/index.ts
CHANGED
|
@@ -91,6 +91,7 @@ export * from './ContextualFlowInfo';
|
|
|
91
91
|
export * from './ContextualFlowInfoLayoutEnum';
|
|
92
92
|
export * from './CountryCodeEnum';
|
|
93
93
|
export * from './CurrentBrand';
|
|
94
|
+
export * from './CurrentBrandFlags';
|
|
94
95
|
export * from './DeliveryMethodEnum';
|
|
95
96
|
export * from './DeniedActionEnum';
|
|
96
97
|
export * from './DenyStage';
|
|
@@ -528,6 +529,7 @@ export * from './PatchedSSFProviderRequest';
|
|
|
528
529
|
export * from './PatchedScheduleRequest';
|
|
529
530
|
export * from './PatchedScopeMappingRequest';
|
|
530
531
|
export * from './PatchedSettingsRequest';
|
|
532
|
+
export * from './PatchedSettingsRequestFlags';
|
|
531
533
|
export * from './PatchedSourceStageRequest';
|
|
532
534
|
export * from './PatchedStaticDeviceRequest';
|
|
533
535
|
export * from './PatchedTOTPDeviceRequest';
|
package/src/runtime.ts
CHANGED