@robosystems/client 1.9.0 → 1.10.1

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.
@@ -521,6 +521,18 @@ export type AuthResponse = {
521
521
  * Success message
522
522
  */
523
523
  message: string;
524
+ /**
525
+ * Status
526
+ *
527
+ * Login flow state: authenticated (token present), or a passkey MFA step is required before a session is issued (mfa_token present)
528
+ */
529
+ status?: 'authenticated' | 'mfa_required' | 'mfa_enrollment_required';
530
+ /**
531
+ * Mfa Token
532
+ *
533
+ * Short-lived token authorizing the MFA second step or forced enrollment; present only when status is not 'authenticated'
534
+ */
535
+ mfa_token?: string | null;
524
536
  /**
525
537
  * Token
526
538
  *
@@ -1279,6 +1291,21 @@ export type CancelSubscriptionRequest = {
1279
1291
  */
1280
1292
  user_id?: string | null;
1281
1293
  };
1294
+ /**
1295
+ * CeremonyOptionsResponse
1296
+ *
1297
+ * WebAuthn options for the browser, verbatim from the RP library.
1298
+ */
1299
+ export type CeremonyOptionsResponse = {
1300
+ /**
1301
+ * Options
1302
+ *
1303
+ * PublicKeyCredential options (browser JSON, opaque)
1304
+ */
1305
+ options: {
1306
+ [key: string]: unknown;
1307
+ };
1308
+ };
1282
1309
  /**
1283
1310
  * ChangeReportingStyleRequest
1284
1311
  *
@@ -1496,7 +1523,7 @@ export type CheckoutStatusResponse = {
1496
1523
  /**
1497
1524
  * Operation Id
1498
1525
  *
1499
- * SSE operation ID for monitoring provisioning progress
1526
+ * Always null. Webhook-driven provisioning passes no operation id (`_trigger_resource_provisioning` calls `run_graph_provisioning` with `operation_id=None`), so there is no SSE stream to follow — poll the status endpoint instead. Retained rather than removed because it is on a published response shape; wiring it is a feature, not a fix.
1500
1527
  */
1501
1528
  operation_id?: string | null;
1502
1529
  /**
@@ -5510,6 +5537,12 @@ export type FileUploadRequest = {
5510
5537
  * Table name to associate file with (required for first-class /files endpoint)
5511
5538
  */
5512
5539
  table_name?: string | null;
5540
+ /**
5541
+ * File Size Bytes
5542
+ *
5543
+ * Size of the file about to be uploaded, in bytes. Optional; when supplied, an over-limit file is rejected here instead of after it has been pushed to S3 and rejected by ingest-file. Advisory only — the authoritative check measures the object after upload.
5544
+ */
5545
+ file_size_bytes?: number | null;
5513
5546
  };
5514
5547
  /**
5515
5548
  * FinancialStatementAnalysisRequest
@@ -8618,6 +8651,71 @@ export type MetricObservation = {
8618
8651
  */
8619
8652
  value: number;
8620
8653
  };
