@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
@@ -467,8 +467,8 @@ src/models/StaticDeviceRequest.ts
467
467
  src/models/StaticDeviceToken.ts
468
468
  src/models/StaticDeviceTokenRequest.ts
469
469
  src/models/SubModeEnum.ts
470
- src/models/System.ts
471
- src/models/SystemRuntime.ts
470
+ src/models/SystemInfo.ts
471
+ src/models/SystemInfoRuntime.ts
472
472
  src/models/TOTPDevice.ts
473
473
  src/models/TOTPDeviceRequest.ts
474
474
  src/models/Task.ts
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { App, LoginMetrics, System, Task, Version, Workers } from '../models';
13
+ import type { App, LoginMetrics, SystemInfo, Task, Version, Workers } from '../models';
14
14
  export interface AdminSystemTasksRetrieveRequest {
15
15
  id: string;
16
16
  }
@@ -48,19 +48,19 @@ export declare class AdminApi extends runtime.BaseAPI {
48
48
  /**
49
49
  * Get system information.
50
50
  */
51
- adminSystemCreateRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<System>>;
51
+ adminSystemCreateRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfo>>;
52
52
  /**
53
53
  * Get system information.
54
54
  */
55
- adminSystemCreate(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<System>;
55
+ adminSystemCreate(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfo>;
56
56
  /**
57
57
  * Get system information.
58
58
  */
59
- adminSystemRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<System>>;
59
+ adminSystemRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfo>>;
60
60
  /**
61
61
  * Get system information.
62
62
  */
63
- adminSystemRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<System>;
63
+ adminSystemRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfo>;
64
64
  /**
65
65
  * List system tasks
66
66
  */
@@ -129,7 +129,7 @@ class AdminApi extends runtime.BaseAPI {
129
129
  headers: headerParameters,
130
130
  query: queryParameters,
131
131
  }, initOverrides);
132
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.SystemFromJSON)(jsonValue));
132
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.SystemInfoFromJSON)(jsonValue));
133
133
  });
134
134
  }
135
135
  /**
@@ -157,7 +157,7 @@ class AdminApi extends runtime.BaseAPI {
157
157
  headers: headerParameters,
158
158
  query: queryParameters,
159
159
  }, initOverrides);
160
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.SystemFromJSON)(jsonValue));
160
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.SystemInfoFromJSON)(jsonValue));
161
161
  });
162
162
  }
163
163
  /**
@@ -1983,9 +1983,9 @@ export type StagesAuthenticatorSmsListProviderEnum = typeof StagesAuthenticatorS
1983
1983
  * @export
1984
1984
  */
1985
1985
  export declare const StagesAuthenticatorTotpListDigitsEnum: {
1986
- readonly NUMBER_6: 6;
1987
- readonly NUMBER_8: 8;
1988
- readonly NUMBER_unknown_default_open_api: 11184809;
1986
+ readonly _6: "6";
1987
+ readonly _8: "8";
1988
+ readonly UnknownDefaultOpenApi: "11184809";
1989
1989
  };
1990
1990
  export type StagesAuthenticatorTotpListDigitsEnum = typeof StagesAuthenticatorTotpListDigitsEnum[keyof typeof StagesAuthenticatorTotpListDigitsEnum];
1991
1991
  /**
@@ -5632,9 +5632,9 @@ exports.StagesAuthenticatorSmsListProviderEnum = {
5632
5632
  * @export
5633
5633
  */
5634
5634
  exports.StagesAuthenticatorTotpListDigitsEnum = {
5635
- NUMBER_6: 6,
5636
- NUMBER_8: 8,
5637
- NUMBER_unknown_default_open_api: 11184809
5635
+ _6: '6',
5636
+ _8: '8',
5637
+ UnknownDefaultOpenApi: '11184809'
5638
5638
  };
5639
5639
  /**
5640
5640
  * @export
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { App, LoginMetrics, System, Task, Version, Workers } from '../models';
13
+ import type { App, LoginMetrics, SystemInfo, Task, Version, Workers } from '../models';
14
14
  export interface AdminSystemTasksRetrieveRequest {
15
15
  id: string;
16
16
  }
@@ -48,19 +48,19 @@ export declare class AdminApi extends runtime.BaseAPI {
48
48
  /**
49
49
  * Get system information.
50
50
  */
