@robosystems/client 1.8.1 → 1.10.0

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/sdk/types.gen.ts CHANGED
@@ -476,6 +476,39 @@ export type AttributionFilter = {
476
476
  predicate: LineItemMetadataPredicate;
477
477
  };
478
478
 
479
+ /**
480
+ * AuthProvidersResponse
481
+ *
482
+ * Auth posture response model.
483
+ *
484
+ * Describes which authentication methods this deployment offers so the
485
+ * login surface can render the correct posture from runtime configuration.
486
+ */
487
+ export type AuthProvidersResponse = {
488
+ /**
489
+ * Password Auth
490
+ *
491
+ * Whether password authentication is available
492
+ */
493
+ password_auth: boolean;
494
+ /**
495
+ * OIDC SSO availability
496
+ */
497
+ oidc: OidcProviderInfo;
498
+ /**
499
+ * Registration
500
+ *
501
+ * Whether self-service registration is open
502
+ */
503
+ registration: boolean;
504
+ /**
505
+ * Passkeys
506
+ *
507
+ * Whether passkey authentication is available
508
+ */
509
+ passkeys: boolean;
510
+ };
511
+
479
512
  /**
480
513
  * AuthResponse
481
514
  *
@@ -504,6 +537,18 @@ export type AuthResponse = {
504
537
  * Success message
505
538
  */
506
539
  message: string;
