@goauthentik/api 2025.12.0-rc1-1765464370 → 2025.12.0-rc1-1765566302
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.d.ts.map +1 -1
- package/dist/apis/StagesApi.js +3 -0
- package/dist/apis/StagesApi.js.map +1 -1
- package/dist/esm/apis/StagesApi.d.ts +1 -0
- package/dist/esm/apis/StagesApi.d.ts.map +1 -1
- package/dist/esm/apis/StagesApi.js +3 -0
- package/dist/esm/apis/StagesApi.js.map +1 -1
- package/dist/esm/models/IdentificationChallenge.d.ts +8 -0
- package/dist/esm/models/IdentificationChallenge.d.ts.map +1 -1
- package/dist/esm/models/IdentificationChallenge.js +2 -0
- package/dist/esm/models/IdentificationChallenge.js.map +1 -1
- package/dist/esm/models/IdentificationChallengeResponseRequest.d.ts +9 -1
- package/dist/esm/models/IdentificationChallengeResponseRequest.d.ts.map +1 -1
- package/dist/esm/models/IdentificationChallengeResponseRequest.js +3 -3
- package/dist/esm/models/IdentificationChallengeResponseRequest.js.map +1 -1
- package/dist/esm/models/IdentificationStage.d.ts +6 -0
- package/dist/esm/models/IdentificationStage.d.ts.map +1 -1
- package/dist/esm/models/IdentificationStage.js +2 -0
- package/dist/esm/models/IdentificationStage.js.map +1 -1
- package/dist/esm/models/IdentificationStageRequest.d.ts +6 -0
- package/dist/esm/models/IdentificationStageRequest.d.ts.map +1 -1
- package/dist/esm/models/IdentificationStageRequest.js +2 -0
- package/dist/esm/models/IdentificationStageRequest.js.map +1 -1
- package/dist/esm/models/PatchedIdentificationStageRequest.d.ts +6 -0
- package/dist/esm/models/PatchedIdentificationStageRequest.d.ts.map +1 -1
- package/dist/esm/models/PatchedIdentificationStageRequest.js +2 -0
- package/dist/esm/models/PatchedIdentificationStageRequest.js.map +1 -1
- package/dist/models/IdentificationChallenge.d.ts +8 -0
- package/dist/models/IdentificationChallenge.d.ts.map +1 -1
- package/dist/models/IdentificationChallenge.js +2 -0
- package/dist/models/IdentificationChallenge.js.map +1 -1
- package/dist/models/IdentificationChallengeResponseRequest.d.ts +9 -1
- package/dist/models/IdentificationChallengeResponseRequest.d.ts.map +1 -1
- package/dist/models/IdentificationChallengeResponseRequest.js +3 -3
- package/dist/models/IdentificationChallengeResponseRequest.js.map +1 -1
- package/dist/models/IdentificationStage.d.ts +6 -0
- package/dist/models/IdentificationStage.d.ts.map +1 -1
- package/dist/models/IdentificationStage.js +2 -0
- package/dist/models/IdentificationStage.js.map +1 -1
- package/dist/models/IdentificationStageRequest.d.ts +6 -0
- package/dist/models/IdentificationStageRequest.d.ts.map +1 -1
- package/dist/models/IdentificationStageRequest.js +2 -0
- package/dist/models/IdentificationStageRequest.js.map +1 -1
- package/dist/models/PatchedIdentificationStageRequest.d.ts +6 -0
- package/dist/models/PatchedIdentificationStageRequest.d.ts.map +1 -1
- package/dist/models/PatchedIdentificationStageRequest.js +2 -0
- package/dist/models/PatchedIdentificationStageRequest.js.map +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/apis/StagesApi.ts +5 -0
- package/src/models/IdentificationChallenge.ts +8 -0
- package/src/models/IdentificationChallengeResponseRequest.ts +10 -3
- package/src/models/IdentificationStage.ts +8 -0
- package/src/models/IdentificationStageRequest.ts +8 -0
- package/src/models/PatchedIdentificationStageRequest.ts +8 -0
- package/tsconfig.tsbuildinfo +1 -1
package/package.json
CHANGED
package/src/apis/StagesApi.ts
CHANGED
|
@@ -996,6 +996,7 @@ export interface StagesIdentificationListRequest {
|
|
|
996
996
|
search?: string;
|
|
997
997
|
showMatchedUser?: boolean;
|
|
998
998
|
showSourceLabels?: boolean;
|
|
999
|
+
webauthnStage?: string;
|
|
999
1000
|
}
|
|
1000
1001
|
|
|
1001
1002
|
export interface StagesIdentificationPartialUpdateRequest {
|
|
@@ -7227,6 +7228,10 @@ export class StagesApi extends runtime.BaseAPI {
|
|
|
7227
7228
|
queryParameters['show_source_labels'] = requestParameters['showSourceLabels'];
|
|
7228
7229
|
}
|
|
7229
7230
|
|
|
7231
|
+
if (requestParameters['webauthnStage'] != null) {
|
|
7232
|
+
queryParameters['webauthn_stage'] = requestParameters['webauthnStage'];
|
|
7233
|
+
}
|
|
7234
|
+
|
|
7230
7235
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
7231
7236
|
|
|
7232
7237
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -151,6 +151,12 @@ export interface IdentificationChallenge {
|
|
|
151
151
|
* @memberof IdentificationChallenge
|
|
152
152
|
*/
|
|
153
153
|
enableRememberMe?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @type {{ [key: string]: any; }}
|
|
157
|
+
* @memberof IdentificationChallenge
|
|
158
|
+
*/
|
|
159
|
+
passkeyChallenge?: { [key: string]: any; } | null;
|
|
154
160
|
}
|
|
155
161
|
|
|
156
162
|
|
|
@@ -193,6 +199,7 @@ export function IdentificationChallengeFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
193
199
|
'sources': json['sources'] == null ? undefined : ((json['sources'] as Array<any>).map(LoginSourceFromJSON)),
|
|
194
200
|
'showSourceLabels': json['show_source_labels'],
|
|
195
201
|
'enableRememberMe': json['enable_remember_me'] == null ? undefined : json['enable_remember_me'],
|
|
202
|
+
'passkeyChallenge': json['passkey_challenge'] == null ? undefined : json['passkey_challenge'],
|
|
196
203
|
};
|
|
197
204
|
}
|
|
198
205
|
|
|
@@ -223,6 +230,7 @@ export function IdentificationChallengeToJSONTyped(value?: IdentificationChallen
|
|
|
223
230
|
'sources': value['sources'] == null ? undefined : ((value['sources'] as Array<any>).map(LoginSourceToJSON)),
|
|
224
231
|
'show_source_labels': value['showSourceLabels'],
|
|
225
232
|
'enable_remember_me': value['enableRememberMe'],
|
|
233
|
+
'passkey_challenge': value['passkeyChallenge'],
|
|
226
234
|
};
|
|
227
235
|
}
|
|
228
236
|
|
|
@@ -30,7 +30,7 @@ export interface IdentificationChallengeResponseRequest {
|
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof IdentificationChallengeResponseRequest
|
|
32
32
|
*/
|
|
33
|
-
uidField
|
|
33
|
+
uidField?: string | null;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
@@ -43,13 +43,18 @@ export interface IdentificationChallengeResponseRequest {
|
|
|
43
43
|
* @memberof IdentificationChallengeResponseRequest
|
|
44
44
|
*/
|
|
45
45
|
captchaToken?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {{ [key: string]: any; }}
|
|
49
|
+
* @memberof IdentificationChallengeResponseRequest
|
|
50
|
+
*/
|
|
51
|
+
passkey?: { [key: string]: any; } | null;
|
|
46
52
|
}
|
|
47
53
|
|
|
48
54
|
/**
|
|
49
55
|
* Check if a given object implements the IdentificationChallengeResponseRequest interface.
|
|
50
56
|
*/
|
|
51
57
|
export function instanceOfIdentificationChallengeResponseRequest(value: object): value is IdentificationChallengeResponseRequest {
|
|
52
|
-
if (!('uidField' in value) || value['uidField'] === undefined) return false;
|
|
53
58
|
return true;
|
|
54
59
|
}
|
|
55
60
|
|
|
@@ -64,9 +69,10 @@ export function IdentificationChallengeResponseRequestFromJSONTyped(json: any, i
|
|
|
64
69
|
return {
|
|
65
70
|
|
|
66
71
|
'component': json['component'] == null ? undefined : json['component'],
|
|
67
|
-
'uidField': json['uid_field'],
|
|
72
|
+
'uidField': json['uid_field'] == null ? undefined : json['uid_field'],
|
|
68
73
|
'password': json['password'] == null ? undefined : json['password'],
|
|
69
74
|
'captchaToken': json['captcha_token'] == null ? undefined : json['captcha_token'],
|
|
75
|
+
'passkey': json['passkey'] == null ? undefined : json['passkey'],
|
|
70
76
|
};
|
|
71
77
|
}
|
|
72
78
|
|
|
@@ -85,6 +91,7 @@ export function IdentificationChallengeResponseRequestToJSONTyped(value?: Identi
|
|
|
85
91
|
'uid_field': value['uidField'],
|
|
86
92
|
'password': value['password'],
|
|
87
93
|
'captcha_token': value['captchaToken'],
|
|
94
|
+
'passkey': value['passkey'],
|
|
88
95
|
};
|
|
89
96
|
}
|
|
90
97
|
|
|
@@ -148,6 +148,12 @@ export interface IdentificationStage {
|
|
|
148
148
|
* @memberof IdentificationStage
|
|
149
149
|
*/
|
|
150
150
|
enableRememberMe?: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* When set, and conditional WebAuthn is available, allow the user to use their passkey as a first factor.
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof IdentificationStage
|
|
155
|
+
*/
|
|
156
|
+
webauthnStage?: string | null;
|
|
151
157
|
}
|
|
152
158
|
|
|
153
159
|
/**
|
|
@@ -193,6 +199,7 @@ export function IdentificationStageFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
193
199
|
'showSourceLabels': json['show_source_labels'] == null ? undefined : json['show_source_labels'],
|
|
194
200
|
'pretendUserExists': json['pretend_user_exists'] == null ? undefined : json['pretend_user_exists'],
|
|
195
201
|
'enableRememberMe': json['enable_remember_me'] == null ? undefined : json['enable_remember_me'],
|
|
202
|
+
'webauthnStage': json['webauthn_stage'] == null ? undefined : json['webauthn_stage'],
|
|
196
203
|
};
|
|
197
204
|
}
|
|
198
205
|
|
|
@@ -220,6 +227,7 @@ export function IdentificationStageToJSONTyped(value?: Omit<IdentificationStage,
|
|
|
220
227
|
'show_source_labels': value['showSourceLabels'],
|
|
221
228
|
'pretend_user_exists': value['pretendUserExists'],
|
|
222
229
|
'enable_remember_me': value['enableRememberMe'],
|
|
230
|
+
'webauthn_stage': value['webauthnStage'],
|
|
223
231
|
};
|
|
224
232
|
}
|
|
225
233
|
|
|
@@ -105,6 +105,12 @@ export interface IdentificationStageRequest {
|
|
|
105
105
|
* @memberof IdentificationStageRequest
|
|
106
106
|
*/
|
|
107
107
|
enableRememberMe?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* When set, and conditional WebAuthn is available, allow the user to use their passkey as a first factor.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof IdentificationStageRequest
|
|
112
|
+
*/
|
|
113
|
+
webauthnStage?: string | null;
|
|
108
114
|
}
|
|
109
115
|
|
|
110
116
|
/**
|
|
@@ -138,6 +144,7 @@ export function IdentificationStageRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
138
144
|
'showSourceLabels': json['show_source_labels'] == null ? undefined : json['show_source_labels'],
|
|
139
145
|
'pretendUserExists': json['pretend_user_exists'] == null ? undefined : json['pretend_user_exists'],
|
|
140
146
|
'enableRememberMe': json['enable_remember_me'] == null ? undefined : json['enable_remember_me'],
|
|
147
|
+
'webauthnStage': json['webauthn_stage'] == null ? undefined : json['webauthn_stage'],
|
|
141
148
|
};
|
|
142
149
|
}
|
|
143
150
|
|
|
@@ -165,6 +172,7 @@ export function IdentificationStageRequestToJSONTyped(value?: IdentificationStag
|
|
|
165
172
|
'show_source_labels': value['showSourceLabels'],
|
|
166
173
|
'pretend_user_exists': value['pretendUserExists'],
|
|
167
174
|
'enable_remember_me': value['enableRememberMe'],
|
|
175
|
+
'webauthn_stage': value['webauthnStage'],
|
|
168
176
|
};
|
|
169
177
|
}
|
|
170
178
|
|
|
@@ -105,6 +105,12 @@ export interface PatchedIdentificationStageRequest {
|
|
|
105
105
|
* @memberof PatchedIdentificationStageRequest
|
|
106
106
|
*/
|
|
107
107
|
enableRememberMe?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* When set, and conditional WebAuthn is available, allow the user to use their passkey as a first factor.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof PatchedIdentificationStageRequest
|
|
112
|
+
*/
|
|
113
|
+
webauthnStage?: string | null;
|
|
108
114
|
}
|
|
109
115
|
|
|
110
116
|
/**
|
|
@@ -137,6 +143,7 @@ export function PatchedIdentificationStageRequestFromJSONTyped(json: any, ignore
|
|
|
137
143
|
'showSourceLabels': json['show_source_labels'] == null ? undefined : json['show_source_labels'],
|
|
138
144
|
'pretendUserExists': json['pretend_user_exists'] == null ? undefined : json['pretend_user_exists'],
|
|
139
145
|
'enableRememberMe': json['enable_remember_me'] == null ? undefined : json['enable_remember_me'],
|
|
146
|
+
'webauthnStage': json['webauthn_stage'] == null ? undefined : json['webauthn_stage'],
|
|
140
147
|
};
|
|
141
148
|
}
|
|
142
149
|
|
|
@@ -164,6 +171,7 @@ export function PatchedIdentificationStageRequestToJSONTyped(value?: PatchedIden
|
|
|
164
171
|
'show_source_labels': value['showSourceLabels'],
|
|
165
172
|
'pretend_user_exists': value['pretendUserExists'],
|
|
166
173
|
'enable_remember_me': value['enableRememberMe'],
|
|
174
|
+
'webauthn_stage': value['webauthnStage'],
|
|
167
175
|
};
|
|
168
176
|
}
|
|
169
177
|
|