51
- adminSystemCreateRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<System>>;
51
+ adminSystemCreateRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfo>>;
52
52
  /**
53
53
  * Get system information.
54
54
  */
55
- adminSystemCreate(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<System>;
55
+ adminSystemCreate(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfo>;
56
56
  /**
57
57
  * Get system information.
58
58
  */
59
- adminSystemRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<System>>;
59
+ adminSystemRetrieveRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SystemInfo>>;
60
60
  /**
61
61
  * Get system information.
62
62
  */
63
- adminSystemRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<System>;
63
+ adminSystemRetrieve(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SystemInfo>;
64
64
  /**
65
65
  * List system tasks
66
66
  */
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
- import { AppFromJSON, LoginMetricsFromJSON, SystemFromJSON, TaskFromJSON, VersionFromJSON, WorkersFromJSON, } from '../models';
24
+ import { AppFromJSON, LoginMetricsFromJSON, SystemInfoFromJSON, TaskFromJSON, VersionFromJSON, WorkersFromJSON, } from '../models';
25
25
  /**
26
26
  *
27
27
  */
@@ -126,7 +126,7 @@ export class AdminApi extends runtime.BaseAPI {
126
126
  headers: headerParameters,
127
127
  query: queryParameters,
128
128
  }, initOverrides);
129
- return new runtime.JSONApiResponse(response, (jsonValue) => SystemFromJSON(jsonValue));
129
+ return new runtime.JSONApiResponse(response, (jsonValue) => SystemInfoFromJSON(jsonValue));
130
130
  });
131
131
  }
132
132
  /**
@@ -154,7 +154,7 @@ export class AdminApi extends runtime.BaseAPI {
154
154
  headers: headerParameters,
155
155
  query: queryParameters,
156
156
  }, initOverrides);
157
- return new runtime.JSONApiResponse(response, (jsonValue) => SystemFromJSON(jsonValue));
157
+ return new runtime.JSONApiResponse(response, (jsonValue) => SystemInfoFromJSON(jsonValue));
158
158
  });
159
159
  }
160
160
  /**
@@ -1983,9 +1983,9 @@ export type StagesAuthenticatorSmsListProviderEnum = typeof StagesAuthenticatorS
1983
1983
  * @export
1984
1984
  */
1985
1985
  export declare const StagesAuthenticatorTotpListDigitsEnum: {
1986
- readonly NUMBER_6: 6;
1987
- readonly NUMBER_8: 8;
1988
- readonly NUMBER_unknown_default_open_api: 11184809;
1986
+ readonly _6: "6";
1987
+ readonly _8: "8";
1988
+ readonly UnknownDefaultOpenApi: "11184809";
1989
1989
  };
1990
1990
  export type StagesAuthenticatorTotpListDigitsEnum = typeof StagesAuthenticatorTotpListDigitsEnum[keyof typeof StagesAuthenticatorTotpListDigitsEnum];
1991
1991
  /**
@@ -5628,9 +5628,9 @@ export const StagesAuthenticatorSmsListProviderEnum = {
5628
5628
  * @export
5629
5629
  */
5630
5630
  export const StagesAuthenticatorTotpListDigitsEnum = {
5631
- NUMBER_6: 6,
5632
- NUMBER_8: 8,
5633
- NUMBER_unknown_default_open_api: 11184809
5631
+ _6: '6',
5632
+ _8: '8',
5633
+ UnknownDefaultOpenApi: '11184809'
5634
5634
  };
5635
5635
  /**
5636
5636
  * @export
@@ -15,9 +15,9 @@
15
15
  * @export
16
16
  */
17
17
  export declare const DigitsEnum: {
18
- readonly NUMBER_6: 6;
19
- readonly NUMBER_8: 8;
20
- readonly NUMBER_unknown_default_open_api: 11184809;
18
+ readonly _6: "6";
19
+ readonly _8: "8";
20
+ readonly UnknownDefaultOpenApi: "11184809";
21
21
  };
22
22
  export type DigitsEnum = typeof DigitsEnum[keyof typeof DigitsEnum];
23
23
  export declare function DigitsEnumFromJSON(json: any): DigitsEnum;
@@ -17,9 +17,9 @@
17
17
  * @export
