@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.
Files changed (47) hide show
  1. package/.openapi-generator/FILES +2 -2
  2. package/dist/apis/AdminApi.d.ts +5 -5
  3. package/dist/apis/AdminApi.js +2 -2
  4. package/dist/apis/StagesApi.d.ts +3 -3
  5. package/dist/apis/StagesApi.js +3 -3
  6. package/dist/esm/apis/AdminApi.d.ts +5 -5
  7. package/dist/esm/apis/AdminApi.js +3 -3
  8. package/dist/esm/apis/StagesApi.d.ts +3 -3
  9. package/dist/esm/apis/StagesApi.js +3 -3
  10. package/dist/esm/models/DigitsEnum.d.ts +3 -3
  11. package/dist/esm/models/DigitsEnum.js +3 -3
  12. package/dist/esm/models/IdentificationStage.d.ts +6 -0
  13. package/dist/esm/models/IdentificationStage.js +2 -0
  14. package/dist/esm/models/IdentificationStageRequest.d.ts +6 -0
  15. package/dist/esm/models/IdentificationStageRequest.js +2 -0
  16. package/dist/esm/models/PatchedIdentificationStageRequest.d.ts +6 -0
  17. package/dist/esm/models/PatchedIdentificationStageRequest.js +2 -0
  18. package/dist/esm/models/{System.d.ts → SystemInfo.d.ts} +17 -17
  19. package/dist/esm/models/{System.js → SystemInfo.js} +9 -9
  20. package/dist/{models/SystemRuntime.d.ts → esm/models/SystemInfoRuntime.d.ts} +13 -13
  21. package/dist/esm/models/{SystemRuntime.js → SystemInfoRuntime.js} +6 -6
  22. package/dist/esm/models/index.d.ts +2 -2
  23. package/dist/esm/models/index.js +2 -2
  24. package/dist/models/DigitsEnum.d.ts +3 -3
  25. package/dist/models/DigitsEnum.js +3 -3
  26. package/dist/models/IdentificationStage.d.ts +6 -0
  27. package/dist/models/IdentificationStage.js +2 -0
  28. package/dist/models/IdentificationStageRequest.d.ts +6 -0
  29. package/dist/models/IdentificationStageRequest.js +2 -0
  30. package/dist/models/PatchedIdentificationStageRequest.d.ts +6 -0
  31. package/dist/models/PatchedIdentificationStageRequest.js +2 -0
  32. package/dist/models/{System.d.ts → SystemInfo.d.ts} +17 -17
  33. package/dist/models/{System.js → SystemInfo.js} +14 -14
  34. package/dist/{esm/models/SystemRuntime.d.ts → models/SystemInfoRuntime.d.ts} +13 -13
  35. package/dist/models/{SystemRuntime.js → SystemInfoRuntime.js} +11 -11
  36. package/dist/models/index.d.ts +2 -2
  37. package/dist/models/index.js +2 -2
  38. package/package.json +1 -1
  39. package/src/apis/AdminApi.ts +9 -9
  40. package/src/apis/StagesApi.ts +3 -3
  41. package/src/models/DigitsEnum.ts +3 -3
  42. package/src/models/IdentificationStage.ts +8 -0
  43. package/src/models/IdentificationStageRequest.ts +8 -0
  44. package/src/models/PatchedIdentificationStageRequest.ts +8 -0
  45. package/src/models/{System.ts → SystemInfo.ts} +24 -24
  46. package/src/models/{SystemRuntime.ts → SystemInfoRuntime.ts} +14 -14
  47. 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 { SystemRuntime } from './SystemRuntime';
12
+ import type { SystemInfoRuntime } from './SystemInfoRuntime';
13
13
  /**
14
14
  * Get system information.
15
15
  * @export
16
- * @interface System
16
+ * @interface SystemInfo
17
17
  */
