@goauthentik/api 2024.6.1-1720731051 → 2024.6.1-1720888668
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/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 +0 -7
- package/dist/esm/models/IdentificationChallenge.js +0 -4
- 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 +0 -7
- package/dist/esm/models/PasswordChallenge.js +0 -4
- 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 +0 -7
- package/dist/models/IdentificationChallenge.js +0 -4
- 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 +0 -7
- package/dist/models/PasswordChallenge.js +0 -4
- 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/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 +0 -15
- package/src/models/OAuthDeviceCodeChallenge.ts +0 -15
- package/src/models/OAuthDeviceCodeFinishChallenge.ts +0 -15
- package/src/models/PasswordChallenge.ts +0 -15
- 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
@@ -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,
|
@@ -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 AutosubmitChallenge
|
39
33
|
*/
|
40
34
|
export interface AutosubmitChallenge {
|
41
|
-
/**
|
42
|
-
*
|
43
|
-
* @type {ChallengeChoices}
|
44
|
-
* @memberof AutosubmitChallenge
|
45
|
-
*/
|
46
|
-
type: ChallengeChoices;
|
47
35
|
/**
|
48
36
|
*
|
49
37
|
* @type {ContextualFlowInfo}
|
@@ -87,7 +75,6 @@ export interface AutosubmitChallenge {
|
|
87
75
|
*/
|
88
76
|
export function instanceOfAutosubmitChallenge(value: object): boolean {
|
89
77
|
let isInstance = true;
|
90
|
-
isInstance = isInstance && "type" in value;
|
91
78
|
isInstance = isInstance && "url" in value;
|
92
79
|
isInstance = isInstance && "attrs" in value;
|
93
80
|
|
@@ -104,7 +91,6 @@ export function AutosubmitChallengeFromJSONTyped(json: any, ignoreDiscriminator:
|
|
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 AutosubmitChallengeToJSON(value?: AutosubmitChallenge | null): a
|
|
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 CaptchaChallenge
|
39
33
|
*/
|
40
34
|
export interface CaptchaChallenge {
|
41
|
-
/**
|
42
|
-
*
|
43
|
-
* @type {ChallengeChoices}
|
44
|
-
* @memberof CaptchaChallenge
|
45
|
-
*/
|
46
|
-
type: ChallengeChoices;
|
47
35
|
/**
|
48
36
|
*
|
49
37
|
* @type {ContextualFlowInfo}
|
@@ -93,7 +81,6 @@ export interface CaptchaChallenge {
|
|
93
81
|
*/
|
94
82
|
export function instanceOfCaptchaChallenge(value: object): boolean {
|
95
83
|
let isInstance = true;
|
96
|
-
isInstance = isInstance && "type" in value;
|
97
84
|
isInstance = isInstance && "pendingUser" in value;
|
98
85
|
isInstance = isInstance && "pendingUserAvatar" in value;
|
99
86
|
isInstance = isInstance && "siteKey" in value;
|
@@ -112,7 +99,6 @@ export function CaptchaChallengeFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
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 CaptchaChallengeToJSON(value?: CaptchaChallenge | null): any {
|
|
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 { ConsentPermission } from './ConsentPermission';
|
23
17
|
import {
|
24
18
|
ConsentPermissionFromJSON,
|
@@ -44,12 +38,6 @@ import {
|
|
44
38
|
* @interface ConsentChallenge
|
45
39
|
*/
|
46
40
|
export interface ConsentChallenge {
|
47
|
-
/**
|
48
|
-
*
|
49
|
-
* @type {ChallengeChoices}
|
50
|
-
* @memberof ConsentChallenge
|
51
|
-
*/
|
52
|
-
type: ChallengeChoices;
|
53
41
|
/**
|
54
42
|
*
|
55
43
|
* @type {ContextualFlowInfo}
|
@@ -111,7 +99,6 @@ export interface ConsentChallenge {
|
|
111
99
|
*/
|
112
100
|
export function instanceOfConsentChallenge(value: object): boolean {
|
113
101
|
let isInstance = true;
|
114
|
-
isInstance = isInstance && "type" in value;
|
115
102
|
isInstance = isInstance && "pendingUser" in value;
|
116
103
|
isInstance = isInstance && "pendingUserAvatar" in value;
|
117
104
|
isInstance = isInstance && "permissions" in value;
|
@@ -131,7 +118,6 @@ export function ConsentChallengeFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
131
118
|
}
|
132
119
|
return {
|
133
120
|
|
134
|
-
'type': ChallengeChoicesFromJSON(json['type']),
|
135
121
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
136
122
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
137
123
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -153,7 +139,6 @@ export function ConsentChallengeToJSON(value?: ConsentChallenge | null): any {
|
|
153
139
|
}
|
154
140
|
return {
|
155
141
|
|
156
|
-
'type': ChallengeChoicesToJSON(value.type),
|
157
142
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
158
143
|
'component': value.component,
|
159
144
|
'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 DummyChallenge
|
39
33
|
*/
|
40
34
|
export interface DummyChallenge {
|
41
|
-
/**
|
42
|
-
*
|
43
|
-
* @type {ChallengeChoices}
|
44
|
-
* @memberof DummyChallenge
|
45
|
-
*/
|
46
|
-
type: ChallengeChoices;
|
47
35
|
/**
|
48
36
|
*
|
49
37
|
* @type {ContextualFlowInfo}
|
@@ -75,7 +63,6 @@ export interface DummyChallenge {
|
|
75
63
|
*/
|
76
64
|
export function instanceOfDummyChallenge(value: object): boolean {
|
77
65
|
let isInstance = true;
|
78
|
-
isInstance = isInstance && "type" in value;
|
79
66
|
isInstance = isInstance && "name" in value;
|
80
67
|
|
81
68
|
return isInstance;
|
@@ -91,7 +78,6 @@ export function DummyChallengeFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
91
78
|
}
|
92
79
|
return {
|
93
80
|
|
94
|
-
'type': ChallengeChoicesFromJSON(json['type']),
|
95
81
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
96
82
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
97
83
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -108,7 +94,6 @@ export function DummyChallengeToJSON(value?: DummyChallenge | null): any {
|
|
108
94
|
}
|
109
95
|
return {
|
110
96
|
|
111
|
-
'type': ChallengeChoicesToJSON(value.type),
|
112
97
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
113
98
|
'component': value.component,
|
114
99
|
'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 EmailChallenge
|
39
33
|
*/
|
40
34
|
export interface EmailChallenge {
|
41
|
-
/**
|
42
|
-
*
|
43
|
-
* @type {ChallengeChoices}
|
44
|
-
* @memberof EmailChallenge
|
45
|
-
*/
|
46
|
-
type: ChallengeChoices;
|
47
35
|
/**
|
48
36
|
*
|
49
37
|
* @type {ContextualFlowInfo}
|
@@ -69,7 +57,6 @@ export interface EmailChallenge {
|
|
69
57
|
*/
|
70
58
|
export function instanceOfEmailChallenge(value: object): boolean {
|
71
59
|
let isInstance = true;
|
72
|
-
isInstance = isInstance && "type" in value;
|
73
60
|
|
74
61
|
return isInstance;
|
75
62
|
}
|
@@ -84,7 +71,6 @@ export function EmailChallengeFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
84
71
|
}
|
85
72
|
return {
|
86
73
|
|
87
|
-
'type': ChallengeChoicesFromJSON(json['type']),
|
88
74
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
89
75
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
90
76
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -100,7 +86,6 @@ export function EmailChallengeToJSON(value?: EmailChallenge | null): any {
|
|
100
86
|
}
|
101
87
|
return {
|
102
88
|
|
103
|
-
'type': ChallengeChoicesToJSON(value.type),
|
104
89
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
105
90
|
'component': value.component,
|
106
91
|
'response_errors': value.responseErrors,
|
@@ -33,12 +33,6 @@ import {
|
|
33
33
|
* @interface FlowErrorChallenge
|
34
34
|
*/
|
35
35
|
export interface FlowErrorChallenge {
|
36
|
-
/**
|
37
|
-
*
|
38
|
-
* @type {string}
|
39
|
-
* @memberof FlowErrorChallenge
|
40
|
-
*/
|
41
|
-
type?: string;
|
42
36
|
/**
|
43
37
|
*
|
44
38
|
* @type {ContextualFlowInfo}
|
@@ -97,7 +91,6 @@ export function FlowErrorChallengeFromJSONTyped(json: any, ignoreDiscriminator:
|
|
97
91
|
}
|
98
92
|
return {
|
99
93
|
|
100
|
-
'type': !exists(json, 'type') ? undefined : json['type'],
|
101
94
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
102
95
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
103
96
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -116,7 +109,6 @@ export function FlowErrorChallengeToJSON(value?: FlowErrorChallenge | null): any
|
|
116
109
|
}
|
117
110
|
return {
|
118
111
|
|
119
|
-
'type': value.type,
|
120
112
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
121
113
|
'component': value.component,
|
122
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,
|
@@ -50,12 +44,6 @@ import {
|
|
50
44
|
* @interface IdentificationChallenge
|
51
45
|
*/
|
52
46
|
export interface IdentificationChallenge {
|
53
|
-
/**
|
54
|
-
*
|
55
|
-
* @type {ChallengeChoices}
|
56
|
-
* @memberof IdentificationChallenge
|
57
|
-
*/
|
58
|
-
type: ChallengeChoices;
|
59
47
|
/**
|
60
48
|
*
|
61
49
|
* @type {ContextualFlowInfo}
|
@@ -141,7 +129,6 @@ export interface IdentificationChallenge {
|
|
141
129
|
*/
|
142
130
|
export function instanceOfIdentificationChallenge(value: object): boolean {
|
143
131
|
let isInstance = true;
|
144
|
-
isInstance = isInstance && "type" in value;
|
145
132
|
isInstance = isInstance && "userFields" in value;
|
146
133
|
isInstance = isInstance && "passwordFields" in value;
|
147
134
|
isInstance = isInstance && "flowDesignation" in value;
|
@@ -161,7 +148,6 @@ export function IdentificationChallengeFromJSONTyped(json: any, ignoreDiscrimina
|
|
161
148
|
}
|
162
149
|
return {
|
163
150
|
|
164
|
-
'type': ChallengeChoicesFromJSON(json['type']),
|
165
151
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
166
152
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
167
153
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -187,7 +173,6 @@ export function IdentificationChallengeToJSON(value?: IdentificationChallenge |
|
|
187
173
|
}
|
188
174
|
return {
|
189
175
|
|
190
|
-
'type': ChallengeChoicesToJSON(value.type),
|
191
176
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
192
177
|
'component': value.component,
|
193
178
|
'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 OAuthDeviceCodeChallenge
|
39
33
|
*/
|
40
34
|
export interface OAuthDeviceCodeChallenge {
|
41
|
-
/**
|
42
|
-
*
|
43
|
-
* @type {ChallengeChoices}
|
44
|
-
* @memberof OAuthDeviceCodeChallenge
|
45
|
-
*/
|
46
|
-
type: ChallengeChoices;
|
47
35
|
/**
|
48
36
|
*
|
49
37
|
* @type {ContextualFlowInfo}
|
@@ -69,7 +57,6 @@ export interface OAuthDeviceCodeChallenge {
|
|
69
57
|
*/
|
70
58
|
export function instanceOfOAuthDeviceCodeChallenge(value: object): boolean {
|
71
59
|
let isInstance = true;
|
72
|
-
isInstance = isInstance && "type" in value;
|
73
60
|
|
74
61
|
return isInstance;
|
75
62
|
}
|
@@ -84,7 +71,6 @@ export function OAuthDeviceCodeChallengeFromJSONTyped(json: any, ignoreDiscrimin
|
|
84
71
|
}
|
85
72
|
return {
|
86
73
|
|
87
|
-
'type': ChallengeChoicesFromJSON(json['type']),
|
88
74
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
89
75
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
90
76
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -100,7 +86,6 @@ export function OAuthDeviceCodeChallengeToJSON(value?: OAuthDeviceCodeChallenge
|
|
100
86
|
}
|
101
87
|
return {
|
102
88
|
|
103
|
-
'type': ChallengeChoicesToJSON(value.type),
|
104
89
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
105
90
|
'component': value.component,
|
106
91
|
'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 OAuthDeviceCodeFinishChallenge
|
39
33
|
*/
|
40
34
|
export interface OAuthDeviceCodeFinishChallenge {
|
41
|
-
/**
|
42
|
-
*
|
43
|
-
* @type {ChallengeChoices}
|
44
|
-
* @memberof OAuthDeviceCodeFinishChallenge
|
45
|
-
*/
|
46
|
-
type: ChallengeChoices;
|
47
35
|
/**
|
48
36
|
*
|
49
37
|
* @type {ContextualFlowInfo}
|
@@ -69,7 +57,6 @@ export interface OAuthDeviceCodeFinishChallenge {
|
|
69
57
|
*/
|
70
58
|
export function instanceOfOAuthDeviceCodeFinishChallenge(value: object): boolean {
|
71
59
|
let isInstance = true;
|
72
|
-
isInstance = isInstance && "type" in value;
|
73
60
|
|
74
61
|
return isInstance;
|
75
62
|
}
|
@@ -84,7 +71,6 @@ export function OAuthDeviceCodeFinishChallengeFromJSONTyped(json: any, ignoreDis
|
|
84
71
|
}
|
85
72
|
return {
|
86
73
|
|
87
|
-
'type': ChallengeChoicesFromJSON(json['type']),
|
88
74
|
'flowInfo': !exists(json, 'flow_info') ? undefined : ContextualFlowInfoFromJSON(json['flow_info']),
|
89
75
|
'component': !exists(json, 'component') ? undefined : json['component'],
|
90
76
|
'responseErrors': !exists(json, 'response_errors') ? undefined : json['response_errors'],
|
@@ -100,7 +86,6 @@ export function OAuthDeviceCodeFinishChallengeToJSON(value?: OAuthDeviceCodeFini
|
|
100
86
|
}
|
101
87
|
return {
|
102
88
|
|
103
|
-
'type': ChallengeChoicesToJSON(value.type),
|
104
89
|
'flow_info': ContextualFlowInfoToJSON(value.flowInfo),
|
105
90
|
'component': value.component,
|
106
91
|
'response_errors': value.responseErrors,
|