@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.
- 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 +68 -2
- package/sdk/sdk.gen.js +145 -5
- package/sdk/sdk.gen.ts +142 -2
- package/sdk/types.gen.d.ts +687 -2
- package/sdk/types.gen.ts +755 -2
- package/sdk.gen.d.ts +68 -2
- package/sdk.gen.js +145 -5
- package/sdk.gen.ts +142 -2
- package/types.gen.d.ts +687 -2
- package/types.gen.ts +755 -2
package/sdk/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
|
*
|
|
@@ -1540,7 +1568,7 @@ export type CheckoutStatusResponse = {
|
|
|
1540
1568
|
/**
|
|
1541
1569
|
* Operation Id
|
|
1542
1570
|
*
|
|
1543
|
-
*
|
|
1571
|
+
* 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.
|
|
1544
1572
|
*/
|
|
1545
1573
|
operation_id?: string | null;
|
|
1546
1574
|
/**
|
|
@@ -5650,6 +5678,12 @@ export type FileUploadRequest = {
|
|
|
5650
5678
|
* Table name to associate file with (required for first-class /files endpoint)
|
|
5651
5679
|
*/
|
|
5652
5680
|
table_name?: string | null;
|
|
5681
|
+
/**
|
|
5682
|
+
* File Size Bytes
|
|
5683
|
+
*
|
|
5684
|
+
* 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.
|
|
5685
|
+
*/
|
|
5686
|
+
file_size_bytes?: number | null;
|
|
5653
5687
|
};
|
|
5654
5688
|
|
|
5655
5689
|
/**
|
|
@@ -8827,6 +8861,74 @@ export type MetricObservation = {
|
|
|
8827
8861
|
value: number;
|
|
8828
8862
|
};
|
|
8829
8863
|
|
|
8864
|
+
/**
|
|
8865
|
+
* MfaOptionsRequest
|
|
8866
|
+
*
|
|
8867
|
+
* Request assertion options for the second factor.
|
|
8868
|
+
*/
|
|
8869
|
+
export type MfaOptionsRequest = {
|
|
8870
|
+
/**
|
|
8871
|
+
* Mfa Token
|
|
8872
|
+
*
|
|
8873
|
+
* Token from a login that returned mfa_required
|
|
8874
|
+
*/
|
|
8875
|
+
mfa_token: string;
|
|
8876
|
+
};
|
|
8877
|
+
|
|
8878
|
+
/**
|
|
8879
|
+
* MfaStatusResponse
|
|
8880
|
+
*
|
|
8881
|
+
* The user's MFA posture, for account settings.
|
|
8882
|
+
*/
|
|
8883
|
+
export type MfaStatusResponse = {
|
|
8884
|
+
/**
|
|
8885
|
+
* Passkey Count
|
|
8886
|
+
*
|
|
8887
|
+
* Enrolled passkey count
|
|
8888
|
+
*/
|
|
8889
|
+
passkey_count: number;
|
|
8890
|
+
/**
|
|
8891
|
+
* Recovery Codes Remaining
|
|
8892
|
+
*
|
|
8893
|
+
* Unused recovery codes remaining
|
|
8894
|
+
*/
|
|
8895
|
+
recovery_codes_remaining: number;
|
|
8896
|
+
/**
|
|
8897
|
+
* Enforcement Applies
|
|
8898
|
+
*
|
|
8899
|
+
* Whether the MFA requirement applies to this user's roles
|
|
8900
|
+
*/
|
|
8901
|
+
enforcement_applies: boolean;
|
|
8902
|
+
};
|
|
8903
|
+
|
|
8904
|
+
/**
|
|
8905
|
+
* MfaVerifyRequest
|
|
8906
|
+
*
|
|
8907
|
+
* Complete the second factor with an assertion or a recovery code.
|
|
8908
|
+
*/
|
|
8909
|
+
export type MfaVerifyRequest = {
|
|
8910
|
+
/**
|
|
8911
|
+
* Mfa Token
|
|
8912
|
+
*
|
|
8913
|
+
* Token from a login that returned mfa_required
|
|
8914
|
+
*/
|
|
8915
|
+
mfa_token: string;
|
|
8916
|
+
/**
|
|
8917
|
+
* Assertion
|
|
8918
|
+
*
|
|
8919
|
+
* WebAuthn assertion (browser JSON, opaque)
|
|
8920
|
+
*/
|
|
8921
|
+
assertion?: {
|
|
8922
|
+
[key: string]: unknown;
|
|
8923
|
+
} | null;
|
|
8924
|
+
/**
|
|
8925
|
+
* Recovery Code
|
|
8926
|
+
*
|
|
8927
|
+
* Single-use recovery code
|
|
8928
|
+
*/
|
|
8929
|
+
recovery_code?: string | null;
|
|
8930
|
+
};
|
|
8931
|
+
|
|
8830
8932
|
/**
|
|
8831
8933
|
* OAuthCallbackRequest
|
|
8832
8934
|
*
|
|
@@ -11544,6 +11646,187 @@ export type OrgUsageSummary = {
|
|
|
11544
11646
|
storage_limit_gb: number | null;
|
|
11545
11647
|
};
|
|
11546
11648
|
|
|
11649
|
+
/**
|
|
11650
|
+
* PasskeyDeleteRequest
|
|
11651
|
+
*
|
|
11652
|
+
* Re-authentication proof for removing a passkey.
|
|
11653
|
+
*/
|
|
11654
|
+
export type PasskeyDeleteRequest = {
|
|
11655
|
+
/**
|
|
11656
|
+
* Password
|
|
11657
|
+
*
|
|
11658
|
+
* Current password (password-holding users)
|
|
11659
|
+
*/
|
|
11660
|
+
password?: string | null;
|
|
11661
|
+
/**
|
|
11662
|
+
* Assertion
|
|
11663
|
+
*
|
|
11664
|
+
* Fresh WebAuthn assertion from the re-auth ceremony
|
|
11665
|
+
*/
|
|
11666
|
+
assertion?: {
|
|
11667
|
+
[key: string]: unknown;
|
|
11668
|
+
} | null;
|
|
11669
|
+
};
|
|
11670
|
+
|
|
11671
|
+
/**
|
|
11672
|
+
* PasskeyInfo
|
|
11673
|
+
*
|
|
11674
|
+
* One enrolled passkey, as listed in account settings.
|
|
11675
|
+
*/
|
|
11676
|
+
export type PasskeyInfo = {
|
|
11677
|
+
/**
|
|
11678
|
+
* Id
|
|
11679
|
+
*
|
|
11680
|
+
* Passkey identifier
|
|
11681
|
+
*/
|
|
11682
|
+
id: string;
|
|
11683
|
+
/**
|
|
11684
|
+
* Name
|
|
11685
|
+
*
|
|
11686
|
+
* User-facing label
|
|
11687
|
+
*/
|
|
11688
|
+
name: string;
|
|
11689
|
+
/**
|
|
11690
|
+
* Created At
|
|
11691
|
+
*
|
|
11692
|
+
* Enrollment time (ISO 8601)
|
|
11693
|
+
*/
|
|
11694
|
+
created_at: string;
|
|
11695
|
+
/**
|
|
11696
|
+
* Last Used At
|
|
11697
|
+
*
|
|
11698
|
+
* Last successful assertion time (ISO 8601)
|
|
11699
|
+
*/
|
|
11700
|
+
last_used_at?: string | null;
|
|
11701
|
+
/**
|
|
11702
|
+
* Backup Eligible
|
|
11703
|
+
*
|
|
11704
|
+
* Whether the credential is synced (multi-device) capable
|
|
11705
|
+
*/
|
|
11706
|
+
backup_eligible: boolean;
|
|
11707
|
+
/**
|
|
11708
|
+
* Backup State
|
|
11709
|
+
*
|
|
11710
|
+
* Whether the credential is currently backed up
|
|
11711
|
+
*/
|
|
11712
|
+
backup_state: boolean;
|
|
11713
|
+
};
|
|
11714
|
+
|
|
11715
|
+
/**
|
|
11716
|
+
* PasskeyListResponse
|
|
11717
|
+
*
|
|
11718
|
+
* The user's enrolled passkeys.
|
|
11719
|
+
*/
|
|
11720
|
+
export type PasskeyListResponse = {
|
|
11721
|
+
/**
|
|
11722
|
+
* Passkeys
|
|
11723
|
+
*
|
|
11724
|
+
* Enrolled passkeys
|
|
11725
|
+
*/
|
|
11726
|
+
passkeys: Array<PasskeyInfo>;
|
|
11727
|
+
};
|
|
11728
|
+
|
|
11729
|
+
/**
|
|
11730
|
+
* PasskeyLoginVerifyRequest
|
|
11731
|
+
*
|
|
11732
|
+
* Complete a passwordless login with a discoverable-credential assertion.
|
|
11733
|
+
*/
|
|
11734
|
+
export type PasskeyLoginVerifyRequest = {
|
|
11735
|
+
/**
|
|
11736
|
+
* Assertion
|
|
11737
|
+
*
|
|
11738
|
+
* WebAuthn assertion (browser JSON, opaque)
|
|
11739
|
+
*/
|
|
11740
|
+
assertion: {
|
|
11741
|
+
[key: string]: unknown;
|
|
11742
|
+
};
|
|
11743
|
+
};
|
|
11744
|
+
|
|
11745
|
+
/**
|
|
11746
|
+
* PasskeyRegisterOptionsRequest
|
|
11747
|
+
*
|
|
11748
|
+
* Begin enrollment.
|
|
11749
|
+
*
|
|
11750
|
+
* Two disjoint lanes: ``mfa_token`` (forced enrollment — the token was minted
|
|
11751
|
+
* seconds after a password verify, so it is its own freshness proof) or an
|
|
11752
|
+
* authenticated settings-flow enrollment, which must carry a fresh re-auth
|
|
11753
|
+
* proof — ``password``, or a ``reauth``-ceremony ``assertion`` when adding a
|
|
11754
|
+
* passkey beside an existing one.
|
|
11755
|
+
*/
|
|
11756
|
+
export type PasskeyRegisterOptionsRequest = {
|
|
11757
|
+
/**
|
|
11758
|
+
* Mfa Token
|
|
11759
|
+
*
|
|
11760
|
+
* Enrollment token from a login that returned mfa_enrollment_required
|
|
11761
|
+
*/
|
|
11762
|
+
mfa_token?: string | null;
|
|
11763
|
+
/**
|
|
11764
|
+
* Password
|
|
11765
|
+
*
|
|
11766
|
+
* Current password — settings-lane re-authentication
|
|
11767
|
+
*/
|
|
11768
|
+
password?: string | null;
|
|
11769
|
+
/**
|
|
11770
|
+
* Assertion
|
|
11771
|
+
*
|
|
11772
|
+
* Fresh WebAuthn assertion from the re-auth ceremony (settings lane)
|
|
11773
|
+
*/
|
|
11774
|
+
assertion?: {
|
|
11775
|
+
[key: string]: unknown;
|
|
11776
|
+
} | null;
|
|
11777
|
+
};
|
|
11778
|
+
|
|
11779
|
+
/**
|
|
11780
|
+
* PasskeyRegisterVerifyRequest
|
|
11781
|
+
*
|
|
11782
|
+
* Finish enrollment with the authenticator's attestation response.
|
|
11783
|
+
*/
|
|
11784
|
+
export type PasskeyRegisterVerifyRequest = {
|
|
11785
|
+
/**
|
|
11786
|
+
* Credential
|
|
11787
|
+
*
|
|
11788
|
+
* WebAuthn registration credential (browser JSON, opaque)
|
|
11789
|
+
*/
|
|
11790
|
+
credential: {
|
|
11791
|
+
[key: string]: unknown;
|
|
11792
|
+
};
|
|
11793
|
+
/**
|
|
11794
|
+
* Name
|
|
11795
|
+
*
|
|
11796
|
+
* User-facing label for this passkey
|
|
11797
|
+
*/
|
|
11798
|
+
name?: string | null;
|
|
11799
|
+
/**
|
|
11800
|
+
* Mfa Token
|
|
11801
|
+
*
|
|
11802
|
+
* Enrollment token when finishing a forced enrollment
|
|
11803
|
+
*/
|
|
11804
|
+
mfa_token?: string | null;
|
|
11805
|
+
};
|
|
11806
|
+
|
|
11807
|
+
/**
|
|
11808
|
+
* PasskeyRegisterVerifyResponse
|
|
11809
|
+
*
|
|
11810
|
+
* Enrollment result; the first passkey also carries recovery codes and,
|
|
11811
|
+
* in the forced-enrollment lane, the completed login.
|
|
11812
|
+
*/
|
|
11813
|
+
export type PasskeyRegisterVerifyResponse = {
|
|
11814
|
+
/**
|
|
11815
|
+
* The newly enrolled passkey
|
|
11816
|
+
*/
|
|
11817
|
+
passkey: PasskeyInfo;
|
|
11818
|
+
/**
|
|
11819
|
+
* Recovery Codes
|
|
11820
|
+
*
|
|
11821
|
+
* Single-use recovery codes — returned exactly once, at first enrollment
|
|
11822
|
+
*/
|
|
11823
|
+
recovery_codes?: Array<string> | null;
|
|
11824
|
+
/**
|
|
11825
|
+
* Completed login (forced-enrollment lane only)
|
|
11826
|
+
*/
|
|
11827
|
+
auth?: AuthResponse | null;
|
|
11828
|
+
};
|
|
11829
|
+
|
|
11547
11830
|
/**
|
|
11548
11831
|
* PasswordCheckRequest
|
|
11549
11832
|
*
|
|
@@ -11790,7 +12073,13 @@ export type PortalSessionResponse = {
|
|
|
11790
12073
|
*
|
|
11791
12074
|
* Stripe Customer Portal URL where user can manage payment methods
|
|
11792
12075
|
*/
|
|
11793
|
-
portal_url
|
|
12076
|
+
portal_url?: string | null;
|
|
12077
|
+
/**
|
|
12078
|
+
* Billing Disabled
|
|
12079
|
+
*
|
|
12080
|
+
* True when billing is disabled on this deployment (no portal exists)
|
|
12081
|
+
*/
|
|
12082
|
+
billing_disabled?: boolean;
|
|
11794
12083
|
};
|
|
11795
12084
|
|
|
11796
12085
|
/**
|
|
@@ -12535,6 +12824,42 @@ export type RebuildScheduleRequest = {
|
|
|
12535
12824
|
structure_id: string;
|
|
12536
12825
|
};
|
|
12537
12826
|
|
|
12827
|
+
/**
|
|
12828
|
+
* RecoveryCodesRequest
|
|
12829
|
+
*
|
|
12830
|
+
* Re-authentication proof for regenerating recovery codes.
|
|
12831
|
+
*/
|
|
12832
|
+
export type RecoveryCodesRequest = {
|
|
12833
|
+
/**
|
|
12834
|
+
* Password
|
|
12835
|
+
*
|
|
12836
|
+
* Current password (password-holding users)
|
|
12837
|
+
*/
|
|
12838
|
+
password?: string | null;
|
|
12839
|
+
/**
|
|
12840
|
+
* Assertion
|
|
12841
|
+
*
|
|
12842
|
+
* Fresh WebAuthn assertion from the re-auth ceremony
|
|
12843
|
+
*/
|
|
12844
|
+
assertion?: {
|
|
12845
|
+
[key: string]: unknown;
|
|
12846
|
+
} | null;
|
|
12847
|
+
};
|
|
12848
|
+
|
|
12849
|
+
/**
|
|
12850
|
+
* RecoveryCodesResponse
|
|
12851
|
+
*
|
|
12852
|
+
* A fresh recovery-code set — shown exactly once.
|
|
12853
|
+
*/
|
|
12854
|
+
export type RecoveryCodesResponse = {
|
|
12855
|
+
/**
|
|
12856
|
+
* Codes
|
|
12857
|
+
*
|
|
12858
|
+
* Single-use recovery codes
|
|
12859
|
+
*/
|
|
12860
|
+
codes: Array<string>;
|
|
12861
|
+
};
|
|
12862
|
+
|
|
12538
12863
|
/**
|
|
12539
12864
|
* RegenerateReportOperation
|
|
12540
12865
|
*
|
|
@@ -17899,6 +18224,434 @@ export type CompleteSsoAuthResponses = {
|
|
|
17899
18224
|
|
|
17900
18225
|
export type CompleteSsoAuthResponse = CompleteSsoAuthResponses[keyof CompleteSsoAuthResponses];
|
|
17901
18226
|
|
|
18227
|
+
export type GetPasskeyRegistrationOptionsData = {
|
|
18228
|
+
body: PasskeyRegisterOptionsRequest;
|
|
18229
|
+
path?: never;
|
|
18230
|
+
query?: never;
|
|
18231
|
+
url: '/v1/auth/passkeys/register/options';
|
|
18232
|
+
};
|
|
18233
|
+
|
|
18234
|
+
export type GetPasskeyRegistrationOptionsErrors = {
|
|
18235
|
+
/**
|
|
18236
|
+
* Invalid request
|
|
18237
|
+
*/
|
|
18238
|
+
400: ErrorResponse;
|
|
18239
|
+
/**
|
|
18240
|
+
* Authentication required
|
|
18241
|
+
*/
|
|
18242
|
+
401: ErrorResponse;
|
|
18243
|
+
/**
|
|
18244
|
+
* Validation Error
|
|
18245
|
+
*/
|
|
18246
|
+
422: HttpValidationError;
|
|
18247
|
+
/**
|
|
18248
|
+
* Rate limit exceeded
|
|
18249
|
+
*/
|
|
18250
|
+
429: ErrorResponse;
|
|
18251
|
+
/**
|
|
18252
|
+
* Internal server error
|
|
18253
|
+
*/
|
|
18254
|
+
500: ErrorResponse;
|
|
18255
|
+
};
|
|
18256
|
+
|
|
18257
|
+
export type GetPasskeyRegistrationOptionsError = GetPasskeyRegistrationOptionsErrors[keyof GetPasskeyRegistrationOptionsErrors];
|
|
18258
|
+
|
|
18259
|
+
export type GetPasskeyRegistrationOptionsResponses = {
|
|
18260
|
+
/**
|
|
18261
|
+
* Successful Response
|
|
18262
|
+
*/
|
|
18263
|
+
200: CeremonyOptionsResponse;
|
|
18264
|
+
};
|
|
18265
|
+
|
|
18266
|
+
export type GetPasskeyRegistrationOptionsResponse = GetPasskeyRegistrationOptionsResponses[keyof GetPasskeyRegistrationOptionsResponses];
|
|
18267
|
+
|
|
18268
|
+
export type VerifyPasskeyRegistrationData = {
|
|
18269
|
+
body: PasskeyRegisterVerifyRequest;
|
|
18270
|
+
path?: never;
|
|
18271
|
+
query?: never;
|
|
18272
|
+
url: '/v1/auth/passkeys/register/verify';
|
|
18273
|
+
};
|
|
18274
|
+
|
|
18275
|
+
export type VerifyPasskeyRegistrationErrors = {
|
|
18276
|
+
/**
|
|
18277
|
+
* Registration failed
|
|
18278
|
+
*/
|
|
18279
|
+
400: ErrorResponse;
|
|
18280
|
+
/**
|
|
18281
|
+
* Authentication required
|
|
18282
|
+
*/
|
|
18283
|
+
401: ErrorResponse;
|
|
18284
|
+
/**
|
|
18285
|
+
* Validation Error
|
|
18286
|
+
*/
|
|
18287
|
+
422: HttpValidationError;
|
|
18288
|
+
/**
|
|
18289
|
+
* Rate limit exceeded
|
|
18290
|
+
*/
|
|
18291
|
+
429: ErrorResponse;
|
|
18292
|
+
/**
|
|
18293
|
+
* Internal server error
|
|
18294
|
+
*/
|
|
18295
|
+
500: ErrorResponse;
|
|
18296
|
+
};
|
|
18297
|
+
|
|
18298
|
+
export type VerifyPasskeyRegistrationError = VerifyPasskeyRegistrationErrors[keyof VerifyPasskeyRegistrationErrors];
|
|
18299
|
+
|
|
18300
|
+
export type VerifyPasskeyRegistrationResponses = {
|
|
18301
|
+
/**
|
|
18302
|
+
* Successful Response
|
|
18303
|
+
*/
|
|
18304
|
+
200: PasskeyRegisterVerifyResponse;
|
|
18305
|
+
};
|
|
18306
|
+
|
|
18307
|
+
export type VerifyPasskeyRegistrationResponse = VerifyPasskeyRegistrationResponses[keyof VerifyPasskeyRegistrationResponses];
|
|
18308
|
+
|
|
18309
|
+
export type ListUserPasskeysData = {
|
|
18310
|
+
body?: never;
|
|
18311
|
+
path?: never;
|
|
18312
|
+
query?: never;
|
|
18313
|
+
url: '/v1/auth/passkeys';
|
|
18314
|
+
};
|
|
18315
|
+
|
|
18316
|
+
export type ListUserPasskeysErrors = {
|
|
18317
|
+
/**
|
|
18318
|
+
* Invalid request
|
|
18319
|
+
*/
|
|
18320
|
+
400: ErrorResponse;
|
|
18321
|
+
/**
|
|
18322
|
+
* Rate limit exceeded
|
|
18323
|
+
*/
|
|
18324
|
+
429: ErrorResponse;
|
|
18325
|
+
/**
|
|
18326
|
+
* Internal server error
|
|
18327
|
+
*/
|
|
18328
|
+
500: ErrorResponse;
|
|
18329
|
+
};
|
|
18330
|
+
|
|
18331
|
+
export type ListUserPasskeysError = ListUserPasskeysErrors[keyof ListUserPasskeysErrors];
|
|
18332
|
+
|
|
18333
|
+
export type ListUserPasskeysResponses = {
|
|
18334
|
+
/**
|
|
18335
|
+
* Successful Response
|
|
18336
|
+
*/
|
|
18337
|
+
200: PasskeyListResponse;
|
|
18338
|
+
};
|
|
18339
|
+
|
|
18340
|
+
export type ListUserPasskeysResponse = ListUserPasskeysResponses[keyof ListUserPasskeysResponses];
|
|
18341
|
+
|
|
18342
|
+
export type GetPasskeyReauthOptionsData = {
|
|
18343
|
+
body?: never;
|
|
18344
|
+
path?: never;
|
|
18345
|
+
query?: never;
|
|
18346
|
+
url: '/v1/auth/passkeys/reauth/options';
|
|
18347
|
+
};
|
|
18348
|
+
|
|
18349
|
+
export type GetPasskeyReauthOptionsErrors = {
|
|
18350
|
+
/**
|
|
18351
|
+
* Invalid request
|
|
18352
|
+
*/
|
|
18353
|
+
400: ErrorResponse;
|
|
18354
|
+
/**
|
|
18355
|
+
* Rate limit exceeded
|
|
18356
|
+
*/
|
|
18357
|
+
429: ErrorResponse;
|
|
18358
|
+
/**
|
|
18359
|
+
* Internal server error
|
|
18360
|
+
*/
|
|
18361
|
+
500: ErrorResponse;
|
|
18362
|
+
};
|
|
18363
|
+
|
|
18364
|
+
export type GetPasskeyReauthOptionsError = GetPasskeyReauthOptionsErrors[keyof GetPasskeyReauthOptionsErrors];
|
|
18365
|
+
|
|
18366
|
+
export type GetPasskeyReauthOptionsResponses = {
|
|
18367
|
+
/**
|
|
18368
|
+
* Successful Response
|
|
18369
|
+
*/
|
|
18370
|
+
200: CeremonyOptionsResponse;
|
|
18371
|
+
};
|
|
18372
|
+
|
|
18373
|
+
export type GetPasskeyReauthOptionsResponse = GetPasskeyReauthOptionsResponses[keyof GetPasskeyReauthOptionsResponses];
|
|
18374
|
+
|
|
18375
|
+
export type DeleteUserPasskeyData = {
|
|
18376
|
+
body: PasskeyDeleteRequest;
|
|
18377
|
+
path: {
|
|
18378
|
+
/**
|
|
18379
|
+
* Passkey Id
|
|
18380
|
+
*/
|
|
18381
|
+
passkey_id: string;
|
|
18382
|
+
};
|
|
18383
|
+
query?: never;
|
|
18384
|
+
url: '/v1/auth/passkeys/{passkey_id}';
|
|
18385
|
+
};
|
|
18386
|
+
|
|
18387
|
+
export type DeleteUserPasskeyErrors = {
|
|
18388
|
+
/**
|
|
18389
|
+
* Invalid request
|
|
18390
|
+
*/
|
|
18391
|
+
400: ErrorResponse;
|
|
18392
|
+
/**
|
|
18393
|
+
* Re-authentication failed
|
|
18394
|
+
*/
|
|
18395
|
+
401: ErrorResponse;
|
|
18396
|
+
/**
|
|
18397
|
+
* Last passkey of an MFA-required role
|
|
18398
|
+
*/
|
|
18399
|
+
409: ErrorResponse;
|
|
18400
|
+
/**
|
|
18401
|
+
* Validation Error
|
|
18402
|
+
*/
|
|
18403
|
+
422: HttpValidationError;
|
|
18404
|
+
/**
|
|
18405
|
+
* Rate limit exceeded
|
|
18406
|
+
*/
|
|
18407
|
+
429: ErrorResponse;
|
|
18408
|
+
/**
|
|
18409
|
+
* Internal server error
|
|
18410
|
+
*/
|
|
18411
|
+
500: ErrorResponse;
|
|
18412
|
+
};
|
|
18413
|
+
|
|
18414
|
+
export type DeleteUserPasskeyError = DeleteUserPasskeyErrors[keyof DeleteUserPasskeyErrors];
|
|
18415
|
+
|
|
18416
|
+
export type DeleteUserPasskeyResponses = {
|
|
18417
|
+
/**
|
|
18418
|
+
* Successful Response
|
|
18419
|
+
*/
|
|
18420
|
+
200: SuccessResponse;
|
|
18421
|
+
};
|
|
18422
|
+
|
|
18423
|
+
export type DeleteUserPasskeyResponse = DeleteUserPasskeyResponses[keyof DeleteUserPasskeyResponses];
|
|
18424
|
+
|
|
18425
|
+
export type GetPasskeyLoginOptionsData = {
|
|
18426
|
+
body?: never;
|
|
18427
|
+
path?: never;
|
|
18428
|
+
query?: never;
|
|
18429
|
+
url: '/v1/auth/passkeys/login/options';
|
|
18430
|
+
};
|
|
18431
|
+
|
|
18432
|
+
export type GetPasskeyLoginOptionsErrors = {
|
|
18433
|
+
/**
|
|
18434
|
+
* Invalid request
|
|
18435
|
+
*/
|
|
18436
|
+
400: ErrorResponse;
|
|
18437
|
+
/**
|
|
18438
|
+
* Rate limit exceeded
|
|
18439
|
+
*/
|
|
18440
|
+
429: ErrorResponse;
|
|
18441
|
+
/**
|
|
18442
|
+
* Internal server error
|
|
18443
|
+
*/
|
|
18444
|
+
500: ErrorResponse;
|
|
18445
|
+
};
|
|
18446
|
+
|
|
18447
|
+
export type GetPasskeyLoginOptionsError = GetPasskeyLoginOptionsErrors[keyof GetPasskeyLoginOptionsErrors];
|
|
18448
|
+
|
|
18449
|
+
export type GetPasskeyLoginOptionsResponses = {
|
|
18450
|
+
/**
|
|
18451
|
+
* Successful Response
|
|
18452
|
+
*/
|
|
18453
|
+
200: CeremonyOptionsResponse;
|
|
18454
|
+
};
|
|
18455
|
+
|
|
18456
|
+
export type GetPasskeyLoginOptionsResponse = GetPasskeyLoginOptionsResponses[keyof GetPasskeyLoginOptionsResponses];
|
|
18457
|
+
|
|
18458
|
+
export type VerifyPasskeyLoginData = {
|
|
18459
|
+
body: PasskeyLoginVerifyRequest;
|
|
18460
|
+
path?: never;
|
|
18461
|
+
query?: never;
|
|
18462
|
+
url: '/v1/auth/passkeys/login/verify';
|
|
18463
|
+
};
|
|
18464
|
+
|
|
18465
|
+
export type VerifyPasskeyLoginErrors = {
|
|
18466
|
+
/**
|
|
18467
|
+
* Invalid request
|
|
18468
|
+
*/
|
|
18469
|
+
400: ErrorResponse;
|
|
18470
|
+
/**
|
|
18471
|
+
* Verification failed
|
|
18472
|
+
*/
|
|
18473
|
+
401: ErrorResponse;
|
|
18474
|
+
/**
|
|
18475
|
+
* Validation Error
|
|
18476
|
+
*/
|
|
18477
|
+
422: HttpValidationError;
|
|
18478
|
+
/**
|
|
18479
|
+
* Rate limit exceeded
|
|
18480
|
+
*/
|
|
18481
|
+
429: ErrorResponse;
|
|
18482
|
+
/**
|
|
18483
|
+
* Internal server error
|
|
18484
|
+
*/
|
|
18485
|
+
500: ErrorResponse;
|
|
18486
|
+
};
|
|
18487
|
+
|
|
18488
|
+
export type VerifyPasskeyLoginError = VerifyPasskeyLoginErrors[keyof VerifyPasskeyLoginErrors];
|
|
18489
|
+
|
|
18490
|
+
export type VerifyPasskeyLoginResponses = {
|
|
18491
|
+
/**
|
|
18492
|
+
* Successful Response
|
|
18493
|
+
*/
|
|
18494
|
+
200: AuthResponse;
|
|
18495
|
+
};
|
|
18496
|
+
|
|
18497
|
+
export type VerifyPasskeyLoginResponse = VerifyPasskeyLoginResponses[keyof VerifyPasskeyLoginResponses];
|
|
18498
|
+
|
|
18499
|
+
export type GetMfaOptionsData = {
|
|
18500
|
+
body: MfaOptionsRequest;
|
|
18501
|
+
path?: never;
|
|
18502
|
+
query?: never;
|
|
18503
|
+
url: '/v1/auth/mfa/options';
|
|
18504
|
+
};
|
|
18505
|
+
|
|
18506
|
+
export type GetMfaOptionsErrors = {
|
|
18507
|
+
/**
|
|
18508
|
+
* Invalid request
|
|
18509
|
+
*/
|
|
18510
|
+
400: ErrorResponse;
|
|
18511
|
+
/**
|
|
18512
|
+
* Invalid or expired MFA token
|
|
18513
|
+
*/
|
|
18514
|
+
401: ErrorResponse;
|
|
18515
|
+
/**
|
|
18516
|
+
* Validation Error
|
|
18517
|
+
*/
|
|
18518
|
+
422: HttpValidationError;
|
|
18519
|
+
/**
|
|
18520
|
+
* Rate limit exceeded
|
|
18521
|
+
*/
|
|
18522
|
+
429: ErrorResponse;
|
|
18523
|
+
/**
|
|
18524
|
+
* Internal server error
|
|
18525
|
+
*/
|
|
18526
|
+
500: ErrorResponse;
|
|
18527
|
+
};
|
|
18528
|
+
|
|
18529
|
+
export type GetMfaOptionsError = GetMfaOptionsErrors[keyof GetMfaOptionsErrors];
|
|
18530
|
+
|
|
18531
|
+
export type GetMfaOptionsResponses = {
|
|
18532
|
+
/**
|
|
18533
|
+
* Successful Response
|
|
18534
|
+
*/
|
|
18535
|
+
200: CeremonyOptionsResponse;
|
|
18536
|
+
};
|
|
18537
|
+
|
|
18538
|
+
export type GetMfaOptionsResponse = GetMfaOptionsResponses[keyof GetMfaOptionsResponses];
|
|
18539
|
+
|
|
18540
|
+
export type VerifyMfaData = {
|
|
18541
|
+
body: MfaVerifyRequest;
|
|
18542
|
+
path?: never;
|
|
18543
|
+
query?: never;
|
|
18544
|
+
url: '/v1/auth/mfa/verify';
|
|
18545
|
+
};
|
|
18546
|
+
|
|
18547
|
+
export type VerifyMfaErrors = {
|
|
18548
|
+
/**
|
|
18549
|
+
* Invalid request
|
|
18550
|
+
*/
|
|
18551
|
+
400: ErrorResponse;
|
|
18552
|
+
/**
|
|
18553
|
+
* Verification failed
|
|
18554
|
+
*/
|
|
18555
|
+
401: ErrorResponse;
|
|
18556
|
+
/**
|
|
18557
|
+
* Validation Error
|
|
18558
|
+
*/
|
|
18559
|
+
422: HttpValidationError;
|
|
18560
|
+
/**
|
|
18561
|
+
* Rate limit exceeded
|
|
18562
|
+
*/
|
|
18563
|
+
429: ErrorResponse;
|
|
18564
|
+
/**
|
|
18565
|
+
* Internal server error
|
|
18566
|
+
*/
|
|
18567
|
+
500: ErrorResponse;
|
|
18568
|
+
};
|
|
18569
|
+
|
|
18570
|
+
export type VerifyMfaError = VerifyMfaErrors[keyof VerifyMfaErrors];
|
|
18571
|
+
|
|
18572
|
+
export type VerifyMfaResponses = {
|
|
18573
|
+
/**
|
|
18574
|
+
* Successful Response
|
|
18575
|
+
*/
|
|
18576
|
+
200: AuthResponse;
|
|
18577
|
+
};
|
|
18578
|
+
|
|
18579
|
+
export type VerifyMfaResponse = VerifyMfaResponses[keyof VerifyMfaResponses];
|
|
18580
|
+
|
|
18581
|
+
export type GetMfaStatusData = {
|
|
18582
|
+
body?: never;
|
|
18583
|
+
path?: never;
|
|
18584
|
+
query?: never;
|
|
18585
|
+
url: '/v1/auth/mfa/status';
|
|
18586
|
+
};
|
|
18587
|
+
|
|
18588
|
+
export type GetMfaStatusErrors = {
|
|
18589
|
+
/**
|
|
18590
|
+
* Invalid request
|
|
18591
|
+
*/
|
|
18592
|
+
400: ErrorResponse;
|
|
18593
|
+
/**
|
|
18594
|
+
* Rate limit exceeded
|
|
18595
|
+
*/
|
|
18596
|
+
429: ErrorResponse;
|
|
18597
|
+
/**
|
|
18598
|
+
* Internal server error
|
|
18599
|
+
*/
|
|
18600
|
+
500: ErrorResponse;
|
|
18601
|
+
};
|
|
18602
|
+
|
|
18603
|
+
export type GetMfaStatusError = GetMfaStatusErrors[keyof GetMfaStatusErrors];
|
|
18604
|
+
|
|
18605
|
+
export type GetMfaStatusResponses = {
|
|
18606
|
+
/**
|
|
18607
|
+
* Successful Response
|
|
18608
|
+
*/
|
|
18609
|
+
200: MfaStatusResponse;
|
|
18610
|
+
};
|
|
18611
|
+
|
|
18612
|
+
export type GetMfaStatusResponse = GetMfaStatusResponses[keyof GetMfaStatusResponses];
|
|
18613
|
+
|
|
18614
|
+
export type RegenerateMfaRecoveryCodesData = {
|
|
18615
|
+
body: RecoveryCodesRequest;
|
|
18616
|
+
path?: never;
|
|
18617
|
+
query?: never;
|
|
18618
|
+
url: '/v1/auth/mfa/recovery-codes/regenerate';
|
|
18619
|
+
};
|
|
18620
|
+
|
|
18621
|
+
export type RegenerateMfaRecoveryCodesErrors = {
|
|
18622
|
+
/**
|
|
18623
|
+
* Invalid request
|
|
18624
|
+
*/
|
|
18625
|
+
400: ErrorResponse;
|
|
18626
|
+
/**
|
|
18627
|
+
* Re-authentication failed
|
|
18628
|
+
*/
|
|
18629
|
+
401: ErrorResponse;
|
|
18630
|
+
/**
|
|
18631
|
+
* Validation Error
|
|
18632
|
+
*/
|
|
18633
|
+
422: HttpValidationError;
|
|
18634
|
+
/**
|
|
18635
|
+
* Rate limit exceeded
|
|
18636
|
+
*/
|
|
18637
|
+
429: ErrorResponse;
|
|
18638
|
+
/**
|
|
18639
|
+
* Internal server error
|
|
18640
|
+
*/
|
|
18641
|
+
500: ErrorResponse;
|
|
18642
|
+
};
|
|
18643
|
+
|
|
18644
|
+
export type RegenerateMfaRecoveryCodesError = RegenerateMfaRecoveryCodesErrors[keyof RegenerateMfaRecoveryCodesErrors];
|
|
18645
|
+
|
|
18646
|
+
export type RegenerateMfaRecoveryCodesResponses = {
|
|
18647
|
+
/**
|
|
18648
|
+
* Successful Response
|
|
18649
|
+
*/
|
|
18650
|
+
200: RecoveryCodesResponse;
|
|
18651
|
+
};
|
|
18652
|
+
|
|
18653
|
+
export type RegenerateMfaRecoveryCodesResponse = RegenerateMfaRecoveryCodesResponses[keyof RegenerateMfaRecoveryCodesResponses];
|
|
18654
|
+
|
|
17902
18655
|
export type GetCaptchaConfigData = {
|
|
17903
18656
|
body?: never;
|
|
17904
18657
|
path?: never;
|