8654
+ /**
8655
+ * MfaOptionsRequest
8656
+ *
8657
+ * Request assertion options for the second factor.
8658
+ */
8659
+ export type MfaOptionsRequest = {
8660
+ /**
8661
+ * Mfa Token
8662
+ *
8663
+ * Token from a login that returned mfa_required
8664
+ */
8665
+ mfa_token: string;
8666
+ };
8667
+ /**
8668
+ * MfaStatusResponse
8669
+ *
8670
+ * The user's MFA posture, for account settings.
8671
+ */
8672
+ export type MfaStatusResponse = {
8673
+ /**
8674
+ * Passkey Count
8675
+ *
8676
+ * Enrolled passkey count
8677
+ */
8678
+ passkey_count: number;
8679
+ /**
8680
+ * Recovery Codes Remaining
8681
+ *
8682
+ * Unused recovery codes remaining
8683
+ */
8684
+ recovery_codes_remaining: number;
8685
+ /**
8686
+ * Enforcement Applies
8687
+ *
8688
+ * Whether the MFA requirement applies to this user's roles
8689
+ */
8690
+ enforcement_applies: boolean;
8691
+ };
8692
+ /**
8693
+ * MfaVerifyRequest
8694
+ *
8695
+ * Complete the second factor with an assertion or a recovery code.
8696
+ */
8697
+ export type MfaVerifyRequest = {
8698
+ /**
8699
+ * Mfa Token
8700
+ *
8701
+ * Token from a login that returned mfa_required
8702
+ */
8703
+ mfa_token: string;
8704
+ /**
8705
+ * Assertion
8706
+ *
8707
+ * WebAuthn assertion (browser JSON, opaque)
8708
+ */
8709
+ assertion?: {
8710
+ [key: string]: unknown;
8711
+ } | null;
8712
+ /**
8713
+ * Recovery Code
8714
+ *
8715
+ * Single-use recovery code
8716
+ */
8717
+ recovery_code?: string | null;
8718
+ };
8621
8719
  /**
8622
8720
  * OAuthCallbackRequest
8623
8721
  *
@@ -11269,6 +11367,180 @@ export type OrgUsageSummary = {
11269
11367
  */
11270
11368
  storage_limit_gb: number | null;
11271
11369
  };
