@privy-io/api-types 0.9.0 → 0.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/CHANGELOG.md +38 -0
- package/client.d.mts +33 -30
- package/client.d.mts.map +1 -1
- package/client.d.ts +33 -30
- package/client.d.ts.map +1 -1
- package/client.js +22 -8
- package/client.js.map +1 -1
- package/client.mjs +23 -9
- package/client.mjs.map +1 -1
- package/internal/types.d.mts +6 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +6 -6
- package/internal/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/resources/accounts.d.mts +128 -86
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +128 -86
- package/resources/accounts.d.ts.map +1 -1
- package/resources/aggregations.d.mts +43 -43
- package/resources/aggregations.d.mts.map +1 -1
- package/resources/aggregations.d.ts +43 -43
- package/resources/aggregations.d.ts.map +1 -1
- package/resources/apps.d.mts +169 -135
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +169 -135
- package/resources/apps.d.ts.map +1 -1
- package/resources/client-auth.d.mts +646 -644
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +646 -644
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/embedded-wallets.d.mts +114 -114
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +114 -114
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/funding.d.mts +42 -42
- package/resources/funding.d.mts.map +1 -1
- package/resources/funding.d.ts +42 -42
- package/resources/funding.d.ts.map +1 -1
- package/resources/index.d.mts +19 -18
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +19 -18
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -1
- package/resources/index.mjs.map +1 -1
- package/resources/intents.d.mts +269 -265
- package/resources/intents.d.mts.map +1 -1
- package/resources/intents.d.ts +269 -265
- package/resources/intents.d.ts.map +1 -1
- package/resources/key-quorums.d.mts +20 -20
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +20 -20
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/kraken-embed.d.mts +12 -20
- package/resources/kraken-embed.d.mts.map +1 -1
- package/resources/kraken-embed.d.ts +12 -20
- package/resources/kraken-embed.d.ts.map +1 -1
- package/resources/organizations.d.mts +65 -0
- package/resources/organizations.d.mts.map +1 -0
- package/resources/organizations.d.ts +65 -0
- package/resources/organizations.d.ts.map +1 -0
- package/resources/organizations.js +9 -0
- package/resources/organizations.js.map +1 -0
- package/resources/organizations.mjs +5 -0
- package/resources/organizations.mjs.map +1 -0
- package/resources/policies.d.mts +258 -240
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +258 -240
- package/resources/policies.d.ts.map +1 -1
- package/resources/shared.d.mts +28 -28
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +28 -28
- package/resources/shared.d.ts.map +1 -1
- package/resources/swaps.d.mts +6 -9
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +6 -9
- package/resources/swaps.d.ts.map +1 -1
- package/resources/swaps.js.map +1 -1
- package/resources/swaps.mjs.map +1 -1
- package/resources/transactions.d.mts +53 -53
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +53 -53
- package/resources/transactions.d.ts.map +1 -1
- package/resources/users.d.mts +468 -459
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +468 -459
- package/resources/users.d.ts.map +1 -1
- package/resources/wallet-actions.d.mts +302 -145
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +302 -145
- package/resources/wallet-actions.d.ts.map +1 -1
- package/resources/wallets/index.d.mts +1 -1
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +1 -1
- package/resources/wallets/index.d.ts.map +1 -1
- package/resources/wallets/index.js.map +1 -1
- package/resources/wallets/index.mjs.map +1 -1
- package/resources/wallets/transactions.d.mts +7 -2
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +7 -2
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/transactions.js +1 -1
- package/resources/wallets/transactions.mjs +1 -1
- package/resources/wallets/wallets.d.mts +1424 -1227
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +1424 -1227
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +4 -1
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +4 -1
- package/resources/wallets/wallets.mjs.map +1 -1
- package/resources/webhooks.d.mts +935 -877
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +935 -877
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/yield.d.mts +157 -157
- package/resources/yield.d.mts.map +1 -1
- package/resources/yield.d.ts +157 -157
- package/resources/yield.d.ts.map +1 -1
- package/src/client.ts +594 -516
- package/src/internal/types.ts +6 -8
- package/src/resources/accounts.ts +157 -103
- package/src/resources/aggregations.ts +55 -55
- package/src/resources/apps.ts +221 -178
- package/src/resources/client-auth.ts +887 -887
- package/src/resources/embedded-wallets.ts +150 -150
- package/src/resources/funding.ts +66 -66
- package/src/resources/index.ts +504 -475
- package/src/resources/intents.ts +326 -322
- package/src/resources/key-quorums.ts +23 -23
- package/src/resources/kraken-embed.ts +14 -22
- package/src/resources/organizations.ts +82 -0
- package/src/resources/policies.ts +379 -352
- package/src/resources/shared.ts +34 -34
- package/src/resources/swaps.ts +5 -10
- package/src/resources/transactions.ts +86 -86
- package/src/resources/users.ts +707 -696
- package/src/resources/wallet-actions.ts +392 -185
- package/src/resources/wallets/index.ts +157 -148
- package/src/resources/wallets/transactions.ts +18 -3
- package/src/resources/wallets/wallets.ts +1937 -1686
- package/src/resources/webhooks.ts +1172 -1100
- package/src/resources/yield.ts +188 -188
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -511,9 +511,15 @@ export interface TelegramUnlinkRequestBody {
|
|
|
511
511
|
telegram_user_id: string;
|
|
512
512
|
}
|
|
513
513
|
/**
|
|
514
|
-
*
|
|
514
|
+
* Input for authenticating with a custom JWT.
|
|
515
515
|
*/
|
|
516
|
-
export
|
|
516
|
+
export interface AuthenticateJwtInput {
|
|
517
|
+
token?: string;
|
|
518
|
+
/**
|
|
519
|
+
* Whether to allow sign-up during authentication.
|
|
520
|
+
*/
|
|
521
|
+
mode?: AuthenticateModeOption;
|
|
522
|
+
}
|
|
517
523
|
/**
|
|
518
524
|
* The authentication mode settings for the ceremony.
|
|
519
525
|
*/
|
|
@@ -524,388 +530,417 @@ export interface AuthenticateMode {
|
|
|
524
530
|
mode?: AuthenticateModeOption;
|
|
525
531
|
}
|
|
526
532
|
/**
|
|
527
|
-
*
|
|
533
|
+
* Whether to allow sign-up during authentication.
|
|
528
534
|
*/
|
|
529
|
-
export type
|
|
535
|
+
export type AuthenticateModeOption = 'no-signup' | 'login-or-sign-up';
|
|
530
536
|
/**
|
|
531
|
-
*
|
|
537
|
+
* Input for authenticating a SIWE ceremony.
|
|
532
538
|
*/
|
|
533
|
-
export
|
|
539
|
+
export interface AuthenticateSiweInput {
|
|
540
|
+
message: string;
|
|
541
|
+
signature: string;
|
|
542
|
+
chainId?: string | null;
|
|
543
|
+
connectorType?: string | null;
|
|
544
|
+
/**
|
|
545
|
+
* Whether to allow sign-up during authentication.
|
|
546
|
+
*/
|
|
547
|
+
mode?: AuthenticateModeOption;
|
|
548
|
+
walletClientType?: string | null;
|
|
549
|
+
}
|
|
534
550
|
/**
|
|
535
|
-
*
|
|
536
|
-
* "custom:".
|
|
551
|
+
* Input for authenticating a SIWS ceremony.
|
|
537
552
|
*/
|
|
538
|
-
export
|
|
553
|
+
export interface AuthenticateSiwsInput {
|
|
554
|
+
message: string;
|
|
555
|
+
signature: string;
|
|
556
|
+
connectorType?: string | null;
|
|
557
|
+
message_type?: 'transaction' | 'plain';
|
|
558
|
+
/**
|
|
559
|
+
* Whether to allow sign-up during authentication.
|
|
560
|
+
*/
|
|
561
|
+
mode?: AuthenticateModeOption;
|
|
562
|
+
walletClientType?: string | null;
|
|
563
|
+
}
|
|
539
564
|
/**
|
|
540
|
-
* The
|
|
565
|
+
* The deposit instructions for a virtual account.
|
|
541
566
|
*/
|
|
542
|
-
export
|
|
567
|
+
export interface BridgeBrlFiatVirtualAccountDepositInstructions {
|
|
568
|
+
account_holder_name: string;
|
|
569
|
+
asset: 'brl';
|
|
570
|
+
bank_address: string;
|
|
571
|
+
bank_name: string;
|
|
572
|
+
br_code: string;
|
|
573
|
+
payment_rails: Array<'pix'>;
|
|
574
|
+
}
|
|
575
|
+
export type BridgeDestinationAsset = 'usdb' | 'usdc' | 'usdt' | 'dai' | 'pyusd' | 'eurc';
|
|
543
576
|
/**
|
|
544
|
-
*
|
|
577
|
+
* The deposit instructions for a virtual account.
|
|
545
578
|
*/
|
|
546
|
-
export
|
|
579
|
+
export interface BridgeEurFiatVirtualAccountDepositInstructions {
|
|
580
|
+
account_holder_name: string;
|
|
581
|
+
asset: 'eur';
|
|
582
|
+
bank_address: string;
|
|
583
|
+
bank_name: string;
|
|
584
|
+
bic: string;
|
|
585
|
+
iban: string;
|
|
586
|
+
payment_rails: Array<'sepa'>;
|
|
587
|
+
}
|
|
547
588
|
/**
|
|
548
|
-
*
|
|
589
|
+
* The response for getting a native onramp provider customer.
|
|
549
590
|
*/
|
|
550
|
-
export
|
|
591
|
+
export interface BridgeFiatCustomerResponse {
|
|
592
|
+
has_accepted_terms: boolean;
|
|
593
|
+
provider: 'bridge';
|
|
594
|
+
/**
|
|
595
|
+
* Status of the KYC verification process.
|
|
596
|
+
*/
|
|
597
|
+
status: 'not_found' | 'active' | 'awaiting_questionnaire' | 'awaiting_ubo' | 'incomplete' | 'not_started' | 'offboarded' | 'paused' | 'rejected' | 'under_review';
|
|
598
|
+
kyc_url?: string;
|
|
599
|
+
rejection_reasons?: Array<BridgeFiatRejectionReason>;
|
|
600
|
+
}
|
|
551
601
|
/**
|
|
552
|
-
*
|
|
602
|
+
* A rejection reason for a customer KYC verification.
|
|
553
603
|
*/
|
|
554
|
-
export interface
|
|
555
|
-
|
|
604
|
+
export interface BridgeFiatRejectionReason {
|
|
605
|
+
reason: string;
|
|
556
606
|
}
|
|
557
607
|
/**
|
|
558
|
-
*
|
|
608
|
+
* The deposit instructions for a virtual account.
|
|
559
609
|
*/
|
|
560
|
-
export
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
cred_props?: PasskeyCredPropsResult;
|
|
566
|
-
hmac_create_secret?: boolean;
|
|
610
|
+
export type BridgeFiatVirtualAccountDepositInstructions = BridgeUsdFiatVirtualAccountDepositInstructions | BridgeEurFiatVirtualAccountDepositInstructions | BridgeMxnFiatVirtualAccountDepositInstructions | BridgeBrlFiatVirtualAccountDepositInstructions | BridgeGbpFiatVirtualAccountDepositInstructions;
|
|
611
|
+
export interface BridgeFiatVirtualAccountDestination {
|
|
612
|
+
address: string;
|
|
613
|
+
asset: BridgeDestinationAsset;
|
|
614
|
+
chain: string;
|
|
567
615
|
}
|
|
568
616
|
/**
|
|
569
|
-
*
|
|
617
|
+
* The request input for creating virtual account.
|
|
570
618
|
*/
|
|
571
|
-
export interface
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
619
|
+
export interface BridgeFiatVirtualAccountRequest {
|
|
620
|
+
destination: BridgeFiatVirtualAccountDestination;
|
|
621
|
+
provider: 'bridge';
|
|
622
|
+
source: BridgeFiatVirtualAccountSource;
|
|
575
623
|
}
|
|
576
624
|
/**
|
|
577
|
-
*
|
|
625
|
+
* The response for creating virtual account.
|
|
578
626
|
*/
|
|
579
|
-
export interface
|
|
580
|
-
|
|
581
|
-
|
|
627
|
+
export interface BridgeFiatVirtualAccountResponse {
|
|
628
|
+
/**
|
|
629
|
+
* The deposit instructions for a virtual account.
|
|
630
|
+
*/
|
|
631
|
+
deposit_instructions: BridgeFiatVirtualAccountDepositInstructions;
|
|
632
|
+
destination: BridgeFiatVirtualAccountDestination;
|
|
633
|
+
provider: 'bridge';
|
|
634
|
+
status: string;
|
|
635
|
+
}
|
|
636
|
+
export interface BridgeFiatVirtualAccountSource {
|
|
637
|
+
asset: BridgeSourceAsset;
|
|
582
638
|
}
|
|
583
639
|
/**
|
|
584
|
-
*
|
|
640
|
+
* The deposit instructions for a virtual account.
|
|
585
641
|
*/
|
|
586
|
-
export interface
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
642
|
+
export interface BridgeGbpFiatVirtualAccountDepositInstructions {
|
|
643
|
+
account_holder_name: string;
|
|
644
|
+
account_number: string;
|
|
645
|
+
asset: 'gbp';
|
|
646
|
+
bank_address: string;
|
|
647
|
+
bank_name: string;
|
|
648
|
+
payment_rails: Array<'faster_payments'>;
|
|
649
|
+
sort_code: string;
|
|
590
650
|
}
|
|
591
651
|
/**
|
|
592
|
-
*
|
|
652
|
+
* The deposit instructions for a virtual account.
|
|
593
653
|
*/
|
|
594
|
-
export interface
|
|
595
|
-
|
|
596
|
-
|
|
654
|
+
export interface BridgeMxnFiatVirtualAccountDepositInstructions {
|
|
655
|
+
account_holder_name: string;
|
|
656
|
+
asset: 'mxn';
|
|
657
|
+
bank_address: string;
|
|
658
|
+
bank_name: string;
|
|
659
|
+
clabe: string;
|
|
660
|
+
payment_rails: Array<'spei'>;
|
|
597
661
|
}
|
|
598
662
|
/**
|
|
599
|
-
*
|
|
663
|
+
* Bridge provider variant — production or sandbox.
|
|
600
664
|
*/
|
|
601
|
-
export
|
|
602
|
-
authenticator_attachment?: string;
|
|
603
|
-
require_resident_key?: boolean;
|
|
604
|
-
resident_key?: string;
|
|
605
|
-
user_verification?: string;
|
|
606
|
-
}
|
|
665
|
+
export type BridgeOnrampProvider = 'bridge' | 'bridge-sandbox';
|
|
607
666
|
/**
|
|
608
|
-
*
|
|
667
|
+
* The response for getting a native onramp provider customer.
|
|
609
668
|
*/
|
|
610
|
-
export interface
|
|
611
|
-
|
|
669
|
+
export interface BridgeSandboxFiatCustomerResponse {
|
|
670
|
+
has_accepted_terms: boolean;
|
|
671
|
+
provider: 'bridge-sandbox';
|
|
612
672
|
/**
|
|
613
|
-
*
|
|
673
|
+
* Status of the KYC verification process.
|
|
614
674
|
*/
|
|
615
|
-
|
|
616
|
-
|
|
675
|
+
status: 'not_found' | 'active' | 'awaiting_questionnaire' | 'awaiting_ubo' | 'incomplete' | 'not_started' | 'offboarded' | 'paused' | 'rejected' | 'under_review';
|
|
676
|
+
kyc_url?: string;
|
|
677
|
+
rejection_reasons?: Array<BridgeFiatRejectionReason>;
|
|
617
678
|
}
|
|
618
679
|
/**
|
|
619
|
-
* The
|
|
680
|
+
* The request input for creating virtual account.
|
|
620
681
|
*/
|
|
621
|
-
export interface
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
public_key?: string;
|
|
626
|
-
public_key_algorithm?: number;
|
|
627
|
-
transports?: Array<unknown>;
|
|
682
|
+
export interface BridgeSandboxFiatVirtualAccountRequest {
|
|
683
|
+
destination: BridgeFiatVirtualAccountDestination;
|
|
684
|
+
provider: 'bridge-sandbox';
|
|
685
|
+
source: BridgeFiatVirtualAccountSource;
|
|
628
686
|
}
|
|
629
687
|
/**
|
|
630
|
-
*
|
|
631
|
-
* specification.
|
|
688
|
+
* The response for creating virtual account.
|
|
632
689
|
*/
|
|
633
|
-
export interface
|
|
634
|
-
challenge: string;
|
|
635
|
-
pub_key_cred_params: Array<PasskeyPubKeyCredParam>;
|
|
636
|
-
/**
|
|
637
|
-
* Relying party information for a WebAuthn ceremony.
|
|
638
|
-
*/
|
|
639
|
-
rp: PasskeyRelyingParty;
|
|
640
|
-
/**
|
|
641
|
-
* User entity for a WebAuthn registration ceremony.
|
|
642
|
-
*/
|
|
643
|
-
user: PasskeyUser;
|
|
644
|
-
attestation?: string;
|
|
645
|
-
/**
|
|
646
|
-
* Authenticator selection criteria for a WebAuthn registration ceremony.
|
|
647
|
-
*/
|
|
648
|
-
authenticator_selection?: PasskeyAuthenticatorSelection;
|
|
649
|
-
exclude_credentials?: Array<PasskeyCredentialDescriptor>;
|
|
690
|
+
export interface BridgeSandboxFiatVirtualAccountResponse {
|
|
650
691
|
/**
|
|
651
|
-
*
|
|
692
|
+
* The deposit instructions for a virtual account.
|
|
652
693
|
*/
|
|
653
|
-
|
|
654
|
-
|
|
694
|
+
deposit_instructions: BridgeFiatVirtualAccountDepositInstructions;
|
|
695
|
+
destination: BridgeFiatVirtualAccountDestination;
|
|
696
|
+
provider: 'bridge-sandbox';
|
|
697
|
+
status: string;
|
|
655
698
|
}
|
|
699
|
+
export type BridgeSourceAsset = 'usd' | 'eur' | 'mxn' | 'brl' | 'gbp';
|
|
656
700
|
/**
|
|
657
|
-
*
|
|
658
|
-
* specification.
|
|
701
|
+
* The deposit instructions for a virtual account.
|
|
659
702
|
*/
|
|
660
|
-
export interface
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
*/
|
|
670
|
-
response: PasskeyAttestationResponse;
|
|
671
|
-
type: 'public-key';
|
|
672
|
-
authenticator_attachment?: string;
|
|
703
|
+
export interface BridgeUsdFiatVirtualAccountDepositInstructions {
|
|
704
|
+
asset: 'usd';
|
|
705
|
+
bank_account_number: string;
|
|
706
|
+
bank_address: string;
|
|
707
|
+
bank_beneficiary_address: string;
|
|
708
|
+
bank_beneficiary_name: string;
|
|
709
|
+
bank_name: string;
|
|
710
|
+
bank_routing_number: string;
|
|
711
|
+
payment_rails: Array<'ach_push' | 'wire'>;
|
|
673
712
|
}
|
|
674
713
|
/**
|
|
675
|
-
*
|
|
714
|
+
* A CAIP-2 chain identifier in namespace:reference format (e.g. "eip155:1" for
|
|
715
|
+
* Ethereum mainnet, "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" for Solana mainnet).
|
|
676
716
|
*/
|
|
677
|
-
export
|
|
678
|
-
/**
|
|
679
|
-
* WebAuthn registration options as defined by the Web Authentication
|
|
680
|
-
* specification.
|
|
681
|
-
*/
|
|
682
|
-
options: PasskeyAuthenticatorEnrollmentOptions;
|
|
683
|
-
relying_party?: string;
|
|
684
|
-
}
|
|
717
|
+
export type Caip2ChainID = string;
|
|
685
718
|
/**
|
|
686
|
-
*
|
|
719
|
+
* The request input for creating (or updating) a native onramp provider customer.
|
|
687
720
|
*/
|
|
688
|
-
export interface
|
|
721
|
+
export interface CreateOrUpdateFiatCustomerRequestInput {
|
|
722
|
+
has_accepted_terms: boolean;
|
|
689
723
|
/**
|
|
690
|
-
*
|
|
691
|
-
* specification.
|
|
724
|
+
* Valid set of onramp providers
|
|
692
725
|
*/
|
|
693
|
-
|
|
694
|
-
|
|
726
|
+
provider: OnrampProvider;
|
|
727
|
+
kyc_redirect_url?: string;
|
|
695
728
|
}
|
|
696
729
|
/**
|
|
697
|
-
*
|
|
730
|
+
* Cryptocurrency symbol. Uppercase alphanumeric, 2-10 characters.
|
|
698
731
|
*/
|
|
699
|
-
export
|
|
732
|
+
export type CryptoCurrencyCode = string;
|
|
733
|
+
/**
|
|
734
|
+
* The ID of a custom OAuth provider, set up for this app. Must start with
|
|
735
|
+
* "custom:".
|
|
736
|
+
*/
|
|
737
|
+
export type CustomOAuthProviderID = `custom:${string}`;
|
|
738
|
+
/**
|
|
739
|
+
* The ID of an external OAuth provider.
|
|
740
|
+
*/
|
|
741
|
+
export type ExternalOAuthProviderID = 'google' | 'discord' | 'twitter' | 'github' | 'spotify' | 'instagram' | 'tiktok' | 'linkedin' | 'apple' | 'line' | 'twitch';
|
|
742
|
+
/**
|
|
743
|
+
* Input for authenticating with Farcaster.
|
|
744
|
+
*/
|
|
745
|
+
export interface FarcasterAuthenticateInput {
|
|
746
|
+
channel_token: string;
|
|
747
|
+
fid: number;
|
|
748
|
+
message: string;
|
|
749
|
+
signature: string;
|
|
700
750
|
/**
|
|
701
|
-
*
|
|
702
|
-
* specification.
|
|
751
|
+
* Whether to allow sign-up during authentication.
|
|
703
752
|
*/
|
|
704
|
-
|
|
705
|
-
relying_party?: string;
|
|
753
|
+
mode?: AuthenticateModeOption;
|
|
706
754
|
}
|
|
707
755
|
/**
|
|
708
|
-
*
|
|
756
|
+
* Proxy for the Farcaster Connect init response as defined in FIP-11.
|
|
709
757
|
*/
|
|
710
|
-
export interface
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
* specification.
|
|
714
|
-
*/
|
|
715
|
-
authenticator_response: PasskeyAuthenticatorEnrollmentResponse;
|
|
716
|
-
relying_party?: string;
|
|
758
|
+
export interface FarcasterConnectInitResponse {
|
|
759
|
+
channel_token: string;
|
|
760
|
+
connect_uri: string;
|
|
717
761
|
}
|
|
718
762
|
/**
|
|
719
|
-
*
|
|
763
|
+
* Proxy for the Farcaster Connect completed status response as defined in FIP-11.
|
|
720
764
|
*/
|
|
721
|
-
export interface
|
|
722
|
-
|
|
723
|
-
|
|
765
|
+
export interface FarcasterConnectStatusCompletedResponse {
|
|
766
|
+
bio: string;
|
|
767
|
+
display_name: string;
|
|
768
|
+
fid: number;
|
|
769
|
+
message: string;
|
|
770
|
+
nonce: string;
|
|
771
|
+
pfp_url: string;
|
|
772
|
+
signature: string;
|
|
773
|
+
state: 'completed';
|
|
774
|
+
username: string;
|
|
724
775
|
}
|
|
725
776
|
/**
|
|
726
|
-
*
|
|
777
|
+
* Proxy for the Farcaster Connect pending status response as defined in FIP-11.
|
|
727
778
|
*/
|
|
728
|
-
export interface
|
|
729
|
-
|
|
730
|
-
|
|
779
|
+
export interface FarcasterConnectStatusPendingResponse {
|
|
780
|
+
nonce: string;
|
|
781
|
+
state: 'pending';
|
|
731
782
|
}
|
|
732
783
|
/**
|
|
733
|
-
*
|
|
784
|
+
* Input for initiating a Farcaster connection.
|
|
734
785
|
*/
|
|
735
|
-
export interface
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
786
|
+
export interface FarcasterInitInput {
|
|
787
|
+
token?: string;
|
|
788
|
+
redirect_url?: string;
|
|
789
|
+
relying_party?: string;
|
|
739
790
|
}
|
|
740
791
|
/**
|
|
741
|
-
*
|
|
792
|
+
* Input for linking a Farcaster account.
|
|
742
793
|
*/
|
|
743
|
-
export interface
|
|
744
|
-
|
|
745
|
-
|
|
794
|
+
export interface FarcasterLinkInput {
|
|
795
|
+
channel_token: string;
|
|
796
|
+
fid: number;
|
|
797
|
+
message: string;
|
|
746
798
|
signature: string;
|
|
747
|
-
user_handle?: string;
|
|
748
799
|
}
|
|
749
800
|
/**
|
|
750
|
-
*
|
|
751
|
-
* specification.
|
|
801
|
+
* A Farcaster signer response when the signer has been approved.
|
|
752
802
|
*/
|
|
753
|
-
export interface
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
* Extensions for a WebAuthn authentication ceremony.
|
|
758
|
-
*/
|
|
759
|
-
extensions?: PasskeyVerifyExtensions;
|
|
760
|
-
rp_id?: string;
|
|
761
|
-
timeout?: number;
|
|
762
|
-
user_verification?: string;
|
|
803
|
+
export interface FarcasterSignerApproved {
|
|
804
|
+
fid: string;
|
|
805
|
+
public_key: string;
|
|
806
|
+
status: 'approved';
|
|
763
807
|
}
|
|
764
808
|
/**
|
|
765
|
-
*
|
|
766
|
-
* specification.
|
|
809
|
+
* A Farcaster signer init response when the signer is pending approval.
|
|
767
810
|
*/
|
|
768
|
-
export interface
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
*/
|
|
773
|
-
client_extension_results: PasskeyClientExtensionResults;
|
|
774
|
-
raw_id: string;
|
|
775
|
-
/**
|
|
776
|
-
* The authenticator assertion response from a WebAuthn authentication ceremony.
|
|
777
|
-
*/
|
|
778
|
-
response: PasskeyAssertionResponse;
|
|
779
|
-
type: 'public-key';
|
|
780
|
-
authenticator_attachment?: string;
|
|
811
|
+
export interface FarcasterSignerInitPendingApproval {
|
|
812
|
+
public_key: string;
|
|
813
|
+
signer_approval_url: string;
|
|
814
|
+
status: 'pending_approval';
|
|
781
815
|
}
|
|
782
816
|
/**
|
|
783
|
-
*
|
|
817
|
+
* A Farcaster signer response when the signer has been revoked.
|
|
784
818
|
*/
|
|
785
|
-
export interface
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
*/
|
|
790
|
-
options: PasskeyAuthenticatorVerifyOptions;
|
|
791
|
-
relying_party?: string;
|
|
819
|
+
export interface FarcasterSignerRevoked {
|
|
820
|
+
fid: string;
|
|
821
|
+
public_key: string;
|
|
822
|
+
status: 'revoked';
|
|
792
823
|
}
|
|
793
824
|
/**
|
|
794
|
-
*
|
|
825
|
+
* A Farcaster signer status response when the signer is pending approval.
|
|
795
826
|
*/
|
|
796
|
-
export interface
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
* specification.
|
|
800
|
-
*/
|
|
801
|
-
authenticator_response: PasskeyAuthenticatorVerifyResponse;
|
|
802
|
-
challenge: string;
|
|
803
|
-
relying_party?: string;
|
|
827
|
+
export interface FarcasterSignerStatusPendingApproval {
|
|
828
|
+
public_key: string;
|
|
829
|
+
status: 'pending_approval';
|
|
804
830
|
}
|
|
805
831
|
/**
|
|
806
|
-
*
|
|
832
|
+
* Input for unlinking a Farcaster account.
|
|
807
833
|
*/
|
|
808
|
-
export interface
|
|
809
|
-
|
|
810
|
-
nonce: string;
|
|
834
|
+
export interface FarcasterUnlinkInput {
|
|
835
|
+
fid: number;
|
|
811
836
|
}
|
|
812
837
|
/**
|
|
813
|
-
*
|
|
838
|
+
* Input for authenticating a Farcaster V2 account.
|
|
814
839
|
*/
|
|
815
|
-
export interface
|
|
816
|
-
|
|
817
|
-
|
|
840
|
+
export interface FarcasterV2AuthenticateInput {
|
|
841
|
+
fid: number;
|
|
842
|
+
message: string;
|
|
843
|
+
signature: string;
|
|
844
|
+
/**
|
|
845
|
+
* Whether to allow sign-up during authentication.
|
|
846
|
+
*/
|
|
847
|
+
mode?: AuthenticateModeOption;
|
|
818
848
|
}
|
|
819
849
|
/**
|
|
820
|
-
*
|
|
850
|
+
* The request body for authenticating a Farcaster V2 account.
|
|
821
851
|
*/
|
|
822
|
-
export interface
|
|
823
|
-
|
|
852
|
+
export interface FarcasterV2AuthenticateRequestBody {
|
|
853
|
+
fid: number;
|
|
854
|
+
message: string;
|
|
855
|
+
signature: string;
|
|
824
856
|
/**
|
|
825
857
|
* Whether to allow sign-up during authentication.
|
|
826
858
|
*/
|
|
827
859
|
mode?: AuthenticateModeOption;
|
|
828
860
|
}
|
|
829
861
|
/**
|
|
830
|
-
* Input for
|
|
862
|
+
* Input for initiating a Farcaster V2 connection.
|
|
831
863
|
*/
|
|
832
|
-
export interface
|
|
833
|
-
token?: string;
|
|
864
|
+
export interface FarcasterV2InitInput {
|
|
834
865
|
}
|
|
835
866
|
/**
|
|
836
|
-
* The request
|
|
867
|
+
* The request body for initiating a Farcaster V2 connection.
|
|
837
868
|
*/
|
|
838
|
-
export interface
|
|
839
|
-
/**
|
|
840
|
-
* Valid set of onramp providers
|
|
841
|
-
*/
|
|
842
|
-
provider: OnrampProvider;
|
|
843
|
-
kyc_redirect_url?: string;
|
|
869
|
+
export interface FarcasterV2InitRequestBody {
|
|
844
870
|
}
|
|
845
871
|
/**
|
|
846
|
-
*
|
|
872
|
+
* Response for initiating a Farcaster V2 connection.
|
|
847
873
|
*/
|
|
848
|
-
export interface
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
* Valid set of onramp providers
|
|
852
|
-
*/
|
|
853
|
-
provider: OnrampProvider;
|
|
854
|
-
kyc_redirect_url?: string;
|
|
874
|
+
export interface FarcasterV2InitResponse {
|
|
875
|
+
expires_at: string;
|
|
876
|
+
nonce: string;
|
|
855
877
|
}
|
|
856
878
|
/**
|
|
857
|
-
*
|
|
879
|
+
* The response body for initiating a Farcaster V2 connection.
|
|
858
880
|
*/
|
|
859
|
-
export interface
|
|
860
|
-
|
|
881
|
+
export interface FarcasterV2InitResponseBody {
|
|
882
|
+
expires_at: string;
|
|
883
|
+
nonce: string;
|
|
861
884
|
}
|
|
862
885
|
/**
|
|
863
|
-
*
|
|
886
|
+
* A positive decimal amount as a string (e.g. "100", "50.25", "0.001").
|
|
864
887
|
*/
|
|
865
|
-
export
|
|
866
|
-
has_accepted_terms: boolean;
|
|
867
|
-
provider: 'bridge';
|
|
868
|
-
/**
|
|
869
|
-
* Status of the KYC verification process.
|
|
870
|
-
*/
|
|
871
|
-
status: 'not_found' | 'active' | 'awaiting_questionnaire' | 'awaiting_ubo' | 'incomplete' | 'not_started' | 'offboarded' | 'paused' | 'rejected' | 'under_review';
|
|
872
|
-
kyc_url?: string;
|
|
873
|
-
rejection_reasons?: Array<BridgeFiatRejectionReason>;
|
|
874
|
-
}
|
|
888
|
+
export type FiatAmount = string;
|
|
875
889
|
/**
|
|
876
|
-
*
|
|
890
|
+
* ISO 4217 fiat currency code. Three uppercase ASCII letters.
|
|
877
891
|
*/
|
|
878
|
-
export
|
|
879
|
-
has_accepted_terms: boolean;
|
|
880
|
-
provider: 'bridge-sandbox';
|
|
881
|
-
/**
|
|
882
|
-
* Status of the KYC verification process.
|
|
883
|
-
*/
|
|
884
|
-
status: 'not_found' | 'active' | 'awaiting_questionnaire' | 'awaiting_ubo' | 'incomplete' | 'not_started' | 'offboarded' | 'paused' | 'rejected' | 'under_review';
|
|
885
|
-
kyc_url?: string;
|
|
886
|
-
rejection_reasons?: Array<BridgeFiatRejectionReason>;
|
|
887
|
-
}
|
|
892
|
+
export type FiatCurrencyCode = string;
|
|
888
893
|
/**
|
|
889
894
|
* The response for getting a native onramp provider customer.
|
|
890
895
|
*/
|
|
891
896
|
export type FiatCustomerResponse = BridgeFiatCustomerResponse | BridgeSandboxFiatCustomerResponse;
|
|
892
897
|
/**
|
|
893
|
-
*
|
|
898
|
+
* Destination cryptocurrency details for a fiat onramp quote request.
|
|
894
899
|
*/
|
|
895
|
-
export
|
|
900
|
+
export interface FiatOnrampDestination {
|
|
901
|
+
address: string;
|
|
902
|
+
/**
|
|
903
|
+
* Cryptocurrency symbol. Uppercase alphanumeric, 2-10 characters.
|
|
904
|
+
*/
|
|
905
|
+
asset: CryptoCurrencyCode;
|
|
906
|
+
/**
|
|
907
|
+
* A CAIP-2 chain identifier in namespace:reference format (e.g. "eip155:1" for
|
|
908
|
+
* Ethereum mainnet, "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" for Solana mainnet).
|
|
909
|
+
*/
|
|
910
|
+
chain: Caip2ChainID;
|
|
911
|
+
}
|
|
912
|
+
/**
|
|
913
|
+
* Whether to use the sandbox or production environment for fiat onramp.
|
|
914
|
+
*/
|
|
915
|
+
export type FiatOnrampEnvironment = 'sandbox' | 'production';
|
|
896
916
|
/**
|
|
897
|
-
*
|
|
917
|
+
* The fiat onramp provider to use.
|
|
898
918
|
*/
|
|
899
|
-
export type
|
|
919
|
+
export type FiatOnrampProvider = 'meld' | 'meld-sandbox' | 'moonpay' | 'moonpay-sandbox' | 'coinbase' | 'coinbase-sandbox';
|
|
900
920
|
/**
|
|
901
|
-
*
|
|
902
|
-
* Ethereum mainnet, "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" for Solana mainnet).
|
|
921
|
+
* An error from a specific fiat onramp provider when fetching quotes.
|
|
903
922
|
*/
|
|
904
|
-
export
|
|
923
|
+
export interface FiatOnrampProviderError {
|
|
924
|
+
error: string;
|
|
925
|
+
/**
|
|
926
|
+
* The fiat onramp provider to use.
|
|
927
|
+
*/
|
|
928
|
+
provider: FiatOnrampProvider;
|
|
929
|
+
}
|
|
905
930
|
/**
|
|
906
|
-
* A
|
|
931
|
+
* A single fiat onramp quote from a provider.
|
|
907
932
|
*/
|
|
908
|
-
export
|
|
933
|
+
export interface FiatOnrampQuote {
|
|
934
|
+
payment_method: string;
|
|
935
|
+
/**
|
|
936
|
+
* The fiat onramp provider to use.
|
|
937
|
+
*/
|
|
938
|
+
provider: FiatOnrampProvider;
|
|
939
|
+
destination_currency_code?: string | null;
|
|
940
|
+
source_amount?: number | null;
|
|
941
|
+
source_currency_code?: string | null;
|
|
942
|
+
sub_provider?: string | null;
|
|
943
|
+
}
|
|
909
944
|
/**
|
|
910
945
|
* Source currency details for a fiat onramp quote request.
|
|
911
946
|
*/
|
|
@@ -920,28 +955,27 @@ export interface FiatOnrampSource {
|
|
|
920
955
|
asset: FiatCurrencyCode;
|
|
921
956
|
}
|
|
922
957
|
/**
|
|
923
|
-
*
|
|
958
|
+
* Normalized fiat onramp transaction status.
|
|
924
959
|
*/
|
|
925
|
-
export
|
|
926
|
-
address: string;
|
|
927
|
-
/**
|
|
928
|
-
* Cryptocurrency symbol. Uppercase alphanumeric, 2-10 characters.
|
|
929
|
-
*/
|
|
930
|
-
asset: CryptoCurrencyCode;
|
|
931
|
-
/**
|
|
932
|
-
* A CAIP-2 chain identifier in namespace:reference format (e.g. "eip155:1" for
|
|
933
|
-
* Ethereum mainnet, "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" for Solana mainnet).
|
|
934
|
-
*/
|
|
935
|
-
chain: Caip2ChainID;
|
|
936
|
-
}
|
|
960
|
+
export type FiatOnrampTransactionStatus = 'pending' | 'processing' | 'completed' | 'failed' | 'cancelled' | 'refunded' | 'unknown';
|
|
937
961
|
/**
|
|
938
|
-
*
|
|
962
|
+
* The request input for creating virtual account.
|
|
939
963
|
*/
|
|
940
|
-
export type
|
|
964
|
+
export type FiatVirtualAccountRequest = BridgeFiatVirtualAccountRequest | BridgeSandboxFiatVirtualAccountRequest;
|
|
941
965
|
/**
|
|
942
|
-
* The
|
|
966
|
+
* The response for creating virtual account.
|
|
943
967
|
*/
|
|
944
|
-
export type
|
|
968
|
+
export type FiatVirtualAccountResponse = BridgeFiatVirtualAccountResponse | BridgeSandboxFiatVirtualAccountResponse;
|
|
969
|
+
/**
|
|
970
|
+
* The request input for getting a native onramp provider customer.
|
|
971
|
+
*/
|
|
972
|
+
export interface GetFiatCustomerRequestInput {
|
|
973
|
+
/**
|
|
974
|
+
* Valid set of onramp providers
|
|
975
|
+
*/
|
|
976
|
+
provider: OnrampProvider;
|
|
977
|
+
kyc_redirect_url?: string;
|
|
978
|
+
}
|
|
945
979
|
/**
|
|
946
980
|
* The request input for getting fiat onramp quotes.
|
|
947
981
|
*/
|
|
@@ -960,35 +994,33 @@ export interface GetFiatOnrampQuotesInput {
|
|
|
960
994
|
source: FiatOnrampSource;
|
|
961
995
|
}
|
|
962
996
|
/**
|
|
963
|
-
*
|
|
997
|
+
* The response containing fiat onramp quotes.
|
|
964
998
|
*/
|
|
965
|
-
export interface
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
* The fiat onramp provider to use.
|
|
969
|
-
*/
|
|
970
|
-
provider: FiatOnrampProvider;
|
|
971
|
-
destination_currency_code?: string | null;
|
|
972
|
-
source_amount?: number | null;
|
|
973
|
-
source_currency_code?: string | null;
|
|
974
|
-
sub_provider?: string | null;
|
|
999
|
+
export interface GetFiatOnrampQuotesResponse {
|
|
1000
|
+
quotes: Array<FiatOnrampQuote>;
|
|
1001
|
+
provider_errors?: Array<FiatOnrampProviderError>;
|
|
975
1002
|
}
|
|
976
1003
|
/**
|
|
977
|
-
*
|
|
1004
|
+
* The request input for checking a fiat onramp session status.
|
|
978
1005
|
*/
|
|
979
|
-
export interface
|
|
980
|
-
error: string;
|
|
1006
|
+
export interface GetFiatOnrampTransactionStatusInput {
|
|
981
1007
|
/**
|
|
982
1008
|
* The fiat onramp provider to use.
|
|
983
1009
|
*/
|
|
984
1010
|
provider: FiatOnrampProvider;
|
|
1011
|
+
session_id: string;
|
|
985
1012
|
}
|
|
986
1013
|
/**
|
|
987
|
-
* The response containing fiat onramp
|
|
1014
|
+
* The response containing the fiat onramp session status.
|
|
988
1015
|
*/
|
|
989
|
-
export interface
|
|
990
|
-
|
|
991
|
-
|
|
1016
|
+
export interface GetFiatOnrampTransactionStatusResponse {
|
|
1017
|
+
raw_status: string;
|
|
1018
|
+
session_id: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* Normalized fiat onramp transaction status.
|
|
1021
|
+
*/
|
|
1022
|
+
status: FiatOnrampTransactionStatus;
|
|
1023
|
+
transaction_id?: string;
|
|
992
1024
|
}
|
|
993
1025
|
/**
|
|
994
1026
|
* The request input for getting a fiat onramp provider session URL.
|
|
@@ -1018,224 +1050,333 @@ export interface GetFiatOnrampURLResponse {
|
|
|
1018
1050
|
url: string;
|
|
1019
1051
|
}
|
|
1020
1052
|
/**
|
|
1021
|
-
*
|
|
1053
|
+
* Input for linking a custom JWT account.
|
|
1022
1054
|
*/
|
|
1023
|
-
export
|
|
1055
|
+
export interface LinkJwtInput {
|
|
1056
|
+
token?: string;
|
|
1057
|
+
}
|
|
1024
1058
|
/**
|
|
1025
|
-
*
|
|
1059
|
+
* Input for enrolling SMS MFA.
|
|
1026
1060
|
*/
|
|
1027
|
-
export interface
|
|
1061
|
+
export interface MfaSMSInitEnrollInput {
|
|
1062
|
+
action: 'enroll';
|
|
1063
|
+
phoneNumber: string;
|
|
1064
|
+
}
|
|
1065
|
+
/**
|
|
1066
|
+
* Input for verifying SMS MFA.
|
|
1067
|
+
*/
|
|
1068
|
+
export interface MfaSMSInitVerifyInput {
|
|
1069
|
+
action: 'verify';
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
* The type of OAuth authorization code.
|
|
1073
|
+
*/
|
|
1074
|
+
export type OAuthCodeType = 'raw';
|
|
1075
|
+
/**
|
|
1076
|
+
* The ID of an OAuth provider.
|
|
1077
|
+
*/
|
|
1078
|
+
export type OAuthProviderID = ExternalOAuthProviderID | PrivyOAuthProviderID | CustomOAuthProviderID;
|
|
1079
|
+
/**
|
|
1080
|
+
* The request body for transferring an OAuth account.
|
|
1081
|
+
*/
|
|
1082
|
+
export interface OAuthTransferRequestBody {
|
|
1083
|
+
nonce: string;
|
|
1028
1084
|
/**
|
|
1029
|
-
*
|
|
1085
|
+
* User info for an OAuth transfer.
|
|
1030
1086
|
*/
|
|
1031
|
-
|
|
1032
|
-
session_id: string;
|
|
1087
|
+
userInfo: OAuthTransferUserInfo;
|
|
1033
1088
|
}
|
|
1034
1089
|
/**
|
|
1035
|
-
*
|
|
1090
|
+
* User info for an OAuth transfer.
|
|
1036
1091
|
*/
|
|
1037
|
-
export interface
|
|
1038
|
-
|
|
1039
|
-
|
|
1092
|
+
export interface OAuthTransferUserInfo {
|
|
1093
|
+
subject: string;
|
|
1094
|
+
email?: string | null;
|
|
1095
|
+
embeddedWalletAddresses?: Array<string>;
|
|
1040
1096
|
/**
|
|
1041
|
-
*
|
|
1097
|
+
* Metadata for an OAuth transfer user info.
|
|
1042
1098
|
*/
|
|
1043
|
-
|
|
1044
|
-
|
|
1099
|
+
meta?: OAuthTransferUserInfoMeta;
|
|
1100
|
+
name?: string;
|
|
1101
|
+
profilePictureUrl?: string;
|
|
1102
|
+
smartWalletAddresses?: Array<string>;
|
|
1103
|
+
username?: string;
|
|
1104
|
+
vanityName?: string;
|
|
1045
1105
|
}
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1106
|
+
/**
|
|
1107
|
+
* Metadata for an OAuth transfer user info.
|
|
1108
|
+
*/
|
|
1109
|
+
export interface OAuthTransferUserInfoMeta {
|
|
1110
|
+
providerAppId?: string;
|
|
1050
1111
|
}
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1112
|
+
/**
|
|
1113
|
+
* Valid set of onramp providers
|
|
1114
|
+
*/
|
|
1115
|
+
export type OnrampProvider = 'bridge' | 'bridge-sandbox';
|
|
1116
|
+
/**
|
|
1117
|
+
* The authenticator assertion response from a WebAuthn authentication ceremony.
|
|
1118
|
+
*/
|
|
1119
|
+
export interface PasskeyAssertionResponse {
|
|
1120
|
+
authenticator_data: string;
|
|
1121
|
+
client_data_json: string;
|
|
1122
|
+
signature: string;
|
|
1123
|
+
user_handle?: string;
|
|
1055
1124
|
}
|
|
1056
1125
|
/**
|
|
1057
|
-
* The
|
|
1126
|
+
* The authenticator attestation response from a WebAuthn registration ceremony.
|
|
1058
1127
|
*/
|
|
1059
|
-
export interface
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1128
|
+
export interface PasskeyAttestationResponse {
|
|
1129
|
+
attestation_object: string;
|
|
1130
|
+
client_data_json: string;
|
|
1131
|
+
authenticator_data?: string;
|
|
1132
|
+
public_key?: string;
|
|
1133
|
+
public_key_algorithm?: number;
|
|
1134
|
+
transports?: Array<string>;
|
|
1135
|
+
}
|
|
1136
|
+
/**
|
|
1137
|
+
* Input for authenticating with a passkey.
|
|
1138
|
+
*/
|
|
1139
|
+
export interface PasskeyAuthenticateInput {
|
|
1140
|
+
/**
|
|
1141
|
+
* WebAuthn authentication response as defined by the Web Authentication
|
|
1142
|
+
* specification.
|
|
1143
|
+
*/
|
|
1144
|
+
authenticator_response: PasskeyAuthenticatorVerifyResponse;
|
|
1145
|
+
challenge: string;
|
|
1146
|
+
relying_party?: string;
|
|
1147
|
+
}
|
|
1148
|
+
/**
|
|
1149
|
+
* WebAuthn registration options as defined by the Web Authentication
|
|
1150
|
+
* specification.
|
|
1151
|
+
*/
|
|
1152
|
+
export interface PasskeyAuthenticatorEnrollmentOptions {
|
|
1153
|
+
challenge: string;
|
|
1154
|
+
pub_key_cred_params: Array<PasskeyPubKeyCredParam>;
|
|
1155
|
+
/**
|
|
1156
|
+
* Relying party information for a WebAuthn ceremony.
|
|
1157
|
+
*/
|
|
1158
|
+
rp: PasskeyRelyingParty;
|
|
1159
|
+
/**
|
|
1160
|
+
* User entity for a WebAuthn registration ceremony.
|
|
1161
|
+
*/
|
|
1162
|
+
user: PasskeyUser;
|
|
1163
|
+
attestation?: string;
|
|
1164
|
+
/**
|
|
1165
|
+
* Authenticator selection criteria for a WebAuthn registration ceremony.
|
|
1166
|
+
*/
|
|
1167
|
+
authenticator_selection?: PasskeyAuthenticatorSelection;
|
|
1168
|
+
exclude_credentials?: Array<PasskeyCredentialDescriptor>;
|
|
1169
|
+
/**
|
|
1170
|
+
* Extensions for a WebAuthn registration ceremony.
|
|
1171
|
+
*/
|
|
1172
|
+
extensions?: PasskeyEnrollmentExtensions;
|
|
1173
|
+
timeout?: number;
|
|
1174
|
+
}
|
|
1175
|
+
/**
|
|
1176
|
+
* WebAuthn registration response as defined by the Web Authentication
|
|
1177
|
+
* specification.
|
|
1178
|
+
*/
|
|
1179
|
+
export interface PasskeyAuthenticatorEnrollmentResponse {
|
|
1180
|
+
id: string;
|
|
1181
|
+
/**
|
|
1182
|
+
* Client extension results returned by the WebAuthn authenticator.
|
|
1183
|
+
*/
|
|
1184
|
+
client_extension_results: PasskeyClientExtensionResults;
|
|
1185
|
+
raw_id: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* The authenticator attestation response from a WebAuthn registration ceremony.
|
|
1188
|
+
*/
|
|
1189
|
+
response: PasskeyAttestationResponse;
|
|
1190
|
+
type: 'public-key';
|
|
1191
|
+
authenticator_attachment?: string;
|
|
1192
|
+
}
|
|
1193
|
+
/**
|
|
1194
|
+
* Authenticator selection criteria for a WebAuthn registration ceremony.
|
|
1195
|
+
*/
|
|
1196
|
+
export interface PasskeyAuthenticatorSelection {
|
|
1197
|
+
authenticator_attachment?: string;
|
|
1198
|
+
require_resident_key?: boolean;
|
|
1199
|
+
resident_key?: string;
|
|
1200
|
+
user_verification?: string;
|
|
1063
1201
|
}
|
|
1064
1202
|
/**
|
|
1065
|
-
*
|
|
1203
|
+
* WebAuthn authentication options as defined by the Web Authentication
|
|
1204
|
+
* specification.
|
|
1066
1205
|
*/
|
|
1067
|
-
export interface
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1206
|
+
export interface PasskeyAuthenticatorVerifyOptions {
|
|
1207
|
+
challenge: string;
|
|
1208
|
+
allow_credentials?: Array<PasskeyCredentialDescriptor>;
|
|
1209
|
+
/**
|
|
1210
|
+
* Extensions for a WebAuthn authentication ceremony.
|
|
1211
|
+
*/
|
|
1212
|
+
extensions?: PasskeyVerifyExtensions;
|
|
1213
|
+
rp_id?: string;
|
|
1214
|
+
timeout?: number;
|
|
1215
|
+
user_verification?: string;
|
|
1071
1216
|
}
|
|
1072
1217
|
/**
|
|
1073
|
-
*
|
|
1074
|
-
|
|
1075
|
-
export type FiatVirtualAccountRequest = BridgeFiatVirtualAccountRequest | BridgeSandboxFiatVirtualAccountRequest;
|
|
1076
|
-
/**
|
|
1077
|
-
* The deposit instructions for a virtual account.
|
|
1218
|
+
* WebAuthn authentication response as defined by the Web Authentication
|
|
1219
|
+
* specification.
|
|
1078
1220
|
*/
|
|
1079
|
-
export interface
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1221
|
+
export interface PasskeyAuthenticatorVerifyResponse {
|
|
1222
|
+
id: string;
|
|
1223
|
+
/**
|
|
1224
|
+
* Client extension results returned by the WebAuthn authenticator.
|
|
1225
|
+
*/
|
|
1226
|
+
client_extension_results: PasskeyClientExtensionResults;
|
|
1227
|
+
raw_id: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* The authenticator assertion response from a WebAuthn authentication ceremony.
|
|
1230
|
+
*/
|
|
1231
|
+
response: PasskeyAssertionResponse;
|
|
1232
|
+
type: 'public-key';
|
|
1233
|
+
authenticator_attachment?: string;
|
|
1088
1234
|
}
|
|
1089
1235
|
/**
|
|
1090
|
-
*
|
|
1236
|
+
* Client extension results returned by the WebAuthn authenticator.
|
|
1091
1237
|
*/
|
|
1092
|
-
export interface
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
payment_rails: Array<'sepa'>;
|
|
1238
|
+
export interface PasskeyClientExtensionResults {
|
|
1239
|
+
app_id?: boolean;
|
|
1240
|
+
/**
|
|
1241
|
+
* The result of the WebAuthn credProps extension.
|
|
1242
|
+
*/
|
|
1243
|
+
cred_props?: PasskeyCredPropsResult;
|
|
1244
|
+
hmac_create_secret?: boolean;
|
|
1100
1245
|
}
|
|
1101
1246
|
/**
|
|
1102
|
-
* The
|
|
1247
|
+
* The result of the WebAuthn credProps extension.
|
|
1103
1248
|
*/
|
|
1104
|
-
export interface
|
|
1105
|
-
|
|
1106
|
-
asset: 'mxn';
|
|
1107
|
-
bank_address: string;
|
|
1108
|
-
bank_name: string;
|
|
1109
|
-
clabe: string;
|
|
1110
|
-
payment_rails: Array<'spei'>;
|
|
1249
|
+
export interface PasskeyCredPropsResult {
|
|
1250
|
+
rk?: boolean;
|
|
1111
1251
|
}
|
|
1112
1252
|
/**
|
|
1113
|
-
*
|
|
1253
|
+
* A WebAuthn credential descriptor identifying a specific public key credential.
|
|
1114
1254
|
*/
|
|
1115
|
-
export interface
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
bank_name: string;
|
|
1120
|
-
br_code: string;
|
|
1121
|
-
payment_rails: Array<'pix'>;
|
|
1255
|
+
export interface PasskeyCredentialDescriptor {
|
|
1256
|
+
id: string;
|
|
1257
|
+
type: string;
|
|
1258
|
+
transports?: Array<string>;
|
|
1122
1259
|
}
|
|
1123
1260
|
/**
|
|
1124
|
-
*
|
|
1261
|
+
* Extensions for a WebAuthn registration ceremony.
|
|
1125
1262
|
*/
|
|
1126
|
-
export interface
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
sort_code: string;
|
|
1263
|
+
export interface PasskeyEnrollmentExtensions {
|
|
1264
|
+
app_id?: string;
|
|
1265
|
+
/**
|
|
1266
|
+
* The result of the WebAuthn credProps extension.
|
|
1267
|
+
*/
|
|
1268
|
+
cred_props?: PasskeyCredPropsResult;
|
|
1269
|
+
hmac_create_secret?: boolean;
|
|
1134
1270
|
}
|
|
1135
1271
|
/**
|
|
1136
|
-
*
|
|
1272
|
+
* Input for initiating a passkey ceremony.
|
|
1137
1273
|
*/
|
|
1138
|
-
export
|
|
1274
|
+
export interface PasskeyInitInput {
|
|
1275
|
+
token?: string;
|
|
1276
|
+
relying_party?: string;
|
|
1277
|
+
}
|
|
1139
1278
|
/**
|
|
1140
|
-
*
|
|
1279
|
+
* Input for linking a passkey credential.
|
|
1141
1280
|
*/
|
|
1142
|
-
export interface
|
|
1281
|
+
export interface PasskeyLinkInput {
|
|
1143
1282
|
/**
|
|
1144
|
-
*
|
|
1283
|
+
* WebAuthn registration response as defined by the Web Authentication
|
|
1284
|
+
* specification.
|
|
1145
1285
|
*/
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
provider: 'bridge';
|
|
1149
|
-
status: string;
|
|
1286
|
+
authenticator_response: PasskeyAuthenticatorEnrollmentResponse;
|
|
1287
|
+
relying_party?: string;
|
|
1150
1288
|
}
|
|
1151
1289
|
/**
|
|
1152
|
-
*
|
|
1290
|
+
* A public key credential parameter specifying the algorithm and credential type.
|
|
1153
1291
|
*/
|
|
1154
|
-
export interface
|
|
1292
|
+
export interface PasskeyPubKeyCredParam {
|
|
1293
|
+
alg: number;
|
|
1294
|
+
type: 'public-key';
|
|
1295
|
+
}
|
|
1296
|
+
/**
|
|
1297
|
+
* Input for registering a passkey credential.
|
|
1298
|
+
*/
|
|
1299
|
+
export interface PasskeyRegisterInput {
|
|
1155
1300
|
/**
|
|
1156
|
-
*
|
|
1301
|
+
* WebAuthn registration response as defined by the Web Authentication
|
|
1302
|
+
* specification.
|
|
1157
1303
|
*/
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
provider: 'bridge-sandbox';
|
|
1161
|
-
status: string;
|
|
1304
|
+
authenticator_response: PasskeyAuthenticatorEnrollmentResponse;
|
|
1305
|
+
relying_party?: string;
|
|
1162
1306
|
}
|
|
1163
1307
|
/**
|
|
1164
|
-
*
|
|
1308
|
+
* Relying party information for a WebAuthn ceremony.
|
|
1165
1309
|
*/
|
|
1166
|
-
export
|
|
1310
|
+
export interface PasskeyRelyingParty {
|
|
1311
|
+
name: string;
|
|
1312
|
+
id?: string;
|
|
1313
|
+
}
|
|
1167
1314
|
/**
|
|
1168
|
-
*
|
|
1315
|
+
* User entity for a WebAuthn registration ceremony.
|
|
1169
1316
|
*/
|
|
1170
|
-
export
|
|
1317
|
+
export interface PasskeyUser {
|
|
1318
|
+
id: string;
|
|
1319
|
+
display_name: string;
|
|
1320
|
+
name: string;
|
|
1321
|
+
}
|
|
1171
1322
|
/**
|
|
1172
|
-
*
|
|
1323
|
+
* Extensions for a WebAuthn authentication ceremony.
|
|
1173
1324
|
*/
|
|
1174
|
-
export interface
|
|
1175
|
-
|
|
1325
|
+
export interface PasskeyVerifyExtensions {
|
|
1326
|
+
app_id?: string;
|
|
1327
|
+
cred_props?: boolean;
|
|
1328
|
+
hmac_create_secret?: boolean;
|
|
1176
1329
|
}
|
|
1177
1330
|
/**
|
|
1178
|
-
*
|
|
1331
|
+
* The request body for transferring a passwordless sms account.
|
|
1179
1332
|
*/
|
|
1180
|
-
export interface
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
embeddedWalletAddresses?: Array<string>;
|
|
1184
|
-
/**
|
|
1185
|
-
* Metadata for an OAuth transfer user info.
|
|
1186
|
-
*/
|
|
1187
|
-
meta?: OAuthTransferUserInfoMeta;
|
|
1188
|
-
name?: string;
|
|
1189
|
-
profilePictureUrl?: string;
|
|
1190
|
-
smartWalletAddresses?: Array<string>;
|
|
1191
|
-
username?: string;
|
|
1192
|
-
vanityName?: string;
|
|
1333
|
+
export interface PasswordlessSMSTransferRequestBody {
|
|
1334
|
+
nonce: string;
|
|
1335
|
+
phoneNumber: string;
|
|
1193
1336
|
}
|
|
1194
1337
|
/**
|
|
1195
|
-
* The request body for transferring
|
|
1338
|
+
* The request body for transferring a passwordless account.
|
|
1196
1339
|
*/
|
|
1197
|
-
export interface
|
|
1340
|
+
export interface PasswordlessTransferRequestBody {
|
|
1341
|
+
email: string;
|
|
1198
1342
|
nonce: string;
|
|
1199
|
-
/**
|
|
1200
|
-
* User info for an OAuth transfer.
|
|
1201
|
-
*/
|
|
1202
|
-
userInfo: OAuthTransferUserInfo;
|
|
1203
1343
|
}
|
|
1204
1344
|
/**
|
|
1205
|
-
*
|
|
1345
|
+
* The ID of a Privy app as an OAuth provider. Must start with "privy:".
|
|
1206
1346
|
*/
|
|
1207
|
-
export
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1347
|
+
export type PrivyOAuthProviderID = `privy:${string}`;
|
|
1348
|
+
/**
|
|
1349
|
+
* Response for initiating a passkey authentication ceremony.
|
|
1350
|
+
*/
|
|
1351
|
+
export interface ResponsePasskeyInitAuthenticate {
|
|
1352
|
+
/**
|
|
1353
|
+
* WebAuthn authentication options as defined by the Web Authentication
|
|
1354
|
+
* specification.
|
|
1355
|
+
*/
|
|
1356
|
+
options: PasskeyAuthenticatorVerifyOptions;
|
|
1357
|
+
relying_party?: string;
|
|
1213
1358
|
}
|
|
1214
1359
|
/**
|
|
1215
|
-
*
|
|
1360
|
+
* Response for initiating a passkey link ceremony.
|
|
1216
1361
|
*/
|
|
1217
|
-
export interface
|
|
1218
|
-
message: string;
|
|
1219
|
-
signature: string;
|
|
1362
|
+
export interface ResponsePasskeyInitLink {
|
|
1220
1363
|
/**
|
|
1221
|
-
*
|
|
1364
|
+
* WebAuthn registration options as defined by the Web Authentication
|
|
1365
|
+
* specification.
|
|
1222
1366
|
*/
|
|
1223
|
-
|
|
1224
|
-
|
|
1367
|
+
options: PasskeyAuthenticatorEnrollmentOptions;
|
|
1368
|
+
relying_party?: string;
|
|
1225
1369
|
}
|
|
1226
1370
|
/**
|
|
1227
|
-
*
|
|
1371
|
+
* Response for initiating a passkey registration ceremony.
|
|
1228
1372
|
*/
|
|
1229
|
-
export interface
|
|
1230
|
-
message: string;
|
|
1231
|
-
signature: string;
|
|
1232
|
-
chainId?: string | null;
|
|
1233
|
-
connectorType?: string | null;
|
|
1373
|
+
export interface ResponsePasskeyInitRegister {
|
|
1234
1374
|
/**
|
|
1235
|
-
*
|
|
1375
|
+
* WebAuthn registration options as defined by the Web Authentication
|
|
1376
|
+
* specification.
|
|
1236
1377
|
*/
|
|
1237
|
-
|
|
1238
|
-
|
|
1378
|
+
options: PasskeyAuthenticatorEnrollmentOptions;
|
|
1379
|
+
relying_party?: string;
|
|
1239
1380
|
}
|
|
1240
1381
|
/**
|
|
1241
1382
|
* Input containing a SIWE wallet address.
|
|
@@ -1246,51 +1387,27 @@ export interface SiweAddressInput {
|
|
|
1246
1387
|
/**
|
|
1247
1388
|
* Input for initiating a SIWE ceremony.
|
|
1248
1389
|
*/
|
|
1249
|
-
export interface SiweInitInput {
|
|
1250
|
-
token?: string;
|
|
1251
|
-
address?: string;
|
|
1252
|
-
}
|
|
1253
|
-
/**
|
|
1254
|
-
* A SIWE nonce response.
|
|
1255
|
-
*/
|
|
1256
|
-
export interface SiweNonce {
|
|
1257
|
-
address: string;
|
|
1258
|
-
expires_at: string;
|
|
1259
|
-
nonce: string;
|
|
1260
|
-
}
|
|
1261
|
-
/**
|
|
1262
|
-
* Input for transferring a SIWE account.
|
|
1263
|
-
*/
|
|
1264
|
-
export interface TransferSiweInput {
|
|
1265
|
-
address: string;
|
|
1266
|
-
nonce: string;
|
|
1267
|
-
chainId?: string | null;
|
|
1268
|
-
connectorType?: string | null;
|
|
1269
|
-
walletClientType?: string | null;
|
|
1390
|
+
export interface SiweInitInput {
|
|
1391
|
+
token?: string;
|
|
1392
|
+
address?: string;
|
|
1270
1393
|
}
|
|
1271
1394
|
/**
|
|
1272
|
-
* Input for a
|
|
1395
|
+
* Input for a SIWE signing ceremony.
|
|
1273
1396
|
*/
|
|
1274
|
-
export interface
|
|
1397
|
+
export interface SiweInput {
|
|
1275
1398
|
message: string;
|
|
1276
1399
|
signature: string;
|
|
1400
|
+
chainId?: string | null;
|
|
1277
1401
|
connectorType?: string | null;
|
|
1278
|
-
message_type?: 'transaction' | 'plain';
|
|
1279
1402
|
walletClientType?: string | null;
|
|
1280
1403
|
}
|
|
1281
1404
|
/**
|
|
1282
|
-
*
|
|
1405
|
+
* A SIWE nonce response.
|
|
1283
1406
|
*/
|
|
1284
|
-
export interface
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
message_type?: 'transaction' | 'plain';
|
|
1289
|
-
/**
|
|
1290
|
-
* Whether to allow sign-up during authentication.
|
|
1291
|
-
*/
|
|
1292
|
-
mode?: AuthenticateModeOption;
|
|
1293
|
-
walletClientType?: string | null;
|
|
1407
|
+
export interface SiweNonce {
|
|
1408
|
+
address: string;
|
|
1409
|
+
expires_at: string;
|
|
1410
|
+
nonce: string;
|
|
1294
1411
|
}
|
|
1295
1412
|
/**
|
|
1296
1413
|
* Input containing a SIWS wallet address.
|
|
@@ -1305,6 +1422,16 @@ export interface SiwsInitInput {
|
|
|
1305
1422
|
address: string;
|
|
1306
1423
|
token?: string;
|
|
1307
1424
|
}
|
|
1425
|
+
/**
|
|
1426
|
+
* Input for a SIWS signing ceremony.
|
|
1427
|
+
*/
|
|
1428
|
+
export interface SiwsInput {
|
|
1429
|
+
message: string;
|
|
1430
|
+
signature: string;
|
|
1431
|
+
connectorType?: string | null;
|
|
1432
|
+
message_type?: 'transaction' | 'plain';
|
|
1433
|
+
walletClientType?: string | null;
|
|
1434
|
+
}
|
|
1308
1435
|
/**
|
|
1309
1436
|
* A SIWS nonce response.
|
|
1310
1437
|
*/
|
|
@@ -1314,13 +1441,16 @@ export interface SiwsNonce {
|
|
|
1314
1441
|
nonce: string;
|
|
1315
1442
|
}
|
|
1316
1443
|
/**
|
|
1317
|
-
* Input for
|
|
1444
|
+
* Input for a smart wallet SIWE signing ceremony.
|
|
1318
1445
|
*/
|
|
1319
|
-
export interface
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1446
|
+
export interface SmartWalletSiweInput {
|
|
1447
|
+
message: string;
|
|
1448
|
+
signature: string;
|
|
1449
|
+
/**
|
|
1450
|
+
* The supported smart wallet providers.
|
|
1451
|
+
*/
|
|
1452
|
+
smart_wallet_type: EmbeddedWalletsAPI.SmartWalletType;
|
|
1453
|
+
smart_wallet_version?: string;
|
|
1324
1454
|
}
|
|
1325
1455
|
/**
|
|
1326
1456
|
* Auth result object returned by Telegram when a user authenticates using the
|
|
@@ -1335,20 +1465,6 @@ export interface TelegramAuthResult {
|
|
|
1335
1465
|
photo_url?: string;
|
|
1336
1466
|
username?: string;
|
|
1337
1467
|
}
|
|
1338
|
-
/**
|
|
1339
|
-
* Auth result object returned by Telegram when a user authenticates using a mini
|
|
1340
|
-
* app.
|
|
1341
|
-
*/
|
|
1342
|
-
export interface TelegramWebAppData {
|
|
1343
|
-
auth_date: number | null;
|
|
1344
|
-
hash: string;
|
|
1345
|
-
user: string;
|
|
1346
|
-
chat_instance?: string;
|
|
1347
|
-
chat_type?: string;
|
|
1348
|
-
query_id?: string;
|
|
1349
|
-
signature?: string;
|
|
1350
|
-
start_param?: string;
|
|
1351
|
-
}
|
|
1352
1468
|
/**
|
|
1353
1469
|
* Input for authenticating with Telegram.
|
|
1354
1470
|
*/
|
|
@@ -1376,84 +1492,18 @@ export interface TelegramUnlinkInput {
|
|
|
1376
1492
|
telegram_user_id: string;
|
|
1377
1493
|
}
|
|
1378
1494
|
/**
|
|
1379
|
-
*
|
|
1380
|
-
|
|
1381
|
-
export interface TransferTelegramInput {
|
|
1382
|
-
nonce: string;
|
|
1383
|
-
/**
|
|
1384
|
-
* Auth result object returned by Telegram when a user authenticates using the
|
|
1385
|
-
* login widget.
|
|
1386
|
-
*/
|
|
1387
|
-
telegram_auth_result?: TelegramAuthResult;
|
|
1388
|
-
/**
|
|
1389
|
-
* Auth result object returned by Telegram when a user authenticates using a mini
|
|
1390
|
-
* app.
|
|
1391
|
-
*/
|
|
1392
|
-
telegram_web_app_data?: TelegramWebAppData;
|
|
1393
|
-
}
|
|
1394
|
-
/**
|
|
1395
|
-
* Proxy for the Farcaster Connect init response as defined in FIP-11.
|
|
1396
|
-
*/
|
|
1397
|
-
export interface FarcasterConnectInitResponse {
|
|
1398
|
-
channel_token: string;
|
|
1399
|
-
connect_uri: string;
|
|
1400
|
-
}
|
|
1401
|
-
/**
|
|
1402
|
-
* Proxy for the Farcaster Connect completed status response as defined in FIP-11.
|
|
1403
|
-
*/
|
|
1404
|
-
export interface FarcasterConnectStatusCompletedResponse {
|
|
1405
|
-
bio: string;
|
|
1406
|
-
display_name: string;
|
|
1407
|
-
fid: number;
|
|
1408
|
-
message: string;
|
|
1409
|
-
nonce: string;
|
|
1410
|
-
pfp_url: string;
|
|
1411
|
-
signature: string;
|
|
1412
|
-
state: 'completed';
|
|
1413
|
-
username: string;
|
|
1414
|
-
}
|
|
1415
|
-
/**
|
|
1416
|
-
* Proxy for the Farcaster Connect pending status response as defined in FIP-11.
|
|
1417
|
-
*/
|
|
1418
|
-
export interface FarcasterConnectStatusPendingResponse {
|
|
1419
|
-
nonce: string;
|
|
1420
|
-
state: 'pending';
|
|
1421
|
-
}
|
|
1422
|
-
/**
|
|
1423
|
-
* Input for authenticating with Farcaster.
|
|
1424
|
-
*/
|
|
1425
|
-
export interface FarcasterAuthenticateInput {
|
|
1426
|
-
channel_token: string;
|
|
1427
|
-
fid: number;
|
|
1428
|
-
message: string;
|
|
1429
|
-
signature: string;
|
|
1430
|
-
/**
|
|
1431
|
-
* Whether to allow sign-up during authentication.
|
|
1432
|
-
*/
|
|
1433
|
-
mode?: AuthenticateModeOption;
|
|
1434
|
-
}
|
|
1435
|
-
/**
|
|
1436
|
-
* Input for linking a Farcaster account.
|
|
1437
|
-
*/
|
|
1438
|
-
export interface FarcasterLinkInput {
|
|
1439
|
-
channel_token: string;
|
|
1440
|
-
fid: number;
|
|
1441
|
-
message: string;
|
|
1442
|
-
signature: string;
|
|
1443
|
-
}
|
|
1444
|
-
/**
|
|
1445
|
-
* Input for initiating a Farcaster connection.
|
|
1446
|
-
*/
|
|
1447
|
-
export interface FarcasterInitInput {
|
|
1448
|
-
token?: string;
|
|
1449
|
-
redirect_url?: string;
|
|
1450
|
-
relying_party?: string;
|
|
1451
|
-
}
|
|
1452
|
-
/**
|
|
1453
|
-
* Input for unlinking a Farcaster account.
|
|
1495
|
+
* Auth result object returned by Telegram when a user authenticates using a mini
|
|
1496
|
+
* app.
|
|
1454
1497
|
*/
|
|
1455
|
-
export interface
|
|
1456
|
-
|
|
1498
|
+
export interface TelegramWebAppData {
|
|
1499
|
+
auth_date: number | null;
|
|
1500
|
+
hash: string;
|
|
1501
|
+
user: string;
|
|
1502
|
+
chat_instance?: string;
|
|
1503
|
+
chat_type?: string;
|
|
1504
|
+
query_id?: string;
|
|
1505
|
+
signature?: string;
|
|
1506
|
+
start_param?: string;
|
|
1457
1507
|
}
|
|
1458
1508
|
/**
|
|
1459
1509
|
* Input for transferring a Farcaster account.
|
|
@@ -1464,96 +1514,48 @@ export interface TransferFarcasterInput {
|
|
|
1464
1514
|
nonce: string;
|
|
1465
1515
|
}
|
|
1466
1516
|
/**
|
|
1467
|
-
* Input for
|
|
1468
|
-
*/
|
|
1469
|
-
export type FarcasterV2InitInput = unknown;
|
|
1470
|
-
/**
|
|
1471
|
-
* Response for initiating a Farcaster V2 connection.
|
|
1517
|
+
* Input for transferring a SIWE account.
|
|
1472
1518
|
*/
|
|
1473
|
-
export interface
|
|
1474
|
-
|
|
1519
|
+
export interface TransferSiweInput {
|
|
1520
|
+
address: string;
|
|
1475
1521
|
nonce: string;
|
|
1522
|
+
chainId?: string | null;
|
|
1523
|
+
connectorType?: string | null;
|
|
1524
|
+
walletClientType?: string | null;
|
|
1476
1525
|
}
|
|
1477
1526
|
/**
|
|
1478
|
-
* Input for
|
|
1479
|
-
*/
|
|
1480
|
-
export interface FarcasterV2AuthenticateInput {
|
|
1481
|
-
fid: number;
|
|
1482
|
-
message: string;
|
|
1483
|
-
signature: string;
|
|
1484
|
-
/**
|
|
1485
|
-
* Whether to allow sign-up during authentication.
|
|
1486
|
-
*/
|
|
1487
|
-
mode?: AuthenticateModeOption;
|
|
1488
|
-
}
|
|
1489
|
-
/**
|
|
1490
|
-
* The request body for initiating a Farcaster V2 connection.
|
|
1491
|
-
*/
|
|
1492
|
-
export type FarcasterV2InitRequestBody = unknown;
|
|
1493
|
-
/**
|
|
1494
|
-
* The response body for initiating a Farcaster V2 connection.
|
|
1527
|
+
* Input for transferring a SIWS account.
|
|
1495
1528
|
*/
|
|
1496
|
-
export interface
|
|
1497
|
-
|
|
1529
|
+
export interface TransferSiwsInput {
|
|
1530
|
+
address: string;
|
|
1498
1531
|
nonce: string;
|
|
1532
|
+
connectorType?: string | null;
|
|
1533
|
+
walletClientType?: string | null;
|
|
1499
1534
|
}
|
|
1500
1535
|
/**
|
|
1501
|
-
*
|
|
1536
|
+
* Input for transferring a Telegram account.
|
|
1502
1537
|
*/
|
|
1503
|
-
export interface
|
|
1504
|
-
|
|
1505
|
-
message: string;
|
|
1506
|
-
signature: string;
|
|
1538
|
+
export interface TransferTelegramInput {
|
|
1539
|
+
nonce: string;
|
|
1507
1540
|
/**
|
|
1508
|
-
*
|
|
1541
|
+
* Auth result object returned by Telegram when a user authenticates using the
|
|
1542
|
+
* login widget.
|
|
1509
1543
|
*/
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
public_key: string;
|
|
1517
|
-
signer_approval_url: string;
|
|
1518
|
-
status: 'pending_approval';
|
|
1519
|
-
}
|
|
1520
|
-
/**
|
|
1521
|
-
* A Farcaster signer response when the signer has been approved.
|
|
1522
|
-
*/
|
|
1523
|
-
export interface FarcasterSignerApproved {
|
|
1524
|
-
fid: string;
|
|
1525
|
-
public_key: string;
|
|
1526
|
-
status: 'approved';
|
|
1527
|
-
}
|
|
1528
|
-
/**
|
|
1529
|
-
* A Farcaster signer response when the signer has been revoked.
|
|
1530
|
-
*/
|
|
1531
|
-
export interface FarcasterSignerRevoked {
|
|
1532
|
-
fid: string;
|
|
1533
|
-
public_key: string;
|
|
1534
|
-
status: 'revoked';
|
|
1535
|
-
}
|
|
1536
|
-
/**
|
|
1537
|
-
* A Farcaster signer status response when the signer is pending approval.
|
|
1538
|
-
*/
|
|
1539
|
-
export interface FarcasterSignerStatusPendingApproval {
|
|
1540
|
-
public_key: string;
|
|
1541
|
-
status: 'pending_approval';
|
|
1542
|
-
}
|
|
1543
|
-
/**
|
|
1544
|
-
* Input for verifying SMS MFA.
|
|
1545
|
-
*/
|
|
1546
|
-
export interface MfaSMSInitVerifyInput {
|
|
1547
|
-
action: 'verify';
|
|
1544
|
+
telegram_auth_result?: TelegramAuthResult;
|
|
1545
|
+
/**
|
|
1546
|
+
* Auth result object returned by Telegram when a user authenticates using a mini
|
|
1547
|
+
* app.
|
|
1548
|
+
*/
|
|
1549
|
+
telegram_web_app_data?: TelegramWebAppData;
|
|
1548
1550
|
}
|
|
1549
1551
|
/**
|
|
1550
|
-
* Input for
|
|
1552
|
+
* Input for unlinking a passkey credential.
|
|
1551
1553
|
*/
|
|
1552
|
-
export interface
|
|
1553
|
-
|
|
1554
|
-
|
|
1554
|
+
export interface UnlinkPasskeyInput {
|
|
1555
|
+
credential_id: string;
|
|
1556
|
+
remove_as_mfa?: boolean;
|
|
1555
1557
|
}
|
|
1556
1558
|
export declare namespace ClientAuth {
|
|
1557
|
-
export { type CustomJwtAuthenticateRequestBody as CustomJwtAuthenticateRequestBody, type CustomJwtLinkRequestBody as CustomJwtLinkRequestBody, type FarcasterAuthenticateRequestBody as FarcasterAuthenticateRequestBody, type FarcasterConnectInitResponseBody as FarcasterConnectInitResponseBody, type FarcasterConnectStatusCompletedResponseBody as FarcasterConnectStatusCompletedResponseBody, type FarcasterConnectStatusPendingResponseBody as FarcasterConnectStatusPendingResponseBody, type FarcasterInitRequestBody as FarcasterInitRequestBody, type FarcasterLinkRequestBody as FarcasterLinkRequestBody, type FarcasterSignerInitRequestBody as FarcasterSignerInitRequestBody, type FarcasterSignerInitResponseBody as FarcasterSignerInitResponseBody, type FarcasterSignerStatusResponseBody as FarcasterSignerStatusResponseBody, type FarcasterUnlinkRequestBody as FarcasterUnlinkRequestBody, type FarcasterV2AuthenticateRequestBody as FarcasterV2AuthenticateRequestBody, type FarcasterV2InitResponseBody as FarcasterV2InitResponseBody, type GuestAuthenticateRequestBody as GuestAuthenticateRequestBody, type MfaPasskeyEnrollmentRequestBody as MfaPasskeyEnrollmentRequestBody, type MfaPasskeyInitRequestBody as MfaPasskeyInitRequestBody, type MfaPasskeyInitResponseBody as MfaPasskeyInitResponseBody, type MfaPasskeyVerifyRequestBody as MfaPasskeyVerifyRequestBody, type MfaSMSEnrollRequestBody as MfaSMSEnrollRequestBody, type MfaSMSInitRequestBody as MfaSMSInitRequestBody, type MfaSMSVerifyRequestBody as MfaSMSVerifyRequestBody, type MfaTotpInitResponseBody as MfaTotpInitResponseBody, type MfaTotpInput as MfaTotpInput, type MfaVerifyResponseBody as MfaVerifyResponseBody, type OAuthAuthenticateRequestBody as OAuthAuthenticateRequestBody, type OAuthAuthorizationCodeRequestBody as OAuthAuthorizationCodeRequestBody, type OAuthInitRequestBody as OAuthInitRequestBody, type OAuthInitResponseBody as OAuthInitResponseBody, type OAuthLinkRequestBody as OAuthLinkRequestBody, type OAuthLinkResponseBody as OAuthLinkResponseBody, type OAuthUnlinkRequestBody as OAuthUnlinkRequestBody, type OAuthVerifyRequestBody as OAuthVerifyRequestBody, type OAuthVerifyResponseBody as OAuthVerifyResponseBody, type OptionalRefreshTokenInput as OptionalRefreshTokenInput, type PasswordlessAuthenticateRequestBody as PasswordlessAuthenticateRequestBody, type PasswordlessInitRequestBody as PasswordlessInitRequestBody, type PasswordlessLinkRequestBody as PasswordlessLinkRequestBody, type PasswordlessSMSAuthenticateRequestBody as PasswordlessSMSAuthenticateRequestBody, type PasswordlessSMSInitRequestBody as PasswordlessSMSInitRequestBody, type PasswordlessSMSLinkRequestBody as PasswordlessSMSLinkRequestBody, type PasswordlessSMSUnlinkRequestBody as PasswordlessSMSUnlinkRequestBody, type PasswordlessSMSUpdateRequestBody as PasswordlessSMSUpdateRequestBody, type PasswordlessUnlinkRequestBody as PasswordlessUnlinkRequestBody, type PasswordlessUpdateRequestBody as PasswordlessUpdateRequestBody, type SiweAuthenticateRequestBody as SiweAuthenticateRequestBody, type SiweInitRequestBody as SiweInitRequestBody, type SiweInitResponseBody as SiweInitResponseBody, type SiweLinkRequestBody as SiweLinkRequestBody, type SiweLinkSmartWalletRequestBody as SiweLinkSmartWalletRequestBody, type SiweUnlinkRequestBody as SiweUnlinkRequestBody, type SiwsAuthenticateRequestBody as SiwsAuthenticateRequestBody, type SiwsInitRequestBody as SiwsInitRequestBody, type SiwsInitResponseBody as SiwsInitResponseBody, type SiwsLinkRequestBody as SiwsLinkRequestBody, type SiwsUnlinkRequestBody as SiwsUnlinkRequestBody, type TelegramAuthenticateRequestBody as TelegramAuthenticateRequestBody, type TelegramLinkRequestBody as TelegramLinkRequestBody, type TelegramUnlinkRequestBody as TelegramUnlinkRequestBody, type AuthenticateModeOption as AuthenticateModeOption, type AuthenticateMode as AuthenticateMode, type ExternalOAuthProviderID as ExternalOAuthProviderID, type PrivyOAuthProviderID as PrivyOAuthProviderID, type CustomOAuthProviderID as CustomOAuthProviderID, type OAuthProviderID as OAuthProviderID, type BridgeOnrampProvider as BridgeOnrampProvider, type OnrampProvider as OnrampProvider, type PasskeyCredPropsResult as PasskeyCredPropsResult, type PasskeyClientExtensionResults as PasskeyClientExtensionResults, type PasskeyCredentialDescriptor as PasskeyCredentialDescriptor, type PasskeyRelyingParty as PasskeyRelyingParty, type PasskeyUser as PasskeyUser, type PasskeyPubKeyCredParam as PasskeyPubKeyCredParam, type PasskeyAuthenticatorSelection as PasskeyAuthenticatorSelection, type PasskeyEnrollmentExtensions as PasskeyEnrollmentExtensions, type PasskeyAttestationResponse as PasskeyAttestationResponse, type PasskeyAuthenticatorEnrollmentOptions as PasskeyAuthenticatorEnrollmentOptions, type PasskeyAuthenticatorEnrollmentResponse as PasskeyAuthenticatorEnrollmentResponse, type ResponsePasskeyInitLink as ResponsePasskeyInitLink, type ResponsePasskeyInitRegister as ResponsePasskeyInitRegister, type PasskeyLinkInput as PasskeyLinkInput, type PasskeyRegisterInput as PasskeyRegisterInput, type PasskeyInitInput as PasskeyInitInput, type UnlinkPasskeyInput as UnlinkPasskeyInput, type PasskeyVerifyExtensions as PasskeyVerifyExtensions, type PasskeyAssertionResponse as PasskeyAssertionResponse, type PasskeyAuthenticatorVerifyOptions as PasskeyAuthenticatorVerifyOptions, type PasskeyAuthenticatorVerifyResponse as PasskeyAuthenticatorVerifyResponse, type ResponsePasskeyInitAuthenticate as ResponsePasskeyInitAuthenticate, type PasskeyAuthenticateInput as PasskeyAuthenticateInput, type PasswordlessTransferRequestBody as PasswordlessTransferRequestBody, type PasswordlessSMSTransferRequestBody as PasswordlessSMSTransferRequestBody, type AuthenticateJwtInput as AuthenticateJwtInput, type LinkJwtInput as LinkJwtInput, type GetFiatCustomerRequestInput as GetFiatCustomerRequestInput, type CreateOrUpdateFiatCustomerRequestInput as CreateOrUpdateFiatCustomerRequestInput, type BridgeFiatRejectionReason as BridgeFiatRejectionReason, type BridgeFiatCustomerResponse as BridgeFiatCustomerResponse, type BridgeSandboxFiatCustomerResponse as BridgeSandboxFiatCustomerResponse, type FiatCustomerResponse as FiatCustomerResponse, type FiatCurrencyCode as FiatCurrencyCode, type CryptoCurrencyCode as CryptoCurrencyCode, type Caip2ChainID as Caip2ChainID, type FiatAmount as FiatAmount, type FiatOnrampSource as FiatOnrampSource, type FiatOnrampDestination as FiatOnrampDestination, type FiatOnrampEnvironment as FiatOnrampEnvironment, type FiatOnrampProvider as FiatOnrampProvider, type GetFiatOnrampQuotesInput as GetFiatOnrampQuotesInput, type FiatOnrampQuote as FiatOnrampQuote, type FiatOnrampProviderError as FiatOnrampProviderError, type GetFiatOnrampQuotesResponse as GetFiatOnrampQuotesResponse, type GetFiatOnrampURLInput as GetFiatOnrampURLInput, type GetFiatOnrampURLResponse as GetFiatOnrampURLResponse, type FiatOnrampTransactionStatus as FiatOnrampTransactionStatus, type GetFiatOnrampTransactionStatusInput as GetFiatOnrampTransactionStatusInput, type GetFiatOnrampTransactionStatusResponse as GetFiatOnrampTransactionStatusResponse, type BridgeDestinationAsset as BridgeDestinationAsset, type BridgeSourceAsset as BridgeSourceAsset, type BridgeFiatVirtualAccountSource as BridgeFiatVirtualAccountSource, type BridgeFiatVirtualAccountDestination as BridgeFiatVirtualAccountDestination, type BridgeFiatVirtualAccountRequest as BridgeFiatVirtualAccountRequest, type BridgeSandboxFiatVirtualAccountRequest as BridgeSandboxFiatVirtualAccountRequest, type FiatVirtualAccountRequest as FiatVirtualAccountRequest, type BridgeUsdFiatVirtualAccountDepositInstructions as BridgeUsdFiatVirtualAccountDepositInstructions, type BridgeEurFiatVirtualAccountDepositInstructions as BridgeEurFiatVirtualAccountDepositInstructions, type BridgeMxnFiatVirtualAccountDepositInstructions as BridgeMxnFiatVirtualAccountDepositInstructions, type BridgeBrlFiatVirtualAccountDepositInstructions as BridgeBrlFiatVirtualAccountDepositInstructions, type BridgeGbpFiatVirtualAccountDepositInstructions as BridgeGbpFiatVirtualAccountDepositInstructions, type BridgeFiatVirtualAccountDepositInstructions as BridgeFiatVirtualAccountDepositInstructions, type BridgeFiatVirtualAccountResponse as BridgeFiatVirtualAccountResponse, type BridgeSandboxFiatVirtualAccountResponse as BridgeSandboxFiatVirtualAccountResponse, type FiatVirtualAccountResponse as FiatVirtualAccountResponse, type OAuthCodeType as OAuthCodeType, type OAuthTransferUserInfoMeta as OAuthTransferUserInfoMeta, type OAuthTransferUserInfo as OAuthTransferUserInfo, type OAuthTransferRequestBody as OAuthTransferRequestBody, type SiweInput as SiweInput, type SmartWalletSiweInput as SmartWalletSiweInput, type AuthenticateSiweInput as AuthenticateSiweInput, type SiweAddressInput as SiweAddressInput, type SiweInitInput as SiweInitInput, type SiweNonce as SiweNonce, type TransferSiweInput as TransferSiweInput, type SiwsInput as SiwsInput, type AuthenticateSiwsInput as AuthenticateSiwsInput, type SiwsAddressInput as SiwsAddressInput, type SiwsInitInput as SiwsInitInput, type SiwsNonce as SiwsNonce, type TransferSiwsInput as TransferSiwsInput, type TelegramAuthResult as TelegramAuthResult, type TelegramWebAppData as TelegramWebAppData, type TelegramAuthenticateInput as TelegramAuthenticateInput, type TelegramUnlinkInput as TelegramUnlinkInput, type TransferTelegramInput as TransferTelegramInput, type FarcasterConnectInitResponse as FarcasterConnectInitResponse, type FarcasterConnectStatusCompletedResponse as FarcasterConnectStatusCompletedResponse, type FarcasterConnectStatusPendingResponse as FarcasterConnectStatusPendingResponse, type FarcasterAuthenticateInput as FarcasterAuthenticateInput, type FarcasterLinkInput as FarcasterLinkInput, type FarcasterInitInput as FarcasterInitInput, type FarcasterUnlinkInput as FarcasterUnlinkInput, type TransferFarcasterInput as TransferFarcasterInput, type FarcasterV2InitInput as FarcasterV2InitInput, type FarcasterV2InitResponse as FarcasterV2InitResponse, type FarcasterV2AuthenticateInput as FarcasterV2AuthenticateInput, type FarcasterV2InitRequestBody as FarcasterV2InitRequestBody, type FarcasterSignerInitPendingApproval as FarcasterSignerInitPendingApproval, type FarcasterSignerApproved as FarcasterSignerApproved, type FarcasterSignerRevoked as FarcasterSignerRevoked, type FarcasterSignerStatusPendingApproval as FarcasterSignerStatusPendingApproval, type MfaSMSInitVerifyInput as MfaSMSInitVerifyInput, type MfaSMSInitEnrollInput as MfaSMSInitEnrollInput, };
|
|
1559
|
+
export { type CustomJwtAuthenticateRequestBody as CustomJwtAuthenticateRequestBody, type CustomJwtLinkRequestBody as CustomJwtLinkRequestBody, type FarcasterAuthenticateRequestBody as FarcasterAuthenticateRequestBody, type FarcasterConnectInitResponseBody as FarcasterConnectInitResponseBody, type FarcasterConnectStatusCompletedResponseBody as FarcasterConnectStatusCompletedResponseBody, type FarcasterConnectStatusPendingResponseBody as FarcasterConnectStatusPendingResponseBody, type FarcasterInitRequestBody as FarcasterInitRequestBody, type FarcasterLinkRequestBody as FarcasterLinkRequestBody, type FarcasterSignerInitRequestBody as FarcasterSignerInitRequestBody, type FarcasterSignerInitResponseBody as FarcasterSignerInitResponseBody, type FarcasterSignerStatusResponseBody as FarcasterSignerStatusResponseBody, type FarcasterUnlinkRequestBody as FarcasterUnlinkRequestBody, type FarcasterV2AuthenticateRequestBody as FarcasterV2AuthenticateRequestBody, type FarcasterV2InitResponseBody as FarcasterV2InitResponseBody, type GuestAuthenticateRequestBody as GuestAuthenticateRequestBody, type MfaPasskeyEnrollmentRequestBody as MfaPasskeyEnrollmentRequestBody, type MfaPasskeyInitRequestBody as MfaPasskeyInitRequestBody, type MfaPasskeyInitResponseBody as MfaPasskeyInitResponseBody, type MfaPasskeyVerifyRequestBody as MfaPasskeyVerifyRequestBody, type MfaSMSEnrollRequestBody as MfaSMSEnrollRequestBody, type MfaSMSInitRequestBody as MfaSMSInitRequestBody, type MfaSMSVerifyRequestBody as MfaSMSVerifyRequestBody, type MfaTotpInitResponseBody as MfaTotpInitResponseBody, type MfaTotpInput as MfaTotpInput, type MfaVerifyResponseBody as MfaVerifyResponseBody, type OAuthAuthenticateRequestBody as OAuthAuthenticateRequestBody, type OAuthAuthorizationCodeRequestBody as OAuthAuthorizationCodeRequestBody, type OAuthInitRequestBody as OAuthInitRequestBody, type OAuthInitResponseBody as OAuthInitResponseBody, type OAuthLinkRequestBody as OAuthLinkRequestBody, type OAuthLinkResponseBody as OAuthLinkResponseBody, type OAuthUnlinkRequestBody as OAuthUnlinkRequestBody, type OAuthVerifyRequestBody as OAuthVerifyRequestBody, type OAuthVerifyResponseBody as OAuthVerifyResponseBody, type OptionalRefreshTokenInput as OptionalRefreshTokenInput, type PasswordlessAuthenticateRequestBody as PasswordlessAuthenticateRequestBody, type PasswordlessInitRequestBody as PasswordlessInitRequestBody, type PasswordlessLinkRequestBody as PasswordlessLinkRequestBody, type PasswordlessSMSAuthenticateRequestBody as PasswordlessSMSAuthenticateRequestBody, type PasswordlessSMSInitRequestBody as PasswordlessSMSInitRequestBody, type PasswordlessSMSLinkRequestBody as PasswordlessSMSLinkRequestBody, type PasswordlessSMSUnlinkRequestBody as PasswordlessSMSUnlinkRequestBody, type PasswordlessSMSUpdateRequestBody as PasswordlessSMSUpdateRequestBody, type PasswordlessUnlinkRequestBody as PasswordlessUnlinkRequestBody, type PasswordlessUpdateRequestBody as PasswordlessUpdateRequestBody, type SiweAuthenticateRequestBody as SiweAuthenticateRequestBody, type SiweInitRequestBody as SiweInitRequestBody, type SiweInitResponseBody as SiweInitResponseBody, type SiweLinkRequestBody as SiweLinkRequestBody, type SiweLinkSmartWalletRequestBody as SiweLinkSmartWalletRequestBody, type SiweUnlinkRequestBody as SiweUnlinkRequestBody, type SiwsAuthenticateRequestBody as SiwsAuthenticateRequestBody, type SiwsInitRequestBody as SiwsInitRequestBody, type SiwsInitResponseBody as SiwsInitResponseBody, type SiwsLinkRequestBody as SiwsLinkRequestBody, type SiwsUnlinkRequestBody as SiwsUnlinkRequestBody, type TelegramAuthenticateRequestBody as TelegramAuthenticateRequestBody, type TelegramLinkRequestBody as TelegramLinkRequestBody, type TelegramUnlinkRequestBody as TelegramUnlinkRequestBody, type AuthenticateJwtInput as AuthenticateJwtInput, type AuthenticateMode as AuthenticateMode, type AuthenticateModeOption as AuthenticateModeOption, type AuthenticateSiweInput as AuthenticateSiweInput, type AuthenticateSiwsInput as AuthenticateSiwsInput, type BridgeBrlFiatVirtualAccountDepositInstructions as BridgeBrlFiatVirtualAccountDepositInstructions, type BridgeDestinationAsset as BridgeDestinationAsset, type BridgeEurFiatVirtualAccountDepositInstructions as BridgeEurFiatVirtualAccountDepositInstructions, type BridgeFiatCustomerResponse as BridgeFiatCustomerResponse, type BridgeFiatRejectionReason as BridgeFiatRejectionReason, type BridgeFiatVirtualAccountDepositInstructions as BridgeFiatVirtualAccountDepositInstructions, type BridgeFiatVirtualAccountDestination as BridgeFiatVirtualAccountDestination, type BridgeFiatVirtualAccountRequest as BridgeFiatVirtualAccountRequest, type BridgeFiatVirtualAccountResponse as BridgeFiatVirtualAccountResponse, type BridgeFiatVirtualAccountSource as BridgeFiatVirtualAccountSource, type BridgeGbpFiatVirtualAccountDepositInstructions as BridgeGbpFiatVirtualAccountDepositInstructions, type BridgeMxnFiatVirtualAccountDepositInstructions as BridgeMxnFiatVirtualAccountDepositInstructions, type BridgeOnrampProvider as BridgeOnrampProvider, type BridgeSandboxFiatCustomerResponse as BridgeSandboxFiatCustomerResponse, type BridgeSandboxFiatVirtualAccountRequest as BridgeSandboxFiatVirtualAccountRequest, type BridgeSandboxFiatVirtualAccountResponse as BridgeSandboxFiatVirtualAccountResponse, type BridgeSourceAsset as BridgeSourceAsset, type BridgeUsdFiatVirtualAccountDepositInstructions as BridgeUsdFiatVirtualAccountDepositInstructions, type Caip2ChainID as Caip2ChainID, type CreateOrUpdateFiatCustomerRequestInput as CreateOrUpdateFiatCustomerRequestInput, type CryptoCurrencyCode as CryptoCurrencyCode, type CustomOAuthProviderID as CustomOAuthProviderID, type ExternalOAuthProviderID as ExternalOAuthProviderID, type FarcasterAuthenticateInput as FarcasterAuthenticateInput, type FarcasterConnectInitResponse as FarcasterConnectInitResponse, type FarcasterConnectStatusCompletedResponse as FarcasterConnectStatusCompletedResponse, type FarcasterConnectStatusPendingResponse as FarcasterConnectStatusPendingResponse, type FarcasterInitInput as FarcasterInitInput, type FarcasterLinkInput as FarcasterLinkInput, type FarcasterSignerApproved as FarcasterSignerApproved, type FarcasterSignerInitPendingApproval as FarcasterSignerInitPendingApproval, type FarcasterSignerRevoked as FarcasterSignerRevoked, type FarcasterSignerStatusPendingApproval as FarcasterSignerStatusPendingApproval, type FarcasterUnlinkInput as FarcasterUnlinkInput, type FarcasterV2AuthenticateInput as FarcasterV2AuthenticateInput, type FarcasterV2InitInput as FarcasterV2InitInput, type FarcasterV2InitRequestBody as FarcasterV2InitRequestBody, type FarcasterV2InitResponse as FarcasterV2InitResponse, type FiatAmount as FiatAmount, type FiatCurrencyCode as FiatCurrencyCode, type FiatCustomerResponse as FiatCustomerResponse, type FiatOnrampDestination as FiatOnrampDestination, type FiatOnrampEnvironment as FiatOnrampEnvironment, type FiatOnrampProvider as FiatOnrampProvider, type FiatOnrampProviderError as FiatOnrampProviderError, type FiatOnrampQuote as FiatOnrampQuote, type FiatOnrampSource as FiatOnrampSource, type FiatOnrampTransactionStatus as FiatOnrampTransactionStatus, type FiatVirtualAccountRequest as FiatVirtualAccountRequest, type FiatVirtualAccountResponse as FiatVirtualAccountResponse, type GetFiatCustomerRequestInput as GetFiatCustomerRequestInput, type GetFiatOnrampQuotesInput as GetFiatOnrampQuotesInput, type GetFiatOnrampQuotesResponse as GetFiatOnrampQuotesResponse, type GetFiatOnrampTransactionStatusInput as GetFiatOnrampTransactionStatusInput, type GetFiatOnrampTransactionStatusResponse as GetFiatOnrampTransactionStatusResponse, type GetFiatOnrampURLInput as GetFiatOnrampURLInput, type GetFiatOnrampURLResponse as GetFiatOnrampURLResponse, type LinkJwtInput as LinkJwtInput, type MfaSMSInitEnrollInput as MfaSMSInitEnrollInput, type MfaSMSInitVerifyInput as MfaSMSInitVerifyInput, type OAuthCodeType as OAuthCodeType, type OAuthProviderID as OAuthProviderID, type OAuthTransferRequestBody as OAuthTransferRequestBody, type OAuthTransferUserInfo as OAuthTransferUserInfo, type OAuthTransferUserInfoMeta as OAuthTransferUserInfoMeta, type OnrampProvider as OnrampProvider, type PasskeyAssertionResponse as PasskeyAssertionResponse, type PasskeyAttestationResponse as PasskeyAttestationResponse, type PasskeyAuthenticateInput as PasskeyAuthenticateInput, type PasskeyAuthenticatorEnrollmentOptions as PasskeyAuthenticatorEnrollmentOptions, type PasskeyAuthenticatorEnrollmentResponse as PasskeyAuthenticatorEnrollmentResponse, type PasskeyAuthenticatorSelection as PasskeyAuthenticatorSelection, type PasskeyAuthenticatorVerifyOptions as PasskeyAuthenticatorVerifyOptions, type PasskeyAuthenticatorVerifyResponse as PasskeyAuthenticatorVerifyResponse, type PasskeyClientExtensionResults as PasskeyClientExtensionResults, type PasskeyCredPropsResult as PasskeyCredPropsResult, type PasskeyCredentialDescriptor as PasskeyCredentialDescriptor, type PasskeyEnrollmentExtensions as PasskeyEnrollmentExtensions, type PasskeyInitInput as PasskeyInitInput, type PasskeyLinkInput as PasskeyLinkInput, type PasskeyPubKeyCredParam as PasskeyPubKeyCredParam, type PasskeyRegisterInput as PasskeyRegisterInput, type PasskeyRelyingParty as PasskeyRelyingParty, type PasskeyUser as PasskeyUser, type PasskeyVerifyExtensions as PasskeyVerifyExtensions, type PasswordlessSMSTransferRequestBody as PasswordlessSMSTransferRequestBody, type PasswordlessTransferRequestBody as PasswordlessTransferRequestBody, type PrivyOAuthProviderID as PrivyOAuthProviderID, type ResponsePasskeyInitAuthenticate as ResponsePasskeyInitAuthenticate, type ResponsePasskeyInitLink as ResponsePasskeyInitLink, type ResponsePasskeyInitRegister as ResponsePasskeyInitRegister, type SiweAddressInput as SiweAddressInput, type SiweInitInput as SiweInitInput, type SiweInput as SiweInput, type SiweNonce as SiweNonce, type SiwsAddressInput as SiwsAddressInput, type SiwsInitInput as SiwsInitInput, type SiwsInput as SiwsInput, type SiwsNonce as SiwsNonce, type SmartWalletSiweInput as SmartWalletSiweInput, type TelegramAuthResult as TelegramAuthResult, type TelegramAuthenticateInput as TelegramAuthenticateInput, type TelegramUnlinkInput as TelegramUnlinkInput, type TelegramWebAppData as TelegramWebAppData, type TransferFarcasterInput as TransferFarcasterInput, type TransferSiweInput as TransferSiweInput, type TransferSiwsInput as TransferSiwsInput, type TransferTelegramInput as TransferTelegramInput, type UnlinkPasskeyInput as UnlinkPasskeyInput, };
|
|
1558
1560
|
}
|
|
1559
1561
|
//# sourceMappingURL=client-auth.d.ts.map
|