@robosystems/client 1.9.0 → 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/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +14 -3
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +67 -1
- package/sdk/sdk.gen.js +146 -4
- package/sdk/sdk.gen.ts +143 -1
- package/sdk/types.gen.d.ts +661 -1
- package/sdk/types.gen.ts +729 -1
- package/sdk.gen.d.ts +67 -1
- package/sdk.gen.js +146 -4
- package/sdk.gen.ts +143 -1
- package/types.gen.d.ts +661 -1
- package/types.gen.ts +729 -1
package/types.gen.ts
CHANGED
|
@@ -537,6 +537,18 @@ export type AuthResponse = {
|
|
|
537
537
|
* Success message
|
|
538
538
|
*/
|
|
539
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;
|
|
540
552
|
/**
|
|
541
553
|
* Token
|
|
542
554
|
*
|
|
@@ -1316,6 +1328,22 @@ export type CancelSubscriptionRequest = {
|
|
|
1316
1328
|
user_id?: string | null;
|
|
1317
1329
|
};
|
|
1318
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
|
+
|
|
1319
1347
|
/**
|
|
1320
1348
|
* ChangeReportingStyleRequest
|
|
1321
1349
|
*
|
|
@@ -8827,6 +8855,74 @@ export type MetricObservation = {
|
|
|
8827
8855
|
value: number;
|
|
8828
8856
|
};
|
|
8829
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
|
+
|
|
8830
8926
|
/**
|
|
8831
8927
|
* OAuthCallbackRequest
|
|
8832
8928
|
*
|
|
@@ -11544,6 +11640,168 @@ export type OrgUsageSummary = {
|
|
|
11544
11640
|
storage_limit_gb: number | null;
|
|
11545
11641
|
};
|
|
11546
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
|
+
|
|
11547
11805
|
/**
|
|
11548
11806
|
* PasswordCheckRequest
|
|
11549
11807
|
*
|
|
@@ -11790,7 +12048,13 @@ export type PortalSessionResponse = {
|
|
|
11790
12048
|
*
|
|
11791
12049
|
* Stripe Customer Portal URL where user can manage payment methods
|
|
11792
12050
|
*/
|
|
11793
|
-
portal_url
|
|
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;
|
|
11794
12058
|
};
|
|
11795
12059
|
|
|
11796
12060
|
/**
|
|
@@ -12535,6 +12799,42 @@ export type RebuildScheduleRequest = {
|
|
|
12535
12799
|
structure_id: string;
|
|
12536
12800
|
};
|
|
12537
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
|
+
|
|
12538
12838
|
/**
|
|
12539
12839
|
* RegenerateReportOperation
|
|
12540
12840
|
*
|
|
@@ -17899,6 +18199,434 @@ export type CompleteSsoAuthResponses = {
|
|
|
17899
18199
|
|
|
17900
18200
|
export type CompleteSsoAuthResponse = CompleteSsoAuthResponses[keyof CompleteSsoAuthResponses];
|
|
17901
18201
|
|
|
18202
|
+
export type GetPasskeyRegistrationOptionsData = {
|
|
18203
|
+
body: PasskeyRegisterOptionsRequest;
|
|
18204
|
+
path?: never;
|
|
18205
|
+
query?: never;
|
|
18206
|
+
url: '/v1/auth/passkeys/register/options';
|
|
18207
|
+
};
|
|
18208
|
+
|
|
18209
|
+
export type GetPasskeyRegistrationOptionsErrors = {
|
|
18210
|
+
/**
|
|
18211
|
+
* Invalid request
|
|
18212
|
+
*/
|
|
18213
|
+
400: ErrorResponse;
|
|
18214
|
+
/**
|
|
18215
|
+
* Authentication required
|
|
18216
|
+
*/
|
|
18217
|
+
401: ErrorResponse;
|
|
18218
|
+
/**
|
|
18219
|
+
* Validation Error
|
|
18220
|
+
*/
|
|
18221
|
+
422: HttpValidationError;
|
|
18222
|
+
/**
|
|
18223
|
+
* Rate limit exceeded
|
|
18224
|
+
*/
|
|
18225
|
+
429: ErrorResponse;
|
|
18226
|
+
/**
|
|
18227
|
+
* Internal server error
|
|
18228
|
+
*/
|
|
18229
|
+
500: ErrorResponse;
|
|
18230
|
+
};
|
|
18231
|
+
|
|
18232
|
+
export type GetPasskeyRegistrationOptionsError = GetPasskeyRegistrationOptionsErrors[keyof GetPasskeyRegistrationOptionsErrors];
|
|
18233
|
+
|
|
18234
|
+
export type GetPasskeyRegistrationOptionsResponses = {
|
|
18235
|
+
/**
|
|
18236
|
+
* Successful Response
|
|
18237
|
+
*/
|
|
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;
|
|
18271
|
+
};
|
|
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
|
+
|
|
17902
18630
|
export type GetCaptchaConfigData = {
|
|
17903
18631
|
body?: never;
|
|
17904
18632
|
path?: never;
|