540
+ /**
541
+ * Status
542
+ *
543
+ * Login flow state: authenticated (token present), or a passkey MFA step is required before a session is issued (mfa_token present)
544
+ */
545
+ status?: 'authenticated' | 'mfa_required' | 'mfa_enrollment_required';
546
+ /**
547
+ * Mfa Token
548
+ *
549
+ * Short-lived token authorizing the MFA second step or forced enrollment; present only when status is not 'authenticated'
550
+ */
551
+ mfa_token?: string | null;
507
552
  /**
508
553
  * Token
509
554
  *
@@ -1283,6 +1328,22 @@ export type CancelSubscriptionRequest = {
1283
1328
  user_id?: string | null;
1284
1329
  };
1285
1330
 
1331
+ /**
1332
+ * CeremonyOptionsResponse
1333
+ *
1334
+ * WebAuthn options for the browser, verbatim from the RP library.
1335
+ */
1336
+ export type CeremonyOptionsResponse = {
1337
+ /**
1338
+ * Options
1339
+ *
1340
+ * PublicKeyCredential options (browser JSON, opaque)
1341
+ */
1342
+ options: {
1343
+ [key: string]: unknown;
1344
+ };
1345
+ };
1346
+
1286
1347
  /**
1287
1348
  * ChangeReportingStyleRequest
1288
1349
  *
@@ -8794,6 +8855,74 @@ export type MetricObservation = {
8794
8855
  value: number;
8795
8856
  };
8796
8857
 
8858
+ /**
8859
+ * MfaOptionsRequest
8860
+ *
8861
+ * Request assertion options for the second factor.
8862
+ */
8863
+ export type MfaOptionsRequest = {
8864
+ /**
8865
+ * Mfa Token
8866
+ *
8867
+ * Token from a login that returned mfa_required
8868
+ */
8869
+ mfa_token: string;
8870
+ };
8871
+
8872
+ /**
8873
+ * MfaStatusResponse
8874
+ *
8875
+ * The user's MFA posture, for account settings.
8876
+ */
8877
+ export type MfaStatusResponse = {
8878
+ /**
8879
+ * Passkey Count
8880
+ *
8881
+ * Enrolled passkey count
8882
+ */
8883
+ passkey_count: number;
8884
+ /**
8885
+ * Recovery Codes Remaining
8886
+ *
8887
+ * Unused recovery codes remaining
8888
+ */
8889
+ recovery_codes_remaining: number;
8890
+ /**
8891
+ * Enforcement Applies
8892
+ *
8893
+ * Whether the MFA requirement applies to this user's roles
8894
+ */
8895
+ enforcement_applies: boolean;
8896
+ };
8897
+
8898
+ /**
8899
+ * MfaVerifyRequest
8900
+ *
8901
+ * Complete the second factor with an assertion or a recovery code.
8902
+ */
8903
+ export type MfaVerifyRequest = {
8904
+ /**
8905
+ * Mfa Token
8906
+ *
8907
+ * Token from a login that returned mfa_required
8908
+ */
8909
+ mfa_token: string;
8910
+ /**
8911
+ * Assertion
8912
+ *
8913
+ * WebAuthn assertion (browser JSON, opaque)
8914
+ */
8915
+ assertion?: {
8916
+ [key: string]: unknown;
8917
+ } | null;
8918
+ /**
8919
+ * Recovery Code
8920
+ *
8921
+ * Single-use recovery code
8922
+ */
8923
+ recovery_code?: string | null;
8924
+ };
8925
+
8797
8926
  /**
8798
8927
  * OAuthCallbackRequest
8799
8928
  *
@@ -8918,6 +9047,26 @@ export type OAuthInitResponse = {
8918
9047
  expires_at: string;
8919
9048
  };
8920
9049
 
9050
+ /**
9051
+ * OIDCProviderInfo
9052
+ *
9053
+ * OIDC provider availability model.
9054
+ */
9055
+ export type OidcProviderInfo = {
9056
+ /**
9057
+ * Enabled
9058
+ *
9059
+ * Whether OIDC SSO is available
9060
+ */
9061
+ enabled: boolean;
9062
+ /**
9063
+ * Provider Label
9064
+ *
9065
+ * Display label for the OIDC provider (e.g. 'Okta')
9066
+ */
9067
+ provider_label?: string | null;
9068
+ };
9069
+
8921
9070
  /**
8922
9071
  * OfferingRepositoryPlan
8923
9072
  *
@@ -11491,6 +11640,168 @@ export type OrgUsageSummary = {
11491
11640
  storage_limit_gb: number | null;
11492
11641
  };
11493
11642
 
11643
+ /**
11644
+ * PasskeyDeleteRequest
11645
+ *
11646
+ * Re-authentication proof for removing a passkey.
11647
+ */
11648
+ export type PasskeyDeleteRequest = {
11649
+ /**
11650
+ * Password
11651
+ *
11652
+ * Current password (password-holding users)
11653
+ */
11654
+ password?: string | null;
11655
+ /**
11656
+ * Assertion
11657
+ *
11658
+ * Fresh WebAuthn assertion from the re-auth ceremony
11659
+ */
11660
+ assertion?: {
11661
+ [key: string]: unknown;
11662
+ } | null;
11663
+ };
11664
+
11665
+ /**
11666
+ * PasskeyInfo
11667
+ *
11668
+ * One enrolled passkey, as listed in account settings.
11669
+ */
11670
+ export type PasskeyInfo = {
11671
+ /**
11672
+ * Id
11673
+ *
11674
+ * Passkey identifier
11675
+ */
11676
+ id: string;
11677
+ /**
11678
+ * Name
11679
+ *
11680
+ * User-facing label
11681
+ */
11682
+ name: string;
11683
+ /**
11684
+ * Created At
11685
+ *
11686
+ * Enrollment time (ISO 8601)
11687
+ */
11688
+ created_at: string;
11689
+ /**
11690
+ * Last Used At
11691
+ *
11692
+ * Last successful assertion time (ISO 8601)
11693
+ */
11694
+ last_used_at?: string | null;
11695
+ /**
11696
+ * Backup Eligible
11697
+ *
11698
+ * Whether the credential is synced (multi-device) capable
11699
+ */
11700
+ backup_eligible: boolean;
11701
+ /**
11702
+ * Backup State
11703
+ *
11704
+ * Whether the credential is currently backed up
11705
+ */
11706
+ backup_state: boolean;
11707
+ };
11708
+
11709
+ /**
11710
+ * PasskeyListResponse
11711
+ *
11712
+ * The user's enrolled passkeys.
11713
+ */
11714
+ export type PasskeyListResponse = {
11715
+ /**
11716
+ * Passkeys
11717
+ *
11718
+ * Enrolled passkeys
11719
+ */
11720
+ passkeys: Array<PasskeyInfo>;
11721
+ };
11722
+
11723
+ /**
11724
+ * PasskeyLoginVerifyRequest
11725
+ *
11726
+ * Complete a passwordless login with a discoverable-credential assertion.
11727
+ */
11728
+ export type PasskeyLoginVerifyRequest = {
11729
+ /**
11730
+ * Assertion
11731
+ *
11732
+ * WebAuthn assertion (browser JSON, opaque)
11733
+ */
11734
+ assertion: {
11735
+ [key: string]: unknown;
11736
+ };
11737
+ };
11738
+
11739
+ /**
11740
+ * PasskeyRegisterOptionsRequest
11741
+ *
11742
+ * Begin enrollment. mfa_token is the forced-enrollment lane; omitted for
11743
+ * an authenticated settings-flow enrollment.
11744
+ */
11745
+ export type PasskeyRegisterOptionsRequest = {
11746
+ /**
11747
+ * Mfa Token
11748
+ *
11749
+ * Enrollment token from a login that returned mfa_enrollment_required
11750
+ */
11751
+ mfa_token?: string | null;
11752
+ };
11753
+
11754
+ /**
11755
+ * PasskeyRegisterVerifyRequest
11756
+ *
11757
+ * Finish enrollment with the authenticator's attestation response.
11758
+ */
11759
+ export type PasskeyRegisterVerifyRequest = {
11760
+ /**
11761
+ * Credential
11762
+ *
11763
+ * WebAuthn registration credential (browser JSON, opaque)
11764
+ */
11765
+ credential: {
11766
+ [key: string]: unknown;
11767
+ };
11768
+ /**
11769
+ * Name
11770
+ *
11771
+ * User-facing label for this passkey
11772
+ */
11773
+ name?: string | null;
11774
+ /**
11775
+ * Mfa Token
11776
+ *
11777
+ * Enrollment token when finishing a forced enrollment
11778
+ */
11779
+ mfa_token?: string | null;
11780
+ };
11781
+
11782
+ /**
11783
+ * PasskeyRegisterVerifyResponse
11784
+ *
11785
+ * Enrollment result; the first passkey also carries recovery codes and,
11786
+ * in the forced-enrollment lane, the completed login.
11787
+ */
11788
+ export type PasskeyRegisterVerifyResponse = {
11789
+ /**
11790
+ * The newly enrolled passkey
11791
+ */
11792
+ passkey: PasskeyInfo;
11793
+ /**
11794
+ * Recovery Codes
11795
+ *
11796
+ * Single-use recovery codes — returned exactly once, at first enrollment
11797
+ */
11798
+ recovery_codes?: Array<string> | null;
11799
+ /**
11800
+ * Completed login (forced-enrollment lane only)
11801
+ */
11802
+ auth?: AuthResponse | null;
11803
+ };
11804
+
11494
11805
  /**
11495
11806
  * PasswordCheckRequest
11496
11807
  *
@@ -11737,7 +12048,13 @@ export type PortalSessionResponse = {
11737
12048
  *
11738
12049
  * Stripe Customer Portal URL where user can manage payment methods
11739
12050
  */
