@authsome/client 0.0.1 → 0.0.3
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/CHANGELOG.md +38 -0
- package/README.md +392 -0
- package/RELEASE_CHECKLIST.md +162 -0
- package/RELEASE_v0.0.2.md +126 -0
- package/authsome-client-0.0.2.tgz +0 -0
- package/dist/client.d.ts +65 -3
- package/dist/client.js +52 -8
- package/dist/index.d.ts +25 -25
- package/dist/index.js +78 -26
- package/dist/plugins/oidcprovider.d.ts +1 -1
- package/dist/plugins/webhook.d.ts +1 -1
- package/dist/plugins/webhook.js +4 -4
- package/dist/types.d.ts +2465 -2500
- package/package.json +3 -24
- package/src/client.ts +270 -0
- package/src/errors.ts +92 -0
- package/src/index.ts +33 -0
- package/src/plugin.ts +13 -0
- package/src/plugins/admin.ts +84 -0
- package/src/plugins/anonymous.ts +31 -0
- package/src/plugins/apikey.ts +56 -0
- package/src/plugins/backupauth.ts +208 -0
- package/src/plugins/compliance.ts +204 -0
- package/src/plugins/consent.ts +125 -0
- package/src/plugins/emailotp.ts +33 -0
- package/src/plugins/idverification.ts +80 -0
- package/src/plugins/impersonation.ts +53 -0
- package/src/plugins/jwt.ts +44 -0
- package/src/plugins/magiclink.ts +31 -0
- package/src/plugins/mfa.ts +111 -0
- package/src/plugins/multiapp.ts +116 -0
- package/src/plugins/multisession.ts +36 -0
- package/src/plugins/notification.ts +98 -0
- package/src/plugins/oidcprovider.ts +90 -0
- package/src/plugins/organization.ts +99 -0
- package/src/plugins/passkey.ts +54 -0
- package/src/plugins/phone.ts +40 -0
- package/src/plugins/social.ts +48 -0
- package/src/plugins/sso.ts +55 -0
- package/src/plugins/stepup.ts +97 -0
- package/src/plugins/twofa.ts +61 -0
- package/src/plugins/username.ts +29 -0
- package/src/plugins/webhook.ts +50 -0
- package/src/types.ts +3702 -0
- package/tsconfig.json +16 -0
package/src/types.ts
ADDED
|
@@ -0,0 +1,3702 @@
|
|
|
1
|
+
// Auto-generated TypeScript types
|
|
2
|
+
|
|
3
|
+
export interface BackupAuthContactsResponse {
|
|
4
|
+
contacts: any[];
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export interface DeviceInfo {
|
|
8
|
+
deviceId: string;
|
|
9
|
+
metadata: any;
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface MFASession {
|
|
14
|
+
userAgent: string;
|
|
15
|
+
userId: string;
|
|
16
|
+
verifiedFactors: string[];
|
|
17
|
+
createdAt: string;
|
|
18
|
+
factorsRequired: number;
|
|
19
|
+
id: string;
|
|
20
|
+
riskLevel: string;
|
|
21
|
+
sessionToken: string;
|
|
22
|
+
completedAt: string | undefined;
|
|
23
|
+
expiresAt: string;
|
|
24
|
+
factorsVerified: number;
|
|
25
|
+
ipAddress: string;
|
|
26
|
+
metadata: any;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export interface StepUpVerification {
|
|
30
|
+
device_id: string;
|
|
31
|
+
expires_at: string;
|
|
32
|
+
org_id: string;
|
|
33
|
+
rule_name: string;
|
|
34
|
+
reason: string;
|
|
35
|
+
security_level: string;
|
|
36
|
+
user_id: string;
|
|
37
|
+
metadata: any;
|
|
38
|
+
method: string;
|
|
39
|
+
session_id: string;
|
|
40
|
+
user_agent: string;
|
|
41
|
+
verified_at: string;
|
|
42
|
+
created_at: string;
|
|
43
|
+
id: string;
|
|
44
|
+
ip: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface CookieConsentRequest {
|
|
48
|
+
analytics: boolean;
|
|
49
|
+
bannerVersion: string;
|
|
50
|
+
essential: boolean;
|
|
51
|
+
functional: boolean;
|
|
52
|
+
marketing: boolean;
|
|
53
|
+
personalization: boolean;
|
|
54
|
+
sessionId: string;
|
|
55
|
+
thirdParty: boolean;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface ConsentsResponse {
|
|
59
|
+
count: number;
|
|
60
|
+
consents: any;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export interface ComplianceStatusDetailsResponse {
|
|
64
|
+
status: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface DeletePasskeyRequest {
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export interface IDVerificationListResponse {
|
|
71
|
+
verifications: any[];
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export interface FactorAdapterRegistry {
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export interface StepUpAttempt {
|
|
78
|
+
failure_reason: string;
|
|
79
|
+
ip: string;
|
|
80
|
+
method: string;
|
|
81
|
+
org_id: string;
|
|
82
|
+
requirement_id: string;
|
|
83
|
+
user_agent: string;
|
|
84
|
+
created_at: string;
|
|
85
|
+
id: string;
|
|
86
|
+
success: boolean;
|
|
87
|
+
user_id: string;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export interface SetupSecurityQuestionRequest {
|
|
91
|
+
customText: string;
|
|
92
|
+
questionId: number;
|
|
93
|
+
answer: string;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export interface OrganizationHandler {
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export interface StepUpPolicyResponse {
|
|
100
|
+
id: string;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export interface StepUpVerificationsResponse {
|
|
104
|
+
verifications: any[];
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export interface VerificationListResponse {
|
|
108
|
+
offset: number;
|
|
109
|
+
total: number;
|
|
110
|
+
verifications: any | undefined[];
|
|
111
|
+
limit: number;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export interface Status_body {
|
|
115
|
+
user_id: string;
|
|
116
|
+
device_id: string;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export interface NoOpDocumentProvider {
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export interface CreateUser_reqBody {
|
|
123
|
+
name?: string;
|
|
124
|
+
password?: string;
|
|
125
|
+
role?: string;
|
|
126
|
+
username?: string;
|
|
127
|
+
email: string;
|
|
128
|
+
email_verified: boolean;
|
|
129
|
+
metadata?: any;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export interface MockSessionService {
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export interface DiscoverProviderRequest {
|
|
136
|
+
email: string;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export interface SessionsResponse {
|
|
140
|
+
sessions: any;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export interface ComplianceEvidencesResponse {
|
|
144
|
+
evidence: any[];
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export interface SecurityQuestionsConfig {
|
|
148
|
+
enabled: boolean;
|
|
149
|
+
lockoutDuration: any;
|
|
150
|
+
maxAnswerLength: number;
|
|
151
|
+
maxAttempts: number;
|
|
152
|
+
minimumQuestions: number;
|
|
153
|
+
requireMinLength: number;
|
|
154
|
+
requiredToRecover: number;
|
|
155
|
+
allowCustomQuestions: boolean;
|
|
156
|
+
caseSensitive: boolean;
|
|
157
|
+
forbidCommonAnswers: boolean;
|
|
158
|
+
predefinedQuestions: string[];
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export interface AddTeamMember_req {
|
|
162
|
+
role: string;
|
|
163
|
+
member_id: string;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export interface CallbackDataResponse {
|
|
167
|
+
isNewUser: boolean;
|
|
168
|
+
user: any | undefined;
|
|
169
|
+
action: string;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export interface StepUpAuditLog {
|
|
173
|
+
created_at: string;
|
|
174
|
+
event_data: any;
|
|
175
|
+
event_type: string;
|
|
176
|
+
id: string;
|
|
177
|
+
org_id: string;
|
|
178
|
+
user_agent: string;
|
|
179
|
+
ip: string;
|
|
180
|
+
severity: string;
|
|
181
|
+
user_id: string;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export interface VerifyTrustedContactResponse {
|
|
185
|
+
contactId: string;
|
|
186
|
+
message: string;
|
|
187
|
+
verified: boolean;
|
|
188
|
+
verifiedAt: string;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export interface ComplianceUserTrainingResponse {
|
|
192
|
+
user_id: string;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export interface Config {
|
|
196
|
+
allowImplicitSignup: boolean;
|
|
197
|
+
baseURL: string;
|
|
198
|
+
devExposeURL: boolean;
|
|
199
|
+
expiryMinutes: number;
|
|
200
|
+
rateLimitPerHour: number;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export interface ReviewDocumentRequest {
|
|
204
|
+
notes: string;
|
|
205
|
+
rejectionReason: string;
|
|
206
|
+
approved: boolean;
|
|
207
|
+
documentId: string;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export interface GetRecoveryStatsResponse {
|
|
211
|
+
pendingRecoveries: number;
|
|
212
|
+
successfulRecoveries: number;
|
|
213
|
+
totalAttempts: number;
|
|
214
|
+
adminReviewsRequired: number;
|
|
215
|
+
averageRiskScore: number;
|
|
216
|
+
failedRecoveries: number;
|
|
217
|
+
highRiskAttempts: number;
|
|
218
|
+
methodStats: any;
|
|
219
|
+
successRate: number;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export interface OnfidoProvider {
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export interface MockSocialAccountRepository {
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export interface MockUserRepository {
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export interface EvaluateRequest {
|
|
232
|
+
action: string;
|
|
233
|
+
amount: number;
|
|
234
|
+
currency: string;
|
|
235
|
+
metadata: any;
|
|
236
|
+
method: string;
|
|
237
|
+
resource_type: string;
|
|
238
|
+
route: string;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export interface VerificationsResponse {
|
|
242
|
+
count: number;
|
|
243
|
+
verifications: any;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export interface FinishRegisterResponse {
|
|
247
|
+
name: string;
|
|
248
|
+
passkeyId: string;
|
|
249
|
+
status: string;
|
|
250
|
+
createdAt: string;
|
|
251
|
+
credentialId: string;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export interface TrustedContactInfo {
|
|
255
|
+
verifiedAt: string | undefined;
|
|
256
|
+
active: boolean;
|
|
257
|
+
email: string;
|
|
258
|
+
id: string;
|
|
259
|
+
name: string;
|
|
260
|
+
phone: string;
|
|
261
|
+
relationship: string;
|
|
262
|
+
verified: boolean;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export interface NoOpVideoProvider {
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export interface IPWhitelistConfig {
|
|
269
|
+
enabled: boolean;
|
|
270
|
+
strict_mode: boolean;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export interface CreateVerificationSession_req {
|
|
274
|
+
cancelUrl: string;
|
|
275
|
+
config: any;
|
|
276
|
+
metadata: any;
|
|
277
|
+
provider: string;
|
|
278
|
+
requiredChecks: string[];
|
|
279
|
+
successUrl: string;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export interface ComplianceTraining {
|
|
283
|
+
appId: string;
|
|
284
|
+
completedAt: string | undefined;
|
|
285
|
+
createdAt: string;
|
|
286
|
+
id: string;
|
|
287
|
+
profileId: string;
|
|
288
|
+
score: number;
|
|
289
|
+
status: string;
|
|
290
|
+
trainingType: string;
|
|
291
|
+
expiresAt: string | undefined;
|
|
292
|
+
metadata: any;
|
|
293
|
+
standard: string;
|
|
294
|
+
userId: string;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export interface DeclareABTestWinner_req {
|
|
298
|
+
abTestGroup: string;
|
|
299
|
+
winnerId: string;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export interface ConsentAuditLog {
|
|
303
|
+
consentId: string;
|
|
304
|
+
consentType: string;
|
|
305
|
+
createdAt: string;
|
|
306
|
+
ipAddress: string;
|
|
307
|
+
newValue: Record<string, any>;
|
|
308
|
+
userAgent: string;
|
|
309
|
+
userId: string;
|
|
310
|
+
action: string;
|
|
311
|
+
id: string;
|
|
312
|
+
organizationId: string;
|
|
313
|
+
previousValue: Record<string, any>;
|
|
314
|
+
purpose: string;
|
|
315
|
+
reason: string;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export interface ProviderDetailResponse {
|
|
319
|
+
oidcIssuer: string;
|
|
320
|
+
samlEntryPoint: string;
|
|
321
|
+
type: string;
|
|
322
|
+
attributeMapping: any;
|
|
323
|
+
domain: string;
|
|
324
|
+
oidcRedirectURI: string;
|
|
325
|
+
providerId: string;
|
|
326
|
+
samlIssuer: string;
|
|
327
|
+
updatedAt: string;
|
|
328
|
+
createdAt: string;
|
|
329
|
+
hasSamlCert: boolean;
|
|
330
|
+
oidcClientID: string;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export interface ChallengeSession {
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export interface BackupAuthCodesResponse {
|
|
337
|
+
codes: string[];
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export interface NoOpEmailProvider {
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export interface FactorEnrollmentResponse {
|
|
344
|
+
factorId: string;
|
|
345
|
+
provisioningData: any;
|
|
346
|
+
status: string;
|
|
347
|
+
type: string;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export interface ImpersonationContext {
|
|
351
|
+
impersonator_id: string | undefined;
|
|
352
|
+
indicator_message: string;
|
|
353
|
+
is_impersonating: boolean;
|
|
354
|
+
target_user_id: string | undefined;
|
|
355
|
+
impersonation_id: string | undefined;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export interface ConsentReport {
|
|
359
|
+
dataExportsThisPeriod: number;
|
|
360
|
+
dpasActive: number;
|
|
361
|
+
dpasExpiringSoon: number;
|
|
362
|
+
pendingDeletions: number;
|
|
363
|
+
reportPeriodStart: string;
|
|
364
|
+
organizationId: string;
|
|
365
|
+
reportPeriodEnd: string;
|
|
366
|
+
totalUsers: number;
|
|
367
|
+
usersWithConsent: number;
|
|
368
|
+
completedDeletions: number;
|
|
369
|
+
consentRate: number;
|
|
370
|
+
consentsByType: any;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export interface MockRepository {
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
export interface TrackNotificationEvent_req {
|
|
377
|
+
event: string;
|
|
378
|
+
eventData?: any;
|
|
379
|
+
notificationId: string;
|
|
380
|
+
organizationId?: string | undefined;
|
|
381
|
+
templateId: string;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export interface ChallengeStatusResponse {
|
|
385
|
+
completedAt: string | undefined;
|
|
386
|
+
expiresAt: string;
|
|
387
|
+
factorsRemaining: number;
|
|
388
|
+
factorsRequired: number;
|
|
389
|
+
factorsVerified: number;
|
|
390
|
+
sessionId: string;
|
|
391
|
+
status: string;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export interface AuditServiceAdapter {
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
export interface ContinueRecoveryRequest {
|
|
398
|
+
method: string;
|
|
399
|
+
sessionId: string;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
export interface VerifyRecoveryCodeRequest {
|
|
403
|
+
sessionId: string;
|
|
404
|
+
code: string;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
export interface CreateConsentRequest {
|
|
408
|
+
granted: boolean;
|
|
409
|
+
metadata: any;
|
|
410
|
+
purpose: string;
|
|
411
|
+
userId: string;
|
|
412
|
+
version: string;
|
|
413
|
+
consentType: string;
|
|
414
|
+
expiresIn: number | undefined;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
export interface UpdateConsentRequest {
|
|
418
|
+
granted: boolean | undefined;
|
|
419
|
+
metadata: any;
|
|
420
|
+
reason: string;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
export interface TokenResponse {
|
|
424
|
+
access_token: string;
|
|
425
|
+
expires_in: number;
|
|
426
|
+
id_token: string;
|
|
427
|
+
refresh_token: string;
|
|
428
|
+
scope: string;
|
|
429
|
+
token_type: string;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export interface UnbanUser_reqBody {
|
|
433
|
+
reason?: string;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
export interface LinkRequest {
|
|
437
|
+
email: string;
|
|
438
|
+
name: string;
|
|
439
|
+
password: string;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export interface StepUpPoliciesResponse {
|
|
443
|
+
policies: any[];
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export interface UploadDocumentResponse {
|
|
447
|
+
uploadedAt: string;
|
|
448
|
+
documentId: string;
|
|
449
|
+
message: string;
|
|
450
|
+
processingTime: string;
|
|
451
|
+
status: string;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
export interface AdminBypassRequest {
|
|
455
|
+
duration: number;
|
|
456
|
+
reason: string;
|
|
457
|
+
userId: string;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export interface ScheduleVideoSessionRequest {
|
|
461
|
+
sessionId: string;
|
|
462
|
+
timeZone: string;
|
|
463
|
+
scheduledAt: string;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
export interface ConsentPolicy {
|
|
467
|
+
required: boolean;
|
|
468
|
+
consentType: string;
|
|
469
|
+
version: string;
|
|
470
|
+
active: boolean;
|
|
471
|
+
description: string;
|
|
472
|
+
renewable: boolean;
|
|
473
|
+
content: string;
|
|
474
|
+
createdAt: string;
|
|
475
|
+
createdBy: string;
|
|
476
|
+
metadata: Record<string, any>;
|
|
477
|
+
name: string;
|
|
478
|
+
organizationId: string;
|
|
479
|
+
publishedAt: string | undefined;
|
|
480
|
+
id: string;
|
|
481
|
+
updatedAt: string;
|
|
482
|
+
validityPeriod: number | undefined;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
export interface IDVerificationErrorResponse {
|
|
486
|
+
error: string;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
export interface GetChallengeStatusResponse {
|
|
490
|
+
factorsRequired: number;
|
|
491
|
+
factorsVerified: number;
|
|
492
|
+
maxAttempts: number;
|
|
493
|
+
status: string;
|
|
494
|
+
attempts: number;
|
|
495
|
+
availableFactors: FactorInfo[];
|
|
496
|
+
challengeId: string;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export interface ProviderDiscoveredResponse {
|
|
500
|
+
found: boolean;
|
|
501
|
+
providerId: string;
|
|
502
|
+
type: string;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
export interface GenerateReportRequest {
|
|
506
|
+
format: string;
|
|
507
|
+
period: string;
|
|
508
|
+
reportType: string;
|
|
509
|
+
standard: string;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export interface CompliancePoliciesResponse {
|
|
513
|
+
policies: any[];
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export interface BeginLoginResponse {
|
|
517
|
+
challenge: string;
|
|
518
|
+
options: any;
|
|
519
|
+
timeout: any;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
export interface userServiceAdapter {
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export interface OAuthErrorResponse {
|
|
526
|
+
error: string;
|
|
527
|
+
error_description: string;
|
|
528
|
+
error_uri: string;
|
|
529
|
+
state: string;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export interface AmountRule {
|
|
533
|
+
min_amount: number;
|
|
534
|
+
org_id: string;
|
|
535
|
+
security_level: string;
|
|
536
|
+
currency: string;
|
|
537
|
+
description: string;
|
|
538
|
+
max_amount: number;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
export interface GenerateReport_req {
|
|
542
|
+
format: string;
|
|
543
|
+
period: string;
|
|
544
|
+
reportType: string;
|
|
545
|
+
standard: string;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
export interface CreateProfileFromTemplate_req {
|
|
549
|
+
standard: string;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
export interface EndImpersonation_reqBody {
|
|
553
|
+
impersonation_id: string;
|
|
554
|
+
reason?: string;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
export interface TemplatesResponse {
|
|
558
|
+
count: number;
|
|
559
|
+
templates: any;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export interface SecurityQuestionInfo {
|
|
563
|
+
id: string;
|
|
564
|
+
isCustom: boolean;
|
|
565
|
+
questionId: number;
|
|
566
|
+
questionText: string;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
export interface RecoveryCodesConfig {
|
|
570
|
+
allowPrint: boolean;
|
|
571
|
+
autoRegenerate: boolean;
|
|
572
|
+
codeCount: number;
|
|
573
|
+
codeLength: number;
|
|
574
|
+
enabled: boolean;
|
|
575
|
+
format: string;
|
|
576
|
+
regenerateCount: number;
|
|
577
|
+
allowDownload: boolean;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
export interface ConsentAuditLogsResponse {
|
|
581
|
+
audit_logs: any[];
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
export interface VerificationRequest {
|
|
585
|
+
data: any;
|
|
586
|
+
deviceInfo: DeviceInfo | undefined;
|
|
587
|
+
factorId: string;
|
|
588
|
+
rememberDevice: boolean;
|
|
589
|
+
challengeId: string;
|
|
590
|
+
code: string;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
export interface MultiSessionDeleteResponse {
|
|
594
|
+
status: string;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
export interface CodesResponse {
|
|
598
|
+
codes: string[];
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
export interface UpdatePolicy_req {
|
|
602
|
+
content: string | undefined;
|
|
603
|
+
status: string | undefined;
|
|
604
|
+
title: string | undefined;
|
|
605
|
+
version: string | undefined;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
export interface JumioConfig {
|
|
609
|
+
callbackUrl: string;
|
|
610
|
+
enableAMLScreening: boolean;
|
|
611
|
+
enabledDocumentTypes: string[];
|
|
612
|
+
verificationType: string;
|
|
613
|
+
dataCenter: string;
|
|
614
|
+
enableExtraction: boolean;
|
|
615
|
+
enableLiveness: boolean;
|
|
616
|
+
enabled: boolean;
|
|
617
|
+
enabledCountries: string[];
|
|
618
|
+
presetId: string;
|
|
619
|
+
apiSecret: string;
|
|
620
|
+
apiToken: string;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
export interface AutomatedChecksConfig {
|
|
624
|
+
accessReview: boolean;
|
|
625
|
+
checkInterval: any;
|
|
626
|
+
dataRetention: boolean;
|
|
627
|
+
sessionPolicy: boolean;
|
|
628
|
+
enabled: boolean;
|
|
629
|
+
inactiveUsers: boolean;
|
|
630
|
+
mfaCoverage: boolean;
|
|
631
|
+
passwordPolicy: boolean;
|
|
632
|
+
suspiciousActivity: boolean;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
export interface ListTrainingFilter {
|
|
636
|
+
appId: string | undefined;
|
|
637
|
+
profileId: string | undefined;
|
|
638
|
+
standard: string | undefined;
|
|
639
|
+
status: string | undefined;
|
|
640
|
+
trainingType: string | undefined;
|
|
641
|
+
userId: string | undefined;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
export interface AuditConfig {
|
|
645
|
+
archiveInterval: any;
|
|
646
|
+
archiveOldLogs: boolean;
|
|
647
|
+
enabled: boolean;
|
|
648
|
+
immutableLogs: boolean;
|
|
649
|
+
logAllAttempts: boolean;
|
|
650
|
+
logDeviceInfo: boolean;
|
|
651
|
+
logFailed: boolean;
|
|
652
|
+
logSuccessful: boolean;
|
|
653
|
+
logIpAddress: boolean;
|
|
654
|
+
logUserAgent: boolean;
|
|
655
|
+
retentionDays: number;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
export interface RequestTrustedContactVerificationResponse {
|
|
659
|
+
contactId: string;
|
|
660
|
+
contactName: string;
|
|
661
|
+
expiresAt: string;
|
|
662
|
+
message: string;
|
|
663
|
+
notifiedAt: string;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
export interface ConsentExpiryConfig {
|
|
667
|
+
requireReConsent: boolean;
|
|
668
|
+
allowRenewal: boolean;
|
|
669
|
+
autoExpireCheck: boolean;
|
|
670
|
+
defaultValidityDays: number;
|
|
671
|
+
enabled: boolean;
|
|
672
|
+
expireCheckInterval: any;
|
|
673
|
+
renewalReminderDays: number;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
export interface SSOAuthResponse {
|
|
677
|
+
session: any | undefined;
|
|
678
|
+
token: string;
|
|
679
|
+
user: any | undefined;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
export interface TemplateEngine {
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
export interface TwoFARequiredResponse {
|
|
686
|
+
device_id: string;
|
|
687
|
+
require_twofa: boolean;
|
|
688
|
+
user: any | undefined;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
export interface NotificationsConfig {
|
|
692
|
+
notifyOnRecoveryStart: boolean;
|
|
693
|
+
securityOfficerEmail: string;
|
|
694
|
+
channels: string[];
|
|
695
|
+
enabled: boolean;
|
|
696
|
+
notifyAdminOnHighRisk: boolean;
|
|
697
|
+
notifyAdminOnReviewNeeded: boolean;
|
|
698
|
+
notifyOnRecoveryComplete: boolean;
|
|
699
|
+
notifyOnRecoveryFailed: boolean;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
export interface DataExportConfig {
|
|
703
|
+
expiryHours: number;
|
|
704
|
+
includeSections: string[];
|
|
705
|
+
maxRequests: number;
|
|
706
|
+
maxExportSize: number;
|
|
707
|
+
requestPeriod: any;
|
|
708
|
+
storagePath: string;
|
|
709
|
+
allowedFormats: string[];
|
|
710
|
+
autoCleanup: boolean;
|
|
711
|
+
cleanupInterval: any;
|
|
712
|
+
defaultFormat: string;
|
|
713
|
+
enabled: boolean;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
export interface TOTPConfig {
|
|
717
|
+
enabled: boolean;
|
|
718
|
+
issuer: string;
|
|
719
|
+
period: number;
|
|
720
|
+
window_size: number;
|
|
721
|
+
algorithm: string;
|
|
722
|
+
digits: number;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
export interface EmailVerificationConfig {
|
|
726
|
+
enabled: boolean;
|
|
727
|
+
fromAddress: string;
|
|
728
|
+
fromName: string;
|
|
729
|
+
maxAttempts: number;
|
|
730
|
+
requireEmailProof: boolean;
|
|
731
|
+
codeExpiry: any;
|
|
732
|
+
codeLength: number;
|
|
733
|
+
emailTemplate: string;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
export interface CreatePolicyRequest {
|
|
737
|
+
description: string;
|
|
738
|
+
name: string;
|
|
739
|
+
renewable: boolean;
|
|
740
|
+
version: string;
|
|
741
|
+
metadata: any;
|
|
742
|
+
required: boolean;
|
|
743
|
+
validityPeriod: number | undefined;
|
|
744
|
+
consentType: string;
|
|
745
|
+
content: string;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
export interface ImpersonateUser_reqBody {
|
|
749
|
+
duration?: any;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
export interface ResetUserMFAResponse {
|
|
753
|
+
devicesRevoked: number;
|
|
754
|
+
factorsReset: number;
|
|
755
|
+
message: string;
|
|
756
|
+
success: boolean;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
export interface RiskEngine {
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
export interface RecoverySession {
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
export interface WebhookResponse {
|
|
766
|
+
received: boolean;
|
|
767
|
+
status: string;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
export interface DiscoveryService {
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
export interface ClientRegistrationResponse {
|
|
774
|
+
client_id: string;
|
|
775
|
+
contacts: string[];
|
|
776
|
+
post_logout_redirect_uris: string[];
|
|
777
|
+
scope: string;
|
|
778
|
+
tos_uri: string;
|
|
779
|
+
client_secret: string;
|
|
780
|
+
logo_uri: string;
|
|
781
|
+
client_name: string;
|
|
782
|
+
client_secret_expires_at: number;
|
|
783
|
+
application_type: string;
|
|
784
|
+
client_id_issued_at: number;
|
|
785
|
+
grant_types: string[];
|
|
786
|
+
policy_uri: string;
|
|
787
|
+
redirect_uris: string[];
|
|
788
|
+
response_types: string[];
|
|
789
|
+
token_endpoint_auth_method: string;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
export interface ClientAuthenticator {
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
export interface UpdatePasskeyRequest {
|
|
796
|
+
name: string;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
export interface CookieConsentConfig {
|
|
800
|
+
bannerVersion: string;
|
|
801
|
+
categories: string[];
|
|
802
|
+
defaultStyle: string;
|
|
803
|
+
enabled: boolean;
|
|
804
|
+
requireExplicit: boolean;
|
|
805
|
+
validityPeriod: any;
|
|
806
|
+
allowAnonymous: boolean;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
export interface StripeIdentityProvider {
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
export interface Challenge {
|
|
813
|
+
attempts: number;
|
|
814
|
+
factorId: string;
|
|
815
|
+
id: string;
|
|
816
|
+
ipAddress: string;
|
|
817
|
+
status: string;
|
|
818
|
+
type: string;
|
|
819
|
+
userAgent: string;
|
|
820
|
+
userId: string;
|
|
821
|
+
createdAt: string;
|
|
822
|
+
expiresAt: string;
|
|
823
|
+
maxAttempts: number;
|
|
824
|
+
metadata: any;
|
|
825
|
+
verifiedAt: string | undefined;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
export interface OAuthState {
|
|
829
|
+
app_id: string;
|
|
830
|
+
created_at: string;
|
|
831
|
+
extra_scopes: string[];
|
|
832
|
+
link_user_id: string | undefined;
|
|
833
|
+
provider: string;
|
|
834
|
+
redirect_url: string;
|
|
835
|
+
user_organization_id: string | undefined;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
export interface ComplianceStatus {
|
|
839
|
+
overallStatus: string;
|
|
840
|
+
score: number;
|
|
841
|
+
violations: number;
|
|
842
|
+
checksFailed: number;
|
|
843
|
+
lastChecked: string;
|
|
844
|
+
nextAudit: string;
|
|
845
|
+
profileId: string;
|
|
846
|
+
standard: string;
|
|
847
|
+
appId: string;
|
|
848
|
+
checksPassed: number;
|
|
849
|
+
checksWarning: number;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
export interface RateLimitRule {
|
|
853
|
+
max: number;
|
|
854
|
+
window: any;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
export interface StepUpRememberedDevice {
|
|
858
|
+
id: string;
|
|
859
|
+
org_id: string;
|
|
860
|
+
user_agent: string;
|
|
861
|
+
user_id: string;
|
|
862
|
+
created_at: string;
|
|
863
|
+
device_name: string;
|
|
864
|
+
expires_at: string;
|
|
865
|
+
ip: string;
|
|
866
|
+
last_used_at: string;
|
|
867
|
+
remembered_at: string;
|
|
868
|
+
security_level: string;
|
|
869
|
+
device_id: string;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
export interface RouteRule {
|
|
873
|
+
description: string;
|
|
874
|
+
method: string;
|
|
875
|
+
org_id: string;
|
|
876
|
+
pattern: string;
|
|
877
|
+
security_level: string;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
export interface CreateTraining_req {
|
|
881
|
+
standard: string;
|
|
882
|
+
trainingType: string;
|
|
883
|
+
userId: string;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
export interface TemplateDefault {
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
export interface JumioProvider {
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
export interface EmailConfig {
|
|
893
|
+
code_expiry_minutes: number;
|
|
894
|
+
code_length: number;
|
|
895
|
+
enabled: boolean;
|
|
896
|
+
provider: string;
|
|
897
|
+
rate_limit: RateLimitConfig | undefined;
|
|
898
|
+
template_id: string;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
export interface AddCustomPermission_req {
|
|
902
|
+
category: string;
|
|
903
|
+
description: string;
|
|
904
|
+
name: string;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
export interface Email {
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
export interface UpdatePasskeyResponse {
|
|
911
|
+
updatedAt: string;
|
|
912
|
+
name: string;
|
|
913
|
+
passkeyId: string;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
export interface RateLimitConfig {
|
|
917
|
+
redisDb: number;
|
|
918
|
+
redisPassword: string;
|
|
919
|
+
signinPerIp: RateLimitRule;
|
|
920
|
+
signinPerUser: RateLimitRule;
|
|
921
|
+
signupPerIp: RateLimitRule;
|
|
922
|
+
useRedis: boolean;
|
|
923
|
+
enabled: boolean;
|
|
924
|
+
redisAddr: string;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
export interface GenerateRecoveryCodesResponse {
|
|
928
|
+
warning: string;
|
|
929
|
+
codes: string[];
|
|
930
|
+
count: number;
|
|
931
|
+
generatedAt: string;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
export interface VerifySecurityAnswersRequest {
|
|
935
|
+
answers: any;
|
|
936
|
+
sessionId: string;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
export interface JWKSService {
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
export interface BackupCodeFactorAdapter {
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
export interface OIDCState {
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
export interface StartImpersonation_reqBody {
|
|
949
|
+
duration_minutes?: number;
|
|
950
|
+
reason: string;
|
|
951
|
+
target_user_id: string;
|
|
952
|
+
ticket_number?: string;
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
export interface DefaultProviderRegistry {
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
export interface ConsentRecord {
|
|
959
|
+
createdAt: string;
|
|
960
|
+
metadata: Record<string, any>;
|
|
961
|
+
purpose: string;
|
|
962
|
+
revokedAt: string | undefined;
|
|
963
|
+
consentType: string;
|
|
964
|
+
expiresAt: string | undefined;
|
|
965
|
+
granted: boolean;
|
|
966
|
+
id: string;
|
|
967
|
+
updatedAt: string;
|
|
968
|
+
userAgent: string;
|
|
969
|
+
userId: string;
|
|
970
|
+
ipAddress: string;
|
|
971
|
+
organizationId: string;
|
|
972
|
+
version: string;
|
|
973
|
+
grantedAt: string;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
export interface VideoVerificationConfig {
|
|
977
|
+
enabled: boolean;
|
|
978
|
+
minScheduleAdvance: any;
|
|
979
|
+
recordSessions: boolean;
|
|
980
|
+
recordingRetention: any;
|
|
981
|
+
requireLivenessCheck: boolean;
|
|
982
|
+
sessionDuration: any;
|
|
983
|
+
livenessThreshold: number;
|
|
984
|
+
provider: string;
|
|
985
|
+
requireAdminReview: boolean;
|
|
986
|
+
requireScheduling: boolean;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
export interface ClientsListResponse {
|
|
990
|
+
clients: ClientSummary[];
|
|
991
|
+
page: number;
|
|
992
|
+
pageSize: number;
|
|
993
|
+
total: number;
|
|
994
|
+
totalPages: number;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
export interface TokenIntrospectionRequest {
|
|
998
|
+
client_secret: string;
|
|
999
|
+
token: string;
|
|
1000
|
+
token_type_hint: string;
|
|
1001
|
+
client_id: string;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
export interface stateEntry {
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
export interface TimeBasedRule {
|
|
1008
|
+
description: string;
|
|
1009
|
+
max_age: any;
|
|
1010
|
+
operation: string;
|
|
1011
|
+
org_id: string;
|
|
1012
|
+
security_level: string;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
export interface ComplianceTemplateResponse {
|
|
1016
|
+
standard: string;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
export interface ImpersonationStartResponse {
|
|
1020
|
+
impersonator_id: string;
|
|
1021
|
+
session_id: string;
|
|
1022
|
+
started_at: string;
|
|
1023
|
+
target_user_id: string;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
export interface StepUpPolicy {
|
|
1027
|
+
priority: number;
|
|
1028
|
+
user_id: string;
|
|
1029
|
+
description: string;
|
|
1030
|
+
enabled: boolean;
|
|
1031
|
+
id: string;
|
|
1032
|
+
rules: any;
|
|
1033
|
+
updated_at: string;
|
|
1034
|
+
created_at: string;
|
|
1035
|
+
metadata: any;
|
|
1036
|
+
name: string;
|
|
1037
|
+
org_id: string;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
export interface ComplianceChecksResponse {
|
|
1041
|
+
checks: any[];
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
export interface WebhookConfig {
|
|
1045
|
+
notify_on_expiring: boolean;
|
|
1046
|
+
notify_on_rate_limit: boolean;
|
|
1047
|
+
notify_on_rotated: boolean;
|
|
1048
|
+
webhook_urls: string[];
|
|
1049
|
+
enabled: boolean;
|
|
1050
|
+
expiry_warning_days: number;
|
|
1051
|
+
notify_on_created: boolean;
|
|
1052
|
+
notify_on_deleted: boolean;
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
export interface NoOpSMSProvider {
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
export interface CreateSessionRequest {
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
export interface StatsResponse {
|
|
1062
|
+
banned_users: number;
|
|
1063
|
+
timestamp: string;
|
|
1064
|
+
total_sessions: number;
|
|
1065
|
+
total_users: number;
|
|
1066
|
+
active_sessions: number;
|
|
1067
|
+
active_users: number;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
export interface MemoryStateStore {
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
export interface RedisChallengeStore {
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
export interface Session {
|
|
1077
|
+
id: string;
|
|
1078
|
+
userId: string;
|
|
1079
|
+
token: string;
|
|
1080
|
+
expiresAt: string;
|
|
1081
|
+
ipAddress?: string;
|
|
1082
|
+
userAgent?: string;
|
|
1083
|
+
createdAt: string;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
export interface TrustDeviceRequest {
|
|
1087
|
+
deviceId: string;
|
|
1088
|
+
metadata: any;
|
|
1089
|
+
name: string;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
export interface AppServiceAdapter {
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
export interface ListProfilesFilter {
|
|
1096
|
+
appId: string | undefined;
|
|
1097
|
+
standard: string | undefined;
|
|
1098
|
+
status: string | undefined;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
export interface mockImpersonationRepository {
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
export interface ImpersonationSession {
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
export interface SuccessResponse {
|
|
1108
|
+
success: boolean;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
export interface BackupAuthStatusResponse {
|
|
1112
|
+
status: string;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
export interface StateStore {
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
export interface DataProcessingAgreement {
|
|
1119
|
+
id: string;
|
|
1120
|
+
organizationId: string;
|
|
1121
|
+
signedByName: string;
|
|
1122
|
+
signedByTitle: string;
|
|
1123
|
+
createdAt: string;
|
|
1124
|
+
digitalSignature: string;
|
|
1125
|
+
effectiveDate: string;
|
|
1126
|
+
expiryDate: string | undefined;
|
|
1127
|
+
ipAddress: string;
|
|
1128
|
+
status: string;
|
|
1129
|
+
updatedAt: string;
|
|
1130
|
+
content: string;
|
|
1131
|
+
signedBy: string;
|
|
1132
|
+
version: string;
|
|
1133
|
+
agreementType: string;
|
|
1134
|
+
metadata: Record<string, any>;
|
|
1135
|
+
signedByEmail: string;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
export interface AMLMatch {
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
export interface AuthorizeRequest {
|
|
1142
|
+
acr_values: string;
|
|
1143
|
+
code_challenge: string;
|
|
1144
|
+
code_challenge_method: string;
|
|
1145
|
+
max_age: number | undefined;
|
|
1146
|
+
prompt: string;
|
|
1147
|
+
scope: string;
|
|
1148
|
+
state: string;
|
|
1149
|
+
client_id: string;
|
|
1150
|
+
id_token_hint: string;
|
|
1151
|
+
login_hint: string;
|
|
1152
|
+
nonce: string;
|
|
1153
|
+
redirect_uri: string;
|
|
1154
|
+
response_type: string;
|
|
1155
|
+
ui_locales: string;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
export interface CallbackResult {
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
export interface ComplianceReportResponse {
|
|
1162
|
+
id: string;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
export interface UpdatePolicyRequest {
|
|
1166
|
+
description: string;
|
|
1167
|
+
metadata: any;
|
|
1168
|
+
name: string;
|
|
1169
|
+
renewable: boolean | undefined;
|
|
1170
|
+
required: boolean | undefined;
|
|
1171
|
+
validityPeriod: number | undefined;
|
|
1172
|
+
active: boolean | undefined;
|
|
1173
|
+
content: string;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
export interface SetUserRole_reqBody {
|
|
1177
|
+
role: string;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
export interface SMSConfig {
|
|
1181
|
+
code_expiry_minutes: number;
|
|
1182
|
+
code_length: number;
|
|
1183
|
+
enabled: boolean;
|
|
1184
|
+
provider: string;
|
|
1185
|
+
rate_limit: RateLimitConfig | undefined;
|
|
1186
|
+
template_id: string;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
export interface TwoFAStatusResponse {
|
|
1190
|
+
trusted: boolean;
|
|
1191
|
+
enabled: boolean;
|
|
1192
|
+
method: string;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
export interface ComplianceEvidence {
|
|
1196
|
+
appId: string;
|
|
1197
|
+
controlId: string;
|
|
1198
|
+
createdAt: string;
|
|
1199
|
+
description: string;
|
|
1200
|
+
evidenceType: string;
|
|
1201
|
+
fileHash: string;
|
|
1202
|
+
profileId: string;
|
|
1203
|
+
title: string;
|
|
1204
|
+
collectedBy: string;
|
|
1205
|
+
fileUrl: string;
|
|
1206
|
+
id: string;
|
|
1207
|
+
metadata: any;
|
|
1208
|
+
standard: string;
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
export interface ComplianceStatusResponse {
|
|
1212
|
+
status: string;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
export interface MockAuditService {
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
export interface VerifyRecoveryCodeResponse {
|
|
1219
|
+
message: string;
|
|
1220
|
+
remainingCodes: number;
|
|
1221
|
+
valid: boolean;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
export interface CookieConsent {
|
|
1225
|
+
userId: string;
|
|
1226
|
+
expiresAt: string;
|
|
1227
|
+
id: string;
|
|
1228
|
+
organizationId: string;
|
|
1229
|
+
personalization: boolean;
|
|
1230
|
+
sessionId: string;
|
|
1231
|
+
thirdParty: boolean;
|
|
1232
|
+
consentBannerVersion: string;
|
|
1233
|
+
createdAt: string;
|
|
1234
|
+
functional: boolean;
|
|
1235
|
+
ipAddress: string;
|
|
1236
|
+
marketing: boolean;
|
|
1237
|
+
analytics: boolean;
|
|
1238
|
+
updatedAt: string;
|
|
1239
|
+
essential: boolean;
|
|
1240
|
+
userAgent: string;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
export interface InvitationResponse {
|
|
1244
|
+
invitation: any | undefined;
|
|
1245
|
+
message: string;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
export interface AdminAddProviderRequest {
|
|
1249
|
+
clientId: string;
|
|
1250
|
+
clientSecret: string;
|
|
1251
|
+
enabled: boolean;
|
|
1252
|
+
provider: string;
|
|
1253
|
+
scopes: string[];
|
|
1254
|
+
appId: string;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
export interface StatusResponse {
|
|
1258
|
+
status: string;
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
export interface ImpersonateUserRequest {
|
|
1262
|
+
duration: any;
|
|
1263
|
+
user_id: string;
|
|
1264
|
+
user_organization_id: string | undefined;
|
|
1265
|
+
app_id: string;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
export interface EmailFactorAdapter {
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
export interface TestProvider_req {
|
|
1272
|
+
config: any;
|
|
1273
|
+
providerName: string;
|
|
1274
|
+
providerType: string;
|
|
1275
|
+
testRecipient: string;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
export interface BackupAuthContactResponse {
|
|
1279
|
+
id: string;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
export interface UserVerificationStatusResponse {
|
|
1283
|
+
status: any | undefined;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
export interface mockProvider {
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
export interface SAMLLoginRequest {
|
|
1290
|
+
relayState: string;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
export interface CreateTrainingRequest {
|
|
1294
|
+
standard: string;
|
|
1295
|
+
trainingType: string;
|
|
1296
|
+
userId: string;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
export interface ConsentRecordResponse {
|
|
1300
|
+
id: string;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
export interface GetChallengeStatusRequest {
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
export interface ListViolationsFilter {
|
|
1307
|
+
userId: string | undefined;
|
|
1308
|
+
violationType: string | undefined;
|
|
1309
|
+
appId: string | undefined;
|
|
1310
|
+
profileId: string | undefined;
|
|
1311
|
+
severity: string | undefined;
|
|
1312
|
+
status: string | undefined;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
export interface Adapter {
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
export interface StartRecoveryRequest {
|
|
1319
|
+
preferredMethod: string;
|
|
1320
|
+
userId: string;
|
|
1321
|
+
deviceId: string;
|
|
1322
|
+
email: string;
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
export interface ConsentExportFileResponse {
|
|
1326
|
+
content_type: string;
|
|
1327
|
+
data: number[];
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
export interface ListSessionsResponse {
|
|
1331
|
+
limit: number;
|
|
1332
|
+
page: number;
|
|
1333
|
+
sessions: any | undefined[];
|
|
1334
|
+
total: number;
|
|
1335
|
+
total_pages: number;
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
export interface ListFactorsResponse {
|
|
1339
|
+
count: number;
|
|
1340
|
+
factors: Factor[];
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
export interface ConsentDeletionResponse {
|
|
1344
|
+
id: string;
|
|
1345
|
+
status: string;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
export interface MembersResponse {
|
|
1349
|
+
members: any | undefined[];
|
|
1350
|
+
total: number;
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
export interface Webhook {
|
|
1354
|
+
id: string;
|
|
1355
|
+
organizationId: string;
|
|
1356
|
+
url: string;
|
|
1357
|
+
events: string[];
|
|
1358
|
+
secret: string;
|
|
1359
|
+
enabled: boolean;
|
|
1360
|
+
createdAt: string;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
export interface StartVideoSessionResponse {
|
|
1364
|
+
expiresAt: string;
|
|
1365
|
+
message: string;
|
|
1366
|
+
sessionUrl: string;
|
|
1367
|
+
startedAt: string;
|
|
1368
|
+
videoSessionId: string;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
export interface KeyStore {
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
export interface LimitResult {
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
export interface DevicesResponse {
|
|
1378
|
+
count: number;
|
|
1379
|
+
devices: any;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
export interface AdminPolicyRequest {
|
|
1383
|
+
allowedTypes: string[];
|
|
1384
|
+
enabled: boolean;
|
|
1385
|
+
gracePeriod: number;
|
|
1386
|
+
requiredFactors: number;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
export interface SetupSecurityQuestionsResponse {
|
|
1390
|
+
count: number;
|
|
1391
|
+
message: string;
|
|
1392
|
+
setupAt: string;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
export interface VerifyCodeRequest {
|
|
1396
|
+
code: string;
|
|
1397
|
+
sessionId: string;
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
export interface ConsentReportResponse {
|
|
1401
|
+
id: string;
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
export interface ProviderListResponse {
|
|
1405
|
+
providers: ProviderInfo[];
|
|
1406
|
+
total: number;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
export interface AssignRole_reqBody {
|
|
1410
|
+
roleID: string;
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
export interface BackupAuthStatsResponse {
|
|
1414
|
+
stats: any;
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
export interface RecoveryCodeUsage {
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
export interface ApproveRecoveryRequest {
|
|
1421
|
+
sessionId: string;
|
|
1422
|
+
notes: string;
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
export interface TOTPSecret {
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
export interface ReportsConfig {
|
|
1429
|
+
includeEvidence: boolean;
|
|
1430
|
+
retentionDays: number;
|
|
1431
|
+
schedule: string;
|
|
1432
|
+
storagePath: string;
|
|
1433
|
+
enabled: boolean;
|
|
1434
|
+
formats: string[];
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
export interface ComplianceViolation {
|
|
1438
|
+
userId: string;
|
|
1439
|
+
metadata: any;
|
|
1440
|
+
profileId: string;
|
|
1441
|
+
resolvedBy: string;
|
|
1442
|
+
violationType: string;
|
|
1443
|
+
appId: string;
|
|
1444
|
+
createdAt: string;
|
|
1445
|
+
description: string;
|
|
1446
|
+
id: string;
|
|
1447
|
+
resolvedAt: string | undefined;
|
|
1448
|
+
severity: string;
|
|
1449
|
+
status: string;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
export interface ListEvidenceFilter {
|
|
1453
|
+
controlId: string | undefined;
|
|
1454
|
+
evidenceType: string | undefined;
|
|
1455
|
+
profileId: string | undefined;
|
|
1456
|
+
standard: string | undefined;
|
|
1457
|
+
appId: string | undefined;
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
export interface RiskAssessmentConfig {
|
|
1461
|
+
mediumRiskThreshold: number;
|
|
1462
|
+
newIpWeight: number;
|
|
1463
|
+
velocityWeight: number;
|
|
1464
|
+
blockHighRisk: boolean;
|
|
1465
|
+
highRiskThreshold: number;
|
|
1466
|
+
lowRiskThreshold: number;
|
|
1467
|
+
newDeviceWeight: number;
|
|
1468
|
+
newLocationWeight: number;
|
|
1469
|
+
requireReviewAbove: number;
|
|
1470
|
+
enabled: boolean;
|
|
1471
|
+
historyWeight: number;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
export interface MetadataResponse {
|
|
1475
|
+
metadata: string;
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
export interface CreateEvidenceRequest {
|
|
1479
|
+
title: string;
|
|
1480
|
+
controlId: string;
|
|
1481
|
+
description: string;
|
|
1482
|
+
evidenceType: string;
|
|
1483
|
+
fileUrl: string;
|
|
1484
|
+
standard: string;
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
export interface ComplianceTemplate {
|
|
1488
|
+
auditFrequencyDays: number;
|
|
1489
|
+
dataResidency: string;
|
|
1490
|
+
description: string;
|
|
1491
|
+
mfaRequired: boolean;
|
|
1492
|
+
name: string;
|
|
1493
|
+
passwordMinLength: number;
|
|
1494
|
+
requiredPolicies: string[];
|
|
1495
|
+
requiredTraining: string[];
|
|
1496
|
+
retentionDays: number;
|
|
1497
|
+
sessionMaxAge: number;
|
|
1498
|
+
standard: string;
|
|
1499
|
+
}
|
|
1500
|
+
|
|
1501
|
+
export interface mockUserService {
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
export interface TokenRevocationRequest {
|
|
1505
|
+
client_secret: string;
|
|
1506
|
+
token: string;
|
|
1507
|
+
token_type_hint: string;
|
|
1508
|
+
client_id: string;
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
export interface LinkResponse {
|
|
1512
|
+
message: string;
|
|
1513
|
+
user: any;
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
export interface ListChecksFilter {
|
|
1517
|
+
sinceBefore: string | undefined;
|
|
1518
|
+
status: string | undefined;
|
|
1519
|
+
appId: string | undefined;
|
|
1520
|
+
checkType: string | undefined;
|
|
1521
|
+
profileId: string | undefined;
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
export interface ComplianceReportsResponse {
|
|
1525
|
+
reports: any[];
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
export interface NotificationResponse {
|
|
1529
|
+
notification: any;
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
export interface NoOpNotificationProvider {
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
export interface RecoveryConfiguration {
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
export interface DataExportRequest {
|
|
1539
|
+
exportSize: number;
|
|
1540
|
+
format: string;
|
|
1541
|
+
includeSections: string[];
|
|
1542
|
+
updatedAt: string;
|
|
1543
|
+
errorMessage: string;
|
|
1544
|
+
exportUrl: string;
|
|
1545
|
+
id: string;
|
|
1546
|
+
createdAt: string;
|
|
1547
|
+
expiresAt: string | undefined;
|
|
1548
|
+
ipAddress: string;
|
|
1549
|
+
userId: string;
|
|
1550
|
+
completedAt: string | undefined;
|
|
1551
|
+
exportPath: string;
|
|
1552
|
+
organizationId: string;
|
|
1553
|
+
status: string;
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
export interface StripeIdentityConfig {
|
|
1557
|
+
webhookSecret: string;
|
|
1558
|
+
allowedTypes: string[];
|
|
1559
|
+
apiKey: string;
|
|
1560
|
+
enabled: boolean;
|
|
1561
|
+
requireLiveCapture: boolean;
|
|
1562
|
+
requireMatchingSelfie: boolean;
|
|
1563
|
+
returnUrl: string;
|
|
1564
|
+
useMock: boolean;
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
export interface JWTService {
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
export interface MockStateStore {
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
export interface GetDocumentVerificationRequest {
|
|
1574
|
+
documentId: string;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
export interface VerificationResponse {
|
|
1578
|
+
verification: any | undefined;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
export interface ListUsersRequest {
|
|
1582
|
+
page: number;
|
|
1583
|
+
role: string;
|
|
1584
|
+
search: string;
|
|
1585
|
+
status: string;
|
|
1586
|
+
user_organization_id: string | undefined;
|
|
1587
|
+
app_id: string;
|
|
1588
|
+
limit: number;
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
export interface MFAConfigResponse {
|
|
1592
|
+
allowed_factor_types: string[];
|
|
1593
|
+
enabled: boolean;
|
|
1594
|
+
required_factor_count: number;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
export interface SetActive_body {
|
|
1598
|
+
id: string;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
export interface ResolveViolationRequest {
|
|
1602
|
+
notes: string;
|
|
1603
|
+
resolution: string;
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1606
|
+
export interface BunRepository {
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
export interface ListFactorsRequest {
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
export interface EvaluationContext {
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
export interface StartRecoveryResponse {
|
|
1616
|
+
riskScore: number;
|
|
1617
|
+
sessionId: string;
|
|
1618
|
+
status: string;
|
|
1619
|
+
availableMethods: string[];
|
|
1620
|
+
completedSteps: number;
|
|
1621
|
+
expiresAt: string;
|
|
1622
|
+
requiredSteps: number;
|
|
1623
|
+
requiresReview: boolean;
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
export interface ConsentTypeStatus {
|
|
1627
|
+
granted: boolean;
|
|
1628
|
+
grantedAt: string;
|
|
1629
|
+
needsRenewal: boolean;
|
|
1630
|
+
type: string;
|
|
1631
|
+
version: string;
|
|
1632
|
+
expiresAt: string | undefined;
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
export interface AuthURLResponse {
|
|
1636
|
+
url: string;
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
export interface MockEmailService {
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
export interface VerifyTrustedContactRequest {
|
|
1643
|
+
token: string;
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
export interface UserInfoResponse {
|
|
1647
|
+
birthdate: string;
|
|
1648
|
+
email_verified: boolean;
|
|
1649
|
+
family_name: string;
|
|
1650
|
+
locale: string;
|
|
1651
|
+
nickname: string;
|
|
1652
|
+
given_name: string;
|
|
1653
|
+
name: string;
|
|
1654
|
+
preferred_username: string;
|
|
1655
|
+
email: string;
|
|
1656
|
+
phone_number_verified: boolean;
|
|
1657
|
+
picture: string;
|
|
1658
|
+
website: string;
|
|
1659
|
+
zoneinfo: string;
|
|
1660
|
+
gender: string;
|
|
1661
|
+
middle_name: string;
|
|
1662
|
+
phone_number: string;
|
|
1663
|
+
profile: string;
|
|
1664
|
+
sub: string;
|
|
1665
|
+
updated_at: number;
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
export interface StepUpRequirement {
|
|
1669
|
+
status: string;
|
|
1670
|
+
user_id: string;
|
|
1671
|
+
id: string;
|
|
1672
|
+
required_level: string;
|
|
1673
|
+
rule_name: string;
|
|
1674
|
+
currency: string;
|
|
1675
|
+
fulfilled_at: string | undefined;
|
|
1676
|
+
metadata: any;
|
|
1677
|
+
org_id: string;
|
|
1678
|
+
resource_type: string;
|
|
1679
|
+
route: string;
|
|
1680
|
+
user_agent: string;
|
|
1681
|
+
created_at: string;
|
|
1682
|
+
current_level: string;
|
|
1683
|
+
ip: string;
|
|
1684
|
+
method: string;
|
|
1685
|
+
reason: string;
|
|
1686
|
+
session_id: string;
|
|
1687
|
+
amount: number;
|
|
1688
|
+
challenge_token: string;
|
|
1689
|
+
expires_at: string;
|
|
1690
|
+
resource_action: string;
|
|
1691
|
+
risk_score: number;
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
export interface TwoFAStatusDetailResponse {
|
|
1695
|
+
enabled: boolean;
|
|
1696
|
+
method: string;
|
|
1697
|
+
trusted: boolean;
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
export interface AuditEvent {
|
|
1701
|
+
}
|
|
1702
|
+
|
|
1703
|
+
export interface ListPasskeysResponse {
|
|
1704
|
+
count: number;
|
|
1705
|
+
passkeys: PasskeyInfo[];
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
export interface NotificationErrorResponse {
|
|
1709
|
+
error: string;
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
export interface IDVerificationSessionResponse {
|
|
1713
|
+
session: any;
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
export interface KeyPair {
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
export interface ClientUpdateRequest {
|
|
1720
|
+
grant_types: string[];
|
|
1721
|
+
logo_uri: string;
|
|
1722
|
+
name: string;
|
|
1723
|
+
require_consent: boolean | undefined;
|
|
1724
|
+
response_types: string[];
|
|
1725
|
+
tos_uri: string;
|
|
1726
|
+
contacts: string[];
|
|
1727
|
+
policy_uri: string;
|
|
1728
|
+
post_logout_redirect_uris: string[];
|
|
1729
|
+
redirect_uris: string[];
|
|
1730
|
+
require_pkce: boolean | undefined;
|
|
1731
|
+
token_endpoint_auth_method: string;
|
|
1732
|
+
trusted_client: boolean | undefined;
|
|
1733
|
+
allowed_scopes: string[];
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
export interface VerifyRequest {
|
|
1737
|
+
code: string;
|
|
1738
|
+
email: string;
|
|
1739
|
+
phone: string;
|
|
1740
|
+
remember: boolean;
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
export interface AdminUpdateProviderRequest {
|
|
1744
|
+
scopes: string[];
|
|
1745
|
+
clientId: string | undefined;
|
|
1746
|
+
clientSecret: string | undefined;
|
|
1747
|
+
enabled: boolean | undefined;
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
export interface Status {
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
export interface SaveNotificationSettings_req {
|
|
1754
|
+
retryAttempts: number;
|
|
1755
|
+
retryDelay: string;
|
|
1756
|
+
autoSendWelcome: boolean;
|
|
1757
|
+
cleanupAfter: string;
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
export interface ErrorResponse {
|
|
1761
|
+
code: string;
|
|
1762
|
+
details: any;
|
|
1763
|
+
error: string;
|
|
1764
|
+
message: string;
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
export interface MockUserService {
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
export interface CreateEvidence_req {
|
|
1771
|
+
controlId: string;
|
|
1772
|
+
description: string;
|
|
1773
|
+
evidenceType: string;
|
|
1774
|
+
fileUrl: string;
|
|
1775
|
+
standard: string;
|
|
1776
|
+
title: string;
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
export interface ComplianceViolationResponse {
|
|
1780
|
+
id: string;
|
|
1781
|
+
}
|
|
1782
|
+
|
|
1783
|
+
export interface AccountLockoutError {
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
export interface PrivacySettings {
|
|
1787
|
+
allowDataPortability: boolean;
|
|
1788
|
+
gdprMode: boolean;
|
|
1789
|
+
organizationId: string;
|
|
1790
|
+
updatedAt: string;
|
|
1791
|
+
anonymousConsentEnabled: boolean;
|
|
1792
|
+
dpoEmail: string;
|
|
1793
|
+
autoDeleteAfterDays: number;
|
|
1794
|
+
consentRequired: boolean;
|
|
1795
|
+
contactEmail: string;
|
|
1796
|
+
contactPhone: string;
|
|
1797
|
+
cookieConsentEnabled: boolean;
|
|
1798
|
+
cookieConsentStyle: string;
|
|
1799
|
+
dataExportExpiryHours: number;
|
|
1800
|
+
dataRetentionDays: number;
|
|
1801
|
+
ccpaMode: boolean;
|
|
1802
|
+
createdAt: string;
|
|
1803
|
+
deletionGracePeriodDays: number;
|
|
1804
|
+
exportFormat: string[];
|
|
1805
|
+
id: string;
|
|
1806
|
+
metadata: Record<string, any>;
|
|
1807
|
+
requireAdminApprovalForDeletion: boolean;
|
|
1808
|
+
requireExplicitConsent: boolean;
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
export interface RequestReverification_req {
|
|
1812
|
+
reason: string;
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
export interface StepUpDevicesResponse {
|
|
1816
|
+
count: number;
|
|
1817
|
+
devices: any;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
export interface StepUpAuditLogsResponse {
|
|
1821
|
+
audit_logs: any[];
|
|
1822
|
+
}
|
|
1823
|
+
|
|
1824
|
+
export interface GenerateBackupCodes_body {
|
|
1825
|
+
count: number;
|
|
1826
|
+
user_id: string;
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
export interface BackupAuthRecoveryResponse {
|
|
1830
|
+
session_id: string;
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
export interface ConsentStatusResponse {
|
|
1834
|
+
status: string;
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
export interface VerificationSessionResponse {
|
|
1838
|
+
session: any | undefined;
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
export interface TrustedDevicesConfig {
|
|
1842
|
+
max_devices_per_user: number;
|
|
1843
|
+
max_expiry_days: number;
|
|
1844
|
+
default_expiry_days: number;
|
|
1845
|
+
enabled: boolean;
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
export interface SMSFactorAdapter {
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
export interface SessionTokenResponse {
|
|
1852
|
+
session: any;
|
|
1853
|
+
token: string;
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
export interface RequestTrustedContactVerificationRequest {
|
|
1857
|
+
contactId: string;
|
|
1858
|
+
sessionId: string;
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
export interface ProviderSession {
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
export interface JWKS {
|
|
1865
|
+
keys: JWK[];
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
export interface VerifyFactor_req {
|
|
1869
|
+
code: string;
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1872
|
+
export interface RetentionConfig {
|
|
1873
|
+
archiveBeforePurge: boolean;
|
|
1874
|
+
archivePath: string;
|
|
1875
|
+
enabled: boolean;
|
|
1876
|
+
gracePeriodDays: number;
|
|
1877
|
+
purgeSchedule: string;
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
export interface RunCheck_req {
|
|
1881
|
+
checkType: string;
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
export interface ComplianceTemplatesResponse {
|
|
1885
|
+
templates: any[];
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
export interface ComplianceDashboardResponse {
|
|
1889
|
+
metrics: any;
|
|
1890
|
+
}
|
|
1891
|
+
|
|
1892
|
+
export interface AccountLockedResponse {
|
|
1893
|
+
message: string;
|
|
1894
|
+
code: string;
|
|
1895
|
+
locked_minutes: number;
|
|
1896
|
+
locked_until: string;
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
export interface ConsentStats {
|
|
1900
|
+
expiredCount: number;
|
|
1901
|
+
grantRate: number;
|
|
1902
|
+
grantedCount: number;
|
|
1903
|
+
revokedCount: number;
|
|
1904
|
+
totalConsents: number;
|
|
1905
|
+
type: string;
|
|
1906
|
+
averageLifetime: number;
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
export interface RateLimiter {
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
export interface GetRecoveryStatsRequest {
|
|
1913
|
+
endDate: string;
|
|
1914
|
+
organizationId: string;
|
|
1915
|
+
startDate: string;
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
export interface DashboardConfig {
|
|
1919
|
+
enabled: boolean;
|
|
1920
|
+
path: string;
|
|
1921
|
+
showRecentChecks: boolean;
|
|
1922
|
+
showReports: boolean;
|
|
1923
|
+
showScore: boolean;
|
|
1924
|
+
showViolations: boolean;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
export interface ChallengeRequest {
|
|
1928
|
+
context: string;
|
|
1929
|
+
factorTypes: string[];
|
|
1930
|
+
metadata: any;
|
|
1931
|
+
userId: string;
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
export interface ProviderInfo {
|
|
1935
|
+
providerId: string;
|
|
1936
|
+
type: string;
|
|
1937
|
+
createdAt: string;
|
|
1938
|
+
domain: string;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
export interface ResourceRule {
|
|
1942
|
+
security_level: string;
|
|
1943
|
+
sensitivity: string;
|
|
1944
|
+
action: string;
|
|
1945
|
+
description: string;
|
|
1946
|
+
org_id: string;
|
|
1947
|
+
resource_type: string;
|
|
1948
|
+
}
|
|
1949
|
+
|
|
1950
|
+
export interface SignInResponse {
|
|
1951
|
+
token: string;
|
|
1952
|
+
user: any | undefined;
|
|
1953
|
+
session: any | undefined;
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
export interface ContinueRecoveryResponse {
|
|
1957
|
+
data: any;
|
|
1958
|
+
expiresAt: string;
|
|
1959
|
+
instructions: string;
|
|
1960
|
+
method: string;
|
|
1961
|
+
sessionId: string;
|
|
1962
|
+
totalSteps: number;
|
|
1963
|
+
currentStep: number;
|
|
1964
|
+
}
|
|
1965
|
+
|
|
1966
|
+
export interface PrivacySettingsRequest {
|
|
1967
|
+
anonymousConsentEnabled: boolean | undefined;
|
|
1968
|
+
ccpaMode: boolean | undefined;
|
|
1969
|
+
contactEmail: string;
|
|
1970
|
+
dpoEmail: string;
|
|
1971
|
+
gdprMode: boolean | undefined;
|
|
1972
|
+
requireExplicitConsent: boolean | undefined;
|
|
1973
|
+
deletionGracePeriodDays: number | undefined;
|
|
1974
|
+
autoDeleteAfterDays: number | undefined;
|
|
1975
|
+
consentRequired: boolean | undefined;
|
|
1976
|
+
contactPhone: string;
|
|
1977
|
+
cookieConsentEnabled: boolean | undefined;
|
|
1978
|
+
dataRetentionDays: number | undefined;
|
|
1979
|
+
allowDataPortability: boolean | undefined;
|
|
1980
|
+
cookieConsentStyle: string;
|
|
1981
|
+
dataExportExpiryHours: number | undefined;
|
|
1982
|
+
exportFormat: string[];
|
|
1983
|
+
requireAdminApprovalForDeletion: boolean | undefined;
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1986
|
+
export interface ConsentRequest {
|
|
1987
|
+
redirect_uri: string;
|
|
1988
|
+
response_type: string;
|
|
1989
|
+
scope: string;
|
|
1990
|
+
state: string;
|
|
1991
|
+
action: string;
|
|
1992
|
+
client_id: string;
|
|
1993
|
+
code_challenge: string;
|
|
1994
|
+
code_challenge_method: string;
|
|
1995
|
+
}
|
|
1996
|
+
|
|
1997
|
+
export interface ListUsersResponse {
|
|
1998
|
+
limit: number;
|
|
1999
|
+
page: number;
|
|
2000
|
+
total: number;
|
|
2001
|
+
total_pages: number;
|
|
2002
|
+
users: any | undefined[];
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
export interface BaseFactorAdapter {
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
export interface ComplianceViolationsResponse {
|
|
2009
|
+
violations: any[];
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
export interface NotificationTemplateListResponse {
|
|
2013
|
+
templates: any[];
|
|
2014
|
+
total: number;
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
export interface VideoSessionInfo {
|
|
2018
|
+
}
|
|
2019
|
+
|
|
2020
|
+
export interface MultiStepRecoveryConfig {
|
|
2021
|
+
allowStepSkip: boolean;
|
|
2022
|
+
allowUserChoice: boolean;
|
|
2023
|
+
highRiskSteps: string[];
|
|
2024
|
+
mediumRiskSteps: string[];
|
|
2025
|
+
sessionExpiry: any;
|
|
2026
|
+
enabled: boolean;
|
|
2027
|
+
lowRiskSteps: string[];
|
|
2028
|
+
minimumSteps: number;
|
|
2029
|
+
requireAdminApproval: boolean;
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
export interface DiscoveryResponse {
|
|
2033
|
+
revocation_endpoint_auth_methods_supported: string[];
|
|
2034
|
+
scopes_supported: string[];
|
|
2035
|
+
userinfo_endpoint: string;
|
|
2036
|
+
authorization_endpoint: string;
|
|
2037
|
+
claims_parameter_supported: boolean;
|
|
2038
|
+
introspection_endpoint_auth_methods_supported: string[];
|
|
2039
|
+
request_uri_parameter_supported: boolean;
|
|
2040
|
+
response_modes_supported: string[];
|
|
2041
|
+
subject_types_supported: string[];
|
|
2042
|
+
token_endpoint: string;
|
|
2043
|
+
code_challenge_methods_supported: string[];
|
|
2044
|
+
id_token_signing_alg_values_supported: string[];
|
|
2045
|
+
jwks_uri: string;
|
|
2046
|
+
registration_endpoint: string;
|
|
2047
|
+
request_parameter_supported: boolean;
|
|
2048
|
+
require_request_uri_registration: boolean;
|
|
2049
|
+
revocation_endpoint: string;
|
|
2050
|
+
introspection_endpoint: string;
|
|
2051
|
+
issuer: string;
|
|
2052
|
+
token_endpoint_auth_methods_supported: string[];
|
|
2053
|
+
claims_supported: string[];
|
|
2054
|
+
grant_types_supported: string[];
|
|
2055
|
+
response_types_supported: string[];
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
export interface PhoneVerifyResponse {
|
|
2059
|
+
session: any | undefined;
|
|
2060
|
+
token: string;
|
|
2061
|
+
user: any | undefined;
|
|
2062
|
+
}
|
|
2063
|
+
|
|
2064
|
+
export interface auditServiceAdapter {
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
export interface ProvidersConfig {
|
|
2068
|
+
sms: SMSProviderConfig | undefined;
|
|
2069
|
+
email: EmailProviderConfig;
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
export interface ClientDetailsResponse {
|
|
2073
|
+
applicationType: string;
|
|
2074
|
+
requireConsent: boolean;
|
|
2075
|
+
responseTypes: string[];
|
|
2076
|
+
tosURI: string;
|
|
2077
|
+
updatedAt: string;
|
|
2078
|
+
grantTypes: string[];
|
|
2079
|
+
isOrgLevel: boolean;
|
|
2080
|
+
postLogoutRedirectURIs: string[];
|
|
2081
|
+
redirectURIs: string[];
|
|
2082
|
+
requirePKCE: boolean;
|
|
2083
|
+
tokenEndpointAuthMethod: string;
|
|
2084
|
+
createdAt: string;
|
|
2085
|
+
name: string;
|
|
2086
|
+
organizationID: string;
|
|
2087
|
+
trustedClient: boolean;
|
|
2088
|
+
clientID: string;
|
|
2089
|
+
contacts: string[];
|
|
2090
|
+
logoURI: string;
|
|
2091
|
+
policyURI: string;
|
|
2092
|
+
allowedScopes: string[];
|
|
2093
|
+
}
|
|
2094
|
+
|
|
2095
|
+
export interface MockService {
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2098
|
+
export interface App {
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2101
|
+
export interface AutoCleanupConfig {
|
|
2102
|
+
enabled: boolean;
|
|
2103
|
+
interval: any;
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
export interface CreateSessionHTTPRequest {
|
|
2107
|
+
cancelUrl: string;
|
|
2108
|
+
config: any;
|
|
2109
|
+
metadata: any;
|
|
2110
|
+
provider: string;
|
|
2111
|
+
requiredChecks: string[];
|
|
2112
|
+
successUrl: string;
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2115
|
+
export interface JWK {
|
|
2116
|
+
kid: string;
|
|
2117
|
+
kty: string;
|
|
2118
|
+
n: string;
|
|
2119
|
+
use: string;
|
|
2120
|
+
alg: string;
|
|
2121
|
+
e: string;
|
|
2122
|
+
}
|
|
2123
|
+
|
|
2124
|
+
export interface ProviderConfigResponse {
|
|
2125
|
+
provider: string;
|
|
2126
|
+
appId: string;
|
|
2127
|
+
message: string;
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
export interface ProviderRegisteredResponse {
|
|
2131
|
+
providerId: string;
|
|
2132
|
+
status: string;
|
|
2133
|
+
type: string;
|
|
2134
|
+
}
|
|
2135
|
+
|
|
2136
|
+
export interface TwoFAEnableResponse {
|
|
2137
|
+
totp_uri: string;
|
|
2138
|
+
status: string;
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
export interface CreatePolicy_req {
|
|
2142
|
+
content: string;
|
|
2143
|
+
policyType: string;
|
|
2144
|
+
standard: string;
|
|
2145
|
+
title: string;
|
|
2146
|
+
version: string;
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
export interface CreateTemplateVersion_req {
|
|
2150
|
+
changes: string;
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2153
|
+
export interface TestSendTemplate_req {
|
|
2154
|
+
recipient: string;
|
|
2155
|
+
variables: any;
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
export interface SMSVerificationConfig {
|
|
2159
|
+
maxAttempts: number;
|
|
2160
|
+
maxSmsPerDay: number;
|
|
2161
|
+
messageTemplate: string;
|
|
2162
|
+
provider: string;
|
|
2163
|
+
codeExpiry: any;
|
|
2164
|
+
codeLength: number;
|
|
2165
|
+
cooldownPeriod: any;
|
|
2166
|
+
enabled: boolean;
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
|
+
export interface BackupAuthSessionsResponse {
|
|
2170
|
+
sessions: any[];
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
export interface AccessTokenClaims {
|
|
2174
|
+
scope: string;
|
|
2175
|
+
token_type: string;
|
|
2176
|
+
client_id: string;
|
|
2177
|
+
}
|
|
2178
|
+
|
|
2179
|
+
export interface ConsentService {
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2182
|
+
export interface NotificationWebhookResponse {
|
|
2183
|
+
status: string;
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
export interface BackupAuthConfigResponse {
|
|
2187
|
+
config: any;
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
export interface ComplianceCheck {
|
|
2191
|
+
nextCheckAt: string;
|
|
2192
|
+
profileId: string;
|
|
2193
|
+
status: string;
|
|
2194
|
+
checkType: string;
|
|
2195
|
+
evidence: string[];
|
|
2196
|
+
id: string;
|
|
2197
|
+
result: any;
|
|
2198
|
+
appId: string;
|
|
2199
|
+
createdAt: string;
|
|
2200
|
+
lastCheckedAt: string;
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
export interface Device {
|
|
2204
|
+
ipAddress?: string;
|
|
2205
|
+
userAgent?: string;
|
|
2206
|
+
id: string;
|
|
2207
|
+
userId: string;
|
|
2208
|
+
name?: string;
|
|
2209
|
+
type?: string;
|
|
2210
|
+
lastUsedAt: string;
|
|
2211
|
+
}
|
|
2212
|
+
|
|
2213
|
+
export interface RemoveTrustedContactRequest {
|
|
2214
|
+
contactId: string;
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
export interface GetRecoveryConfigResponse {
|
|
2218
|
+
enabledMethods: string[];
|
|
2219
|
+
minimumStepsRequired: number;
|
|
2220
|
+
requireAdminReview: boolean;
|
|
2221
|
+
requireMultipleSteps: boolean;
|
|
2222
|
+
riskScoreThreshold: number;
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2225
|
+
export interface ConsentSummary {
|
|
2226
|
+
totalConsents: number;
|
|
2227
|
+
userId: string;
|
|
2228
|
+
consentsByType: any;
|
|
2229
|
+
hasPendingDeletion: boolean;
|
|
2230
|
+
hasPendingExport: boolean;
|
|
2231
|
+
lastConsentUpdate: string | undefined;
|
|
2232
|
+
pendingRenewals: number;
|
|
2233
|
+
expiredConsents: number;
|
|
2234
|
+
grantedConsents: number;
|
|
2235
|
+
organizationId: string;
|
|
2236
|
+
revokedConsents: number;
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2239
|
+
export interface DataDeletionRequest {
|
|
2240
|
+
approvedAt: string | undefined;
|
|
2241
|
+
exemptionReason: string;
|
|
2242
|
+
requestReason: string;
|
|
2243
|
+
retentionExempt: boolean;
|
|
2244
|
+
status: string;
|
|
2245
|
+
updatedAt: string;
|
|
2246
|
+
approvedBy: string;
|
|
2247
|
+
deleteSections: string[];
|
|
2248
|
+
ipAddress: string;
|
|
2249
|
+
organizationId: string;
|
|
2250
|
+
rejectedAt: string | undefined;
|
|
2251
|
+
archivePath: string;
|
|
2252
|
+
completedAt: string | undefined;
|
|
2253
|
+
createdAt: string;
|
|
2254
|
+
errorMessage: string;
|
|
2255
|
+
id: string;
|
|
2256
|
+
userId: string;
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
export interface RevokeTrustedDeviceRequest {
|
|
2260
|
+
}
|
|
2261
|
+
|
|
2262
|
+
export interface EmailServiceAdapter {
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2265
|
+
export interface UpdateProfileRequest {
|
|
2266
|
+
name: string | undefined;
|
|
2267
|
+
retentionDays: number | undefined;
|
|
2268
|
+
status: string | undefined;
|
|
2269
|
+
mfaRequired: boolean | undefined;
|
|
2270
|
+
}
|
|
2271
|
+
|
|
2272
|
+
export interface DataDeletionConfig {
|
|
2273
|
+
allowPartialDeletion: boolean;
|
|
2274
|
+
archivePath: string;
|
|
2275
|
+
autoProcessAfterGrace: boolean;
|
|
2276
|
+
enabled: boolean;
|
|
2277
|
+
requireAdminApproval: boolean;
|
|
2278
|
+
retentionExemptions: string[];
|
|
2279
|
+
archiveBeforeDeletion: boolean;
|
|
2280
|
+
gracePeriodDays: number;
|
|
2281
|
+
notifyBeforeDeletion: boolean;
|
|
2282
|
+
preserveLegalData: boolean;
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
export interface AppHandler {
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
export interface EvaluationResult {
|
|
2289
|
+
reason: string;
|
|
2290
|
+
requirement_id: string;
|
|
2291
|
+
current_level: string;
|
|
2292
|
+
expires_at: string;
|
|
2293
|
+
required: boolean;
|
|
2294
|
+
security_level: string;
|
|
2295
|
+
allowed_methods: string[];
|
|
2296
|
+
can_remember: boolean;
|
|
2297
|
+
challenge_token: string;
|
|
2298
|
+
grace_period_ends_at: string;
|
|
2299
|
+
matched_rules: string[];
|
|
2300
|
+
metadata: any;
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
export interface RunCheckRequest {
|
|
2304
|
+
checkType: string;
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
export interface CreateDPARequest {
|
|
2308
|
+
agreementType: string;
|
|
2309
|
+
signedByEmail: string;
|
|
2310
|
+
signedByTitle: string;
|
|
2311
|
+
version: string;
|
|
2312
|
+
content: string;
|
|
2313
|
+
effectiveDate: string;
|
|
2314
|
+
expiryDate: string | undefined;
|
|
2315
|
+
metadata: any;
|
|
2316
|
+
signedByName: string;
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
export interface WebAuthnWrapper {
|
|
2320
|
+
}
|
|
2321
|
+
|
|
2322
|
+
export interface ProvidersAppResponse {
|
|
2323
|
+
appId: string;
|
|
2324
|
+
providers: string[];
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
export interface RequirementsResponse {
|
|
2328
|
+
count: number;
|
|
2329
|
+
requirements: any;
|
|
2330
|
+
}
|
|
2331
|
+
|
|
2332
|
+
export interface SendOTP_body {
|
|
2333
|
+
user_id: string;
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
export interface ImpersonationEndResponse {
|
|
2337
|
+
ended_at: string;
|
|
2338
|
+
status: string;
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2341
|
+
export interface SendRequest {
|
|
2342
|
+
email: string;
|
|
2343
|
+
}
|
|
2344
|
+
|
|
2345
|
+
export interface Middleware {
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
export interface AddTrustedContactRequest {
|
|
2349
|
+
phone: string;
|
|
2350
|
+
relationship: string;
|
|
2351
|
+
email: string;
|
|
2352
|
+
name: string;
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
export interface SAMLLoginResponse {
|
|
2356
|
+
providerId: string;
|
|
2357
|
+
redirectUrl: string;
|
|
2358
|
+
requestId: string;
|
|
2359
|
+
}
|
|
2360
|
+
|
|
2361
|
+
export interface GenerateRecoveryCodesRequest {
|
|
2362
|
+
count: number;
|
|
2363
|
+
format: string;
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
export interface Enable_body {
|
|
2367
|
+
method: string;
|
|
2368
|
+
user_id: string;
|
|
2369
|
+
}
|
|
2370
|
+
|
|
2371
|
+
export interface CompliancePolicy {
|
|
2372
|
+
createdAt: string;
|
|
2373
|
+
id: string;
|
|
2374
|
+
title: string;
|
|
2375
|
+
version: string;
|
|
2376
|
+
standard: string;
|
|
2377
|
+
status: string;
|
|
2378
|
+
appId: string;
|
|
2379
|
+
approvedAt: string | undefined;
|
|
2380
|
+
content: string;
|
|
2381
|
+
profileId: string;
|
|
2382
|
+
reviewDate: string;
|
|
2383
|
+
updatedAt: string;
|
|
2384
|
+
policyType: string;
|
|
2385
|
+
approvedBy: string;
|
|
2386
|
+
effectiveDate: string;
|
|
2387
|
+
metadata: any;
|
|
2388
|
+
}
|
|
2389
|
+
|
|
2390
|
+
export interface FinishRegisterRequest {
|
|
2391
|
+
name: string;
|
|
2392
|
+
response: any;
|
|
2393
|
+
userId: string;
|
|
2394
|
+
}
|
|
2395
|
+
|
|
2396
|
+
export interface CreateAPIKey_reqBody {
|
|
2397
|
+
metadata?: any;
|
|
2398
|
+
name: string;
|
|
2399
|
+
permissions?: any;
|
|
2400
|
+
rate_limit?: number;
|
|
2401
|
+
scopes: string[];
|
|
2402
|
+
allowed_ips?: string[];
|
|
2403
|
+
description?: string;
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2406
|
+
export interface GetSecurityQuestionsRequest {
|
|
2407
|
+
sessionId: string;
|
|
2408
|
+
}
|
|
2409
|
+
|
|
2410
|
+
export interface VerificationResult {
|
|
2411
|
+
}
|
|
2412
|
+
|
|
2413
|
+
export interface ClientSummary {
|
|
2414
|
+
clientID: string;
|
|
2415
|
+
createdAt: string;
|
|
2416
|
+
isOrgLevel: boolean;
|
|
2417
|
+
name: string;
|
|
2418
|
+
applicationType: string;
|
|
2419
|
+
}
|
|
2420
|
+
|
|
2421
|
+
export interface FactorInfo {
|
|
2422
|
+
factorId: string;
|
|
2423
|
+
metadata: any;
|
|
2424
|
+
name: string;
|
|
2425
|
+
type: string;
|
|
2426
|
+
}
|
|
2427
|
+
|
|
2428
|
+
export interface FactorVerificationRequest {
|
|
2429
|
+
factorId: string;
|
|
2430
|
+
code: string;
|
|
2431
|
+
data: any;
|
|
2432
|
+
}
|
|
2433
|
+
|
|
2434
|
+
export interface MFAStatus {
|
|
2435
|
+
requiredCount: number;
|
|
2436
|
+
trustedDevice: boolean;
|
|
2437
|
+
enabled: boolean;
|
|
2438
|
+
enrolledFactors: FactorInfo[];
|
|
2439
|
+
gracePeriod: string | undefined;
|
|
2440
|
+
policyActive: boolean;
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
export interface LoginResponse {
|
|
2444
|
+
user: any;
|
|
2445
|
+
passkeyUsed: string;
|
|
2446
|
+
session: any;
|
|
2447
|
+
token: string;
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2450
|
+
export interface User {
|
|
2451
|
+
organizationId?: string;
|
|
2452
|
+
id: string;
|
|
2453
|
+
email: string;
|
|
2454
|
+
name?: string;
|
|
2455
|
+
emailVerified: boolean;
|
|
2456
|
+
createdAt: string;
|
|
2457
|
+
updatedAt: string;
|
|
2458
|
+
}
|
|
2459
|
+
|
|
2460
|
+
export interface BlockUserRequest {
|
|
2461
|
+
reason: string;
|
|
2462
|
+
}
|
|
2463
|
+
|
|
2464
|
+
export interface CreateVerificationRequest {
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
export interface IDVerificationResponse {
|
|
2468
|
+
verification: any;
|
|
2469
|
+
}
|
|
2470
|
+
|
|
2471
|
+
export interface RiskAssessment {
|
|
2472
|
+
metadata: any;
|
|
2473
|
+
recommended: string[];
|
|
2474
|
+
score: number;
|
|
2475
|
+
factors: string[];
|
|
2476
|
+
level: string;
|
|
2477
|
+
}
|
|
2478
|
+
|
|
2479
|
+
export interface FactorEnrollmentRequest {
|
|
2480
|
+
metadata: any;
|
|
2481
|
+
name: string;
|
|
2482
|
+
priority: string;
|
|
2483
|
+
type: string;
|
|
2484
|
+
}
|
|
2485
|
+
|
|
2486
|
+
export interface ProvidersResponse {
|
|
2487
|
+
providers: string[];
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2490
|
+
export interface ListPasskeysRequest {
|
|
2491
|
+
}
|
|
2492
|
+
|
|
2493
|
+
export interface RecoveryAttemptLog {
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
export interface RateLimitingConfig {
|
|
2497
|
+
maxAttemptsPerHour: number;
|
|
2498
|
+
maxAttemptsPerIp: number;
|
|
2499
|
+
enabled: boolean;
|
|
2500
|
+
exponentialBackoff: boolean;
|
|
2501
|
+
ipCooldownPeriod: any;
|
|
2502
|
+
lockoutAfterAttempts: number;
|
|
2503
|
+
lockoutDuration: any;
|
|
2504
|
+
maxAttemptsPerDay: number;
|
|
2505
|
+
}
|
|
2506
|
+
|
|
2507
|
+
export interface ConsentExportResponse {
|
|
2508
|
+
id: string;
|
|
2509
|
+
status: string;
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
export interface ProviderSessionRequest {
|
|
2513
|
+
}
|
|
2514
|
+
|
|
2515
|
+
export interface CallbackResponse {
|
|
2516
|
+
session: any | undefined;
|
|
2517
|
+
token: string;
|
|
2518
|
+
user: any | undefined;
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2521
|
+
export interface TemplateService {
|
|
2522
|
+
}
|
|
2523
|
+
|
|
2524
|
+
export interface AddMember_req {
|
|
2525
|
+
role: string;
|
|
2526
|
+
user_id: string;
|
|
2527
|
+
}
|
|
2528
|
+
|
|
2529
|
+
export interface UnbanUserRequest {
|
|
2530
|
+
reason: string;
|
|
2531
|
+
user_id: string;
|
|
2532
|
+
user_organization_id: string | undefined;
|
|
2533
|
+
app_id: string;
|
|
2534
|
+
}
|
|
2535
|
+
|
|
2536
|
+
export interface MFAPolicyResponse {
|
|
2537
|
+
gracePeriodDays: number;
|
|
2538
|
+
id: string;
|
|
2539
|
+
organizationId: string | undefined;
|
|
2540
|
+
requiredFactorCount: number;
|
|
2541
|
+
allowedFactorTypes: string[];
|
|
2542
|
+
appId: string;
|
|
2543
|
+
enabled: boolean;
|
|
2544
|
+
}
|
|
2545
|
+
|
|
2546
|
+
export interface StepUpVerificationResponse {
|
|
2547
|
+
expires_at: string;
|
|
2548
|
+
verified: boolean;
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2551
|
+
export interface ComplianceEvidenceResponse {
|
|
2552
|
+
id: string;
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2555
|
+
export interface PreviewTemplate_req {
|
|
2556
|
+
variables: any;
|
|
2557
|
+
}
|
|
2558
|
+
|
|
2559
|
+
export interface CompleteRecoveryRequest {
|
|
2560
|
+
sessionId: string;
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2563
|
+
export interface TokenIntrospectionResponse {
|
|
2564
|
+
token_type: string;
|
|
2565
|
+
active: boolean;
|
|
2566
|
+
client_id: string;
|
|
2567
|
+
iat: number;
|
|
2568
|
+
iss: string;
|
|
2569
|
+
nbf: number;
|
|
2570
|
+
username: string;
|
|
2571
|
+
aud: string[];
|
|
2572
|
+
exp: number;
|
|
2573
|
+
jti: string;
|
|
2574
|
+
scope: string;
|
|
2575
|
+
sub: string;
|
|
2576
|
+
}
|
|
2577
|
+
|
|
2578
|
+
export interface RegistrationService {
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2581
|
+
export interface Plugin {
|
|
2582
|
+
}
|
|
2583
|
+
|
|
2584
|
+
export interface NotificationListResponse {
|
|
2585
|
+
notifications: any[];
|
|
2586
|
+
total: number;
|
|
2587
|
+
}
|
|
2588
|
+
|
|
2589
|
+
export interface BeginRegisterRequest {
|
|
2590
|
+
requireResidentKey: boolean;
|
|
2591
|
+
userId: string;
|
|
2592
|
+
userVerification: string;
|
|
2593
|
+
authenticatorType: string;
|
|
2594
|
+
name: string;
|
|
2595
|
+
}
|
|
2596
|
+
|
|
2597
|
+
export interface EmailProviderConfig {
|
|
2598
|
+
config: any;
|
|
2599
|
+
from: string;
|
|
2600
|
+
from_name: string;
|
|
2601
|
+
provider: string;
|
|
2602
|
+
reply_to: string;
|
|
2603
|
+
}
|
|
2604
|
+
|
|
2605
|
+
export interface ConsentNotificationsConfig {
|
|
2606
|
+
channels: string[];
|
|
2607
|
+
notifyDeletionApproved: boolean;
|
|
2608
|
+
notifyExportReady: boolean;
|
|
2609
|
+
notifyOnExpiry: boolean;
|
|
2610
|
+
enabled: boolean;
|
|
2611
|
+
notifyDeletionComplete: boolean;
|
|
2612
|
+
notifyDpoEmail: string;
|
|
2613
|
+
notifyOnGrant: boolean;
|
|
2614
|
+
notifyOnRevoke: boolean;
|
|
2615
|
+
}
|
|
2616
|
+
|
|
2617
|
+
export interface ChallengeResponse {
|
|
2618
|
+
expiresAt: string;
|
|
2619
|
+
factorsRequired: number;
|
|
2620
|
+
sessionId: string;
|
|
2621
|
+
availableFactors: FactorInfo[];
|
|
2622
|
+
challengeId: string;
|
|
2623
|
+
}
|
|
2624
|
+
|
|
2625
|
+
export interface IntrospectionService {
|
|
2626
|
+
}
|
|
2627
|
+
|
|
2628
|
+
export interface StepUpEvaluationResponse {
|
|
2629
|
+
reason: string;
|
|
2630
|
+
required: boolean;
|
|
2631
|
+
}
|
|
2632
|
+
|
|
2633
|
+
export interface Handler {
|
|
2634
|
+
}
|
|
2635
|
+
|
|
2636
|
+
export interface CompleteRecoveryResponse {
|
|
2637
|
+
completedAt: string;
|
|
2638
|
+
message: string;
|
|
2639
|
+
sessionId: string;
|
|
2640
|
+
status: string;
|
|
2641
|
+
token: string;
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2644
|
+
export interface mockRepository {
|
|
2645
|
+
}
|
|
2646
|
+
|
|
2647
|
+
export interface TwoFASendOTPResponse {
|
|
2648
|
+
status: string;
|
|
2649
|
+
code: string;
|
|
2650
|
+
}
|
|
2651
|
+
|
|
2652
|
+
export interface ListReportsFilter {
|
|
2653
|
+
reportType: string | undefined;
|
|
2654
|
+
standard: string | undefined;
|
|
2655
|
+
status: string | undefined;
|
|
2656
|
+
appId: string | undefined;
|
|
2657
|
+
format: string | undefined;
|
|
2658
|
+
profileId: string | undefined;
|
|
2659
|
+
}
|
|
2660
|
+
|
|
2661
|
+
export interface RejectRecoveryResponse {
|
|
2662
|
+
message: string;
|
|
2663
|
+
reason: string;
|
|
2664
|
+
rejected: boolean;
|
|
2665
|
+
rejectedAt: string;
|
|
2666
|
+
sessionId: string;
|
|
2667
|
+
}
|
|
2668
|
+
|
|
2669
|
+
export interface OTPSentResponse {
|
|
2670
|
+
code: string;
|
|
2671
|
+
status: string;
|
|
2672
|
+
}
|
|
2673
|
+
|
|
2674
|
+
export interface TwoFABackupCodesResponse {
|
|
2675
|
+
codes: string[];
|
|
2676
|
+
}
|
|
2677
|
+
|
|
2678
|
+
export interface RenderTemplate_req {
|
|
2679
|
+
template: string;
|
|
2680
|
+
variables: any;
|
|
2681
|
+
}
|
|
2682
|
+
|
|
2683
|
+
export interface DashboardExtension {
|
|
2684
|
+
}
|
|
2685
|
+
|
|
2686
|
+
export interface DataExportRequestInput {
|
|
2687
|
+
format: string;
|
|
2688
|
+
includeSections: string[];
|
|
2689
|
+
}
|
|
2690
|
+
|
|
2691
|
+
export interface CreateUserRequest {
|
|
2692
|
+
app_id: string;
|
|
2693
|
+
email: string;
|
|
2694
|
+
email_verified: boolean;
|
|
2695
|
+
role: string;
|
|
2696
|
+
user_organization_id: string | undefined;
|
|
2697
|
+
username: string;
|
|
2698
|
+
metadata: any;
|
|
2699
|
+
name: string;
|
|
2700
|
+
password: string;
|
|
2701
|
+
}
|
|
2702
|
+
|
|
2703
|
+
export interface CreateProfileRequest {
|
|
2704
|
+
dpoContact: string;
|
|
2705
|
+
encryptionAtRest: boolean;
|
|
2706
|
+
name: string;
|
|
2707
|
+
passwordExpiryDays: number;
|
|
2708
|
+
sessionIdleTimeout: number;
|
|
2709
|
+
sessionIpBinding: boolean;
|
|
2710
|
+
sessionMaxAge: number;
|
|
2711
|
+
complianceContact: string;
|
|
2712
|
+
dataResidency: string;
|
|
2713
|
+
metadata: any;
|
|
2714
|
+
mfaRequired: boolean;
|
|
2715
|
+
passwordRequireLower: boolean;
|
|
2716
|
+
standards: string[];
|
|
2717
|
+
encryptionInTransit: boolean;
|
|
2718
|
+
leastPrivilege: boolean;
|
|
2719
|
+
passwordMinLength: number;
|
|
2720
|
+
passwordRequireNumber: boolean;
|
|
2721
|
+
passwordRequireUpper: boolean;
|
|
2722
|
+
rbacRequired: boolean;
|
|
2723
|
+
regularAccessReview: boolean;
|
|
2724
|
+
retentionDays: number;
|
|
2725
|
+
appId: string;
|
|
2726
|
+
auditLogExport: boolean;
|
|
2727
|
+
passwordRequireSymbol: boolean;
|
|
2728
|
+
detailedAuditTrail: boolean;
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2731
|
+
export interface TeamHandler {
|
|
2732
|
+
}
|
|
2733
|
+
|
|
2734
|
+
export interface ListTrustedDevicesResponse {
|
|
2735
|
+
count: number;
|
|
2736
|
+
devices: TrustedDevice[];
|
|
2737
|
+
}
|
|
2738
|
+
|
|
2739
|
+
export interface LinkAccountRequest {
|
|
2740
|
+
provider: string;
|
|
2741
|
+
scopes: string[];
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2744
|
+
export interface OIDCLoginResponse {
|
|
2745
|
+
authUrl: string;
|
|
2746
|
+
nonce: string;
|
|
2747
|
+
providerId: string;
|
|
2748
|
+
state: string;
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
export interface SendResponse {
|
|
2752
|
+
dev_url: string;
|
|
2753
|
+
status: string;
|
|
2754
|
+
}
|
|
2755
|
+
|
|
2756
|
+
export interface SendWithTemplateRequest {
|
|
2757
|
+
variables: any;
|
|
2758
|
+
appId: string;
|
|
2759
|
+
language: string;
|
|
2760
|
+
metadata: any;
|
|
2761
|
+
recipient: string;
|
|
2762
|
+
templateKey: string;
|
|
2763
|
+
type: any;
|
|
2764
|
+
}
|
|
2765
|
+
|
|
2766
|
+
export interface AdminBlockUser_req {
|
|
2767
|
+
reason: string;
|
|
2768
|
+
}
|
|
2769
|
+
|
|
2770
|
+
export interface BanUser_reqBody {
|
|
2771
|
+
expires_at?: string | undefined;
|
|
2772
|
+
reason: string;
|
|
2773
|
+
}
|
|
2774
|
+
|
|
2775
|
+
export interface EnableRequest {
|
|
2776
|
+
}
|
|
2777
|
+
|
|
2778
|
+
export interface VerifySecurityAnswersResponse {
|
|
2779
|
+
correctAnswers: number;
|
|
2780
|
+
message: string;
|
|
2781
|
+
requiredAnswers: number;
|
|
2782
|
+
valid: boolean;
|
|
2783
|
+
attemptsLeft: number;
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2786
|
+
export interface ConsentSettingsResponse {
|
|
2787
|
+
settings: any;
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2790
|
+
export interface SignInRequest {
|
|
2791
|
+
username: string;
|
|
2792
|
+
password: string;
|
|
2793
|
+
remember: boolean;
|
|
2794
|
+
}
|
|
2795
|
+
|
|
2796
|
+
export interface NotificationsResponse {
|
|
2797
|
+
count: number;
|
|
2798
|
+
notifications: any;
|
|
2799
|
+
}
|
|
2800
|
+
|
|
2801
|
+
export interface StartVideoSessionRequest {
|
|
2802
|
+
videoSessionId: string;
|
|
2803
|
+
}
|
|
2804
|
+
|
|
2805
|
+
export interface WebhookPayload {
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
export interface ClientAuthResult {
|
|
2809
|
+
}
|
|
2810
|
+
|
|
2811
|
+
export interface VerifyEnrolledFactorRequest {
|
|
2812
|
+
data: any;
|
|
2813
|
+
code: string;
|
|
2814
|
+
}
|
|
2815
|
+
|
|
2816
|
+
export interface WebAuthnConfig {
|
|
2817
|
+
authenticator_selection: any;
|
|
2818
|
+
enabled: boolean;
|
|
2819
|
+
rp_display_name: string;
|
|
2820
|
+
rp_id: string;
|
|
2821
|
+
rp_origins: string[];
|
|
2822
|
+
timeout: number;
|
|
2823
|
+
attestation_preference: string;
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
export interface ConnectionsResponse {
|
|
2827
|
+
connections: any | undefined[];
|
|
2828
|
+
}
|
|
2829
|
+
|
|
2830
|
+
export interface Verify_body {
|
|
2831
|
+
remember_device: boolean;
|
|
2832
|
+
user_id: string;
|
|
2833
|
+
code: string;
|
|
2834
|
+
device_id: string;
|
|
2835
|
+
}
|
|
2836
|
+
|
|
2837
|
+
export interface SignUpRequest {
|
|
2838
|
+
password: string;
|
|
2839
|
+
username: string;
|
|
2840
|
+
}
|
|
2841
|
+
|
|
2842
|
+
export interface BanUserRequest {
|
|
2843
|
+
user_organization_id: string | undefined;
|
|
2844
|
+
app_id: string;
|
|
2845
|
+
expires_at: string | undefined;
|
|
2846
|
+
reason: string;
|
|
2847
|
+
user_id: string;
|
|
2848
|
+
}
|
|
2849
|
+
|
|
2850
|
+
export interface ComplianceTrainingResponse {
|
|
2851
|
+
id: string;
|
|
2852
|
+
}
|
|
2853
|
+
|
|
2854
|
+
export interface CreateProfileFromTemplateRequest {
|
|
2855
|
+
standard: string;
|
|
2856
|
+
}
|
|
2857
|
+
|
|
2858
|
+
export interface SetupSecurityQuestionsRequest {
|
|
2859
|
+
questions: SetupSecurityQuestionRequest[];
|
|
2860
|
+
}
|
|
2861
|
+
|
|
2862
|
+
export interface ConsentPolicyResponse {
|
|
2863
|
+
id: string;
|
|
2864
|
+
}
|
|
2865
|
+
|
|
2866
|
+
export interface SetUserRoleRequest {
|
|
2867
|
+
app_id: string;
|
|
2868
|
+
role: string;
|
|
2869
|
+
user_id: string;
|
|
2870
|
+
user_organization_id: string | undefined;
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2873
|
+
export interface ComplianceCheckResponse {
|
|
2874
|
+
id: string;
|
|
2875
|
+
}
|
|
2876
|
+
|
|
2877
|
+
export interface FinishLoginRequest {
|
|
2878
|
+
remember: boolean;
|
|
2879
|
+
response: any;
|
|
2880
|
+
}
|
|
2881
|
+
|
|
2882
|
+
export interface CompleteVideoSessionRequest {
|
|
2883
|
+
livenessScore: number;
|
|
2884
|
+
notes: string;
|
|
2885
|
+
verificationResult: string;
|
|
2886
|
+
videoSessionId: string;
|
|
2887
|
+
livenessPassed: boolean;
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
export interface StateStorageConfig {
|
|
2891
|
+
redisAddr: string;
|
|
2892
|
+
redisDb: number;
|
|
2893
|
+
redisPassword: string;
|
|
2894
|
+
stateTtl: any;
|
|
2895
|
+
useRedis: boolean;
|
|
2896
|
+
}
|
|
2897
|
+
|
|
2898
|
+
export interface StepUpErrorResponse {
|
|
2899
|
+
error: string;
|
|
2900
|
+
}
|
|
2901
|
+
|
|
2902
|
+
export interface VerifyResponse {
|
|
2903
|
+
device_remembered: boolean;
|
|
2904
|
+
error: string;
|
|
2905
|
+
expires_at: string;
|
|
2906
|
+
metadata: any;
|
|
2907
|
+
security_level: string;
|
|
2908
|
+
success: boolean;
|
|
2909
|
+
verification_id: string;
|
|
2910
|
+
}
|
|
2911
|
+
|
|
2912
|
+
export interface ListPoliciesFilter {
|
|
2913
|
+
appId: string | undefined;
|
|
2914
|
+
policyType: string | undefined;
|
|
2915
|
+
profileId: string | undefined;
|
|
2916
|
+
standard: string | undefined;
|
|
2917
|
+
status: string | undefined;
|
|
2918
|
+
}
|
|
2919
|
+
|
|
2920
|
+
export interface DocumentVerificationConfig {
|
|
2921
|
+
retentionPeriod: any;
|
|
2922
|
+
storagePath: string;
|
|
2923
|
+
enabled: boolean;
|
|
2924
|
+
encryptionKey: string;
|
|
2925
|
+
minConfidenceScore: number;
|
|
2926
|
+
provider: string;
|
|
2927
|
+
requireManualReview: boolean;
|
|
2928
|
+
requireSelfie: boolean;
|
|
2929
|
+
storageProvider: string;
|
|
2930
|
+
acceptedDocuments: string[];
|
|
2931
|
+
encryptAtRest: boolean;
|
|
2932
|
+
requireBothSides: boolean;
|
|
2933
|
+
}
|
|
2934
|
+
|
|
2935
|
+
export interface Factor {
|
|
2936
|
+
status: string;
|
|
2937
|
+
userId: string;
|
|
2938
|
+
createdAt: string;
|
|
2939
|
+
expiresAt: string | undefined;
|
|
2940
|
+
metadata: any;
|
|
2941
|
+
name: string;
|
|
2942
|
+
type: string;
|
|
2943
|
+
updatedAt: string;
|
|
2944
|
+
verifiedAt: string | undefined;
|
|
2945
|
+
id: string;
|
|
2946
|
+
lastUsedAt: string | undefined;
|
|
2947
|
+
priority: string;
|
|
2948
|
+
}
|
|
2949
|
+
|
|
2950
|
+
export interface OIDCLoginRequest {
|
|
2951
|
+
nonce: string;
|
|
2952
|
+
redirectUri: string;
|
|
2953
|
+
scope: string;
|
|
2954
|
+
state: string;
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
export interface PolicyEngine {
|
|
2958
|
+
}
|
|
2959
|
+
|
|
2960
|
+
export interface RecoverySessionInfo {
|
|
2961
|
+
createdAt: string;
|
|
2962
|
+
currentStep: number;
|
|
2963
|
+
id: string;
|
|
2964
|
+
totalSteps: number;
|
|
2965
|
+
completedAt: string | undefined;
|
|
2966
|
+
expiresAt: string;
|
|
2967
|
+
method: string;
|
|
2968
|
+
requiresReview: boolean;
|
|
2969
|
+
riskScore: number;
|
|
2970
|
+
status: string;
|
|
2971
|
+
userEmail: string;
|
|
2972
|
+
userId: string;
|
|
2973
|
+
}
|
|
2974
|
+
|
|
2975
|
+
export interface ConsentAuditConfig {
|
|
2976
|
+
archiveInterval: any;
|
|
2977
|
+
archiveOldLogs: boolean;
|
|
2978
|
+
logAllChanges: boolean;
|
|
2979
|
+
retentionDays: number;
|
|
2980
|
+
signLogs: boolean;
|
|
2981
|
+
enabled: boolean;
|
|
2982
|
+
exportFormat: string;
|
|
2983
|
+
immutable: boolean;
|
|
2984
|
+
logIpAddress: boolean;
|
|
2985
|
+
logUserAgent: boolean;
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2988
|
+
export interface RiskContext {
|
|
2989
|
+
}
|
|
2990
|
+
|
|
2991
|
+
export interface ContextRule {
|
|
2992
|
+
description: string;
|
|
2993
|
+
name: string;
|
|
2994
|
+
org_id: string;
|
|
2995
|
+
security_level: string;
|
|
2996
|
+
condition: string;
|
|
2997
|
+
}
|
|
2998
|
+
|
|
2999
|
+
export interface ApproveRecoveryResponse {
|
|
3000
|
+
approved: boolean;
|
|
3001
|
+
approvedAt: string;
|
|
3002
|
+
message: string;
|
|
3003
|
+
sessionId: string;
|
|
3004
|
+
}
|
|
3005
|
+
|
|
3006
|
+
export interface MFABypassResponse {
|
|
3007
|
+
userId: string;
|
|
3008
|
+
expiresAt: string;
|
|
3009
|
+
id: string;
|
|
3010
|
+
reason: string;
|
|
3011
|
+
}
|
|
3012
|
+
|
|
3013
|
+
export interface DeleteFactorRequest {
|
|
3014
|
+
}
|
|
3015
|
+
|
|
3016
|
+
export interface CompleteTrainingRequest {
|
|
3017
|
+
score: number;
|
|
3018
|
+
}
|
|
3019
|
+
|
|
3020
|
+
export interface CompliancePolicyResponse {
|
|
3021
|
+
id: string;
|
|
3022
|
+
}
|
|
3023
|
+
|
|
3024
|
+
export interface NotificationTemplateResponse {
|
|
3025
|
+
template: any;
|
|
3026
|
+
}
|
|
3027
|
+
|
|
3028
|
+
export interface MessageResponse {
|
|
3029
|
+
message: string;
|
|
3030
|
+
}
|
|
3031
|
+
|
|
3032
|
+
export interface ScheduleVideoSessionResponse {
|
|
3033
|
+
message: string;
|
|
3034
|
+
scheduledAt: string;
|
|
3035
|
+
videoSessionId: string;
|
|
3036
|
+
instructions: string;
|
|
3037
|
+
joinUrl: string;
|
|
3038
|
+
}
|
|
3039
|
+
|
|
3040
|
+
export interface OnfidoConfig {
|
|
3041
|
+
enabled: boolean;
|
|
3042
|
+
includeFacialReport: boolean;
|
|
3043
|
+
includeWatchlistReport: boolean;
|
|
3044
|
+
webhookToken: string;
|
|
3045
|
+
facialCheck: FacialCheckConfig;
|
|
3046
|
+
includeDocumentReport: boolean;
|
|
3047
|
+
region: string;
|
|
3048
|
+
workflowId: string;
|
|
3049
|
+
apiToken: string;
|
|
3050
|
+
documentCheck: DocumentCheckConfig;
|
|
3051
|
+
}
|
|
3052
|
+
|
|
3053
|
+
export interface TeamsResponse {
|
|
3054
|
+
teams: any | undefined[];
|
|
3055
|
+
total: number;
|
|
3056
|
+
}
|
|
3057
|
+
|
|
3058
|
+
export interface MultiSessionListResponse {
|
|
3059
|
+
sessions: any[];
|
|
3060
|
+
}
|
|
3061
|
+
|
|
3062
|
+
export interface NotificationStatusResponse {
|
|
3063
|
+
status: string;
|
|
3064
|
+
}
|
|
3065
|
+
|
|
3066
|
+
export interface UserServiceAdapter {
|
|
3067
|
+
}
|
|
3068
|
+
|
|
3069
|
+
export interface TrustedContact {
|
|
3070
|
+
}
|
|
3071
|
+
|
|
3072
|
+
export interface ProviderCheckResult {
|
|
3073
|
+
}
|
|
3074
|
+
|
|
3075
|
+
export interface CheckSubResult {
|
|
3076
|
+
}
|
|
3077
|
+
|
|
3078
|
+
export interface UpdateFactorRequest {
|
|
3079
|
+
metadata: any;
|
|
3080
|
+
name: string | undefined;
|
|
3081
|
+
priority: string | undefined;
|
|
3082
|
+
status: string | undefined;
|
|
3083
|
+
}
|
|
3084
|
+
|
|
3085
|
+
export interface ResetUserMFARequest {
|
|
3086
|
+
reason: string;
|
|
3087
|
+
}
|
|
3088
|
+
|
|
3089
|
+
export interface ListRecoverySessionsRequest {
|
|
3090
|
+
pageSize: number;
|
|
3091
|
+
requiresReview: boolean;
|
|
3092
|
+
status: string;
|
|
3093
|
+
organizationId: string;
|
|
3094
|
+
page: number;
|
|
3095
|
+
}
|
|
3096
|
+
|
|
3097
|
+
export interface ConsentCookieResponse {
|
|
3098
|
+
preferences: any;
|
|
3099
|
+
}
|
|
3100
|
+
|
|
3101
|
+
export interface ReverifyRequest {
|
|
3102
|
+
reason: string;
|
|
3103
|
+
}
|
|
3104
|
+
|
|
3105
|
+
export interface ForgetDeviceResponse {
|
|
3106
|
+
success: boolean;
|
|
3107
|
+
message: string;
|
|
3108
|
+
}
|
|
3109
|
+
|
|
3110
|
+
export interface BeginLoginRequest {
|
|
3111
|
+
userId: string;
|
|
3112
|
+
userVerification: string;
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
export interface CreateAPIKeyResponse {
|
|
3116
|
+
api_key: any | undefined;
|
|
3117
|
+
message: string;
|
|
3118
|
+
}
|
|
3119
|
+
|
|
3120
|
+
export interface TrustedContactsConfig {
|
|
3121
|
+
requireVerification: boolean;
|
|
3122
|
+
requiredToRecover: number;
|
|
3123
|
+
allowPhoneContacts: boolean;
|
|
3124
|
+
minimumContacts: number;
|
|
3125
|
+
verificationExpiry: any;
|
|
3126
|
+
allowEmailContacts: boolean;
|
|
3127
|
+
cooldownPeriod: any;
|
|
3128
|
+
enabled: boolean;
|
|
3129
|
+
maxNotificationsPerDay: number;
|
|
3130
|
+
maximumContacts: number;
|
|
3131
|
+
}
|
|
3132
|
+
|
|
3133
|
+
export interface BackupAuthVideoResponse {
|
|
3134
|
+
session_id: string;
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
export interface TrustedDevice {
|
|
3138
|
+
id: string;
|
|
3139
|
+
ipAddress: string;
|
|
3140
|
+
metadata: any;
|
|
3141
|
+
name: string;
|
|
3142
|
+
createdAt: string;
|
|
3143
|
+
lastUsedAt: string | undefined;
|
|
3144
|
+
userAgent: string;
|
|
3145
|
+
userId: string;
|
|
3146
|
+
deviceId: string;
|
|
3147
|
+
expiresAt: string;
|
|
3148
|
+
}
|
|
3149
|
+
|
|
3150
|
+
export interface ComplianceReport {
|
|
3151
|
+
fileSize: number;
|
|
3152
|
+
generatedBy: string;
|
|
3153
|
+
id: string;
|
|
3154
|
+
profileId: string;
|
|
3155
|
+
reportType: string;
|
|
3156
|
+
status: string;
|
|
3157
|
+
createdAt: string;
|
|
3158
|
+
fileUrl: string;
|
|
3159
|
+
format: string;
|
|
3160
|
+
period: string;
|
|
3161
|
+
standard: string;
|
|
3162
|
+
summary: any;
|
|
3163
|
+
appId: string;
|
|
3164
|
+
expiresAt: string;
|
|
3165
|
+
}
|
|
3166
|
+
|
|
3167
|
+
export interface AuditLog {
|
|
3168
|
+
}
|
|
3169
|
+
|
|
3170
|
+
export interface ChannelsResponse {
|
|
3171
|
+
channels: any;
|
|
3172
|
+
count: number;
|
|
3173
|
+
}
|
|
3174
|
+
|
|
3175
|
+
export interface VideoVerificationSession {
|
|
3176
|
+
}
|
|
3177
|
+
|
|
3178
|
+
export interface AdaptiveMFAConfig {
|
|
3179
|
+
risk_threshold: number;
|
|
3180
|
+
velocity_risk: number;
|
|
3181
|
+
factor_ip_reputation: boolean;
|
|
3182
|
+
factor_velocity: boolean;
|
|
3183
|
+
new_device_risk: number;
|
|
3184
|
+
require_step_up_threshold: number;
|
|
3185
|
+
enabled: boolean;
|
|
3186
|
+
factor_location_change: boolean;
|
|
3187
|
+
factor_new_device: boolean;
|
|
3188
|
+
location_change_risk: number;
|
|
3189
|
+
}
|
|
3190
|
+
|
|
3191
|
+
export interface GetStatusRequest {
|
|
3192
|
+
}
|
|
3193
|
+
|
|
3194
|
+
export interface Disable_body {
|
|
3195
|
+
user_id: string;
|
|
3196
|
+
}
|
|
3197
|
+
|
|
3198
|
+
export interface CompleteTraining_req {
|
|
3199
|
+
score: number;
|
|
3200
|
+
}
|
|
3201
|
+
|
|
3202
|
+
export interface ImpersonationVerifyResponse {
|
|
3203
|
+
impersonator_id: string;
|
|
3204
|
+
is_impersonating: boolean;
|
|
3205
|
+
target_user_id: string;
|
|
3206
|
+
}
|
|
3207
|
+
|
|
3208
|
+
export interface GetSecurityQuestionsResponse {
|
|
3209
|
+
questions: SecurityQuestionInfo[];
|
|
3210
|
+
}
|
|
3211
|
+
|
|
3212
|
+
export interface GetDocumentVerificationResponse {
|
|
3213
|
+
rejectionReason: string;
|
|
3214
|
+
status: string;
|
|
3215
|
+
verifiedAt: string | undefined;
|
|
3216
|
+
confidenceScore: number;
|
|
3217
|
+
documentId: string;
|
|
3218
|
+
message: string;
|
|
3219
|
+
}
|
|
3220
|
+
|
|
3221
|
+
export interface DataDeletionRequestInput {
|
|
3222
|
+
reason: string;
|
|
3223
|
+
deleteSections: string[];
|
|
3224
|
+
}
|
|
3225
|
+
|
|
3226
|
+
export interface ListSessionsRequest {
|
|
3227
|
+
page: number;
|
|
3228
|
+
user_id: string | undefined;
|
|
3229
|
+
user_organization_id: string | undefined;
|
|
3230
|
+
app_id: string;
|
|
3231
|
+
limit: number;
|
|
3232
|
+
}
|
|
3233
|
+
|
|
3234
|
+
export interface EnrollFactorRequest {
|
|
3235
|
+
priority: string;
|
|
3236
|
+
type: string;
|
|
3237
|
+
metadata: any;
|
|
3238
|
+
name: string;
|
|
3239
|
+
}
|
|
3240
|
+
|
|
3241
|
+
export interface ComplianceProfileResponse {
|
|
3242
|
+
id: string;
|
|
3243
|
+
}
|
|
3244
|
+
|
|
3245
|
+
export interface ImpersonationErrorResponse {
|
|
3246
|
+
error: string;
|
|
3247
|
+
}
|
|
3248
|
+
|
|
3249
|
+
export interface CompleteVideoSessionResponse {
|
|
3250
|
+
completedAt: string;
|
|
3251
|
+
message: string;
|
|
3252
|
+
result: string;
|
|
3253
|
+
videoSessionId: string;
|
|
3254
|
+
}
|
|
3255
|
+
|
|
3256
|
+
export interface ScopeInfo {
|
|
3257
|
+
}
|
|
3258
|
+
|
|
3259
|
+
export interface WebAuthnFactorAdapter {
|
|
3260
|
+
}
|
|
3261
|
+
|
|
3262
|
+
export interface MultiSessionSetActiveResponse {
|
|
3263
|
+
session: any;
|
|
3264
|
+
token: string;
|
|
3265
|
+
}
|
|
3266
|
+
|
|
3267
|
+
export interface GetPasskeyRequest {
|
|
3268
|
+
}
|
|
3269
|
+
|
|
3270
|
+
export interface SecurityQuestion {
|
|
3271
|
+
}
|
|
3272
|
+
|
|
3273
|
+
export interface UnblockUserRequest {
|
|
3274
|
+
}
|
|
3275
|
+
|
|
3276
|
+
export interface PasskeyInfo {
|
|
3277
|
+
lastUsedAt: string | undefined;
|
|
3278
|
+
name: string;
|
|
3279
|
+
signCount: number;
|
|
3280
|
+
createdAt: string;
|
|
3281
|
+
id: string;
|
|
3282
|
+
isResidentKey: boolean;
|
|
3283
|
+
aaguid: string;
|
|
3284
|
+
authenticatorType: string;
|
|
3285
|
+
credentialId: string;
|
|
3286
|
+
}
|
|
3287
|
+
|
|
3288
|
+
export interface RolesResponse {
|
|
3289
|
+
roles: any | undefined[];
|
|
3290
|
+
}
|
|
3291
|
+
|
|
3292
|
+
export interface CancelRecoveryRequest {
|
|
3293
|
+
sessionId: string;
|
|
3294
|
+
reason: string;
|
|
3295
|
+
}
|
|
3296
|
+
|
|
3297
|
+
export interface IDTokenClaims {
|
|
3298
|
+
email: string;
|
|
3299
|
+
family_name: string;
|
|
3300
|
+
given_name: string;
|
|
3301
|
+
name: string;
|
|
3302
|
+
preferred_username: string;
|
|
3303
|
+
auth_time: number;
|
|
3304
|
+
email_verified: boolean;
|
|
3305
|
+
nonce: string;
|
|
3306
|
+
session_state: string;
|
|
3307
|
+
}
|
|
3308
|
+
|
|
3309
|
+
export interface SendCodeResponse {
|
|
3310
|
+
dev_code: string;
|
|
3311
|
+
status: string;
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3314
|
+
export interface MFAPolicy {
|
|
3315
|
+
maxFailedAttempts: number;
|
|
3316
|
+
organizationId: string;
|
|
3317
|
+
updatedAt: string;
|
|
3318
|
+
allowedFactorTypes: string[];
|
|
3319
|
+
gracePeriodDays: number;
|
|
3320
|
+
requiredFactorCount: number;
|
|
3321
|
+
requiredFactorTypes: string[];
|
|
3322
|
+
stepUpRequired: boolean;
|
|
3323
|
+
trustedDeviceDays: number;
|
|
3324
|
+
adaptiveMfaEnabled: boolean;
|
|
3325
|
+
createdAt: string;
|
|
3326
|
+
id: string;
|
|
3327
|
+
lockoutDurationMinutes: number;
|
|
3328
|
+
}
|
|
3329
|
+
|
|
3330
|
+
export interface StepUpRequirementResponse {
|
|
3331
|
+
id: string;
|
|
3332
|
+
}
|
|
3333
|
+
|
|
3334
|
+
export interface ComplianceProfile {
|
|
3335
|
+
dpoContact: string;
|
|
3336
|
+
passwordExpiryDays: number;
|
|
3337
|
+
regularAccessReview: boolean;
|
|
3338
|
+
encryptionAtRest: boolean;
|
|
3339
|
+
encryptionInTransit: boolean;
|
|
3340
|
+
dataResidency: string;
|
|
3341
|
+
mfaRequired: boolean;
|
|
3342
|
+
name: string;
|
|
3343
|
+
createdAt: string;
|
|
3344
|
+
id: string;
|
|
3345
|
+
rbacRequired: boolean;
|
|
3346
|
+
sessionIpBinding: boolean;
|
|
3347
|
+
leastPrivilege: boolean;
|
|
3348
|
+
metadata: any;
|
|
3349
|
+
passwordRequireLower: boolean;
|
|
3350
|
+
retentionDays: number;
|
|
3351
|
+
standards: string[];
|
|
3352
|
+
complianceContact: string;
|
|
3353
|
+
passwordRequireNumber: boolean;
|
|
3354
|
+
passwordRequireSymbol: boolean;
|
|
3355
|
+
updatedAt: string;
|
|
3356
|
+
appId: string;
|
|
3357
|
+
passwordMinLength: number;
|
|
3358
|
+
sessionIdleTimeout: number;
|
|
3359
|
+
sessionMaxAge: number;
|
|
3360
|
+
status: string;
|
|
3361
|
+
auditLogExport: boolean;
|
|
3362
|
+
detailedAuditTrail: boolean;
|
|
3363
|
+
passwordRequireUpper: boolean;
|
|
3364
|
+
}
|
|
3365
|
+
|
|
3366
|
+
export interface RateLimit {
|
|
3367
|
+
max_requests: number;
|
|
3368
|
+
window: any;
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3371
|
+
export interface NotificationPreviewResponse {
|
|
3372
|
+
body: string;
|
|
3373
|
+
subject: string;
|
|
3374
|
+
}
|
|
3375
|
+
|
|
3376
|
+
export interface NotificationChannels {
|
|
3377
|
+
email: boolean;
|
|
3378
|
+
slack: boolean;
|
|
3379
|
+
webhook: boolean;
|
|
3380
|
+
}
|
|
3381
|
+
|
|
3382
|
+
export interface SignUpResponse {
|
|
3383
|
+
message: string;
|
|
3384
|
+
status: string;
|
|
3385
|
+
}
|
|
3386
|
+
|
|
3387
|
+
export interface TOTPFactorAdapter {
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3390
|
+
export interface ImpersonationMiddleware {
|
|
3391
|
+
}
|
|
3392
|
+
|
|
3393
|
+
export interface CreateABTestVariant_req {
|
|
3394
|
+
body: string;
|
|
3395
|
+
name: string;
|
|
3396
|
+
subject: string;
|
|
3397
|
+
weight: number;
|
|
3398
|
+
}
|
|
3399
|
+
|
|
3400
|
+
export interface UploadDocumentRequest {
|
|
3401
|
+
backImage: string;
|
|
3402
|
+
documentType: string;
|
|
3403
|
+
frontImage: string;
|
|
3404
|
+
selfie: string;
|
|
3405
|
+
sessionId: string;
|
|
3406
|
+
}
|
|
3407
|
+
|
|
3408
|
+
export interface ConnectionResponse {
|
|
3409
|
+
connection: any | undefined;
|
|
3410
|
+
}
|
|
3411
|
+
|
|
3412
|
+
export interface StepUpStatusResponse {
|
|
3413
|
+
status: string;
|
|
3414
|
+
}
|
|
3415
|
+
|
|
3416
|
+
export interface RotateAPIKeyResponse {
|
|
3417
|
+
api_key: any | undefined;
|
|
3418
|
+
message: string;
|
|
3419
|
+
}
|
|
3420
|
+
|
|
3421
|
+
export interface AddTrustedContactResponse {
|
|
3422
|
+
message: string;
|
|
3423
|
+
name: string;
|
|
3424
|
+
phone: string;
|
|
3425
|
+
verified: boolean;
|
|
3426
|
+
addedAt: string;
|
|
3427
|
+
contactId: string;
|
|
3428
|
+
email: string;
|
|
3429
|
+
}
|
|
3430
|
+
|
|
3431
|
+
export interface mockSessionService {
|
|
3432
|
+
}
|
|
3433
|
+
|
|
3434
|
+
export interface MultiSessionErrorResponse {
|
|
3435
|
+
error: string;
|
|
3436
|
+
}
|
|
3437
|
+
|
|
3438
|
+
export interface ComplianceTrainingsResponse {
|
|
3439
|
+
training: any[];
|
|
3440
|
+
}
|
|
3441
|
+
|
|
3442
|
+
export interface MemoryChallengeStore {
|
|
3443
|
+
}
|
|
3444
|
+
|
|
3445
|
+
export interface MemberHandler {
|
|
3446
|
+
}
|
|
3447
|
+
|
|
3448
|
+
export interface JWKSResponse {
|
|
3449
|
+
keys: JWK[];
|
|
3450
|
+
}
|
|
3451
|
+
|
|
3452
|
+
export interface ClientRegistrationRequest {
|
|
3453
|
+
client_name: string;
|
|
3454
|
+
grant_types: string[];
|
|
3455
|
+
response_types: string[];
|
|
3456
|
+
scope: string;
|
|
3457
|
+
application_type: string;
|
|
3458
|
+
contacts: string[];
|
|
3459
|
+
logo_uri: string;
|
|
3460
|
+
policy_uri: string;
|
|
3461
|
+
require_consent: boolean;
|
|
3462
|
+
trusted_client: boolean;
|
|
3463
|
+
token_endpoint_auth_method: string;
|
|
3464
|
+
tos_uri: string;
|
|
3465
|
+
post_logout_redirect_uris: string[];
|
|
3466
|
+
redirect_uris: string[];
|
|
3467
|
+
require_pkce: boolean;
|
|
3468
|
+
}
|
|
3469
|
+
|
|
3470
|
+
export interface BackupAuthDocumentResponse {
|
|
3471
|
+
id: string;
|
|
3472
|
+
}
|
|
3473
|
+
|
|
3474
|
+
export interface BackupAuthQuestionsResponse {
|
|
3475
|
+
questions: string[];
|
|
3476
|
+
}
|
|
3477
|
+
|
|
3478
|
+
export interface AdminHandler {
|
|
3479
|
+
}
|
|
3480
|
+
|
|
3481
|
+
export interface BackupCodesConfig {
|
|
3482
|
+
allow_reuse: boolean;
|
|
3483
|
+
count: number;
|
|
3484
|
+
enabled: boolean;
|
|
3485
|
+
format: string;
|
|
3486
|
+
length: number;
|
|
3487
|
+
}
|
|
3488
|
+
|
|
3489
|
+
export interface CreateProvider_req {
|
|
3490
|
+
config: any;
|
|
3491
|
+
isDefault: boolean;
|
|
3492
|
+
organizationId?: string | undefined;
|
|
3493
|
+
providerName: string;
|
|
3494
|
+
providerType: string;
|
|
3495
|
+
}
|
|
3496
|
+
|
|
3497
|
+
export interface VerifyCodeResponse {
|
|
3498
|
+
attemptsLeft: number;
|
|
3499
|
+
message: string;
|
|
3500
|
+
valid: boolean;
|
|
3501
|
+
}
|
|
3502
|
+
|
|
3503
|
+
export interface TokenRequest {
|
|
3504
|
+
client_secret: string;
|
|
3505
|
+
code: string;
|
|
3506
|
+
code_verifier: string;
|
|
3507
|
+
grant_type: string;
|
|
3508
|
+
redirect_uri: string;
|
|
3509
|
+
refresh_token: string;
|
|
3510
|
+
audience: string;
|
|
3511
|
+
client_id: string;
|
|
3512
|
+
scope: string;
|
|
3513
|
+
}
|
|
3514
|
+
|
|
3515
|
+
export interface FactorsResponse {
|
|
3516
|
+
count: number;
|
|
3517
|
+
factors: any;
|
|
3518
|
+
}
|
|
3519
|
+
|
|
3520
|
+
export interface RedisStateStore {
|
|
3521
|
+
}
|
|
3522
|
+
|
|
3523
|
+
export interface UserAdapter {
|
|
3524
|
+
}
|
|
3525
|
+
|
|
3526
|
+
export interface ListRecoverySessionsResponse {
|
|
3527
|
+
page: number;
|
|
3528
|
+
pageSize: number;
|
|
3529
|
+
sessions: RecoverySessionInfo[];
|
|
3530
|
+
totalCount: number;
|
|
3531
|
+
}
|
|
3532
|
+
|
|
3533
|
+
export interface DocumentVerification {
|
|
3534
|
+
}
|
|
3535
|
+
|
|
3536
|
+
export interface HealthCheckResponse {
|
|
3537
|
+
enabledMethods: string[];
|
|
3538
|
+
healthy: boolean;
|
|
3539
|
+
message: string;
|
|
3540
|
+
providersStatus: any;
|
|
3541
|
+
version: string;
|
|
3542
|
+
}
|
|
3543
|
+
|
|
3544
|
+
export interface FacialCheckConfig {
|
|
3545
|
+
variant: string;
|
|
3546
|
+
enabled: boolean;
|
|
3547
|
+
motionCapture: boolean;
|
|
3548
|
+
}
|
|
3549
|
+
|
|
3550
|
+
export interface GetFactorRequest {
|
|
3551
|
+
}
|
|
3552
|
+
|
|
3553
|
+
export interface SendVerificationCodeResponse {
|
|
3554
|
+
expiresAt: string;
|
|
3555
|
+
maskedTarget: string;
|
|
3556
|
+
message: string;
|
|
3557
|
+
sent: boolean;
|
|
3558
|
+
}
|
|
3559
|
+
|
|
3560
|
+
export interface UpdateRecoveryConfigRequest {
|
|
3561
|
+
requireMultipleSteps: boolean;
|
|
3562
|
+
riskScoreThreshold: number;
|
|
3563
|
+
enabledMethods: string[];
|
|
3564
|
+
minimumStepsRequired: number;
|
|
3565
|
+
requireAdminReview: boolean;
|
|
3566
|
+
}
|
|
3567
|
+
|
|
3568
|
+
export interface ConsentDashboardConfig {
|
|
3569
|
+
path: string;
|
|
3570
|
+
showAuditLog: boolean;
|
|
3571
|
+
showConsentHistory: boolean;
|
|
3572
|
+
showCookiePreferences: boolean;
|
|
3573
|
+
showDataDeletion: boolean;
|
|
3574
|
+
showDataExport: boolean;
|
|
3575
|
+
showPolicies: boolean;
|
|
3576
|
+
enabled: boolean;
|
|
3577
|
+
}
|
|
3578
|
+
|
|
3579
|
+
export interface RiskFactor {
|
|
3580
|
+
}
|
|
3581
|
+
|
|
3582
|
+
export interface UpdateProvider_req {
|
|
3583
|
+
config: any;
|
|
3584
|
+
isActive: boolean;
|
|
3585
|
+
isDefault: boolean;
|
|
3586
|
+
}
|
|
3587
|
+
|
|
3588
|
+
export interface ListTrustedContactsResponse {
|
|
3589
|
+
contacts: TrustedContactInfo[];
|
|
3590
|
+
count: number;
|
|
3591
|
+
}
|
|
3592
|
+
|
|
3593
|
+
export interface ConsentManager {
|
|
3594
|
+
}
|
|
3595
|
+
|
|
3596
|
+
export interface SendCodeRequest {
|
|
3597
|
+
phone: string;
|
|
3598
|
+
}
|
|
3599
|
+
|
|
3600
|
+
export interface VerifyChallengeRequest {
|
|
3601
|
+
code: string;
|
|
3602
|
+
data: any;
|
|
3603
|
+
deviceInfo: DeviceInfo | undefined;
|
|
3604
|
+
factorId: string;
|
|
3605
|
+
rememberDevice: boolean;
|
|
3606
|
+
challengeId: string;
|
|
3607
|
+
}
|
|
3608
|
+
|
|
3609
|
+
export interface IDVerificationStatusResponse {
|
|
3610
|
+
status: any;
|
|
3611
|
+
}
|
|
3612
|
+
|
|
3613
|
+
export interface IDVerificationWebhookResponse {
|
|
3614
|
+
status: string;
|
|
3615
|
+
}
|
|
3616
|
+
|
|
3617
|
+
export interface DocumentCheckConfig {
|
|
3618
|
+
enabled: boolean;
|
|
3619
|
+
extractData: boolean;
|
|
3620
|
+
validateDataConsistency: boolean;
|
|
3621
|
+
validateExpiry: boolean;
|
|
3622
|
+
}
|
|
3623
|
+
|
|
3624
|
+
export interface TwoFAErrorResponse {
|
|
3625
|
+
error: string;
|
|
3626
|
+
}
|
|
3627
|
+
|
|
3628
|
+
export interface SendVerificationCodeRequest {
|
|
3629
|
+
method: string;
|
|
3630
|
+
sessionId: string;
|
|
3631
|
+
target: string;
|
|
3632
|
+
}
|
|
3633
|
+
|
|
3634
|
+
export interface RegisterProviderRequest {
|
|
3635
|
+
oidcRedirectURI: string;
|
|
3636
|
+
samlEntryPoint: string;
|
|
3637
|
+
samlIssuer: string;
|
|
3638
|
+
providerId: string;
|
|
3639
|
+
samlCert: string;
|
|
3640
|
+
type: string;
|
|
3641
|
+
attributeMapping: any;
|
|
3642
|
+
domain: string;
|
|
3643
|
+
oidcClientID: string;
|
|
3644
|
+
oidcClientSecret: string;
|
|
3645
|
+
oidcIssuer: string;
|
|
3646
|
+
}
|
|
3647
|
+
|
|
3648
|
+
export interface RejectRecoveryRequest {
|
|
3649
|
+
notes: string;
|
|
3650
|
+
reason: string;
|
|
3651
|
+
sessionId: string;
|
|
3652
|
+
}
|
|
3653
|
+
|
|
3654
|
+
export interface Service {
|
|
3655
|
+
}
|
|
3656
|
+
|
|
3657
|
+
export interface DocumentVerificationResult {
|
|
3658
|
+
}
|
|
3659
|
+
|
|
3660
|
+
export interface DocumentVerificationRequest {
|
|
3661
|
+
}
|
|
3662
|
+
|
|
3663
|
+
export interface ComplianceReportFileResponse {
|
|
3664
|
+
content_type: string;
|
|
3665
|
+
data: number[];
|
|
3666
|
+
}
|
|
3667
|
+
|
|
3668
|
+
export interface VideoSessionResult {
|
|
3669
|
+
}
|
|
3670
|
+
|
|
3671
|
+
export interface InitiateChallengeRequest {
|
|
3672
|
+
context: string;
|
|
3673
|
+
factorTypes: string[];
|
|
3674
|
+
metadata: any;
|
|
3675
|
+
}
|
|
3676
|
+
|
|
3677
|
+
export interface StepUpRequirementsResponse {
|
|
3678
|
+
requirements: any[];
|
|
3679
|
+
}
|
|
3680
|
+
|
|
3681
|
+
export interface SMSProviderConfig {
|
|
3682
|
+
config: any;
|
|
3683
|
+
from: string;
|
|
3684
|
+
provider: string;
|
|
3685
|
+
}
|
|
3686
|
+
|
|
3687
|
+
export interface BeginRegisterResponse {
|
|
3688
|
+
challenge: string;
|
|
3689
|
+
options: any;
|
|
3690
|
+
timeout: any;
|
|
3691
|
+
userId: string;
|
|
3692
|
+
}
|
|
3693
|
+
|
|
3694
|
+
export interface ConsentDecision {
|
|
3695
|
+
}
|
|
3696
|
+
|
|
3697
|
+
export interface RevokeTokenService {
|
|
3698
|
+
}
|
|
3699
|
+
|
|
3700
|
+
export interface MockAppService {
|
|
3701
|
+
}
|
|
3702
|
+
|