@goauthentik/api 2024.6.1-1720731051 → 2024.6.1-1721092506
Sign up to get free protection for your applications and to get access to all the features.
- package/.openapi-generator/FILES +0 -1
- package/dist/apis/StagesApi.d.ts +1 -0
- package/dist/apis/StagesApi.js +3 -0
- package/dist/esm/apis/StagesApi.d.ts +1 -0
- package/dist/esm/apis/StagesApi.js +3 -0
- package/dist/esm/models/AccessDeniedChallenge.d.ts +0 -7
- package/dist/esm/models/AccessDeniedChallenge.js +0 -4
- package/dist/esm/models/AppleLoginChallenge.d.ts +0 -7
- package/dist/esm/models/AppleLoginChallenge.js +0 -4
- package/dist/esm/models/AuthenticatorDuoChallenge.d.ts +0 -7
- package/dist/esm/models/AuthenticatorDuoChallenge.js +0 -4
- package/dist/esm/models/AuthenticatorSMSChallenge.d.ts +0 -7
- package/dist/esm/models/AuthenticatorSMSChallenge.js +0 -4
- package/dist/esm/models/AuthenticatorStaticChallenge.d.ts +0 -7
- package/dist/esm/models/AuthenticatorStaticChallenge.js +0 -4
- package/dist/esm/models/AuthenticatorTOTPChallenge.d.ts +0 -7
- package/dist/esm/models/AuthenticatorTOTPChallenge.js +0 -4
- package/dist/esm/models/AuthenticatorValidationChallenge.d.ts +0 -7
- package/dist/esm/models/AuthenticatorValidationChallenge.js +0 -4
- package/dist/esm/models/AuthenticatorWebAuthnChallenge.d.ts +0 -7
- package/dist/esm/models/AuthenticatorWebAuthnChallenge.js +0 -4
- package/dist/esm/models/AutosubmitChallenge.d.ts +0 -7
- package/dist/esm/models/AutosubmitChallenge.js +0 -4
- package/dist/esm/models/CaptchaChallenge.d.ts +0 -7
- package/dist/esm/models/CaptchaChallenge.js +0 -4
- package/dist/esm/models/ConsentChallenge.d.ts +0 -7
- package/dist/esm/models/ConsentChallenge.js +0 -4
- package/dist/esm/models/DummyChallenge.d.ts +0 -7
- package/dist/esm/models/DummyChallenge.js +0 -4
- package/dist/esm/models/EmailChallenge.d.ts +0 -7
- package/dist/esm/models/EmailChallenge.js +0 -4
- package/dist/esm/models/FlowErrorChallenge.d.ts +0 -6
- package/dist/esm/models/FlowErrorChallenge.js +0 -2
- package/dist/esm/models/IdentificationChallenge.d.ts +6 -7
- package/dist/esm/models/IdentificationChallenge.js +2 -4
- package/dist/esm/models/IdentificationStage.d.ts +1 -1
- package/dist/esm/models/IdentificationStageRequest.d.ts +1 -1
- package/dist/esm/models/OAuthDeviceCodeChallenge.d.ts +0 -7
- package/dist/esm/models/OAuthDeviceCodeChallenge.js +0 -4
- package/dist/esm/models/OAuthDeviceCodeFinishChallenge.d.ts +0 -7
- package/dist/esm/models/OAuthDeviceCodeFinishChallenge.js +0 -4
- package/dist/esm/models/PasswordChallenge.d.ts +6 -7
- package/dist/esm/models/PasswordChallenge.js +2 -4
- package/dist/esm/models/PasswordStage.d.ts +6 -0
- package/dist/esm/models/PasswordStage.js +2 -0
- package/dist/esm/models/PasswordStageRequest.d.ts +6 -0
- package/dist/esm/models/PasswordStageRequest.js +2 -0
- package/dist/esm/models/PatchedIdentificationStageRequest.d.ts +1 -1
- package/dist/esm/models/PatchedPasswordStageRequest.d.ts +6 -0
- package/dist/esm/models/PatchedPasswordStageRequest.js +2 -0
- package/dist/esm/models/PlexAuthenticationChallenge.d.ts +0 -7
- package/dist/esm/models/PlexAuthenticationChallenge.js +0 -4
- package/dist/esm/models/PromptChallenge.d.ts +0 -7
- package/dist/esm/models/PromptChallenge.js +0 -4
- package/dist/esm/models/RedirectChallenge.d.ts +0 -7
- package/dist/esm/models/RedirectChallenge.js +0 -4
- package/dist/esm/models/ShellChallenge.d.ts +0 -7
- package/dist/esm/models/ShellChallenge.js +0 -4
- package/dist/esm/models/UserLoginChallenge.d.ts +0 -7
- package/dist/esm/models/UserLoginChallenge.js +0 -4
- package/dist/esm/models/index.d.ts +0 -1
- package/dist/esm/models/index.js +0 -1
- package/dist/models/AccessDeniedChallenge.d.ts +0 -7
- package/dist/models/AccessDeniedChallenge.js +0 -4
- package/dist/models/AppleLoginChallenge.d.ts +0 -7
- package/dist/models/AppleLoginChallenge.js +0 -4
- package/dist/models/AuthenticatorDuoChallenge.d.ts +0 -7
- package/dist/models/AuthenticatorDuoChallenge.js +0 -4
- package/dist/models/AuthenticatorSMSChallenge.d.ts +0 -7
- package/dist/models/AuthenticatorSMSChallenge.js +0 -4
- package/dist/models/AuthenticatorStaticChallenge.d.ts +0 -7
- package/dist/models/AuthenticatorStaticChallenge.js +0 -4
- package/dist/models/AuthenticatorTOTPChallenge.d.ts +0 -7
- package/dist/models/AuthenticatorTOTPChallenge.js +0 -4
- package/dist/models/AuthenticatorValidationChallenge.d.ts +0 -7
- package/dist/models/AuthenticatorValidationChallenge.js +0 -4
- package/dist/models/AuthenticatorWebAuthnChallenge.d.ts +0 -7
- package/dist/models/AuthenticatorWebAuthnChallenge.js +0 -4
- package/dist/models/AutosubmitChallenge.d.ts +0 -7
- package/dist/models/AutosubmitChallenge.js +0 -4
- package/dist/models/CaptchaChallenge.d.ts +0 -7
- package/dist/models/CaptchaChallenge.js +0 -4
- package/dist/models/ConsentChallenge.d.ts +0 -7
- package/dist/models/ConsentChallenge.js +0 -4
- package/dist/models/DummyChallenge.d.ts +0 -7
- package/dist/models/DummyChallenge.js +0 -4
- package/dist/models/EmailChallenge.d.ts +0 -7
- package/dist/models/EmailChallenge.js +0 -4
- package/dist/models/FlowErrorChallenge.d.ts +0 -6
- package/dist/models/FlowErrorChallenge.js +0 -2
- package/dist/models/IdentificationChallenge.d.ts +6 -7
- package/dist/models/IdentificationChallenge.js +2 -4
- package/dist/models/IdentificationStage.d.ts +1 -1
- package/dist/models/IdentificationStageRequest.d.ts +1 -1
- package/dist/models/OAuthDeviceCodeChallenge.d.ts +0 -7
- package/dist/models/OAuthDeviceCodeChallenge.js +0 -4
- package/dist/models/OAuthDeviceCodeFinishChallenge.d.ts +0 -7
- package/dist/models/OAuthDeviceCodeFinishChallenge.js +0 -4
- package/dist/models/PasswordChallenge.d.ts +6 -7
- package/dist/models/PasswordChallenge.js +2 -4
- package/dist/models/PasswordStage.d.ts +6 -0
- package/dist/models/PasswordStage.js +2 -0
- package/dist/models/PasswordStageRequest.d.ts +6 -0
- package/dist/models/PasswordStageRequest.js +2 -0
- package/dist/models/PatchedIdentificationStageRequest.d.ts +1 -1
- package/dist/models/PatchedPasswordStageRequest.d.ts +6 -0
- package/dist/models/PatchedPasswordStageRequest.js +2 -0
- package/dist/models/PlexAuthenticationChallenge.d.ts +0 -7
- package/dist/models/PlexAuthenticationChallenge.js +0 -4
- package/dist/models/PromptChallenge.d.ts +0 -7
- package/dist/models/PromptChallenge.js +0 -4
- package/dist/models/RedirectChallenge.d.ts +0 -7
- package/dist/models/RedirectChallenge.js +0 -4
- package/dist/models/ShellChallenge.d.ts +0 -7
- package/dist/models/ShellChallenge.js +0 -4
- package/dist/models/UserLoginChallenge.d.ts +0 -7
- package/dist/models/UserLoginChallenge.js +0 -4
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/package.json +1 -1
- package/src/apis/StagesApi.ts +5 -0
- package/src/models/AccessDeniedChallenge.ts +0 -15
- package/src/models/AppleLoginChallenge.ts +0 -15
- package/src/models/AuthenticatorDuoChallenge.ts +0 -15
- package/src/models/AuthenticatorSMSChallenge.ts +0 -15
- package/src/models/AuthenticatorStaticChallenge.ts +0 -15
- package/src/models/AuthenticatorTOTPChallenge.ts +0 -15
- package/src/models/AuthenticatorValidationChallenge.ts +0 -15
- package/src/models/AuthenticatorWebAuthnChallenge.ts +0 -15
- package/src/models/AutosubmitChallenge.ts +0 -15
- package/src/models/CaptchaChallenge.ts +0 -15
- package/src/models/ConsentChallenge.ts +0 -15
- package/src/models/DummyChallenge.ts +0 -15
- package/src/models/EmailChallenge.ts +0 -15
- package/src/models/FlowErrorChallenge.ts +0 -8
- package/src/models/IdentificationChallenge.ts +8 -15
- package/src/models/IdentificationStage.ts +1 -1
- package/src/models/IdentificationStageRequest.ts +1 -1
- package/src/models/OAuthDeviceCodeChallenge.ts +0 -15
- package/src/models/OAuthDeviceCodeFinishChallenge.ts +0 -15
- package/src/models/PasswordChallenge.ts +8 -15
- package/src/models/PasswordStage.ts +8 -0
- package/src/models/PasswordStageRequest.ts +8 -0
- package/src/models/PatchedIdentificationStageRequest.ts +1 -1
- package/src/models/PatchedPasswordStageRequest.ts +8 -0
- package/src/models/PlexAuthenticationChallenge.ts +0 -15
- package/src/models/PromptChallenge.ts +0 -15
- package/src/models/RedirectChallenge.ts +0 -15
- package/src/models/ShellChallenge.ts +0 -15
- package/src/models/UserLoginChallenge.ts +0 -15
- package/src/models/index.ts +0 -1
- package/dist/esm/models/ChallengeChoices.d.ts +0 -25
- package/dist/esm/models/ChallengeChoices.js +0 -32
- package/dist/models/ChallengeChoices.d.ts +0 -25
- package/dist/models/ChallengeChoices.js +0 -38
- package/src/models/ChallengeChoices.ts +0 -40
@@ -15,7 +15,6 @@
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16
16
|
exports.PromptChallengeToJSON = exports.PromptChallengeFromJSONTyped = exports.PromptChallengeFromJSON = exports.instanceOfPromptChallenge = void 0;
|
17
17
|
const runtime_1 = require("../runtime");
|
18
|
-
const ChallengeChoices_1 = require("./ChallengeChoices");
|
19
18
|
const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
|
20
19
|
const StagePrompt_1 = require("./StagePrompt");
|
21
20
|
/**
|
@@ -23,7 +22,6 @@ const StagePrompt_1 = require("./StagePrompt");
|
|
23
22
|
*/
|
24
23
|
function instanceOfPromptChallenge(value) {
|
25
24
|
let isInstance = true;
|
26
|
-
isInstance = isInstance && "type" in value;
|
27
25
|
isInstance = isInstance && "fields" in value;
|
28
26
|
return isInstance;
|
29
27
|
}
|
@@ -37,7 +35,6 @@ function PromptChallengeFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
35
|
return json;
|
38
36
|
}
|
39
37
|
return {
|
40
|
-
'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
|
41
38
|
'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
|
42
39
|
'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
|
43
40
|
'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -53,7 +50,6 @@ function PromptChallengeToJSON(value) {
|
|
53
50
|
return null;
|
54
51
|
}
|
55
52
|
return {
|
56
|
-
'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
|
57
53
|
'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
|
58
54
|
'component': value.component,
|
59
55
|
'response_errors': value.responseErrors,
|
@@ -9,7 +9,6 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
-
import type { ChallengeChoices } from './ChallengeChoices';
|
13
12
|
import type { ContextualFlowInfo } from './ContextualFlowInfo';
|
14
13
|
import type { ErrorDetail } from './ErrorDetail';
|
15
14
|
/**
|
@@ -18,12 +17,6 @@ import type { ErrorDetail } from './ErrorDetail';
|
|
18
17
|
* @interface RedirectChallenge
|
19
18
|
*/
|
20
19
|
export interface RedirectChallenge {
|
21
|
-
/**
|
22
|
-
*
|
23
|
-
* @type {ChallengeChoices}
|
24
|
-
* @memberof RedirectChallenge
|
25
|
-
*/
|
26
|
-
type: ChallengeChoices;
|
27
20
|
/**
|
28
21
|
*
|
29
22
|
* @type {ContextualFlowInfo}
|
@@ -15,14 +15,12 @@
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16
16
|
exports.RedirectChallengeToJSON = exports.RedirectChallengeFromJSONTyped = exports.RedirectChallengeFromJSON = exports.instanceOfRedirectChallenge = void 0;
|
17
17
|
const runtime_1 = require("../runtime");
|
18
|
-
const ChallengeChoices_1 = require("./ChallengeChoices");
|
19
18
|
const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
|
20
19
|
/**
|
21
20
|
* Check if a given object implements the RedirectChallenge interface.
|
22
21
|
*/
|
23
22
|
function instanceOfRedirectChallenge(value) {
|
24
23
|
let isInstance = true;
|
25
|
-
isInstance = isInstance && "type" in value;
|
26
24
|
isInstance = isInstance && "to" in value;
|
27
25
|
return isInstance;
|
28
26
|
}
|
@@ -36,7 +34,6 @@ function RedirectChallengeFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
34
|
return json;
|
37
35
|
}
|
38
36
|
return {
|
39
|
-
'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
|
40
37
|
'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
|
41
38
|
'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
|
42
39
|
'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -52,7 +49,6 @@ function RedirectChallengeToJSON(value) {
|
|
52
49
|
return null;
|
53
50
|
}
|
54
51
|
return {
|
55
|
-
'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
|
56
52
|
'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
|
57
53
|
'component': value.component,
|
58
54
|
'response_errors': value.responseErrors,
|
@@ -9,7 +9,6 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
-
import type { ChallengeChoices } from './ChallengeChoices';
|
13
12
|
import type { ContextualFlowInfo } from './ContextualFlowInfo';
|
14
13
|
import type { ErrorDetail } from './ErrorDetail';
|
15
14
|
/**
|
@@ -18,12 +17,6 @@ import type { ErrorDetail } from './ErrorDetail';
|
|
18
17
|
* @interface ShellChallenge
|
19
18
|
*/
|
20
19
|
export interface ShellChallenge {
|
21
|
-
/**
|
22
|
-
*
|
23
|
-
* @type {ChallengeChoices}
|
24
|
-
* @memberof ShellChallenge
|
25
|
-
*/
|
26
|
-
type: ChallengeChoices;
|
27
20
|
/**
|
28
21
|
*
|
29
22
|
* @type {ContextualFlowInfo}
|
@@ -15,14 +15,12 @@
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16
16
|
exports.ShellChallengeToJSON = exports.ShellChallengeFromJSONTyped = exports.ShellChallengeFromJSON = exports.instanceOfShellChallenge = void 0;
|
17
17
|
const runtime_1 = require("../runtime");
|
18
|
-
const ChallengeChoices_1 = require("./ChallengeChoices");
|
19
18
|
const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
|
20
19
|
/**
|
21
20
|
* Check if a given object implements the ShellChallenge interface.
|
22
21
|
*/
|
23
22
|
function instanceOfShellChallenge(value) {
|
24
23
|
let isInstance = true;
|
25
|
-
isInstance = isInstance && "type" in value;
|
26
24
|
isInstance = isInstance && "body" in value;
|
27
25
|
return isInstance;
|
28
26
|
}
|
@@ -36,7 +34,6 @@ function ShellChallengeFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
34
|
return json;
|
37
35
|
}
|
38
36
|
return {
|
39
|
-
'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
|
40
37
|
'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
|
41
38
|
'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
|
42
39
|
'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -52,7 +49,6 @@ function ShellChallengeToJSON(value) {
|
|
52
49
|
return null;
|
53
50
|
}
|
54
51
|
return {
|
55
|
-
'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
|
56
52
|
'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
|
57
53
|
'component': value.component,
|
58
54
|
'response_errors': value.responseErrors,
|
@@ -9,7 +9,6 @@
|
|
9
9
|
* https://openapi-generator.tech
|
10
10
|
* Do not edit the class manually.
|
11
11
|
*/
|
12
|
-
import type { ChallengeChoices } from './ChallengeChoices';
|
13
12
|
import type { ContextualFlowInfo } from './ContextualFlowInfo';
|
14
13
|
import type { ErrorDetail } from './ErrorDetail';
|
15
14
|
/**
|
@@ -18,12 +17,6 @@ import type { ErrorDetail } from './ErrorDetail';
|
|
18
17
|
* @interface UserLoginChallenge
|
19
18
|
*/
|
20
19
|
export interface UserLoginChallenge {
|
21
|
-
/**
|
22
|
-
*
|
23
|
-
* @type {ChallengeChoices}
|
24
|
-
* @memberof UserLoginChallenge
|
25
|
-
*/
|
26
|
-
type: ChallengeChoices;
|
27
20
|
/**
|
28
21
|
*
|
29
22
|
* @type {ContextualFlowInfo}
|
@@ -15,14 +15,12 @@
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
16
16
|
exports.UserLoginChallengeToJSON = exports.UserLoginChallengeFromJSONTyped = exports.UserLoginChallengeFromJSON = exports.instanceOfUserLoginChallenge = void 0;
|
17
17
|
const runtime_1 = require("../runtime");
|
18
|
-
const ChallengeChoices_1 = require("./ChallengeChoices");
|
19
18
|
const ContextualFlowInfo_1 = require("./ContextualFlowInfo");
|
20
19
|
/**
|
21
20
|
* Check if a given object implements the UserLoginChallenge interface.
|
22
21
|
*/
|
23
22
|
function instanceOfUserLoginChallenge(value) {
|
24
23
|
let isInstance = true;
|
25
|
-
isInstance = isInstance && "type" in value;
|
26
24
|
isInstance = isInstance && "pendingUser" in value;
|
27
25
|
isInstance = isInstance && "pendingUserAvatar" in value;
|
28
26
|
return isInstance;
|
@@ -37,7 +35,6 @@ function UserLoginChallengeFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
35
|
return json;
|
38
36
|
}
|
39
37
|
return {
|
40
|
-
'type': (0, ChallengeChoices_1.ChallengeChoicesFromJSON)(json['type']),
|
41
38
|
'flowInfo': !(0, runtime_1.exists)(json, 'flow_info') ? undefined : (0, ContextualFlowInfo_1.ContextualFlowInfoFromJSON)(json['flow_info']),
|
42
39
|
'component': !(0, runtime_1.exists)(json, 'component') ? undefined : json['component'],
|
43
40
|
'responseErrors': !(0, runtime_1.exists)(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -54,7 +51,6 @@ function UserLoginChallengeToJSON(value) {
|
|
54
51
|
return null;
|
55
52
|
}
|
56
53
|
return {
|
57
|
-
'type': (0, ChallengeChoices_1.ChallengeChoicesToJSON)(value.type),
|
58
54
|
'flow_info': (0, ContextualFlowInfo_1.ContextualFlowInfoToJSON)(value.flowInfo),
|
59
55
|
'component': value.component,
|
60
56
|
'response_errors': value.responseErrors,
|
package/dist/models/index.d.ts
CHANGED
@@ -63,7 +63,6 @@ export * from './CertificateData';
|
|
63
63
|
export * from './CertificateGenerationRequest';
|
64
64
|
export * from './CertificateKeyPair';
|
65
65
|
export * from './CertificateKeyPairRequest';
|
66
|
-
export * from './ChallengeChoices';
|
67
66
|
export * from './ChallengeTypes';
|
68
67
|
export * from './ClientTypeEnum';
|
69
68
|
export * from './Config';
|
package/dist/models/index.js
CHANGED
@@ -81,7 +81,6 @@ __exportStar(require("./CertificateData"), exports);
|
|
81
81
|
__exportStar(require("./CertificateGenerationRequest"), exports);
|
82
82
|
__exportStar(require("./CertificateKeyPair"), exports);
|
83
83
|
__exportStar(require("./CertificateKeyPairRequest"), exports);
|
84
|
-
__exportStar(require("./ChallengeChoices"), exports);
|
85
84
|
__exportStar(require("./ChallengeTypes"), exports);
|
86
85
|
__exportStar(require("./ClientTypeEnum"), exports);
|
87
86
|
__exportStar(require("./Config"), exports);
|
package/package.json
CHANGED
package/src/apis/StagesApi.ts
CHANGED
@@ -919,6 +919,7 @@ export interface StagesPasswordDestroyRequest {
|
|
919
919
|
}
|
920
920
|
|
921
921
|
export interface StagesPasswordListRequest {
|
922
|
+
allowShowPassword?: boolean;
|
922
923
|
configureFlow?: string;
|
923
924
|
failedAttemptsBeforeCancel?: number;
|
924
925
|
name?: string;
|
@@ -6166,6 +6167,10 @@ export class StagesApi extends runtime.BaseAPI {
|
|
6166
6167
|
async stagesPasswordListRaw(requestParameters: StagesPasswordListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedPasswordStageList>> {
|
6167
6168
|
const queryParameters: any = {};
|
6168
6169
|
|
6170
|
+
if (requestParameters.allowShowPassword !== undefined) {
|
6171
|
+
queryParameters['allow_show_password'] = requestParameters.allowShowPassword;
|
6172
|
+
}
|
6173
|
+
|
6169
6174
|
if (requestParameters.configureFlow !== undefined) {
|
6170
6175
|
queryParameters['configure_flow'] = requestParameters.configureFlow;
|
6171
6176
|
}
|
@@ -13,12 +13,6 @@
|
|
13
13
|
*/
|
14
14
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
16
|
-
import type { ChallengeChoices } from './ChallengeChoices';
|
17
|
-
import {
|
18
|
-
ChallengeChoicesFromJSON,
|
19
|
-
ChallengeChoicesFromJSONTyped,
|
20
|
-
ChallengeChoicesToJSON,
|
21
|
-
} from './ChallengeChoices';
|
22
16
|
import type { ContextualFlowInfo } from './ContextualFlowInfo';
|
23
17
|
import {
|
24
18
|
ContextualFlowInfoFromJSON,
|
@@ -38,12 +32,6 @@ import {
|
|
38
32
|
* @interface AccessDeniedChallenge
|
39
33
|
*/
|
40
34
|
export interface AccessDeniedChallenge {
|
41
|
-
/**
|
42
|
-
*
|
43
|
-
* @type {ChallengeChoices}
|
44
|
-
* @memberof AccessDeniedChallenge
|
45
|
-
*/
|
46
|
-
type: ChallengeChoices;
|
47
35
|
/**
|
48
36
|
*
|
49
37
|
* @type {ContextualFlowInfo}
|
@@ -87,7 +75,6 @@ export interface AccessDeniedChallenge {
|
|
87
75
|
*/
|
88
76
|
export function instanceOfAccessDeniedChallenge(value: object): boolean {
|
89
77
|
let isInstance = true;
|
90
|
-
isInstance = isInstance && "type" in value;
|
91
78
|
isInstance = isInstance && "pendingUser" in value;
|
92
79
|
isInstance = isInstance && "pendingUserAvatar" in value;
|
93
80
|
|
@@ -104,7 +91,6 @@ export function AccessDeniedChallengeFromJSONTyped(json: any, ignoreDiscriminato
|
|
104
91
|
}
|
105
92
|
return {
|
106
93
|
|
107
|
-
'type': ChallengeChoicesFromJSON(json['type']),
|
108
94
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
109
95
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
110
96
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -123,7 +109,6 @@ export function AccessDeniedChallengeToJSON(value?: AccessDeniedChallenge | null
|
|
123
109
|
}
|
124
110
|
return {
|
125
111
|
|
126
|
-
'type': ChallengeChoicesToJSON(value.type),
|
127
112
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
128
113
|
'component': value.component,
|
129
114
|
'response_errors': value.responseErrors,
|
@@ -13,12 +13,6 @@
|
|
13
13
|
*/
|
14
14
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
16
|
-
import type { ChallengeChoices } from './ChallengeChoices';
|
17
|
-
import {
|
18
|
-
ChallengeChoicesFromJSON,
|
19
|
-
ChallengeChoicesFromJSONTyped,
|
20
|
-
ChallengeChoicesToJSON,
|
21
|
-
} from './ChallengeChoices';
|
22
16
|
import type { ContextualFlowInfo } from './ContextualFlowInfo';
|
23
17
|
import {
|
24
18
|
ContextualFlowInfoFromJSON,
|
@@ -38,12 +32,6 @@ import {
|
|
38
32
|
* @interface AppleLoginChallenge
|
39
33
|
*/
|
40
34
|
export interface AppleLoginChallenge {
|
41
|
-
/**
|
42
|
-
*
|
43
|
-
* @type {ChallengeChoices}
|
44
|
-
* @memberof AppleLoginChallenge
|
45
|
-
*/
|
46
|
-
type: ChallengeChoices;
|
47
35
|
/**
|
48
36
|
*
|
49
37
|
* @type {ContextualFlowInfo}
|
@@ -93,7 +81,6 @@ export interface AppleLoginChallenge {
|
|
93
81
|
*/
|
94
82
|
export function instanceOfAppleLoginChallenge(value: object): boolean {
|
95
83
|
let isInstance = true;
|
96
|
-
isInstance = isInstance && "type" in value;
|
97
84
|
isInstance = isInstance && "clientId" in value;
|
98
85
|
isInstance = isInstance && "scope" in value;
|
99
86
|
isInstance = isInstance && "redirectUri" in value;
|
@@ -112,7 +99,6 @@ export function AppleLoginChallengeFromJSONTyped(json: any, ignoreDiscriminator:
|
|
112
99
|
}
|
113
100
|
return {
|
114
101
|
|
115
|
-
'type': ChallengeChoicesFromJSON(json['type']),
|
116
102
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
117
103
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
118
104
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -132,7 +118,6 @@ export function AppleLoginChallengeToJSON(value?: AppleLoginChallenge | null): a
|
|
132
118
|
}
|
133
119
|
return {
|
134
120
|
|
135
|
-
'type': ChallengeChoicesToJSON(value.type),
|
136
121
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
137
122
|
'component': value.component,
|
138
123
|
'response_errors': value.responseErrors,
|
@@ -13,12 +13,6 @@
|
|
13
13
|
*/
|
14
14
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
16
|
-
import type { ChallengeChoices } from './ChallengeChoices';
|
17
|
-
import {
|
18
|
-
ChallengeChoicesFromJSON,
|
19
|
-
ChallengeChoicesFromJSONTyped,
|
20
|
-
ChallengeChoicesToJSON,
|
21
|
-
} from './ChallengeChoices';
|
22
16
|
import type { ContextualFlowInfo } from './ContextualFlowInfo';
|
23
17
|
import {
|
24
18
|
ContextualFlowInfoFromJSON,
|
@@ -38,12 +32,6 @@ import {
|
|
38
32
|
* @interface AuthenticatorDuoChallenge
|
39
33
|
*/
|
40
34
|
export interface AuthenticatorDuoChallenge {
|
41
|
-
/**
|
42
|
-
*
|
43
|
-
* @type {ChallengeChoices}
|
44
|
-
* @memberof AuthenticatorDuoChallenge
|
45
|
-
*/
|
46
|
-
type: ChallengeChoices;
|
47
35
|
/**
|
48
36
|
*
|
49
37
|
* @type {ContextualFlowInfo}
|
@@ -99,7 +87,6 @@ export interface AuthenticatorDuoChallenge {
|
|
99
87
|
*/
|
100
88
|
export function instanceOfAuthenticatorDuoChallenge(value: object): boolean {
|
101
89
|
let isInstance = true;
|
102
|
-
isInstance = isInstance && "type" in value;
|
103
90
|
isInstance = isInstance && "pendingUser" in value;
|
104
91
|
isInstance = isInstance && "pendingUserAvatar" in value;
|
105
92
|
isInstance = isInstance && "activationBarcode" in value;
|
@@ -119,7 +106,6 @@ export function AuthenticatorDuoChallengeFromJSONTyped(json: any, ignoreDiscrimi
|
|
119
106
|
}
|
120
107
|
return {
|
121
108
|
|
122
|
-
'type': ChallengeChoicesFromJSON(json['type']),
|
123
109
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
124
110
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
125
111
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -140,7 +126,6 @@ export function AuthenticatorDuoChallengeToJSON(value?: AuthenticatorDuoChalleng
|
|
140
126
|
}
|
141
127
|
return {
|
142
128
|
|
143
|
-
'type': ChallengeChoicesToJSON(value.type),
|
144
129
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
145
130
|
'component': value.component,
|
146
131
|
'response_errors': value.responseErrors,
|
@@ -13,12 +13,6 @@
|
|
13
13
|
*/
|
14
14
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
16
|
-
import type { ChallengeChoices } from './ChallengeChoices';
|
17
|
-
import {
|
18
|
-
ChallengeChoicesFromJSON,
|
19
|
-
ChallengeChoicesFromJSONTyped,
|
20
|
-
ChallengeChoicesToJSON,
|
21
|
-
} from './ChallengeChoices';
|
22
16
|
import type { ContextualFlowInfo } from './ContextualFlowInfo';
|
23
17
|
import {
|
24
18
|
ContextualFlowInfoFromJSON,
|
@@ -38,12 +32,6 @@ import {
|
|
38
32
|
* @interface AuthenticatorSMSChallenge
|
39
33
|
*/
|
40
34
|
export interface AuthenticatorSMSChallenge {
|
41
|
-
/**
|
42
|
-
*
|
43
|
-
* @type {ChallengeChoices}
|
44
|
-
* @memberof AuthenticatorSMSChallenge
|
45
|
-
*/
|
46
|
-
type: ChallengeChoices;
|
47
35
|
/**
|
48
36
|
*
|
49
37
|
* @type {ContextualFlowInfo}
|
@@ -87,7 +75,6 @@ export interface AuthenticatorSMSChallenge {
|
|
87
75
|
*/
|
88
76
|
export function instanceOfAuthenticatorSMSChallenge(value: object): boolean {
|
89
77
|
let isInstance = true;
|
90
|
-
isInstance = isInstance && "type" in value;
|
91
78
|
isInstance = isInstance && "pendingUser" in value;
|
92
79
|
isInstance = isInstance && "pendingUserAvatar" in value;
|
93
80
|
|
@@ -104,7 +91,6 @@ export function AuthenticatorSMSChallengeFromJSONTyped(json: any, ignoreDiscrimi
|
|
104
91
|
}
|
105
92
|
return {
|
106
93
|
|
107
|
-
'type': ChallengeChoicesFromJSON(json['type']),
|
108
94
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
109
95
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
110
96
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -123,7 +109,6 @@ export function AuthenticatorSMSChallengeToJSON(value?: AuthenticatorSMSChalleng
|
|
123
109
|
}
|
124
110
|
return {
|
125
111
|
|
126
|
-
'type': ChallengeChoicesToJSON(value.type),
|
127
112
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
128
113
|
'component': value.component,
|
129
114
|
'response_errors': value.responseErrors,
|
@@ -13,12 +13,6 @@
|
|
13
13
|
*/
|
14
14
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
16
|
-
import type { ChallengeChoices } from './ChallengeChoices';
|
17
|
-
import {
|
18
|
-
ChallengeChoicesFromJSON,
|
19
|
-
ChallengeChoicesFromJSONTyped,
|
20
|
-
ChallengeChoicesToJSON,
|
21
|
-
} from './ChallengeChoices';
|
22
16
|
import type { ContextualFlowInfo } from './ContextualFlowInfo';
|
23
17
|
import {
|
24
18
|
ContextualFlowInfoFromJSON,
|
@@ -38,12 +32,6 @@ import {
|
|
38
32
|
* @interface AuthenticatorStaticChallenge
|
39
33
|
*/
|
40
34
|
export interface AuthenticatorStaticChallenge {
|
41
|
-
/**
|
42
|
-
*
|
43
|
-
* @type {ChallengeChoices}
|
44
|
-
* @memberof AuthenticatorStaticChallenge
|
45
|
-
*/
|
46
|
-
type: ChallengeChoices;
|
47
35
|
/**
|
48
36
|
*
|
49
37
|
* @type {ContextualFlowInfo}
|
@@ -87,7 +75,6 @@ export interface AuthenticatorStaticChallenge {
|
|
87
75
|
*/
|
88
76
|
export function instanceOfAuthenticatorStaticChallenge(value: object): boolean {
|
89
77
|
let isInstance = true;
|
90
|
-
isInstance = isInstance && "type" in value;
|
91
78
|
isInstance = isInstance && "pendingUser" in value;
|
92
79
|
isInstance = isInstance && "pendingUserAvatar" in value;
|
93
80
|
isInstance = isInstance && "codes" in value;
|
@@ -105,7 +92,6 @@ export function AuthenticatorStaticChallengeFromJSONTyped(json: any, ignoreDiscr
|
|
105
92
|
}
|
106
93
|
return {
|
107
94
|
|
108
|
-
'type': ChallengeChoicesFromJSON(json['type']),
|
109
95
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
110
96
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
111
97
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -124,7 +110,6 @@ export function AuthenticatorStaticChallengeToJSON(value?: AuthenticatorStaticCh
|
|
124
110
|
}
|
125
111
|
return {
|
126
112
|
|
127
|
-
'type': ChallengeChoicesToJSON(value.type),
|
128
113
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
129
114
|
'component': value.component,
|
130
115
|
'response_errors': value.responseErrors,
|
@@ -13,12 +13,6 @@
|
|
13
13
|
*/
|
14
14
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
16
|
-
import type { ChallengeChoices } from './ChallengeChoices';
|
17
|
-
import {
|
18
|
-
ChallengeChoicesFromJSON,
|
19
|
-
ChallengeChoicesFromJSONTyped,
|
20
|
-
ChallengeChoicesToJSON,
|
21
|
-
} from './ChallengeChoices';
|
22
16
|
import type { ContextualFlowInfo } from './ContextualFlowInfo';
|
23
17
|
import {
|
24
18
|
ContextualFlowInfoFromJSON,
|
@@ -38,12 +32,6 @@ import {
|
|
38
32
|
* @interface AuthenticatorTOTPChallenge
|
39
33
|
*/
|
40
34
|
export interface AuthenticatorTOTPChallenge {
|
41
|
-
/**
|
42
|
-
*
|
43
|
-
* @type {ChallengeChoices}
|
44
|
-
* @memberof AuthenticatorTOTPChallenge
|
45
|
-
*/
|
46
|
-
type: ChallengeChoices;
|
47
35
|
/**
|
48
36
|
*
|
49
37
|
* @type {ContextualFlowInfo}
|
@@ -87,7 +75,6 @@ export interface AuthenticatorTOTPChallenge {
|
|
87
75
|
*/
|
88
76
|
export function instanceOfAuthenticatorTOTPChallenge(value: object): boolean {
|
89
77
|
let isInstance = true;
|
90
|
-
isInstance = isInstance && "type" in value;
|
91
78
|
isInstance = isInstance && "pendingUser" in value;
|
92
79
|
isInstance = isInstance && "pendingUserAvatar" in value;
|
93
80
|
isInstance = isInstance && "configUrl" in value;
|
@@ -105,7 +92,6 @@ export function AuthenticatorTOTPChallengeFromJSONTyped(json: any, ignoreDiscrim
|
|
105
92
|
}
|
106
93
|
return {
|
107
94
|
|
108
|
-
'type': ChallengeChoicesFromJSON(json['type']),
|
109
95
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
110
96
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
111
97
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -124,7 +110,6 @@ export function AuthenticatorTOTPChallengeToJSON(value?: AuthenticatorTOTPChalle
|
|
124
110
|
}
|
125
111
|
return {
|
126
112
|
|
127
|
-
'type': ChallengeChoicesToJSON(value.type),
|
128
113
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
129
114
|
'component': value.component,
|
130
115
|
'response_errors': value.responseErrors,
|
@@ -13,12 +13,6 @@
|
|
13
13
|
*/
|
14
14
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
16
|
-
import type { ChallengeChoices } from './ChallengeChoices';
|
17
|
-
import {
|
18
|
-
ChallengeChoicesFromJSON,
|
19
|
-
ChallengeChoicesFromJSONTyped,
|
20
|
-
ChallengeChoicesToJSON,
|
21
|
-
} from './ChallengeChoices';
|
22
16
|
import type { ContextualFlowInfo } from './ContextualFlowInfo';
|
23
17
|
import {
|
24
18
|
ContextualFlowInfoFromJSON,
|
@@ -50,12 +44,6 @@ import {
|
|
50
44
|
* @interface AuthenticatorValidationChallenge
|
51
45
|
*/
|
52
46
|
export interface AuthenticatorValidationChallenge {
|
53
|
-
/**
|
54
|
-
*
|
55
|
-
* @type {ChallengeChoices}
|
56
|
-
* @memberof AuthenticatorValidationChallenge
|
57
|
-
*/
|
58
|
-
type: ChallengeChoices;
|
59
47
|
/**
|
60
48
|
*
|
61
49
|
* @type {ContextualFlowInfo}
|
@@ -105,7 +93,6 @@ export interface AuthenticatorValidationChallenge {
|
|
105
93
|
*/
|
106
94
|
export function instanceOfAuthenticatorValidationChallenge(value: object): boolean {
|
107
95
|
let isInstance = true;
|
108
|
-
isInstance = isInstance && "type" in value;
|
109
96
|
isInstance = isInstance && "pendingUser" in value;
|
110
97
|
isInstance = isInstance && "pendingUserAvatar" in value;
|
111
98
|
isInstance = isInstance && "deviceChallenges" in value;
|
@@ -124,7 +111,6 @@ export function AuthenticatorValidationChallengeFromJSONTyped(json: any, ignoreD
|
|
124
111
|
}
|
125
112
|
return {
|
126
113
|
|
127
|
-
'type': ChallengeChoicesFromJSON(json['type']),
|
128
114
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
129
115
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
130
116
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -144,7 +130,6 @@ export function AuthenticatorValidationChallengeToJSON(value?: AuthenticatorVali
|
|
144
130
|
}
|
145
131
|
return {
|
146
132
|
|
147
|
-
'type': ChallengeChoicesToJSON(value.type),
|
148
133
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
149
134
|
'component': value.component,
|
150
135
|
'response_errors': value.responseErrors,
|
@@ -13,12 +13,6 @@
|
|
13
13
|
*/
|
14
14
|
|
15
15
|
import { exists, mapValues } from '../runtime';
|
16
|
-
import type { ChallengeChoices } from './ChallengeChoices';
|
17
|
-
import {
|
18
|
-
ChallengeChoicesFromJSON,
|
19
|
-
ChallengeChoicesFromJSONTyped,
|
20
|
-
ChallengeChoicesToJSON,
|
21
|
-
} from './ChallengeChoices';
|
22
16
|
import type { ContextualFlowInfo } from './ContextualFlowInfo';
|
23
17
|
import {
|
24
18
|
ContextualFlowInfoFromJSON,
|
@@ -38,12 +32,6 @@ import {
|
|
38
32
|
* @interface AuthenticatorWebAuthnChallenge
|
39
33
|
*/
|
40
34
|
export interface AuthenticatorWebAuthnChallenge {
|
41
|
-
/**
|
42
|
-
*
|
43
|
-
* @type {ChallengeChoices}
|
44
|
-
* @memberof AuthenticatorWebAuthnChallenge
|
45
|
-
*/
|
46
|
-
type: ChallengeChoices;
|
47
35
|
/**
|
48
36
|
*
|
49
37
|
* @type {ContextualFlowInfo}
|
@@ -87,7 +75,6 @@ export interface AuthenticatorWebAuthnChallenge {
|
|
87
75
|
*/
|
88
76
|
export function instanceOfAuthenticatorWebAuthnChallenge(value: object): boolean {
|
89
77
|
let isInstance = true;
|
90
|
-
isInstance = isInstance && "type" in value;
|
91
78
|
isInstance = isInstance && "pendingUser" in value;
|
92
79
|
isInstance = isInstance && "pendingUserAvatar" in value;
|
93
80
|
isInstance = isInstance && "registration" in value;
|
@@ -105,7 +92,6 @@ export function AuthenticatorWebAuthnChallengeFromJSONTyped(json: any, ignoreDis
|
|
105
92
|
}
|
106
93
|
return {
|
107
94
|
|
108
|
-
'type': ChallengeChoicesFromJSON(json['type']),
|
109
95
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
110
96
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
111
97
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -124,7 +110,6 @@ export function AuthenticatorWebAuthnChallengeToJSON(value?: AuthenticatorWebAut
|
|
124
110
|
}
|
125
111
|
return {
|
126
112
|
|
127
|
-
'type': ChallengeChoicesToJSON(value.type),
|
128
113
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
129
114
|
'component': value.component,
|
130
115
|
'response_errors': value.responseErrors,
|