11740
- portal_url: string;
12051
+ portal_url?: string | null;
12052
+ /**
12053
+ * Billing Disabled
12054
+ *
12055
+ * True when billing is disabled on this deployment (no portal exists)
12056
+ */
12057
+ billing_disabled?: boolean;
11741
12058
  };
11742
12059
 
11743
12060
  /**
@@ -12482,6 +12799,42 @@ export type RebuildScheduleRequest = {
12482
12799
  structure_id: string;
12483
12800
  };
12484
12801
 
12802
+ /**
12803
+ * RecoveryCodesRequest
12804
+ *
12805
+ * Re-authentication proof for regenerating recovery codes.
12806
+ */
12807
+ export type RecoveryCodesRequest = {
12808
+ /**
12809
+ * Password
12810
+ *
12811
+ * Current password (password-holding users)
12812
+ */
12813
+ password?: string | null;
12814
+ /**
12815
+ * Assertion
12816
+ *
12817
+ * Fresh WebAuthn assertion from the re-auth ceremony
12818
+ */
12819
+ assertion?: {
12820
+ [key: string]: unknown;
12821
+ } | null;
12822
+ };
12823
+
12824
+ /**
12825
+ * RecoveryCodesResponse
12826
+ *
12827
+ * A fresh recovery-code set — shown exactly once.
12828
+ */
12829
+ export type RecoveryCodesResponse = {
12830
+ /**
12831
+ * Codes
12832
+ *
12833
+ * Single-use recovery codes
12834
+ */
12835
+ codes: Array<string>;
12836
+ };
12837
+
12485
12838
  /**
12486
12839
  * RegenerateReportOperation
12487
12840
  *
@@ -17846,18 +18199,26 @@ export type CompleteSsoAuthResponses = {
17846
18199
 
17847
18200
  export type CompleteSsoAuthResponse = CompleteSsoAuthResponses[keyof CompleteSsoAuthResponses];
17848
18201
 
17849
- export type GetCaptchaConfigData = {
17850
- body?: never;
18202
+ export type GetPasskeyRegistrationOptionsData = {
18203
+ body: PasskeyRegisterOptionsRequest;
17851
18204
  path?: never;
17852
18205
  query?: never;
17853
- url: '/v1/auth/captcha/config';
18206
+ url: '/v1/auth/passkeys/register/options';
17854
18207
  };
17855
18208
 
17856
- export type GetCaptchaConfigErrors = {
18209
+ export type GetPasskeyRegistrationOptionsErrors = {
17857
18210
  /**
17858
18211
  * Invalid request
17859
18212
  */