11370
+ /**
11371
+ * PasskeyDeleteRequest
11372
+ *
11373
+ * Re-authentication proof for removing a passkey.
11374
+ */
11375
+ export type PasskeyDeleteRequest = {
11376
+ /**
11377
+ * Password
11378
+ *
11379
+ * Current password (password-holding users)
11380
+ */
11381
+ password?: string | null;
11382
+ /**
11383
+ * Assertion
11384
+ *
11385
+ * Fresh WebAuthn assertion from the re-auth ceremony
11386
+ */
11387
+ assertion?: {
11388
+ [key: string]: unknown;
11389
+ } | null;
11390
+ };
11391
+ /**
11392
+ * PasskeyInfo
11393
+ *
11394
+ * One enrolled passkey, as listed in account settings.
11395
+ */
11396
+ export type PasskeyInfo = {
11397
+ /**
11398
+ * Id
11399
+ *
11400
+ * Passkey identifier
11401
+ */
11402
+ id: string;
11403
+ /**
11404
+ * Name
11405
+ *
11406
+ * User-facing label
11407
+ */
11408
+ name: string;
11409
+ /**
11410
+ * Created At
11411
+ *
11412
+ * Enrollment time (ISO 8601)
11413
+ */
11414
+ created_at: string;
11415
+ /**
11416
+ * Last Used At
11417
+ *
11418
+ * Last successful assertion time (ISO 8601)
11419
+ */
11420
+ last_used_at?: string | null;
11421
+ /**
11422
+ * Backup Eligible
11423
+ *
11424
+ * Whether the credential is synced (multi-device) capable
11425
+ */
11426
+ backup_eligible: boolean;
11427
+ /**
11428
+ * Backup State
11429
+ *
11430
+ * Whether the credential is currently backed up
11431
+ */
11432
+ backup_state: boolean;
11433
+ };
11434
+ /**
11435
+ * PasskeyListResponse
11436
+ *
11437
+ * The user's enrolled passkeys.
11438
+ */
11439
+ export type PasskeyListResponse = {
11440
+ /**
11441
+ * Passkeys
11442
+ *
11443
+ * Enrolled passkeys
11444
+ */
11445
+ passkeys: Array<PasskeyInfo>;
11446
+ };
11447
+ /**
11448
+ * PasskeyLoginVerifyRequest
11449
+ *
11450
+ * Complete a passwordless login with a discoverable-credential assertion.
11451
+ */
11452
+ export type PasskeyLoginVerifyRequest = {
11453
+ /**
11454
+ * Assertion
11455
+ *
11456
+ * WebAuthn assertion (browser JSON, opaque)
11457
+ */
11458
+ assertion: {
11459
+ [key: string]: unknown;
11460
+ };
11461
+ };
11462
+ /**
11463
+ * PasskeyRegisterOptionsRequest
11464
+ *
11465
+ * Begin enrollment.
11466
+ *
11467
+ * Two disjoint lanes: ``mfa_token`` (forced enrollment — the token was minted
11468
+ * seconds after a password verify, so it is its own freshness proof) or an
11469
+ * authenticated settings-flow enrollment, which must carry a fresh re-auth
11470
+ * proof — ``password``, or a ``reauth``-ceremony ``assertion`` when adding a
11471
+ * passkey beside an existing one.
11472
+ */
11473
+ export type PasskeyRegisterOptionsRequest = {
11474
+ /**
11475
+ * Mfa Token
11476
+ *
11477
+ * Enrollment token from a login that returned mfa_enrollment_required
11478
+ */
11479
+ mfa_token?: string | null;
11480
+ /**
11481
+ * Password
11482
+ *
11483
+ * Current password — settings-lane re-authentication
11484
+ */
11485
+ password?: string | null;
11486
+ /**
11487
+ * Assertion
11488
+ *
11489
+ * Fresh WebAuthn assertion from the re-auth ceremony (settings lane)
11490
+ */
11491
+ assertion?: {
11492
+ [key: string]: unknown;
11493
+ } | null;
11494
+ };
11495
+ /**
11496
+ * PasskeyRegisterVerifyRequest
11497
+ *
11498
+ * Finish enrollment with the authenticator's attestation response.
11499
+ */
11500
+ export type PasskeyRegisterVerifyRequest = {
11501
+ /**
11502
+ * Credential
11503
+ *
11504
+ * WebAuthn registration credential (browser JSON, opaque)
11505
+ */
11506
+ credential: {
11507
+ [key: string]: unknown;
11508
+ };
11509
+ /**
11510
+ * Name
11511
+ *
11512
+ * User-facing label for this passkey
11513
+ */
11514
+ name?: string | null;
11515
+ /**
11516
+ * Mfa Token
11517
+ *
11518
+ * Enrollment token when finishing a forced enrollment
11519
+ */
11520
+ mfa_token?: string | null;
11521
+ };
11522
+ /**
11523
+ * PasskeyRegisterVerifyResponse
11524
+ *
11525
+ * Enrollment result; the first passkey also carries recovery codes and,
11526
+ * in the forced-enrollment lane, the completed login.
11527
+ */
11528
+ export type PasskeyRegisterVerifyResponse = {
11529
+ /**
11530
+ * The newly enrolled passkey
11531
+ */
11532
+ passkey: PasskeyInfo;
11533
+ /**
11534
+ * Recovery Codes
11535
+ *
11536
+ * Single-use recovery codes — returned exactly once, at first enrollment
11537
+ */
11538
+ recovery_codes?: Array<string> | null;
11539
+ /**
11540
+ * Completed login (forced-enrollment lane only)
11541
+ */
11542
+ auth?: AuthResponse | null;
11543
+ };
11272
11544
  /**
11273
11545
  * PasswordCheckRequest
11274
11546
  *
@@ -11508,7 +11780,13 @@ export type PortalSessionResponse = {
11508
11780
  *
11509
11781
  * Stripe Customer Portal URL where user can manage payment methods
11510
11782
  */
11511
- portal_url: string;
11783
+ portal_url?: string | null;
11784
+ /**
11785
+ * Billing Disabled
11786
+ *
11787
+ * True when billing is disabled on this deployment (no portal exists)
11788
+ */
11789
+ billing_disabled?: boolean;
11512
11790
  };
11513
11791
  /**
11514
11792
  * PortfolioBlockEnvelope
@@ -12235,6 +12513,40 @@ export type RebuildScheduleRequest = {
12235
12513
  */
12236
12514
  structure_id: string;
12237
12515
  };