18
18
  */
19
19
  export const DigitsEnum = {
20
- NUMBER_6: 6,
21
- NUMBER_8: 8,
22
- NUMBER_unknown_default_open_api: 11184809
20
+ _6: '6',
21
+ _8: '8',
22
+ UnknownDefaultOpenApi: '11184809'
23
23
  };
24
24
  export function DigitsEnumFromJSON(json) {
25
25
  return DigitsEnumFromJSONTyped(json, false);
@@ -113,6 +113,12 @@ export interface IdentificationStage {
113
113
  * @memberof IdentificationStage
114
114
  */
115
115
  showSourceLabels?: boolean;
116
+ /**
117
+ * When enabled, the stage will succeed and continue even when incorrect user info is entered.
118
+ * @type {boolean}
119
+ * @memberof IdentificationStage
120
+ */
121
+ pretendUserExists?: boolean;
116
122
  }
117
123
  /**
118
124
  * Check if a given object implements the IdentificationStage interface.
@@ -51,6 +51,7 @@ export function IdentificationStageFromJSONTyped(json, ignoreDiscriminator) {
51
51
  'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
52
52
  'sources': !exists(json, 'sources') ? undefined : json['sources'],
53
53
  'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
54
+ 'pretendUserExists': !exists(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
54
55
  };
55
56
  }
56
57
  export function IdentificationStageToJSON(value) {
@@ -72,5 +73,6 @@ export function IdentificationStageToJSON(value) {
72
73
  'passwordless_flow': value.passwordlessFlow,
73
74
  'sources': value.sources,
74
75
  'show_source_labels': value.showSourceLabels,
76
+ 'pretend_user_exists': value.pretendUserExists,
75
77
  };
76
78
  }
@@ -83,6 +83,12 @@ export interface IdentificationStageRequest {
83
83
  * @memberof IdentificationStageRequest
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 IdentificationStageRequest
90
+ */
91
+ pretendUserExists?: boolean;
86
92
  }
87
93
  /**
88
94
  * Check if a given object implements the IdentificationStageRequest interface.
@@ -41,6 +41,7 @@ export function IdentificationStageRequestFromJSONTyped(json, ignoreDiscriminato
41
41
  'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
42
42
  'sources': !exists(json, 'sources') ? undefined : json['sources'],
43
43
  'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
44
+ 'pretendUserExists': !exists(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
44
45
  };
45
46
  }
46
47
  export function IdentificationStageRequestToJSON(value) {
@@ -62,5 +63,6 @@ export function IdentificationStageRequestToJSON(value) {
62
63
  'passwordless_flow': value.passwordlessFlow,
63
64
  'sources': value.sources,
64
65
  'show_source_labels': value.showSourceLabels,
66
+ 'pretend_user_exists': value.pretendUserExists,
65
67
  };
66
68
  }
@@ -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.
@@ -40,6 +40,7 @@ export function PatchedIdentificationStageRequestFromJSONTyped(json, ignoreDiscr
40
40
  'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
41
41
  'sources': !exists(json, 'sources') ? undefined : json['sources'],
42
42
  'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
43
+ 'pretendUserExists': !exists(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
43
44
  };
44
45
  }
45
46
  export function PatchedIdentificationStageRequestToJSON(value) {
@@ -61,5 +62,6 @@ export function PatchedIdentificationStageRequestToJSON(value) {
61
62
  'passwordless_flow': value.passwordlessFlow,
62
63
  'sources': value.sources,
63
64
  'show_source_labels': value.showSourceLabels,
65
+ 'pretend_user_exists': value.pretendUserExists,
64
66
  };
65
67
  }
@@ -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;
@@ -11,11 +11,11 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { SystemRuntimeFromJSON, SystemRuntimeToJSON, } from './SystemRuntime';
14
+ import { SystemInfoRuntimeFromJSON, SystemInfoRuntimeToJSON, } from './SystemInfoRuntime';
15
15
  /**
16
- * Check if a given object implements the System interface.
16
+ * Check if a given object implements the SystemInfo interface.
17
17
  */