17860
18213
  400: ErrorResponse;
18214
+ /**
18215
+ * Authentication required
18216
+ */
18217
+ 401: ErrorResponse;
18218
+ /**
18219
+ * Validation Error
18220
+ */
18221
+ 422: HttpValidationError;
17861
18222
  /**
17862
18223
  * Rate limit exceeded
17863
18224
  */
@@ -17868,15 +18229,468 @@ export type GetCaptchaConfigErrors = {
17868
18229
  500: ErrorResponse;
17869
18230
  };
17870
18231
 
17871
- export type GetCaptchaConfigError = GetCaptchaConfigErrors[keyof GetCaptchaConfigErrors];
18232
+ export type GetPasskeyRegistrationOptionsError = GetPasskeyRegistrationOptionsErrors[keyof GetPasskeyRegistrationOptionsErrors];
17872
18233
 
17873
- export type GetCaptchaConfigResponses = {
18234
+ export type GetPasskeyRegistrationOptionsResponses = {
17874
18235
  /**
17875
18236
  * Successful Response
17876
18237
  */
17877
- 200: unknown;
18238
+ 200: CeremonyOptionsResponse;
18239
+ };
18240
+
18241
+ export type GetPasskeyRegistrationOptionsResponse = GetPasskeyRegistrationOptionsResponses[keyof GetPasskeyRegistrationOptionsResponses];
18242
+
18243
+ export type VerifyPasskeyRegistrationData = {
18244
+ body: PasskeyRegisterVerifyRequest;
18245
+ path?: never;
18246
+ query?: never;
18247
+ url: '/v1/auth/passkeys/register/verify';
18248
+ };
18249
+
18250
+ export type VerifyPasskeyRegistrationErrors = {
18251
+ /**
18252
+ * Registration failed
18253
+ */
18254
+ 400: ErrorResponse;
18255
+ /**
18256
+ * Authentication required
18257
+ */
18258
+ 401: ErrorResponse;
18259
+ /**
18260
+ * Validation Error
18261
+ */
18262
+ 422: HttpValidationError;
18263
+ /**
18264
+ * Rate limit exceeded
18265
+ */
18266
+ 429: ErrorResponse;
18267
+ /**
18268
+ * Internal server error
18269
+ */
18270
+ 500: ErrorResponse;
17878
18271
  };
17879
18272
 
18273
+ export type VerifyPasskeyRegistrationError = VerifyPasskeyRegistrationErrors[keyof VerifyPasskeyRegistrationErrors];
18274
+
18275
+ export type VerifyPasskeyRegistrationResponses = {
18276
+ /**
18277
+ * Successful Response
18278
+ */
18279
+ 200: PasskeyRegisterVerifyResponse;
18280
+ };
18281
+
18282
+ export type VerifyPasskeyRegistrationResponse = VerifyPasskeyRegistrationResponses[keyof VerifyPasskeyRegistrationResponses];
18283
+
18284
+ export type ListUserPasskeysData = {
18285
+ body?: never;
18286
+ path?: never;
18287
+ query?: never;
18288
+ url: '/v1/auth/passkeys';
18289
+ };
18290
+
18291
+ export type ListUserPasskeysErrors = {
18292
+ /**
18293
+ * Invalid request
18294
+ */
18295
+ 400: ErrorResponse;
18296
+ /**
18297
+ * Rate limit exceeded
18298
+ */
18299
+ 429: ErrorResponse;
18300
+ /**
18301
+ * Internal server error
18302
+ */
18303
+ 500: ErrorResponse;
18304
+ };
18305
+
18306
+ export type ListUserPasskeysError = ListUserPasskeysErrors[keyof ListUserPasskeysErrors];
18307
+
18308
+ export type ListUserPasskeysResponses = {
18309
+ /**
18310
+ * Successful Response
18311
+ */
18312
+ 200: PasskeyListResponse;
18313
+ };
18314
+
18315
+ export type ListUserPasskeysResponse = ListUserPasskeysResponses[keyof ListUserPasskeysResponses];
18316
+
18317
+ export type GetPasskeyReauthOptionsData = {
18318
+ body?: never;
18319
+ path?: never;
18320
+ query?: never;
18321
+ url: '/v1/auth/passkeys/reauth/options';
18322
+ };
18323
+
18324
+ export type GetPasskeyReauthOptionsErrors = {
18325
+ /**
18326
+ * Invalid request
18327
+ */
18328
+ 400: ErrorResponse;
18329
+ /**
18330
+ * Rate limit exceeded
18331
+ */
18332
+ 429: ErrorResponse;
18333
+ /**
18334
+ * Internal server error
18335
+ */
18336
+ 500: ErrorResponse;
18337
+ };
18338
+
18339
+ export type GetPasskeyReauthOptionsError = GetPasskeyReauthOptionsErrors[keyof GetPasskeyReauthOptionsErrors];
18340
+
18341
+ export type GetPasskeyReauthOptionsResponses = {
18342
+ /**
18343
+ * Successful Response
18344
+ */
18345
+ 200: CeremonyOptionsResponse;
18346
+ };
18347
+
18348
+ export type GetPasskeyReauthOptionsResponse = GetPasskeyReauthOptionsResponses[keyof GetPasskeyReauthOptionsResponses];
18349
+
18350
+ export type DeleteUserPasskeyData = {
18351
+ body: PasskeyDeleteRequest;
18352
+ path: {
18353
+ /**
18354
+ * Passkey Id
18355
+ */
18356
+ passkey_id: string;
18357
+ };
18358
+ query?: never;
18359
+ url: '/v1/auth/passkeys/{passkey_id}';
18360
+ };
18361
+
18362
+ export type DeleteUserPasskeyErrors = {
18363
+ /**
18364
+ * Invalid request
18365
+ */
18366
+ 400: ErrorResponse;
18367
+ /**
18368
+ * Re-authentication failed
18369
+ */
18370
+ 401: ErrorResponse;
18371
+ /**
18372
+ * Last passkey of an MFA-required role
18373
+ */
18374
+ 409: ErrorResponse;
18375
+ /**
18376
+ * Validation Error
18377
+ */
18378
+ 422: HttpValidationError;
18379
+ /**
18380
+ * Rate limit exceeded
18381
+ */
18382
+ 429: ErrorResponse;
18383
+ /**
18384
+ * Internal server error
18385
+ */
18386
+ 500: ErrorResponse;
18387
+ };
18388
+
18389
+ export type DeleteUserPasskeyError = DeleteUserPasskeyErrors[keyof DeleteUserPasskeyErrors];
18390
+
18391
+ export type DeleteUserPasskeyResponses = {
18392
+ /**
18393
+ * Successful Response
18394
+ */
18395
+ 200: SuccessResponse;
18396
+ };
18397
+
18398
+ export type DeleteUserPasskeyResponse = DeleteUserPasskeyResponses[keyof DeleteUserPasskeyResponses];
18399
+
18400
+ export type GetPasskeyLoginOptionsData = {
18401
+ body?: never;
18402
+ path?: never;
18403
+ query?: never;
18404
+ url: '/v1/auth/passkeys/login/options';
18405
+ };
18406
+
18407
+ export type GetPasskeyLoginOptionsErrors = {
18408
+ /**
18409
+ * Invalid request
18410
+ */
18411
+ 400: ErrorResponse;
18412
+ /**
18413
+ * Rate limit exceeded
18414
+ */
18415
+ 429: ErrorResponse;
18416
+ /**
18417
+ * Internal server error
18418
+ */
18419
+ 500: ErrorResponse;
18420
+ };
18421
+
18422
+ export type GetPasskeyLoginOptionsError = GetPasskeyLoginOptionsErrors[keyof GetPasskeyLoginOptionsErrors];
18423
+
18424
+ export type GetPasskeyLoginOptionsResponses = {
18425
+ /**
18426
+ * Successful Response
18427
+ */
18428
+ 200: CeremonyOptionsResponse;
18429
+ };
18430
+
18431
+ export type GetPasskeyLoginOptionsResponse = GetPasskeyLoginOptionsResponses[keyof GetPasskeyLoginOptionsResponses];
18432
+
18433
+ export type VerifyPasskeyLoginData = {
18434
+ body: PasskeyLoginVerifyRequest;
18435
+ path?: never;
18436
+ query?: never;
18437
+ url: '/v1/auth/passkeys/login/verify';
18438
+ };
18439
+
18440
+ export type VerifyPasskeyLoginErrors = {
18441
+ /**
18442
+ * Invalid request
18443
+ */
18444
+ 400: ErrorResponse;
18445
+ /**
18446
+ * Verification failed
18447
+ */
18448
+ 401: ErrorResponse;
18449
+ /**
18450
+ * Validation Error
18451
+ */
18452
+ 422: HttpValidationError;
18453
+ /**
18454
+ * Rate limit exceeded
18455
+ */
18456
+ 429: ErrorResponse;
18457
+ /**
18458
+ * Internal server error
18459
+ */
18460
+ 500: ErrorResponse;
18461
+ };
18462
+
18463
+ export type VerifyPasskeyLoginError = VerifyPasskeyLoginErrors[keyof VerifyPasskeyLoginErrors];
18464
+
18465
+ export type VerifyPasskeyLoginResponses = {
18466
+ /**
18467
+ * Successful Response
18468
+ */
18469
+ 200: AuthResponse;
18470
+ };
18471
+
18472
+ export type VerifyPasskeyLoginResponse = VerifyPasskeyLoginResponses[keyof VerifyPasskeyLoginResponses];
18473
+
18474
+ export type GetMfaOptionsData = {
18475
+ body: MfaOptionsRequest;
18476
+ path?: never;
18477
+ query?: never;
18478
+ url: '/v1/auth/mfa/options';
18479
+ };
18480
+
18481
+ export type GetMfaOptionsErrors = {
18482
+ /**
18483
+ * Invalid request
18484
+ */
18485
+ 400: ErrorResponse;
18486
+ /**
18487
+ * Invalid or expired MFA token
18488
+ */
18489
+ 401: ErrorResponse;
18490
+ /**
18491
+ * Validation Error
18492
+ */
18493
+ 422: HttpValidationError;
18494
+ /**
18495
+ * Rate limit exceeded
18496
+ */
18497
+ 429: ErrorResponse;
18498
+ /**
18499
+ * Internal server error
18500
+ */
18501
+ 500: ErrorResponse;
18502
+ };
18503
+
18504
+ export type GetMfaOptionsError = GetMfaOptionsErrors[keyof GetMfaOptionsErrors];
18505
+
18506
+ export type GetMfaOptionsResponses = {
18507
+ /**
18508
+ * Successful Response
18509
+ */
18510
+ 200: CeremonyOptionsResponse;
18511
+ };
18512
+
18513
+ export type GetMfaOptionsResponse = GetMfaOptionsResponses[keyof GetMfaOptionsResponses];
18514
+
18515
+ export type VerifyMfaData = {
18516
+ body: MfaVerifyRequest;
18517
+ path?: never;
18518
+ query?: never;
18519
+ url: '/v1/auth/mfa/verify';
18520
+ };
18521
+
18522
+ export type VerifyMfaErrors = {
18523
+ /**
18524
+ * Invalid request
18525
+ */
18526
+ 400: ErrorResponse;
18527
+ /**
18528
+ * Verification failed
18529
+ */
18530
+ 401: ErrorResponse;
18531
+ /**
18532
+ * Validation Error
18533
+ */
18534
+ 422: HttpValidationError;
18535
+ /**
18536
+ * Rate limit exceeded
18537
+ */
18538
+ 429: ErrorResponse;
18539
+ /**
18540
+ * Internal server error
18541
+ */
18542
+ 500: ErrorResponse;
18543
+ };
18544
+
18545
+ export type VerifyMfaError = VerifyMfaErrors[keyof VerifyMfaErrors];
18546
+
18547
+ export type VerifyMfaResponses = {
18548
+ /**
18549
+ * Successful Response
18550
+ */
18551
+ 200: AuthResponse;
18552
+ };
18553
+
18554
+ export type VerifyMfaResponse = VerifyMfaResponses[keyof VerifyMfaResponses];
18555
+
18556
+ export type GetMfaStatusData = {
18557
+ body?: never;
18558
+ path?: never;
18559
+ query?: never;
18560
+ url: '/v1/auth/mfa/status';
18561
+ };
18562
+
18563
+ export type GetMfaStatusErrors = {
18564
+ /**
18565
+ * Invalid request
18566
+ */
18567
+ 400: ErrorResponse;
18568
+ /**
18569
+ * Rate limit exceeded
18570
+ */
18571
+ 429: ErrorResponse;
18572
+ /**
18573
+ * Internal server error
18574
+ */
18575
+ 500: ErrorResponse;
18576
+ };
18577
+
18578
+ export type GetMfaStatusError = GetMfaStatusErrors[keyof GetMfaStatusErrors];
18579
+
18580
+ export type GetMfaStatusResponses = {
18581
+ /**
18582
+ * Successful Response
18583
+ */
18584
+ 200: MfaStatusResponse;
18585
+ };
18586
+
18587
+ export type GetMfaStatusResponse = GetMfaStatusResponses[keyof GetMfaStatusResponses];
18588
+
18589
+ export type RegenerateMfaRecoveryCodesData = {
18590
+ body: RecoveryCodesRequest;
18591
+ path?: never;
18592
+ query?: never;
18593
+ url: '/v1/auth/mfa/recovery-codes/regenerate';
18594
+ };
18595
+
18596
+ export type RegenerateMfaRecoveryCodesErrors = {
18597
+ /**
18598
+ * Invalid request
18599
+ */
18600
+ 400: ErrorResponse;
18601
+ /**
18602
+ * Re-authentication failed
18603
+ */
18604
+ 401: ErrorResponse;
18605
+ /**
18606
+ * Validation Error
18607
+ */
18608
+ 422: HttpValidationError;
18609
+ /**
18610
+ * Rate limit exceeded
18611
+ */
18612
+ 429: ErrorResponse;
18613
+ /**
18614
+ * Internal server error
18615
+ */
18616
+ 500: ErrorResponse;
18617
+ };
18618
+
18619
+ export type RegenerateMfaRecoveryCodesError = RegenerateMfaRecoveryCodesErrors[keyof RegenerateMfaRecoveryCodesErrors];
18620
+
18621
+ export type RegenerateMfaRecoveryCodesResponses = {
18622
+ /**
18623
+ * Successful Response
18624
+ */
18625
+ 200: RecoveryCodesResponse;
18626
+ };
18627
+
18628
+ export type RegenerateMfaRecoveryCodesResponse = RegenerateMfaRecoveryCodesResponses[keyof RegenerateMfaRecoveryCodesResponses];
18629
+
18630
+ export type GetCaptchaConfigData = {
18631
+ body?: never;
18632
+ path?: never;
18633
+ query?: never;
18634
+ url: '/v1/auth/captcha/config';
18635
+ };
18636
+
18637
+ export type GetCaptchaConfigErrors = {
18638
+ /**
18639
+ * Invalid request
18640
+ */
18641
+ 400: ErrorResponse;
18642
+ /**
18643
+ * Rate limit exceeded
18644
+ */
18645
+ 429: ErrorResponse;
18646
+ /**
18647
+ * Internal server error
18648
+ */
18649
+ 500: ErrorResponse;
18650
+ };
18651
+
18652
+ export type GetCaptchaConfigError = GetCaptchaConfigErrors[keyof GetCaptchaConfigErrors];
18653
+
18654
+ export type GetCaptchaConfigResponses = {
18655
+ /**
18656
+ * Successful Response
18657
+ */
18658
+ 200: unknown;
18659
+ };
18660
+
18661
+ export type GetAuthProvidersData = {
18662
+ body?: never;
18663
+ path?: never;
18664
+ query?: never;
18665
+ url: '/v1/auth/providers';
18666
+ };
18667
+
18668
+ export type GetAuthProvidersErrors = {
18669
+ /**
18670
+ * Invalid request
18671
+ */
18672
+ 400: ErrorResponse;
18673
+ /**
18674
+ * Rate limit exceeded
18675
+ */
18676
+ 429: ErrorResponse;
18677
+ /**
18678
+ * Internal server error
18679
+ */
18680
+ 500: ErrorResponse;
18681
+ };
18682
+
18683
+ export type GetAuthProvidersError = GetAuthProvidersErrors[keyof GetAuthProvidersErrors];
18684
+
18685
+ export type GetAuthProvidersResponses = {
18686
+ /**
18687
+ * Successful Response
18688
+ */
18689
+ 200: AuthProvidersResponse;
18690
+ };
18691
+
18692
+ export type GetAuthProvidersResponse = GetAuthProvidersResponses[keyof GetAuthProvidersResponses];
18693
+
17880
18694
  export type GetServiceStatusData = {
17881
18695
  body?: never;
17882
18696
  path?: never;