12516
+ /**
12517
+ * RecoveryCodesRequest
12518
+ *
12519
+ * Re-authentication proof for regenerating recovery codes.
12520
+ */
12521
+ export type RecoveryCodesRequest = {
12522
+ /**
12523
+ * Password
12524
+ *
12525
+ * Current password (password-holding users)
12526
+ */
12527
+ password?: string | null;
12528
+ /**
12529
+ * Assertion
12530
+ *
12531
+ * Fresh WebAuthn assertion from the re-auth ceremony
12532
+ */
12533
+ assertion?: {
12534
+ [key: string]: unknown;
12535
+ } | null;
12536
+ };
12537
+ /**
12538
+ * RecoveryCodesResponse
12539
+ *
12540
+ * A fresh recovery-code set — shown exactly once.
12541
+ */
12542
+ export type RecoveryCodesResponse = {
12543
+ /**
12544
+ * Codes
12545
+ *
12546
+ * Single-use recovery codes
12547
+ */
12548
+ codes: Array<string>;
12549
+ };
12238
12550
  /**
12239
12551
  * RegenerateReportOperation
12240
12552
  *
@@ -17388,6 +17700,379 @@ export type CompleteSsoAuthResponses = {
17388
17700
  200: AuthResponse;
17389
17701
  };
17390
17702
  export type CompleteSsoAuthResponse = CompleteSsoAuthResponses[keyof CompleteSsoAuthResponses];
17703
+ export type GetPasskeyRegistrationOptionsData = {
17704
+ body: PasskeyRegisterOptionsRequest;
17705
+ path?: never;
17706
+ query?: never;
17707
+ url: '/v1/auth/passkeys/register/options';
17708
+ };
17709
+ export type GetPasskeyRegistrationOptionsErrors = {
17710
+ /**
17711
+ * Invalid request
17712
+ */
17713
+ 400: ErrorResponse;
17714
+ /**
17715
+ * Authentication required
17716
+ */
17717
+ 401: ErrorResponse;
17718
+ /**
17719
+ * Validation Error
17720
+ */
17721
+ 422: HttpValidationError;
17722
+ /**
17723
+ * Rate limit exceeded
17724
+ */
17725
+ 429: ErrorResponse;
17726
+ /**
17727
+ * Internal server error
17728
+ */
17729
+ 500: ErrorResponse;
17730
+ };
17731
+ export type GetPasskeyRegistrationOptionsError = GetPasskeyRegistrationOptionsErrors[keyof GetPasskeyRegistrationOptionsErrors];
17732
+ export type GetPasskeyRegistrationOptionsResponses = {
17733
+ /**
17734
+ * Successful Response
17735
+ */
17736
+ 200: CeremonyOptionsResponse;
17737
+ };
17738
+ export type GetPasskeyRegistrationOptionsResponse = GetPasskeyRegistrationOptionsResponses[keyof GetPasskeyRegistrationOptionsResponses];
17739
+ export type VerifyPasskeyRegistrationData = {
17740
+ body: PasskeyRegisterVerifyRequest;
17741
+ path?: never;
17742
+ query?: never;
17743
+ url: '/v1/auth/passkeys/register/verify';
17744
+ };
17745
+ export type VerifyPasskeyRegistrationErrors = {
17746
+ /**
17747
+ * Registration failed
17748
+ */
17749
+ 400: ErrorResponse;
17750
+ /**
17751
+ * Authentication required
17752
+ */
17753
+ 401: ErrorResponse;
17754
+ /**
17755
+ * Validation Error
17756
+ */
17757
+ 422: HttpValidationError;
17758
+ /**
17759
+ * Rate limit exceeded
17760
+ */
17761
+ 429: ErrorResponse;
17762
+ /**
17763
+ * Internal server error
17764
+ */
17765
+ 500: ErrorResponse;
17766
+ };
17767
+ export type VerifyPasskeyRegistrationError = VerifyPasskeyRegistrationErrors[keyof VerifyPasskeyRegistrationErrors];
17768
+ export type VerifyPasskeyRegistrationResponses = {
17769
+ /**
17770
+ * Successful Response
17771
+ */
17772
+ 200: PasskeyRegisterVerifyResponse;
17773
+ };
17774
+ export type VerifyPasskeyRegistrationResponse = VerifyPasskeyRegistrationResponses[keyof VerifyPasskeyRegistrationResponses];
17775
+ export type ListUserPasskeysData = {
17776
+ body?: never;
17777
+ path?: never;
17778
+ query?: never;
17779
+ url: '/v1/auth/passkeys';
17780
+ };
17781
+ export type ListUserPasskeysErrors = {
17782
+ /**
17783
+ * Invalid request
17784
+ */
17785
+ 400: ErrorResponse;
17786
+ /**
17787
+ * Rate limit exceeded
17788
+ */
17789
+ 429: ErrorResponse;
17790
+ /**
17791
+ * Internal server error
17792
+ */
17793
+ 500: ErrorResponse;
17794
+ };
17795
+ export type ListUserPasskeysError = ListUserPasskeysErrors[keyof ListUserPasskeysErrors];
17796
+ export type ListUserPasskeysResponses = {
17797
+ /**
17798
+ * Successful Response
17799
+ */
17800
+ 200: PasskeyListResponse;
17801
+ };
17802
+ export type ListUserPasskeysResponse = ListUserPasskeysResponses[keyof ListUserPasskeysResponses];
17803
+ export type GetPasskeyReauthOptionsData = {
17804
+ body?: never;
17805
+ path?: never;
17806
+ query?: never;
17807
+ url: '/v1/auth/passkeys/reauth/options';
17808
+ };
17809
+ export type GetPasskeyReauthOptionsErrors = {
17810
+ /**
17811
+ * Invalid request
17812
+ */
17813
+ 400: ErrorResponse;
17814
+ /**
17815
+ * Rate limit exceeded
17816
+ */
17817
+ 429: ErrorResponse;
17818
+ /**
17819
+ * Internal server error
17820
+ */
17821
+ 500: ErrorResponse;
17822
+ };
17823
+ export type GetPasskeyReauthOptionsError = GetPasskeyReauthOptionsErrors[keyof GetPasskeyReauthOptionsErrors];
17824
+ export type GetPasskeyReauthOptionsResponses = {
17825
+ /**
17826
+ * Successful Response
17827
+ */
17828
+ 200: CeremonyOptionsResponse;
17829
+ };
17830
+ export type GetPasskeyReauthOptionsResponse = GetPasskeyReauthOptionsResponses[keyof GetPasskeyReauthOptionsResponses];
17831
+ export type DeleteUserPasskeyData = {
17832
+ body: PasskeyDeleteRequest;
17833
+ path: {
17834
+ /**
17835
+ * Passkey Id
17836
+ */
17837
+ passkey_id: string;
17838
+ };
17839
+ query?: never;
17840
+ url: '/v1/auth/passkeys/{passkey_id}';
17841
+ };
17842
+ export type DeleteUserPasskeyErrors = {
17843
+ /**
17844
+ * Invalid request
17845
+ */
17846
+ 400: ErrorResponse;
17847
+ /**
17848
+ * Re-authentication failed
17849
+ */
17850
+ 401: ErrorResponse;
17851
+ /**
17852
+ * Last passkey of an MFA-required role
17853
+ */
17854
+ 409: ErrorResponse;
17855
+ /**
17856
+ * Validation Error
17857
+ */
17858
+ 422: HttpValidationError;
17859
+ /**
17860
+ * Rate limit exceeded
17861
+ */
17862
+ 429: ErrorResponse;
17863
+ /**
17864
+ * Internal server error
17865
+ */
17866
+ 500: ErrorResponse;
17867
+ };
17868
+ export type DeleteUserPasskeyError = DeleteUserPasskeyErrors[keyof DeleteUserPasskeyErrors];
17869
+ export type DeleteUserPasskeyResponses = {
17870
+ /**
17871
+ * Successful Response
17872
+ */
17873
+ 200: SuccessResponse;
17874
+ };
17875
+ export type DeleteUserPasskeyResponse = DeleteUserPasskeyResponses[keyof DeleteUserPasskeyResponses];
17876
+ export type GetPasskeyLoginOptionsData = {
17877
+ body?: never;
17878
+ path?: never;
17879
+ query?: never;
17880
+ url: '/v1/auth/passkeys/login/options';
17881
+ };
17882
+ export type GetPasskeyLoginOptionsErrors = {
17883
+ /**
17884
+ * Invalid request
17885
+ */
17886
+ 400: ErrorResponse;
17887
+ /**
17888
+ * Rate limit exceeded
17889
+ */
17890
+ 429: ErrorResponse;
17891
+ /**
17892
+ * Internal server error
17893
+ */
17894
+ 500: ErrorResponse;
17895
+ };
17896
+ export type GetPasskeyLoginOptionsError = GetPasskeyLoginOptionsErrors[keyof GetPasskeyLoginOptionsErrors];
17897
+ export type GetPasskeyLoginOptionsResponses = {
17898
+ /**
17899
+ * Successful Response
17900
+ */
17901
+ 200: CeremonyOptionsResponse;
17902
+ };
17903
+ export type GetPasskeyLoginOptionsResponse = GetPasskeyLoginOptionsResponses[keyof GetPasskeyLoginOptionsResponses];
17904
+ export type VerifyPasskeyLoginData = {
17905
+ body: PasskeyLoginVerifyRequest;
17906
+ path?: never;
17907
+ query?: never;
17908
+ url: '/v1/auth/passkeys/login/verify';
17909
+ };
17910
+ export type VerifyPasskeyLoginErrors = {
17911
+ /**
17912
+ * Invalid request
17913
+ */
17914
+ 400: ErrorResponse;
17915
+ /**
17916
+ * Verification failed
17917
+ */
17918
+ 401: ErrorResponse;
17919
+ /**
17920
+ * Validation Error
17921
+ */
17922
+ 422: HttpValidationError;
17923
+ /**
17924
+ * Rate limit exceeded
17925
+ */
17926
+ 429: ErrorResponse;
17927
+ /**
17928
+ * Internal server error
17929
+ */
17930
+ 500: ErrorResponse;
17931
+ };
17932
+ export type VerifyPasskeyLoginError = VerifyPasskeyLoginErrors[keyof VerifyPasskeyLoginErrors];
17933
+ export type VerifyPasskeyLoginResponses = {
17934
+ /**
17935
+ * Successful Response
17936
+ */
17937
+ 200: AuthResponse;
17938
+ };
17939
+ export type VerifyPasskeyLoginResponse = VerifyPasskeyLoginResponses[keyof VerifyPasskeyLoginResponses];
17940
+ export type GetMfaOptionsData = {
17941
+ body: MfaOptionsRequest;
17942
+ path?: never;
17943
+ query?: never;
17944
+ url: '/v1/auth/mfa/options';
17945
+ };
17946
+ export type GetMfaOptionsErrors = {
17947
+ /**
17948
+ * Invalid request
17949
+ */
17950
+ 400: ErrorResponse;
17951
+ /**
17952
+ * Invalid or expired MFA token
17953
+ */
17954
+ 401: ErrorResponse;
17955
+ /**
17956
+ * Validation Error
17957
+ */
17958
+ 422: HttpValidationError;
17959
+ /**
17960
+ * Rate limit exceeded
17961
+ */
17962
+ 429: ErrorResponse;
17963
+ /**
17964
+ * Internal server error
17965
+ */
17966
+ 500: ErrorResponse;
17967
+ };
17968
+ export type GetMfaOptionsError = GetMfaOptionsErrors[keyof GetMfaOptionsErrors];
17969
+ export type GetMfaOptionsResponses = {
17970
+ /**
17971
+ * Successful Response
17972
+ */
17973
+ 200: CeremonyOptionsResponse;
17974
+ };
17975
+ export type GetMfaOptionsResponse = GetMfaOptionsResponses[keyof GetMfaOptionsResponses];
17976
+ export type VerifyMfaData = {
17977
+ body: MfaVerifyRequest;
17978
+ path?: never;
17979
+ query?: never;
17980
+ url: '/v1/auth/mfa/verify';
17981
+ };
17982
+ export type VerifyMfaErrors = {
17983
+ /**
17984
+ * Invalid request
17985
+ */
17986
+ 400: ErrorResponse;
17987
+ /**
17988
+ * Verification failed
17989
+ */
17990
+ 401: ErrorResponse;
17991
+ /**
17992
+ * Validation Error
17993
+ */
17994
+ 422: HttpValidationError;
17995
+ /**
17996
+ * Rate limit exceeded
17997
+ */
17998
+ 429: ErrorResponse;
17999
+ /**
18000
+ * Internal server error
18001
+ */
18002
+ 500: ErrorResponse;
18003
+ };
18004
+ export type VerifyMfaError = VerifyMfaErrors[keyof VerifyMfaErrors];
18005
+ export type VerifyMfaResponses = {
18006
+ /**
18007
+ * Successful Response
18008
+ */
18009
+ 200: AuthResponse;
18010
+ };
18011
+ export type VerifyMfaResponse = VerifyMfaResponses[keyof VerifyMfaResponses];
18012
+ export type GetMfaStatusData = {
18013
+ body?: never;
18014
+ path?: never;
18015
+ query?: never;
18016
+ url: '/v1/auth/mfa/status';
18017
+ };
18018
+ export type GetMfaStatusErrors = {
18019
+ /**
18020
+ * Invalid request
18021
+ */
18022
+ 400: ErrorResponse;
18023
+ /**
18024
+ * Rate limit exceeded
18025
+ */
18026
+ 429: ErrorResponse;
18027
+ /**
18028
+ * Internal server error
18029
+ */
18030
+ 500: ErrorResponse;
18031
+ };
18032
+ export type GetMfaStatusError = GetMfaStatusErrors[keyof GetMfaStatusErrors];
18033
+ export type GetMfaStatusResponses = {
18034
+ /**
18035
+ * Successful Response
18036
+ */
18037
+ 200: MfaStatusResponse;
18038
+ };
18039
+ export type GetMfaStatusResponse = GetMfaStatusResponses[keyof GetMfaStatusResponses];
18040
+ export type RegenerateMfaRecoveryCodesData = {
18041
+ body: RecoveryCodesRequest;
18042
+ path?: never;
18043
+ query?: never;
18044
+ url: '/v1/auth/mfa/recovery-codes/regenerate';
18045
+ };
18046
+ export type RegenerateMfaRecoveryCodesErrors = {
18047
+ /**
18048
+ * Invalid request
18049
+ */
18050
+ 400: ErrorResponse;
18051
+ /**
18052
+ * Re-authentication failed
18053
+ */
18054
+ 401: ErrorResponse;
18055
+ /**
18056
+ * Validation Error
18057
+ */
18058
+ 422: HttpValidationError;
18059
+ /**
18060
+ * Rate limit exceeded
18061
+ */
18062
+ 429: ErrorResponse;
18063
+ /**
18064
+ * Internal server error
18065
+ */
18066
+ 500: ErrorResponse;
18067
+ };
18068
+ export type RegenerateMfaRecoveryCodesError = RegenerateMfaRecoveryCodesErrors[keyof RegenerateMfaRecoveryCodesErrors];
18069
+ export type RegenerateMfaRecoveryCodesResponses = {
18070
+ /**
18071
+ * Successful Response
18072
+ */
18073
+ 200: RecoveryCodesResponse;
18074
+ };
18075
+ export type RegenerateMfaRecoveryCodesResponse = RegenerateMfaRecoveryCodesResponses[keyof RegenerateMfaRecoveryCodesResponses];
17391
18076
  export type GetCaptchaConfigData = {
17392
18077
  body?: never;
17393
18078
  path?: never;