@goauthentik/api 2023.10.3-1699884123 → 2023.10.3-1700268969
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 -2
- package/dist/apis/AdminApi.d.ts +5 -5
- package/dist/apis/AdminApi.js +2 -2
- package/dist/apis/StagesApi.d.ts +3 -3
- package/dist/apis/StagesApi.js +3 -3
- package/dist/esm/apis/AdminApi.d.ts +5 -5
- package/dist/esm/apis/AdminApi.js +3 -3
- package/dist/esm/apis/StagesApi.d.ts +3 -3
- package/dist/esm/apis/StagesApi.js +3 -3
- package/dist/esm/models/DigitsEnum.d.ts +3 -3
- package/dist/esm/models/DigitsEnum.js +3 -3
- package/dist/esm/models/IdentificationStage.d.ts +6 -0
- package/dist/esm/models/IdentificationStage.js +2 -0
- package/dist/esm/models/IdentificationStageRequest.d.ts +6 -0
- package/dist/esm/models/IdentificationStageRequest.js +2 -0
- package/dist/esm/models/PatchedIdentificationStageRequest.d.ts +6 -0
- package/dist/esm/models/PatchedIdentificationStageRequest.js +2 -0
- package/dist/esm/models/{System.d.ts → SystemInfo.d.ts} +17 -17
- package/dist/esm/models/{System.js → SystemInfo.js} +9 -9
- package/dist/{models/SystemRuntime.d.ts → esm/models/SystemInfoRuntime.d.ts} +13 -13
- package/dist/esm/models/{SystemRuntime.js → SystemInfoRuntime.js} +6 -6
- package/dist/esm/models/index.d.ts +2 -2
- package/dist/esm/models/index.js +2 -2
- package/dist/models/DigitsEnum.d.ts +3 -3
- package/dist/models/DigitsEnum.js +3 -3
- package/dist/models/IdentificationStage.d.ts +6 -0
- package/dist/models/IdentificationStage.js +2 -0
- package/dist/models/IdentificationStageRequest.d.ts +6 -0
- package/dist/models/IdentificationStageRequest.js +2 -0
- package/dist/models/PatchedIdentificationStageRequest.d.ts +6 -0
- package/dist/models/PatchedIdentificationStageRequest.js +2 -0
- package/dist/models/{System.d.ts → SystemInfo.d.ts} +17 -17
- package/dist/models/{System.js → SystemInfo.js} +14 -14
- package/dist/{esm/models/SystemRuntime.d.ts → models/SystemInfoRuntime.d.ts} +13 -13
- package/dist/models/{SystemRuntime.js → SystemInfoRuntime.js} +11 -11
- package/dist/models/index.d.ts +2 -2
- package/dist/models/index.js +2 -2
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +9 -9
- package/src/apis/StagesApi.ts +3 -3
- package/src/models/DigitsEnum.ts +3 -3
- package/src/models/IdentificationStage.ts +8 -0
- package/src/models/IdentificationStageRequest.ts +8 -0
- package/src/models/PatchedIdentificationStageRequest.ts +8 -0
- package/src/models/{System.ts → SystemInfo.ts} +24 -24
- package/src/models/{SystemRuntime.ts → SystemInfoRuntime.ts} +14 -14
- package/src/models/index.ts +2 -2
|
@@ -83,6 +83,12 @@ export interface PatchedIdentificationStageRequest {
|
|
|
83
83
|
* @memberof PatchedIdentificationStageRequest
|
|
84
84
|
*/
|
|
85
85
|
showSourceLabels?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* When enabled, the stage will succeed and continue even when incorrect user info is entered.
|
|
88
|
+
* @type {boolean}
|
|
89
|
+
* @memberof PatchedIdentificationStageRequest
|
|
90
|
+
*/
|
|
91
|
+
pretendUserExists?: boolean;
|
|
86
92
|
}
|
|
87
93
|
/**
|
|
88
94
|
* Check if a given object implements the PatchedIdentificationStageRequest interface.
|
|
@@ -45,6 +45,7 @@ function PatchedIdentificationStageRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
45
45
|
'passwordlessFlow': !(0, runtime_1.exists)(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
|
|
46
46
|
'sources': !(0, runtime_1.exists)(json, 'sources') ? undefined : json['sources'],
|
|
47
47
|
'showSourceLabels': !(0, runtime_1.exists)(json, 'show_source_labels') ? undefined : json['show_source_labels'],
|
|
48
|
+
'pretendUserExists': !(0, runtime_1.exists)(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
exports.PatchedIdentificationStageRequestFromJSONTyped = PatchedIdentificationStageRequestFromJSONTyped;
|
|
@@ -67,6 +68,7 @@ function PatchedIdentificationStageRequestToJSON(value) {
|
|
|
67
68
|
'passwordless_flow': value.passwordlessFlow,
|
|
68
69
|
'sources': value.sources,
|
|
69
70
|
'show_source_labels': value.showSourceLabels,
|
|
71
|
+
'pretend_user_exists': value.pretendUserExists,
|
|
70
72
|
};
|
|
71
73
|
}
|
|
72
74
|
exports.PatchedIdentificationStageRequestToJSON = PatchedIdentificationStageRequestToJSON;
|
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { SystemInfoRuntime } from './SystemInfoRuntime';
|
|
13
13
|
/**
|
|
14
14
|
* Get system information.
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface SystemInfo
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface SystemInfo {
|
|
19
19
|
/**
|
|
20
20
|
* Get HTTP Request headers
|
|
21
21
|
* @type {{ [key: string]: string; }}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof SystemInfo
|
|
23
23
|
*/
|
|
24
24
|
readonly httpHeaders: {
|
|
25
25
|
[key: string]: string;
|
|
@@ -27,44 +27,44 @@ export interface System {
|
|
|
27
27
|
/**
|
|
28
28
|
* Get HTTP host
|
|
29
29
|
* @type {string}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof SystemInfo
|
|
31
31
|
*/
|
|
32
32
|
readonly httpHost: string;
|
|
33
33
|
/**
|
|
34
34
|
* Get HTTP Secure flag
|
|
35
35
|
* @type {boolean}
|
|
36
|
-
* @memberof
|
|
36
|
+
* @memberof SystemInfo
|
|
37
37
|
*/
|
|
38
38
|
readonly httpIsSecure: boolean;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
|
-
* @type {
|
|
42
|
-
* @memberof
|
|
41
|
+
* @type {SystemInfoRuntime}
|
|
42
|
+
* @memberof SystemInfo
|
|
43
43
|
*/
|
|
44
|
-
runtime:
|
|
44
|
+
runtime: SystemInfoRuntime;
|
|
45
45
|
/**
|
|
46
46
|
* Currently active tenant
|
|
47
47
|
* @type {string}
|
|
48
|
-
* @memberof
|
|
48
|
+
* @memberof SystemInfo
|
|
49
49
|
*/
|
|
50
50
|
readonly tenant: string;
|
|
51
51
|
/**
|
|
52
52
|
* Current server time
|
|
53
53
|
* @type {Date}
|
|
54
|
-
* @memberof
|
|
54
|
+
* @memberof SystemInfo
|
|
55
55
|
*/
|
|
56
56
|
readonly serverTime: Date;
|
|
57
57
|
/**
|
|
58
58
|
* Get the FQDN configured on the embedded outpost
|
|
59
59
|
* @type {string}
|
|
60
|
-
* @memberof
|
|
60
|
+
* @memberof SystemInfo
|
|
61
61
|
*/
|
|
62
62
|
readonly embeddedOutpostHost: string;
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
|
-
* Check if a given object implements the
|
|
65
|
+
* Check if a given object implements the SystemInfo interface.
|
|
66
66
|
*/
|
|
67
|
-
export declare function
|
|
68
|
-
export declare function
|
|
69
|
-
export declare function
|
|
70
|
-
export declare function
|
|
67
|
+
export declare function instanceOfSystemInfo(value: object): boolean;
|
|
68
|
+
export declare function SystemInfoFromJSON(json: any): SystemInfo;
|
|
69
|
+
export declare function SystemInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemInfo;
|
|
70
|
+
export declare function SystemInfoToJSON(value?: SystemInfo | null): any;
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
const
|
|
16
|
+
exports.SystemInfoToJSON = exports.SystemInfoFromJSONTyped = exports.SystemInfoFromJSON = exports.instanceOfSystemInfo = void 0;
|
|
17
|
+
const SystemInfoRuntime_1 = require("./SystemInfoRuntime");
|
|
18
18
|
/**
|
|
19
|
-
* Check if a given object implements the
|
|
19
|
+
* Check if a given object implements the SystemInfo interface.
|
|
20
20
|
*/
|
|
21
|
-
function
|
|
21
|
+
function instanceOfSystemInfo(value) {
|
|
22
22
|
let isInstance = true;
|
|
23
23
|
isInstance = isInstance && "httpHeaders" in value;
|
|
24
24
|
isInstance = isInstance && "httpHost" in value;
|
|
@@ -29,12 +29,12 @@ function instanceOfSystem(value) {
|
|
|
29
29
|
isInstance = isInstance && "embeddedOutpostHost" in value;
|
|
30
30
|
return isInstance;
|
|
31
31
|
}
|
|
32
|
-
exports.
|
|
33
|
-
function
|
|
34
|
-
return
|
|
32
|
+
exports.instanceOfSystemInfo = instanceOfSystemInfo;
|
|
33
|
+
function SystemInfoFromJSON(json) {
|
|
34
|
+
return SystemInfoFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
exports.
|
|
37
|
-
function
|
|
36
|
+
exports.SystemInfoFromJSON = SystemInfoFromJSON;
|
|
37
|
+
function SystemInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
38
|
if ((json === undefined) || (json === null)) {
|
|
39
39
|
return json;
|
|
40
40
|
}
|
|
@@ -42,14 +42,14 @@ function SystemFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'httpHeaders': json['http_headers'],
|
|
43
43
|
'httpHost': json['http_host'],
|
|
44
44
|
'httpIsSecure': json['http_is_secure'],
|
|
45
|
-
'runtime': (0,
|
|
45
|
+
'runtime': (0, SystemInfoRuntime_1.SystemInfoRuntimeFromJSON)(json['runtime']),
|
|
46
46
|
'tenant': json['tenant'],
|
|
47
47
|
'serverTime': (new Date(json['server_time'])),
|
|
48
48
|
'embeddedOutpostHost': json['embedded_outpost_host'],
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
exports.
|
|
52
|
-
function
|
|
51
|
+
exports.SystemInfoFromJSONTyped = SystemInfoFromJSONTyped;
|
|
52
|
+
function SystemInfoToJSON(value) {
|
|
53
53
|
if (value === undefined) {
|
|
54
54
|
return undefined;
|
|
55
55
|
}
|
|
@@ -57,7 +57,7 @@ function SystemToJSON(value) {
|
|
|
57
57
|
return null;
|
|
58
58
|
}
|
|
59
59
|
return {
|
|
60
|
-
'runtime': (0,
|
|
60
|
+
'runtime': (0, SystemInfoRuntime_1.SystemInfoRuntimeToJSON)(value.runtime),
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
|
-
exports.
|
|
63
|
+
exports.SystemInfoToJSON = SystemInfoToJSON;
|
|
@@ -12,50 +12,50 @@
|
|
|
12
12
|
/**
|
|
13
13
|
* Get versions
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface SystemInfoRuntime
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface SystemInfoRuntime {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof SystemInfoRuntime
|
|
22
22
|
*/
|
|
23
23
|
pythonVersion: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof SystemInfoRuntime
|
|
28
28
|
*/
|
|
29
29
|
gunicornVersion: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof SystemInfoRuntime
|
|
34
34
|
*/
|
|
35
35
|
environment: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof SystemInfoRuntime
|
|
40
40
|
*/
|
|
41
41
|
architecture: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof SystemInfoRuntime
|
|
46
46
|
*/
|
|
47
47
|
platform: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof SystemInfoRuntime
|
|
52
52
|
*/
|
|
53
53
|
uname: string;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
* Check if a given object implements the
|
|
56
|
+
* Check if a given object implements the SystemInfoRuntime interface.
|
|
57
57
|
*/
|
|
58
|
-
export declare function
|
|
59
|
-
export declare function
|
|
60
|
-
export declare function
|
|
61
|
-
export declare function
|
|
58
|
+
export declare function instanceOfSystemInfoRuntime(value: object): boolean;
|
|
59
|
+
export declare function SystemInfoRuntimeFromJSON(json: any): SystemInfoRuntime;
|
|
60
|
+
export declare function SystemInfoRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemInfoRuntime;
|
|
61
|
+
export declare function SystemInfoRuntimeToJSON(value?: SystemInfoRuntime | null): any;
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.SystemInfoRuntimeToJSON = exports.SystemInfoRuntimeFromJSONTyped = exports.SystemInfoRuntimeFromJSON = exports.instanceOfSystemInfoRuntime = void 0;
|
|
17
17
|
/**
|
|
18
|
-
* Check if a given object implements the
|
|
18
|
+
* Check if a given object implements the SystemInfoRuntime interface.
|
|
19
19
|
*/
|
|
20
|
-
function
|
|
20
|
+
function instanceOfSystemInfoRuntime(value) {
|
|
21
21
|
let isInstance = true;
|
|
22
22
|
isInstance = isInstance && "pythonVersion" in value;
|
|
23
23
|
isInstance = isInstance && "gunicornVersion" in value;
|
|
@@ -27,12 +27,12 @@ function instanceOfSystemRuntime(value) {
|
|
|
27
27
|
isInstance = isInstance && "uname" in value;
|
|
28
28
|
return isInstance;
|
|
29
29
|
}
|
|
30
|
-
exports.
|
|
31
|
-
function
|
|
32
|
-
return
|
|
30
|
+
exports.instanceOfSystemInfoRuntime = instanceOfSystemInfoRuntime;
|
|
31
|
+
function SystemInfoRuntimeFromJSON(json) {
|
|
32
|
+
return SystemInfoRuntimeFromJSONTyped(json, false);
|
|
33
33
|
}
|
|
34
|
-
exports.
|
|
35
|
-
function
|
|
34
|
+
exports.SystemInfoRuntimeFromJSON = SystemInfoRuntimeFromJSON;
|
|
35
|
+
function SystemInfoRuntimeFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
36
|
if ((json === undefined) || (json === null)) {
|
|
37
37
|
return json;
|
|
38
38
|
}
|
|
@@ -45,8 +45,8 @@ function SystemRuntimeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'uname': json['uname'],
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
exports.
|
|
49
|
-
function
|
|
48
|
+
exports.SystemInfoRuntimeFromJSONTyped = SystemInfoRuntimeFromJSONTyped;
|
|
49
|
+
function SystemInfoRuntimeToJSON(value) {
|
|
50
50
|
if (value === undefined) {
|
|
51
51
|
return undefined;
|
|
52
52
|
}
|
|
@@ -62,4 +62,4 @@ function SystemRuntimeToJSON(value) {
|
|
|
62
62
|
'uname': value.uname,
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
|
-
exports.
|
|
65
|
+
exports.SystemInfoRuntimeToJSON = SystemInfoRuntimeToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -442,8 +442,8 @@ export * from './StaticDeviceRequest';
|
|
|
442
442
|
export * from './StaticDeviceToken';
|
|
443
443
|
export * from './StaticDeviceTokenRequest';
|
|
444
444
|
export * from './SubModeEnum';
|
|
445
|
-
export * from './
|
|
446
|
-
export * from './
|
|
445
|
+
export * from './SystemInfo';
|
|
446
|
+
export * from './SystemInfoRuntime';
|
|
447
447
|
export * from './TOTPDevice';
|
|
448
448
|
export * from './TOTPDeviceRequest';
|
|
449
449
|
export * from './Task';
|
package/dist/models/index.js
CHANGED
|
@@ -460,8 +460,8 @@ __exportStar(require("./StaticDeviceRequest"), exports);
|
|
|
460
460
|
__exportStar(require("./StaticDeviceToken"), exports);
|
|
461
461
|
__exportStar(require("./StaticDeviceTokenRequest"), exports);
|
|
462
462
|
__exportStar(require("./SubModeEnum"), exports);
|
|
463
|
-
__exportStar(require("./
|
|
464
|
-
__exportStar(require("./
|
|
463
|
+
__exportStar(require("./SystemInfo"), exports);
|
|
464
|
+
__exportStar(require("./SystemInfoRuntime"), exports);
|
|
465
465
|
__exportStar(require("./TOTPDevice"), exports);
|
|
466
466
|
__exportStar(require("./TOTPDeviceRequest"), exports);
|
|
467
467
|
__exportStar(require("./Task"), exports);
|
package/package.json
CHANGED
package/src/apis/AdminApi.ts
CHANGED
|
@@ -18,7 +18,7 @@ import type {
|
|
|
18
18
|
App,
|
|
19
19
|
GenericError,
|
|
20
20
|
LoginMetrics,
|
|
21
|
-
|
|
21
|
+
SystemInfo,
|
|
22
22
|
Task,
|
|
23
23
|
ValidationError,
|
|
24
24
|
Version,
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
GenericErrorToJSON,
|
|
32
32
|
LoginMetricsFromJSON,
|
|
33
33
|
LoginMetricsToJSON,
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
SystemInfoFromJSON,
|
|
35
|
+
SystemInfoToJSON,
|
|
36
36
|
TaskFromJSON,
|
|
37
37
|
TaskToJSON,
|
|
38
38
|
ValidationErrorFromJSON,
|
|
@@ -149,7 +149,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
149
149
|
/**
|
|
150
150
|
* Get system information.
|
|
151
151
|
*/
|
|
152
|
-
async adminSystemCreateRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
152
|
+
async adminSystemCreateRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfo>> {
|
|
153
153
|
const queryParameters: any = {};
|
|
154
154
|
|
|
155
155
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -165,13 +165,13 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
165
165
|
query: queryParameters,
|
|
166
166
|
}, initOverrides);
|
|
167
167
|
|
|
168
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
168
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SystemInfoFromJSON(jsonValue));
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
/**
|
|
172
172
|
* Get system information.
|
|
173
173
|
*/
|
|
174
|
-
async adminSystemCreate(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
174
|
+
async adminSystemCreate(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfo> {
|
|
175
175
|
const response = await this.adminSystemCreateRaw(initOverrides);
|
|
176
176
|
return await response.value();
|
|
177
177
|
}
|
|
@@ -179,7 +179,7 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
179
179
|
/**
|
|
180
180
|
* Get system information.
|
|
181
181
|
*/
|
|
182
|
-
async adminSystemRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
182
|
+
async adminSystemRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfo>> {
|
|
183
183
|
const queryParameters: any = {};
|
|
184
184
|
|
|
185
185
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -195,13 +195,13 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
195
195
|
query: queryParameters,
|
|
196
196
|
}, initOverrides);
|
|
197
197
|
|
|
198
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
198
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SystemInfoFromJSON(jsonValue));
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
202
|
* Get system information.
|
|
203
203
|
*/
|
|
204
|
-
async adminSystemRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
204
|
+
async adminSystemRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfo> {
|
|
205
205
|
const response = await this.adminSystemRetrieveRaw(initOverrides);
|
|
206
206
|
return await response.value();
|
|
207
207
|
}
|
package/src/apis/StagesApi.ts
CHANGED
|
@@ -7481,9 +7481,9 @@ export type StagesAuthenticatorSmsListProviderEnum = typeof StagesAuthenticatorS
|
|
|
7481
7481
|
* @export
|
|
7482
7482
|
*/
|
|
7483
7483
|
export const StagesAuthenticatorTotpListDigitsEnum = {
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
|
|
7484
|
+
_6: '6',
|
|
7485
|
+
_8: '8',
|
|
7486
|
+
UnknownDefaultOpenApi: '11184809'
|
|
7487
7487
|
} as const;
|
|
7488
7488
|
export type StagesAuthenticatorTotpListDigitsEnum = typeof StagesAuthenticatorTotpListDigitsEnum[keyof typeof StagesAuthenticatorTotpListDigitsEnum];
|
|
7489
7489
|
/**
|
package/src/models/DigitsEnum.ts
CHANGED
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
* @export
|
|
20
20
|
*/
|
|
21
21
|
export const DigitsEnum = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
_6: '6',
|
|
23
|
+
_8: '8',
|
|
24
|
+
UnknownDefaultOpenApi: '11184809'
|
|
25
25
|
} as const;
|
|
26
26
|
export type DigitsEnum = typeof DigitsEnum[keyof typeof DigitsEnum];
|
|
27
27
|
|
|
@@ -128,6 +128,12 @@ export interface IdentificationStage {
|
|
|
128
128
|
* @memberof IdentificationStage
|
|
129
129
|
*/
|
|
130
130
|
showSourceLabels?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* When enabled, the stage will succeed and continue even when incorrect user info is entered.
|
|
133
|
+
* @type {boolean}
|
|
134
|
+
* @memberof IdentificationStage
|
|
135
|
+
*/
|
|
136
|
+
pretendUserExists?: boolean;
|
|
131
137
|
}
|
|
132
138
|
|
|
133
139
|
/**
|
|
@@ -171,6 +177,7 @@ export function IdentificationStageFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
171
177
|
'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
|
|
172
178
|
'sources': !exists(json, 'sources') ? undefined : json['sources'],
|
|
173
179
|
'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
|
|
180
|
+
'pretendUserExists': !exists(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
|
|
174
181
|
};
|
|
175
182
|
}
|
|
176
183
|
|
|
@@ -194,6 +201,7 @@ export function IdentificationStageToJSON(value?: IdentificationStage | null): a
|
|
|
194
201
|
'passwordless_flow': value.passwordlessFlow,
|
|
195
202
|
'sources': value.sources,
|
|
196
203
|
'show_source_labels': value.showSourceLabels,
|
|
204
|
+
'pretend_user_exists': value.pretendUserExists,
|
|
197
205
|
};
|
|
198
206
|
}
|
|
199
207
|
|
|
@@ -98,6 +98,12 @@ export interface IdentificationStageRequest {
|
|
|
98
98
|
* @memberof IdentificationStageRequest
|
|
99
99
|
*/
|
|
100
100
|
showSourceLabels?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* When enabled, the stage will succeed and continue even when incorrect user info is entered.
|
|
103
|
+
* @type {boolean}
|
|
104
|
+
* @memberof IdentificationStageRequest
|
|
105
|
+
*/
|
|
106
|
+
pretendUserExists?: boolean;
|
|
101
107
|
}
|
|
102
108
|
|
|
103
109
|
/**
|
|
@@ -131,6 +137,7 @@ export function IdentificationStageRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
131
137
|
'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
|
|
132
138
|
'sources': !exists(json, 'sources') ? undefined : json['sources'],
|
|
133
139
|
'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
|
|
140
|
+
'pretendUserExists': !exists(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
|
|
134
141
|
};
|
|
135
142
|
}
|
|
136
143
|
|
|
@@ -154,6 +161,7 @@ export function IdentificationStageRequestToJSON(value?: IdentificationStageRequ
|
|
|
154
161
|
'passwordless_flow': value.passwordlessFlow,
|
|
155
162
|
'sources': value.sources,
|
|
156
163
|
'show_source_labels': value.showSourceLabels,
|
|
164
|
+
'pretend_user_exists': value.pretendUserExists,
|
|
157
165
|
};
|
|
158
166
|
}
|
|
159
167
|
|
|
@@ -98,6 +98,12 @@ export interface PatchedIdentificationStageRequest {
|
|
|
98
98
|
* @memberof PatchedIdentificationStageRequest
|
|
99
99
|
*/
|
|
100
100
|
showSourceLabels?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* When enabled, the stage will succeed and continue even when incorrect user info is entered.
|
|
103
|
+
* @type {boolean}
|
|
104
|
+
* @memberof PatchedIdentificationStageRequest
|
|
105
|
+
*/
|
|
106
|
+
pretendUserExists?: boolean;
|
|
101
107
|
}
|
|
102
108
|
|
|
103
109
|
/**
|
|
@@ -130,6 +136,7 @@ export function PatchedIdentificationStageRequestFromJSONTyped(json: any, ignore
|
|
|
130
136
|
'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
|
|
131
137
|
'sources': !exists(json, 'sources') ? undefined : json['sources'],
|
|
132
138
|
'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
|
|
139
|
+
'pretendUserExists': !exists(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
|
|
133
140
|
};
|
|
134
141
|
}
|
|
135
142
|
|
|
@@ -153,6 +160,7 @@ export function PatchedIdentificationStageRequestToJSON(value?: PatchedIdentific
|
|
|
153
160
|
'passwordless_flow': value.passwordlessFlow,
|
|
154
161
|
'sources': value.sources,
|
|
155
162
|
'show_source_labels': value.showSourceLabels,
|
|
163
|
+
'pretend_user_exists': value.pretendUserExists,
|
|
156
164
|
};
|
|
157
165
|
}
|
|
158
166
|
|
|
@@ -13,67 +13,67 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { SystemInfoRuntime } from './SystemInfoRuntime';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from './
|
|
18
|
+
SystemInfoRuntimeFromJSON,
|
|
19
|
+
SystemInfoRuntimeFromJSONTyped,
|
|
20
|
+
SystemInfoRuntimeToJSON,
|
|
21
|
+
} from './SystemInfoRuntime';
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Get system information.
|
|
25
25
|
* @export
|
|
26
|
-
* @interface
|
|
26
|
+
* @interface SystemInfo
|
|
27
27
|
*/
|
|
28
|
-
export interface
|
|
28
|
+
export interface SystemInfo {
|
|
29
29
|
/**
|
|
30
30
|
* Get HTTP Request headers
|
|
31
31
|
* @type {{ [key: string]: string; }}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof SystemInfo
|
|
33
33
|
*/
|
|
34
34
|
readonly httpHeaders: { [key: string]: string; };
|
|
35
35
|
/**
|
|
36
36
|
* Get HTTP host
|
|
37
37
|
* @type {string}
|
|
38
|
-
* @memberof
|
|
38
|
+
* @memberof SystemInfo
|
|
39
39
|
*/
|
|
40
40
|
readonly httpHost: string;
|
|
41
41
|
/**
|
|
42
42
|
* Get HTTP Secure flag
|
|
43
43
|
* @type {boolean}
|
|
44
|
-
* @memberof
|
|
44
|
+
* @memberof SystemInfo
|
|
45
45
|
*/
|
|
46
46
|
readonly httpIsSecure: boolean;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
|
-
* @type {
|
|
50
|
-
* @memberof
|
|
49
|
+
* @type {SystemInfoRuntime}
|
|
50
|
+
* @memberof SystemInfo
|
|
51
51
|
*/
|
|
52
|
-
runtime:
|
|
52
|
+
runtime: SystemInfoRuntime;
|
|
53
53
|
/**
|
|
54
54
|
* Currently active tenant
|
|
55
55
|
* @type {string}
|
|
56
|
-
* @memberof
|
|
56
|
+
* @memberof SystemInfo
|
|
57
57
|
*/
|
|
58
58
|
readonly tenant: string;
|
|
59
59
|
/**
|
|
60
60
|
* Current server time
|
|
61
61
|
* @type {Date}
|
|
62
|
-
* @memberof
|
|
62
|
+
* @memberof SystemInfo
|
|
63
63
|
*/
|
|
64
64
|
readonly serverTime: Date;
|
|
65
65
|
/**
|
|
66
66
|
* Get the FQDN configured on the embedded outpost
|
|
67
67
|
* @type {string}
|
|
68
|
-
* @memberof
|
|
68
|
+
* @memberof SystemInfo
|
|
69
69
|
*/
|
|
70
70
|
readonly embeddedOutpostHost: string;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
* Check if a given object implements the
|
|
74
|
+
* Check if a given object implements the SystemInfo interface.
|
|
75
75
|
*/
|
|
76
|
-
export function
|
|
76
|
+
export function instanceOfSystemInfo(value: object): boolean {
|
|
77
77
|
let isInstance = true;
|
|
78
78
|
isInstance = isInstance && "httpHeaders" in value;
|
|
79
79
|
isInstance = isInstance && "httpHost" in value;
|
|
@@ -86,11 +86,11 @@ export function instanceOfSystem(value: object): boolean {
|
|
|
86
86
|
return isInstance;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export function
|
|
90
|
-
return
|
|
89
|
+
export function SystemInfoFromJSON(json: any): SystemInfo {
|
|
90
|
+
return SystemInfoFromJSONTyped(json, false);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
export function
|
|
93
|
+
export function SystemInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemInfo {
|
|
94
94
|
if ((json === undefined) || (json === null)) {
|
|
95
95
|
return json;
|
|
96
96
|
}
|
|
@@ -99,14 +99,14 @@ export function SystemFromJSONTyped(json: any, ignoreDiscriminator: boolean): Sy
|
|
|
99
99
|
'httpHeaders': json['http_headers'],
|
|
100
100
|
'httpHost': json['http_host'],
|
|
101
101
|
'httpIsSecure': json['http_is_secure'],
|
|
102
|
-
'runtime':
|
|
102
|
+
'runtime': SystemInfoRuntimeFromJSON(json['runtime']),
|
|
103
103
|
'tenant': json['tenant'],
|
|
104
104
|
'serverTime': (new Date(json['server_time'])),
|
|
105
105
|
'embeddedOutpostHost': json['embedded_outpost_host'],
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export function
|
|
109
|
+
export function SystemInfoToJSON(value?: SystemInfo | null): any {
|
|
110
110
|
if (value === undefined) {
|
|
111
111
|
return undefined;
|
|
112
112
|
}
|
|
@@ -115,7 +115,7 @@ export function SystemToJSON(value?: System | null): any {
|
|
|
115
115
|
}
|
|
116
116
|
return {
|
|
117
117
|
|
|
118
|
-
'runtime':
|
|
118
|
+
'runtime': SystemInfoRuntimeToJSON(value.runtime),
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
121
|
|