18
- export function instanceOfSystem(value) {
18
+ export function instanceOfSystemInfo(value) {
19
19
  let isInstance = true;
20
20
  isInstance = isInstance && "httpHeaders" in value;
21
21
  isInstance = isInstance && "httpHost" in value;
@@ -26,10 +26,10 @@ export function instanceOfSystem(value) {
26
26
  isInstance = isInstance && "embeddedOutpostHost" in value;
27
27
  return isInstance;
28
28
  }
29
- export function SystemFromJSON(json) {
30
- return SystemFromJSONTyped(json, false);
29
+ export function SystemInfoFromJSON(json) {
30
+ return SystemInfoFromJSONTyped(json, false);
31
31
  }
32
- export function SystemFromJSONTyped(json, ignoreDiscriminator) {
32
+ export function SystemInfoFromJSONTyped(json, ignoreDiscriminator) {
33
33
  if ((json === undefined) || (json === null)) {
34
34
  return json;
35
35
  }
@@ -37,13 +37,13 @@ export function SystemFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'httpHeaders': json['http_headers'],
38
38
  'httpHost': json['http_host'],
39
39
  'httpIsSecure': json['http_is_secure'],
40
- 'runtime': SystemRuntimeFromJSON(json['runtime']),
40
+ 'runtime': SystemInfoRuntimeFromJSON(json['runtime']),
41
41
  'tenant': json['tenant'],
42
42
  'serverTime': (new Date(json['server_time'])),
43
43
  'embeddedOutpostHost': json['embedded_outpost_host'],
44
44
  };
45
45
  }
46
- export function SystemToJSON(value) {
46
+ export function SystemInfoToJSON(value) {
47
47
  if (value === undefined) {
48
48
  return undefined;
49
49
  }
@@ -51,6 +51,6 @@ export function SystemToJSON(value) {
51
51
  return null;
52
52
  }
53
53
  return {
54
- 'runtime': SystemRuntimeToJSON(value.runtime),
54
+ 'runtime': SystemInfoRuntimeToJSON(value.runtime),
55
55
  };
56
56
  }
@@ -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;
@@ -12,9 +12,9 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Check if a given object implements the SystemRuntime interface.
15
+ * Check if a given object implements the SystemInfoRuntime interface.
16
16
  */
17
- export function instanceOfSystemRuntime(value) {
17
+ export function instanceOfSystemInfoRuntime(value) {
18
18
  let isInstance = true;
19
19
  isInstance = isInstance && "pythonVersion" in value;
20
20
  isInstance = isInstance && "gunicornVersion" in value;
@@ -24,10 +24,10 @@ export function instanceOfSystemRuntime(value) {
24
24
  isInstance = isInstance && "uname" in value;
25
25
  return isInstance;
26
26
  }
27
- export function SystemRuntimeFromJSON(json) {
28
- return SystemRuntimeFromJSONTyped(json, false);
27
+ export function SystemInfoRuntimeFromJSON(json) {
28
+ return SystemInfoRuntimeFromJSONTyped(json, false);
29
29
  }
30
- export function SystemRuntimeFromJSONTyped(json, ignoreDiscriminator) {
30
+ export function SystemInfoRuntimeFromJSONTyped(json, ignoreDiscriminator) {
31
31
  if ((json === undefined) || (json === null)) {
32
32
  return json;
33
33
  }
@@ -40,7 +40,7 @@ export function SystemRuntimeFromJSONTyped(json, ignoreDiscriminator) {
40
40
  'uname': json['uname'],
41
41
  };
42
42
  }
43
- export function SystemRuntimeToJSON(value) {
43
+ export function SystemInfoRuntimeToJSON(value) {
44
44
  if (value === undefined) {
45
45
  return undefined;
46
46
  }
@@ -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';
@@ -444,8 +444,8 @@ export * from './StaticDeviceRequest';
444
444
  export * from './StaticDeviceToken';
445
445
  export * from './StaticDeviceTokenRequest';
446
446
  export * from './SubModeEnum';
447
- export * from './System';
448
- export * from './SystemRuntime';
447
+ export * from './SystemInfo';
448
+ export * from './SystemInfoRuntime';
449
449
  export * from './TOTPDevice';
450
450
  export * from './TOTPDeviceRequest';
451
451
  export * from './Task';
@@ -15,9 +15,9 @@
15
15
  * @export
16
16
  */
17
17
  export declare const DigitsEnum: {
18
- readonly NUMBER_6: 6;
19
- readonly NUMBER_8: 8;
20
- readonly NUMBER_unknown_default_open_api: 11184809;
18
+ readonly _6: "6";
19
+ readonly _8: "8";
20
+ readonly UnknownDefaultOpenApi: "11184809";
21
21
  };
22
22
  export type DigitsEnum = typeof DigitsEnum[keyof typeof DigitsEnum];
23
23
  export declare function DigitsEnumFromJSON(json: any): DigitsEnum;
@@ -20,9 +20,9 @@ exports.DigitsEnumToJSON = exports.DigitsEnumFromJSONTyped = exports.DigitsEnumF
20
20
  * @export
21
21
  */
22
22
  exports.DigitsEnum = {
23
- NUMBER_6: 6,
24
- NUMBER_8: 8,
25
- NUMBER_unknown_default_open_api: 11184809
23
+ _6: '6',
24
+ _8: '8',
25
+ UnknownDefaultOpenApi: '11184809'
26
26
  };
27
27
  function DigitsEnumFromJSON(json) {
28
28
  return DigitsEnumFromJSONTyped(json, false);
@@ -113,6 +113,12 @@ export interface IdentificationStage {
113
113
  * @memberof IdentificationStage
114
114
  */
115
115
  showSourceLabels?: boolean;
116
+ /**
117
+ * When enabled, the stage will succeed and continue even when incorrect user info is entered.
118
+ * @type {boolean}
119
+ * @memberof IdentificationStage
120
+ */
121
+ pretendUserExists?: boolean;
116
122
  }
117
123
  /**
118
124
  * Check if a given object implements the IdentificationStage interface.
@@ -56,6 +56,7 @@ function IdentificationStageFromJSONTyped(json, ignoreDiscriminator) {
56
56
  'passwordlessFlow': !(0, runtime_1.exists)(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
57
57
  'sources': !(0, runtime_1.exists)(json, 'sources') ? undefined : json['sources'],
58
58
  'showSourceLabels': !(0, runtime_1.exists)(json, 'show_source_labels') ? undefined : json['show_source_labels'],
59
+ 'pretendUserExists': !(0, runtime_1.exists)(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
59
60
  };
60
61
  }
61
62
  exports.IdentificationStageFromJSONTyped = IdentificationStageFromJSONTyped;
@@ -78,6 +79,7 @@ function IdentificationStageToJSON(value) {
78
79
  'passwordless_flow': value.passwordlessFlow,
79
80
  'sources': value.sources,
80
81
  'show_source_labels': value.showSourceLabels,
82
+ 'pretend_user_exists': value.pretendUserExists,
81
83
  };
82
84
  }
83
85
  exports.IdentificationStageToJSON = IdentificationStageToJSON;
@@ -83,6 +83,12 @@ export interface IdentificationStageRequest {
83
83
  * @memberof IdentificationStageRequest
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 IdentificationStageRequest
90
+ */
91
+ pretendUserExists?: boolean;
86
92
  }
87
93
  /**
88
94
  * Check if a given object implements the IdentificationStageRequest interface.
@@ -46,6 +46,7 @@ function IdentificationStageRequestFromJSONTyped(json, ignoreDiscriminator) {
46
46
  'passwordlessFlow': !(0, runtime_1.exists)(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
47
47
  'sources': !(0, runtime_1.exists)(json, 'sources') ? undefined : json['sources'],
48
48
  'showSourceLabels': !(0, runtime_1.exists)(json, 'show_source_labels') ? undefined : json['show_source_labels'],
49
+ 'pretendUserExists': !(0, runtime_1.exists)(json, 'pretend_user_exists') ? undefined : json['pretend_user_exists'],
49
50
  };
50
51
  }
51
52
  exports.IdentificationStageRequestFromJSONTyped = IdentificationStageRequestFromJSONTyped;
@@ -68,6 +69,7 @@ function IdentificationStageRequestToJSON(value) {
68
69
  'passwordless_flow': value.passwordlessFlow,
69
70
  'sources': value.sources,
70
71
  'show_source_labels': value.showSourceLabels,
72
+ 'pretend_user_exists': value.pretendUserExists,
71
73
  };
72
74
  }
73
75
  exports.IdentificationStageRequestToJSON = IdentificationStageRequestToJSON;