@goauthentik/api 2021.12.4-1640253785 → 2021.12.4-1640280463
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/IdentificationChallenge.d.ts +6 -0
- package/dist/esm/models/IdentificationChallenge.js +2 -0
- package/dist/esm/models/IdentificationStage.d.ts +6 -0
- package/dist/esm/models/IdentificationStage.js +2 -0
- package/dist/esm/models/IdentificationStageRequest.d.ts +6 -0
- package/dist/esm/models/IdentificationStageRequest.js +2 -0
- package/dist/esm/models/PatchedIdentificationStageRequest.d.ts +6 -0
- package/dist/esm/models/PatchedIdentificationStageRequest.js +2 -0
- package/dist/models/IdentificationChallenge.d.ts +6 -0
- package/dist/models/IdentificationChallenge.js +2 -0
- package/dist/models/IdentificationStage.d.ts +6 -0
- package/dist/models/IdentificationStage.js +2 -0
- package/dist/models/IdentificationStageRequest.d.ts +6 -0
- package/dist/models/IdentificationStageRequest.js +2 -0
- package/dist/models/PatchedIdentificationStageRequest.d.ts +6 -0
- package/dist/models/PatchedIdentificationStageRequest.js +2 -0
- package/package.json +1 -1
- package/src/apis/StagesApi.ts +5 -0
- package/src/models/IdentificationChallenge.ts +8 -0
- package/src/models/IdentificationStage.ts +8 -0
- package/src/models/IdentificationStageRequest.ts +8 -0
- package/src/models/PatchedIdentificationStageRequest.ts +8 -0
package/dist/apis/StagesApi.d.ts
CHANGED
package/dist/apis/StagesApi.js
CHANGED
|
@@ -3136,6 +3136,9 @@ class StagesApi extends runtime.BaseAPI {
|
|
|
3136
3136
|
if (requestParameters.passwordStage !== undefined) {
|
|
3137
3137
|
queryParameters['password_stage'] = requestParameters.passwordStage;
|
|
3138
3138
|
}
|
|
3139
|
+
if (requestParameters.passwordlessFlow !== undefined) {
|
|
3140
|
+
queryParameters['passwordless_flow'] = requestParameters.passwordlessFlow;
|
|
3141
|
+
}
|
|
3139
3142
|
if (requestParameters.recoveryFlow !== undefined) {
|
|
3140
3143
|
queryParameters['recovery_flow'] = requestParameters.recoveryFlow;
|
|
3141
3144
|
}
|
|
@@ -3133,6 +3133,9 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
3133
3133
|
if (requestParameters.passwordStage !== undefined) {
|
|
3134
3134
|
queryParameters['password_stage'] = requestParameters.passwordStage;
|
|
3135
3135
|
}
|
|
3136
|
+
if (requestParameters.passwordlessFlow !== undefined) {
|
|
3137
|
+
queryParameters['passwordless_flow'] = requestParameters.passwordlessFlow;
|
|
3138
|
+
}
|
|
3136
3139
|
if (requestParameters.recoveryFlow !== undefined) {
|
|
3137
3140
|
queryParameters['recovery_flow'] = requestParameters.recoveryFlow;
|
|
3138
3141
|
}
|
|
@@ -32,6 +32,7 @@ export function IdentificationChallengeFromJSONTyped(json, ignoreDiscriminator)
|
|
|
32
32
|
'applicationPre': !exists(json, 'application_pre') ? undefined : json['application_pre'],
|
|
33
33
|
'enrollUrl': !exists(json, 'enroll_url') ? undefined : json['enroll_url'],
|
|
34
34
|
'recoveryUrl': !exists(json, 'recovery_url') ? undefined : json['recovery_url'],
|
|
35
|
+
'passwordlessUrl': !exists(json, 'passwordless_url') ? undefined : json['passwordless_url'],
|
|
35
36
|
'primaryAction': json['primary_action'],
|
|
36
37
|
'sources': !exists(json, 'sources') ? undefined : (json['sources'].map(LoginSourceFromJSON)),
|
|
37
38
|
'showSourceLabels': json['show_source_labels'],
|
|
@@ -54,6 +55,7 @@ export function IdentificationChallengeToJSON(value) {
|
|
|
54
55
|
'application_pre': value.applicationPre,
|
|
55
56
|
'enroll_url': value.enrollUrl,
|
|
56
57
|
'recovery_url': value.recoveryUrl,
|
|
58
|
+
'passwordless_url': value.passwordlessUrl,
|
|
57
59
|
'primary_action': value.primaryAction,
|
|
58
60
|
'sources': value.sources === undefined ? undefined : (value.sources.map(LoginSourceToJSON)),
|
|
59
61
|
'show_source_labels': value.showSourceLabels,
|
|
@@ -95,6 +95,12 @@ export interface IdentificationStage {
|
|
|
95
95
|
* @memberof IdentificationStage
|
|
96
96
|
*/
|
|
97
97
|
recoveryFlow?: string | null;
|
|
98
|
+
/**
|
|
99
|
+
* Optional passwordless flow, which is linked at the bottom of the page.
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof IdentificationStage
|
|
102
|
+
*/
|
|
103
|
+
passwordlessFlow?: string | null;
|
|
98
104
|
/**
|
|
99
105
|
* Specify which sources should be shown.
|
|
100
106
|
* @type {Array<string>}
|
|
@@ -35,6 +35,7 @@ export function IdentificationStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'showMatchedUser': !exists(json, 'show_matched_user') ? undefined : json['show_matched_user'],
|
|
36
36
|
'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
37
37
|
'recoveryFlow': !exists(json, 'recovery_flow') ? undefined : json['recovery_flow'],
|
|
38
|
+
'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
|
|
38
39
|
'sources': !exists(json, 'sources') ? undefined : json['sources'],
|
|
39
40
|
'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
|
|
40
41
|
};
|
|
@@ -55,6 +56,7 @@ export function IdentificationStageToJSON(value) {
|
|
|
55
56
|
'show_matched_user': value.showMatchedUser,
|
|
56
57
|
'enrollment_flow': value.enrollmentFlow,
|
|
57
58
|
'recovery_flow': value.recoveryFlow,
|
|
59
|
+
'passwordless_flow': value.passwordlessFlow,
|
|
58
60
|
'sources': value.sources,
|
|
59
61
|
'show_source_labels': value.showSourceLabels,
|
|
60
62
|
};
|
|
@@ -65,6 +65,12 @@ export interface IdentificationStageRequest {
|
|
|
65
65
|
* @memberof IdentificationStageRequest
|
|
66
66
|
*/
|
|
67
67
|
recoveryFlow?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* Optional passwordless flow, which is linked at the bottom of the page.
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof IdentificationStageRequest
|
|
72
|
+
*/
|
|
73
|
+
passwordlessFlow?: string | null;
|
|
68
74
|
/**
|
|
69
75
|
* Specify which sources should be shown.
|
|
70
76
|
* @type {Array<string>}
|
|
@@ -30,6 +30,7 @@ export function IdentificationStageRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
30
30
|
'showMatchedUser': !exists(json, 'show_matched_user') ? undefined : json['show_matched_user'],
|
|
31
31
|
'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
32
32
|
'recoveryFlow': !exists(json, 'recovery_flow') ? undefined : json['recovery_flow'],
|
|
33
|
+
'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
|
|
33
34
|
'sources': !exists(json, 'sources') ? undefined : json['sources'],
|
|
34
35
|
'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
|
|
35
36
|
};
|
|
@@ -50,6 +51,7 @@ export function IdentificationStageRequestToJSON(value) {
|
|
|
50
51
|
'show_matched_user': value.showMatchedUser,
|
|
51
52
|
'enrollment_flow': value.enrollmentFlow,
|
|
52
53
|
'recovery_flow': value.recoveryFlow,
|
|
54
|
+
'passwordless_flow': value.passwordlessFlow,
|
|
53
55
|
'sources': value.sources,
|
|
54
56
|
'show_source_labels': value.showSourceLabels,
|
|
55
57
|
};
|
|
@@ -65,6 +65,12 @@ export interface PatchedIdentificationStageRequest {
|
|
|
65
65
|
* @memberof PatchedIdentificationStageRequest
|
|
66
66
|
*/
|
|
67
67
|
recoveryFlow?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* Optional passwordless flow, which is linked at the bottom of the page.
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof PatchedIdentificationStageRequest
|
|
72
|
+
*/
|
|
73
|
+
passwordlessFlow?: string | null;
|
|
68
74
|
/**
|
|
69
75
|
* Specify which sources should be shown.
|
|
70
76
|
* @type {Array<string>}
|
|
@@ -30,6 +30,7 @@ export function PatchedIdentificationStageRequestFromJSONTyped(json, ignoreDiscr
|
|
|
30
30
|
'showMatchedUser': !exists(json, 'show_matched_user') ? undefined : json['show_matched_user'],
|
|
31
31
|
'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
32
32
|
'recoveryFlow': !exists(json, 'recovery_flow') ? undefined : json['recovery_flow'],
|
|
33
|
+
'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
|
|
33
34
|
'sources': !exists(json, 'sources') ? undefined : json['sources'],
|
|
34
35
|
'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
|
|
35
36
|
};
|
|
@@ -50,6 +51,7 @@ export function PatchedIdentificationStageRequestToJSON(value) {
|
|
|
50
51
|
'show_matched_user': value.showMatchedUser,
|
|
51
52
|
'enrollment_flow': value.enrollmentFlow,
|
|
52
53
|
'recovery_flow': value.recoveryFlow,
|
|
54
|
+
'passwordless_flow': value.passwordlessFlow,
|
|
53
55
|
'sources': value.sources,
|
|
54
56
|
'show_source_labels': value.showSourceLabels,
|
|
55
57
|
};
|
|
@@ -36,6 +36,7 @@ function IdentificationChallengeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'applicationPre': !runtime_1.exists(json, 'application_pre') ? undefined : json['application_pre'],
|
|
37
37
|
'enrollUrl': !runtime_1.exists(json, 'enroll_url') ? undefined : json['enroll_url'],
|
|
38
38
|
'recoveryUrl': !runtime_1.exists(json, 'recovery_url') ? undefined : json['recovery_url'],
|
|
39
|
+
'passwordlessUrl': !runtime_1.exists(json, 'passwordless_url') ? undefined : json['passwordless_url'],
|
|
39
40
|
'primaryAction': json['primary_action'],
|
|
40
41
|
'sources': !runtime_1.exists(json, 'sources') ? undefined : (json['sources'].map(LoginSource_1.LoginSourceFromJSON)),
|
|
41
42
|
'showSourceLabels': json['show_source_labels'],
|
|
@@ -59,6 +60,7 @@ function IdentificationChallengeToJSON(value) {
|
|
|
59
60
|
'application_pre': value.applicationPre,
|
|
60
61
|
'enroll_url': value.enrollUrl,
|
|
61
62
|
'recovery_url': value.recoveryUrl,
|
|
63
|
+
'passwordless_url': value.passwordlessUrl,
|
|
62
64
|
'primary_action': value.primaryAction,
|
|
63
65
|
'sources': value.sources === undefined ? undefined : (value.sources.map(LoginSource_1.LoginSourceToJSON)),
|
|
64
66
|
'show_source_labels': value.showSourceLabels,
|
|
@@ -95,6 +95,12 @@ export interface IdentificationStage {
|
|
|
95
95
|
* @memberof IdentificationStage
|
|
96
96
|
*/
|
|
97
97
|
recoveryFlow?: string | null;
|
|
98
|
+
/**
|
|
99
|
+
* Optional passwordless flow, which is linked at the bottom of the page.
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof IdentificationStage
|
|
102
|
+
*/
|
|
103
|
+
passwordlessFlow?: string | null;
|
|
98
104
|
/**
|
|
99
105
|
* Specify which sources should be shown.
|
|
100
106
|
* @type {Array<string>}
|
|
@@ -39,6 +39,7 @@ function IdentificationStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'showMatchedUser': !runtime_1.exists(json, 'show_matched_user') ? undefined : json['show_matched_user'],
|
|
40
40
|
'enrollmentFlow': !runtime_1.exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
41
41
|
'recoveryFlow': !runtime_1.exists(json, 'recovery_flow') ? undefined : json['recovery_flow'],
|
|
42
|
+
'passwordlessFlow': !runtime_1.exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
|
|
42
43
|
'sources': !runtime_1.exists(json, 'sources') ? undefined : json['sources'],
|
|
43
44
|
'showSourceLabels': !runtime_1.exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
|
|
44
45
|
};
|
|
@@ -60,6 +61,7 @@ function IdentificationStageToJSON(value) {
|
|
|
60
61
|
'show_matched_user': value.showMatchedUser,
|
|
61
62
|
'enrollment_flow': value.enrollmentFlow,
|
|
62
63
|
'recovery_flow': value.recoveryFlow,
|
|
64
|
+
'passwordless_flow': value.passwordlessFlow,
|
|
63
65
|
'sources': value.sources,
|
|
64
66
|
'show_source_labels': value.showSourceLabels,
|
|
65
67
|
};
|
|
@@ -65,6 +65,12 @@ export interface IdentificationStageRequest {
|
|
|
65
65
|
* @memberof IdentificationStageRequest
|
|
66
66
|
*/
|
|
67
67
|
recoveryFlow?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* Optional passwordless flow, which is linked at the bottom of the page.
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof IdentificationStageRequest
|
|
72
|
+
*/
|
|
73
|
+
passwordlessFlow?: string | null;
|
|
68
74
|
/**
|
|
69
75
|
* Specify which sources should be shown.
|
|
70
76
|
* @type {Array<string>}
|
|
@@ -34,6 +34,7 @@ function IdentificationStageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'showMatchedUser': !runtime_1.exists(json, 'show_matched_user') ? undefined : json['show_matched_user'],
|
|
35
35
|
'enrollmentFlow': !runtime_1.exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
36
36
|
'recoveryFlow': !runtime_1.exists(json, 'recovery_flow') ? undefined : json['recovery_flow'],
|
|
37
|
+
'passwordlessFlow': !runtime_1.exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
|
|
37
38
|
'sources': !runtime_1.exists(json, 'sources') ? undefined : json['sources'],
|
|
38
39
|
'showSourceLabels': !runtime_1.exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
|
|
39
40
|
};
|
|
@@ -55,6 +56,7 @@ function IdentificationStageRequestToJSON(value) {
|
|
|
55
56
|
'show_matched_user': value.showMatchedUser,
|
|
56
57
|
'enrollment_flow': value.enrollmentFlow,
|
|
57
58
|
'recovery_flow': value.recoveryFlow,
|
|
59
|
+
'passwordless_flow': value.passwordlessFlow,
|
|
58
60
|
'sources': value.sources,
|
|
59
61
|
'show_source_labels': value.showSourceLabels,
|
|
60
62
|
};
|
|
@@ -65,6 +65,12 @@ export interface PatchedIdentificationStageRequest {
|
|
|
65
65
|
* @memberof PatchedIdentificationStageRequest
|
|
66
66
|
*/
|
|
67
67
|
recoveryFlow?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* Optional passwordless flow, which is linked at the bottom of the page.
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof PatchedIdentificationStageRequest
|
|
72
|
+
*/
|
|
73
|
+
passwordlessFlow?: string | null;
|
|
68
74
|
/**
|
|
69
75
|
* Specify which sources should be shown.
|
|
70
76
|
* @type {Array<string>}
|
|
@@ -34,6 +34,7 @@ function PatchedIdentificationStageRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
34
34
|
'showMatchedUser': !runtime_1.exists(json, 'show_matched_user') ? undefined : json['show_matched_user'],
|
|
35
35
|
'enrollmentFlow': !runtime_1.exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
36
36
|
'recoveryFlow': !runtime_1.exists(json, 'recovery_flow') ? undefined : json['recovery_flow'],
|
|
37
|
+
'passwordlessFlow': !runtime_1.exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
|
|
37
38
|
'sources': !runtime_1.exists(json, 'sources') ? undefined : json['sources'],
|
|
38
39
|
'showSourceLabels': !runtime_1.exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
|
|
39
40
|
};
|
|
@@ -55,6 +56,7 @@ function PatchedIdentificationStageRequestToJSON(value) {
|
|
|
55
56
|
'show_matched_user': value.showMatchedUser,
|
|
56
57
|
'enrollment_flow': value.enrollmentFlow,
|
|
57
58
|
'recovery_flow': value.recoveryFlow,
|
|
59
|
+
'passwordless_flow': value.passwordlessFlow,
|
|
58
60
|
'sources': value.sources,
|
|
59
61
|
'show_source_labels': value.showSourceLabels,
|
|
60
62
|
};
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@goauthentik/api", "version": "2021.12.4-
|
|
1
|
+
{"name": "@goauthentik/api", "version": "2021.12.4-1640280463", "description": "OpenAPI client for @goauthentik/api", "author": "OpenAPI-Generator", "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts": {"build": "tsc && tsc --project tsconfig.esm.json", "prepare": "npm run build"}, "devDependencies": {"typescript": "^3.9.5"}, "license": "GPL-3.0-only", "module": "./dist/esm/index.js", "sideEffects": false}
|
package/src/apis/StagesApi.ts
CHANGED
|
@@ -745,6 +745,7 @@ export interface StagesIdentificationListRequest {
|
|
|
745
745
|
page?: number;
|
|
746
746
|
pageSize?: number;
|
|
747
747
|
passwordStage?: string;
|
|
748
|
+
passwordlessFlow?: string;
|
|
748
749
|
recoveryFlow?: string;
|
|
749
750
|
search?: string;
|
|
750
751
|
showMatchedUser?: boolean;
|
|
@@ -4611,6 +4612,10 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
4611
4612
|
queryParameters['password_stage'] = requestParameters.passwordStage;
|
|
4612
4613
|
}
|
|
4613
4614
|
|
|
4615
|
+
if (requestParameters.passwordlessFlow !== undefined) {
|
|
4616
|
+
queryParameters['passwordless_flow'] = requestParameters.passwordlessFlow;
|
|
4617
|
+
}
|
|
4618
|
+
|
|
4614
4619
|
if (requestParameters.recoveryFlow !== undefined) {
|
|
4615
4620
|
queryParameters['recovery_flow'] = requestParameters.recoveryFlow;
|
|
4616
4621
|
}
|
|
@@ -98,6 +98,12 @@ export interface IdentificationChallenge {
|
|
|
98
98
|
* @memberof IdentificationChallenge
|
|
99
99
|
*/
|
|
100
100
|
recoveryUrl?: string;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof IdentificationChallenge
|
|
105
|
+
*/
|
|
106
|
+
passwordlessUrl?: string;
|
|
101
107
|
/**
|
|
102
108
|
*
|
|
103
109
|
* @type {string}
|
|
@@ -137,6 +143,7 @@ export function IdentificationChallengeFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
137
143
|
'applicationPre': !exists(json, 'application_pre') ? undefined : json['application_pre'],
|
|
138
144
|
'enrollUrl': !exists(json, 'enroll_url') ? undefined : json['enroll_url'],
|
|
139
145
|
'recoveryUrl': !exists(json, 'recovery_url') ? undefined : json['recovery_url'],
|
|
146
|
+
'passwordlessUrl': !exists(json, 'passwordless_url') ? undefined : json['passwordless_url'],
|
|
140
147
|
'primaryAction': json['primary_action'],
|
|
141
148
|
'sources': !exists(json, 'sources') ? undefined : ((json['sources'] as Array<any>).map(LoginSourceFromJSON)),
|
|
142
149
|
'showSourceLabels': json['show_source_labels'],
|
|
@@ -161,6 +168,7 @@ export function IdentificationChallengeToJSON(value?: IdentificationChallenge |
|
|
|
161
168
|
'application_pre': value.applicationPre,
|
|
162
169
|
'enroll_url': value.enrollUrl,
|
|
163
170
|
'recovery_url': value.recoveryUrl,
|
|
171
|
+
'passwordless_url': value.passwordlessUrl,
|
|
164
172
|
'primary_action': value.primaryAction,
|
|
165
173
|
'sources': value.sources === undefined ? undefined : ((value.sources as Array<any>).map(LoginSourceToJSON)),
|
|
166
174
|
'show_source_labels': value.showSourceLabels,
|
|
@@ -110,6 +110,12 @@ export interface IdentificationStage {
|
|
|
110
110
|
* @memberof IdentificationStage
|
|
111
111
|
*/
|
|
112
112
|
recoveryFlow?: string | null;
|
|
113
|
+
/**
|
|
114
|
+
* Optional passwordless flow, which is linked at the bottom of the page.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof IdentificationStage
|
|
117
|
+
*/
|
|
118
|
+
passwordlessFlow?: string | null;
|
|
113
119
|
/**
|
|
114
120
|
* Specify which sources should be shown.
|
|
115
121
|
* @type {Array<string>}
|
|
@@ -147,6 +153,7 @@ export function IdentificationStageFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
147
153
|
'showMatchedUser': !exists(json, 'show_matched_user') ? undefined : json['show_matched_user'],
|
|
148
154
|
'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
149
155
|
'recoveryFlow': !exists(json, 'recovery_flow') ? undefined : json['recovery_flow'],
|
|
156
|
+
'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
|
|
150
157
|
'sources': !exists(json, 'sources') ? undefined : json['sources'],
|
|
151
158
|
'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
|
|
152
159
|
};
|
|
@@ -169,6 +176,7 @@ export function IdentificationStageToJSON(value?: IdentificationStage | null): a
|
|
|
169
176
|
'show_matched_user': value.showMatchedUser,
|
|
170
177
|
'enrollment_flow': value.enrollmentFlow,
|
|
171
178
|
'recovery_flow': value.recoveryFlow,
|
|
179
|
+
'passwordless_flow': value.passwordlessFlow,
|
|
172
180
|
'sources': value.sources,
|
|
173
181
|
'show_source_labels': value.showSourceLabels,
|
|
174
182
|
};
|
|
@@ -80,6 +80,12 @@ export interface IdentificationStageRequest {
|
|
|
80
80
|
* @memberof IdentificationStageRequest
|
|
81
81
|
*/
|
|
82
82
|
recoveryFlow?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
* Optional passwordless flow, which is linked at the bottom of the page.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof IdentificationStageRequest
|
|
87
|
+
*/
|
|
88
|
+
passwordlessFlow?: string | null;
|
|
83
89
|
/**
|
|
84
90
|
* Specify which sources should be shown.
|
|
85
91
|
* @type {Array<string>}
|
|
@@ -112,6 +118,7 @@ export function IdentificationStageRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
112
118
|
'showMatchedUser': !exists(json, 'show_matched_user') ? undefined : json['show_matched_user'],
|
|
113
119
|
'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
114
120
|
'recoveryFlow': !exists(json, 'recovery_flow') ? undefined : json['recovery_flow'],
|
|
121
|
+
'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
|
|
115
122
|
'sources': !exists(json, 'sources') ? undefined : json['sources'],
|
|
116
123
|
'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
|
|
117
124
|
};
|
|
@@ -134,6 +141,7 @@ export function IdentificationStageRequestToJSON(value?: IdentificationStageRequ
|
|
|
134
141
|
'show_matched_user': value.showMatchedUser,
|
|
135
142
|
'enrollment_flow': value.enrollmentFlow,
|
|
136
143
|
'recovery_flow': value.recoveryFlow,
|
|
144
|
+
'passwordless_flow': value.passwordlessFlow,
|
|
137
145
|
'sources': value.sources,
|
|
138
146
|
'show_source_labels': value.showSourceLabels,
|
|
139
147
|
};
|
|
@@ -80,6 +80,12 @@ export interface PatchedIdentificationStageRequest {
|
|
|
80
80
|
* @memberof PatchedIdentificationStageRequest
|
|
81
81
|
*/
|
|
82
82
|
recoveryFlow?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
* Optional passwordless flow, which is linked at the bottom of the page.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof PatchedIdentificationStageRequest
|
|
87
|
+
*/
|
|
88
|
+
passwordlessFlow?: string | null;
|
|
83
89
|
/**
|
|
84
90
|
* Specify which sources should be shown.
|
|
85
91
|
* @type {Array<string>}
|
|
@@ -112,6 +118,7 @@ export function PatchedIdentificationStageRequestFromJSONTyped(json: any, ignore
|
|
|
112
118
|
'showMatchedUser': !exists(json, 'show_matched_user') ? undefined : json['show_matched_user'],
|
|
113
119
|
'enrollmentFlow': !exists(json, 'enrollment_flow') ? undefined : json['enrollment_flow'],
|
|
114
120
|
'recoveryFlow': !exists(json, 'recovery_flow') ? undefined : json['recovery_flow'],
|
|
121
|
+
'passwordlessFlow': !exists(json, 'passwordless_flow') ? undefined : json['passwordless_flow'],
|
|
115
122
|
'sources': !exists(json, 'sources') ? undefined : json['sources'],
|
|
116
123
|
'showSourceLabels': !exists(json, 'show_source_labels') ? undefined : json['show_source_labels'],
|
|
117
124
|
};
|
|
@@ -134,6 +141,7 @@ export function PatchedIdentificationStageRequestToJSON(value?: PatchedIdentific
|
|
|
134
141
|
'show_matched_user': value.showMatchedUser,
|
|
135
142
|
'enrollment_flow': value.enrollmentFlow,
|
|
136
143
|
'recovery_flow': value.recoveryFlow,
|
|
144
|
+
'passwordless_flow': value.passwordlessFlow,
|
|
137
145
|
'sources': value.sources,
|
|
138
146
|
'show_source_labels': value.showSourceLabels,
|
|
139
147
|
};
|