18
- export interface System {
18
+ export interface SystemInfo {
19
19
  /**
20
20
  * Get HTTP Request headers
21
21
  * @type {{ [key: string]: string; }}
22
- * @memberof System
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 System
30
+ * @memberof SystemInfo
31
31
  */
32
32
  readonly httpHost: string;
33
33
  /**
34
34
  * Get HTTP Secure flag
35
35
  * @type {boolean}
36
- * @memberof System
36
+ * @memberof SystemInfo
37
37
  */
38
38
  readonly httpIsSecure: boolean;
39
39
  /**
40
40
  *
41
- * @type {SystemRuntime}
42
- * @memberof System
41
+ * @type {SystemInfoRuntime}
42
+ * @memberof SystemInfo
43
43
  */
44
- runtime: SystemRuntime;
44
+ runtime: SystemInfoRuntime;
45
45
  /**
46
46
  * Currently active tenant
47
47
  * @type {string}
48
- * @memberof System
48
+ * @memberof SystemInfo
49
49
  */
50
50
  readonly tenant: string;
51
51
  /**
52
52
  * Current server time
53
53
  * @type {Date}
54
- * @memberof System
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 System
60
+ * @memberof SystemInfo
61
61
  */
62
62
  readonly embeddedOutpostHost: string;
63
63
  }
64
64
  /**
65
- * Check if a given object implements the System interface.
65
+ * Check if a given object implements the SystemInfo interface.
66
66
  */
67
- export declare function instanceOfSystem(value: object): boolean;
68
- export declare function SystemFromJSON(json: any): System;
69
- export declare function SystemFromJSONTyped(json: any, ignoreDiscriminator: boolean): System;
70
- export declare function SystemToJSON(value?: System | null): any;
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.SystemToJSON = exports.SystemFromJSONTyped = exports.SystemFromJSON = exports.instanceOfSystem = void 0;
17
- const SystemRuntime_1 = require("./SystemRuntime");
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 System interface.
19
+ * Check if a given object implements the SystemInfo interface.
20
20
  */
21
- function instanceOfSystem(value) {
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.instanceOfSystem = instanceOfSystem;
33
- function SystemFromJSON(json) {
34
- return SystemFromJSONTyped(json, false);
32
+ exports.instanceOfSystemInfo = instanceOfSystemInfo;
33
+ function SystemInfoFromJSON(json) {
34
+ return SystemInfoFromJSONTyped(json, false);
35
35
  }
36
- exports.SystemFromJSON = SystemFromJSON;
37
- function SystemFromJSONTyped(json, ignoreDiscriminator) {
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, SystemRuntime_1.SystemRuntimeFromJSON)(json['runtime']),
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.SystemFromJSONTyped = SystemFromJSONTyped;
52
- function SystemToJSON(value) {
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, SystemRuntime_1.SystemRuntimeToJSON)(value.runtime),
60
+ 'runtime': (0, SystemInfoRuntime_1.SystemInfoRuntimeToJSON)(value.runtime),
61
61
  };
62
62
  }
63
- exports.SystemToJSON = SystemToJSON;
63
+ exports.SystemInfoToJSON = SystemInfoToJSON;
@@ -12,50 +12,50 @@
12
12
  /**
13
13
  * Get versions
14
14
  * @export
15
- * @interface SystemRuntime
15
+ * @interface SystemInfoRuntime
16
16
  */
17
- export interface SystemRuntime {
17
+ export interface SystemInfoRuntime {
18
18
  /**
19
19
  *
20
20
  * @type {string}
21
- * @memberof SystemRuntime
21
+ * @memberof SystemInfoRuntime
22
22
  */
23
23
  pythonVersion: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
- * @memberof SystemRuntime
27
+ * @memberof SystemInfoRuntime
28
28
  */
29
29
  gunicornVersion: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
- * @memberof SystemRuntime
33
+ * @memberof SystemInfoRuntime
34
34
  */
35
35
  environment: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
39
- * @memberof SystemRuntime
39
+ * @memberof SystemInfoRuntime
40
40
  */
41
41
  architecture: string;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
- * @memberof SystemRuntime
45
+ * @memberof SystemInfoRuntime
46
46
  */
47
47
  platform: string;
48
48
  /**
49
49
  *
50
50
  * @type {string}
51
- * @memberof SystemRuntime
51
+ * @memberof SystemInfoRuntime
52
52
  */
53
53
  uname: string;
54
54
  }
55
55
  /**
56
- * Check if a given object implements the SystemRuntime interface.
56
+ * Check if a given object implements the SystemInfoRuntime interface.
57
57
  */
58
- export declare function instanceOfSystemRuntime(value: object): boolean;
59
- export declare function SystemRuntimeFromJSON(json: any): SystemRuntime;
60
- export declare function SystemRuntimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemRuntime;
61
- export declare function SystemRuntimeToJSON(value?: SystemRuntime | null): any;
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.SystemRuntimeToJSON = exports.SystemRuntimeFromJSONTyped = exports.SystemRuntimeFromJSON = exports.instanceOfSystemRuntime = void 0;
16
+ exports.SystemInfoRuntimeToJSON = exports.SystemInfoRuntimeFromJSONTyped = exports.SystemInfoRuntimeFromJSON = exports.instanceOfSystemInfoRuntime = void 0;
17
17
  /**
18
- * Check if a given object implements the SystemRuntime interface.
18
+ * Check if a given object implements the SystemInfoRuntime interface.
19
19
  */
20
- function instanceOfSystemRuntime(value) {
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.instanceOfSystemRuntime = instanceOfSystemRuntime;
31
- function SystemRuntimeFromJSON(json) {
32
- return SystemRuntimeFromJSONTyped(json, false);
30
+ exports.instanceOfSystemInfoRuntime = instanceOfSystemInfoRuntime;
31
+ function SystemInfoRuntimeFromJSON(json) {
32
+ return SystemInfoRuntimeFromJSONTyped(json, false);
33
33
  }
34
- exports.SystemRuntimeFromJSON = SystemRuntimeFromJSON;
35
- function SystemRuntimeFromJSONTyped(json, ignoreDiscriminator) {
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.SystemRuntimeFromJSONTyped = SystemRuntimeFromJSONTyped;
49
- function SystemRuntimeToJSON(value) {
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.SystemRuntimeToJSON = SystemRuntimeToJSON;
65
+ exports.SystemInfoRuntimeToJSON = SystemInfoRuntimeToJSON;
@@ -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 './System';
446
- export * from './SystemRuntime';
445
+ export * from './SystemInfo';
446
+ export * from './SystemInfoRuntime';
447
447
  export * from './TOTPDevice';
448
448
  export * from './TOTPDeviceRequest';
449
449
  export * from './Task';
@@ -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("./System"), exports);
464
- __exportStar(require("./SystemRuntime"), exports);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goauthentik/api",
3
- "version": "2023.10.3-1699884123",
3
+ "version": "2023.10.3-1700268969",
4
4
  "description": "OpenAPI client for @goauthentik/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -18,7 +18,7 @@ import type {
18
18
  App,
19
19
  GenericError,
20
20
  LoginMetrics,
21
- System,
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
- SystemFromJSON,
35
- SystemToJSON,
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<System>> {
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) => SystemFromJSON(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<System> {
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<System>> {
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) => SystemFromJSON(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<System> {
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
  }
@@ -7481,9 +7481,9 @@ export type StagesAuthenticatorSmsListProviderEnum = typeof StagesAuthenticatorS
7481
7481
  * @export
7482
7482
  */
7483
7483
  export const StagesAuthenticatorTotpListDigitsEnum = {
7484
- NUMBER_6: 6,
7485
- NUMBER_8: 8,
7486
- NUMBER_unknown_default_open_api: 11184809
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
  /**
@@ -19,9 +19,9 @@
19
19
  * @export
20
20
  */
21
21
  export const DigitsEnum = {
22
- NUMBER_6: 6,
23
- NUMBER_8: 8,
24
- NUMBER_unknown_default_open_api: 11184809
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 { SystemRuntime } from './SystemRuntime';
16
+ import type { SystemInfoRuntime } from './SystemInfoRuntime';
17
17
  import {
18
- SystemRuntimeFromJSON,
19
- SystemRuntimeFromJSONTyped,
20
- SystemRuntimeToJSON,
21
- } from './SystemRuntime';
18
+ SystemInfoRuntimeFromJSON,
19
+ SystemInfoRuntimeFromJSONTyped,
20
+ SystemInfoRuntimeToJSON,
21
+ } from './SystemInfoRuntime';
22
22
 
23
23
  /**
24
24
  * Get system information.
25
25
  * @export
26
- * @interface System
26
+ * @interface SystemInfo
27
27
  */
28
- export interface System {
28
+ export interface SystemInfo {
29
29
  /**
30
30
  * Get HTTP Request headers
31
31
  * @type {{ [key: string]: string; }}
32
- * @memberof System
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 System
38
+ * @memberof SystemInfo
39
39
  */
40
40
  readonly httpHost: string;
41
41
  /**
42
42
  * Get HTTP Secure flag
43
43
  * @type {boolean}
44
- * @memberof System
44
+ * @memberof SystemInfo
45
45
  */
46
46
  readonly httpIsSecure: boolean;
47
47
  /**
48
48
  *
49
- * @type {SystemRuntime}
50
- * @memberof System
49
+ * @type {SystemInfoRuntime}
50
+ * @memberof SystemInfo
51
51
  */
52
- runtime: SystemRuntime;
52
+ runtime: SystemInfoRuntime;
53
53
  /**
54
54
  * Currently active tenant
55
55
  * @type {string}
56
- * @memberof System
56
+ * @memberof SystemInfo
57
57
  */
58
58
  readonly tenant: string;
59
59
  /**
60
60
  * Current server time
61
61
  * @type {Date}
62
- * @memberof System
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 System
68
+ * @memberof SystemInfo
69
69
  */
70
70
  readonly embeddedOutpostHost: string;
71
71
  }
72
72
 
73
73
  /**
74
- * Check if a given object implements the System interface.
74
+ * Check if a given object implements the SystemInfo interface.
75
75
  */
76
- export function instanceOfSystem(value: object): boolean {
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 SystemFromJSON(json: any): System {
90
- return SystemFromJSONTyped(json, false);
89
+ export function SystemInfoFromJSON(json: any): SystemInfo {
90
+ return SystemInfoFromJSONTyped(json, false);
91
91
  }
92
92
 
93
- export function SystemFromJSONTyped(json: any, ignoreDiscriminator: boolean): System {
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': SystemRuntimeFromJSON(json['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 SystemToJSON(value?: System | null): any {
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': SystemRuntimeToJSON(value.runtime),
118
+ 'runtime': SystemInfoRuntimeToJSON(value.runtime),
119
119
  };
120
120
  }
121
121