@openfort/openfort-node 0.9.1 → 0.9.3

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/dist/index.d.mts CHANGED
@@ -5,182 +5,6 @@ export { ShieldAuthProvider } from '@openfort/shield-js';
5
5
  import { AxiosRequestConfig } from 'axios';
6
6
  import { z } from 'zod';
7
7
 
8
- /**
9
- * @module Wallets/EVM/Types
10
- * EVM-specific types for wallet operations
11
- */
12
-
13
- /**
14
- * Base EVM account with signing capabilities
15
- */
16
- interface EvmAccountBase {
17
- /** The account's unique identifier */
18
- id: string;
19
- /** The account's address */
20
- address: Address;
21
- /** Account type identifier */
22
- custody: 'Developer';
23
- }
24
- /**
25
- * EVM signing methods interface
26
- */
27
- interface EvmSigningMethods {
28
- /**
29
- * Signs a hash and returns the signature
30
- * @param parameters - Object containing the hash to sign
31
- */
32
- sign(parameters: {
33
- hash: Hash;
34
- }): Promise<Hex>;
35
- /**
36
- * Signs a message (EIP-191 personal sign)
37
- * @param parameters - Object containing the message to sign
38
- */
39
- signMessage(parameters: {
40
- message: SignableMessage;
41
- }): Promise<Hex>;
42
- /**
43
- * Signs a transaction
44
- * @param transaction - Transaction to sign
45
- */
46
- signTransaction(transaction: TransactionSerializable): Promise<Hex>;
47
- /**
48
- * Signs typed data (EIP-712)
49
- * @param parameters - Typed data definition
50
- */
51
- signTypedData<const T extends TypedData | Record<string, unknown>, P extends keyof T | 'EIP712Domain' = keyof T>(parameters: TypedDataDefinition<T, P>): Promise<Hex>;
52
- }
53
- /**
54
- * Full EVM server account with all signing capabilities
55
- */
56
- type EvmAccount = EvmAccountBase & EvmSigningMethods;
57
- /**
58
- * Options for sign message action
59
- */
60
- interface SignMessageOptions$1 {
61
- /** Account address */
62
- address: Address;
63
- /** Message to sign (string or SignableMessage) */
64
- message: SignableMessage;
65
- /** Idempotency key */
66
- idempotencyKey?: string;
67
- }
68
- /**
69
- * Options for sign typed data action
70
- */
71
- interface SignTypedDataOptions<T extends TypedData | Record<string, unknown> = TypedData, P extends keyof T | 'EIP712Domain' = keyof T> {
72
- /** Account address */
73
- address: Address;
74
- /** Typed data definition */
75
- typedData: TypedDataDefinition<T, P>;
76
- /** Idempotency key */
77
- idempotencyKey?: string;
78
- }
79
- /**
80
- * Options for sign transaction action
81
- */
82
- interface SignTransactionOptions$1 {
83
- /** Account address */
84
- address: Address;
85
- /** Transaction to sign */
86
- transaction: TransactionSerializable;
87
- /** Idempotency key */
88
- idempotencyKey?: string;
89
- }
90
- /**
91
- * Options for creating an EVM account
92
- */
93
- interface CreateEvmAccountOptions {
94
- /** Wallet ID (starts with pla_). Optional - associates the wallet with a player. */
95
- wallet?: string;
96
- /** Idempotency key */
97
- idempotencyKey?: string;
98
- }
99
- /**
100
- * Options for getting an EVM account
101
- */
102
- interface GetEvmAccountOptions {
103
- /** Account address */
104
- address?: Address;
105
- /** Account ID */
106
- id?: string;
107
- }
108
- /**
109
- * Options for listing EVM accounts
110
- */
111
- interface ListEvmAccountsOptions {
112
- /** Maximum number of accounts to return (default: 10, max: 100) */
113
- limit?: number;
114
- /** Number of accounts to skip (for pagination) */
115
- skip?: number;
116
- }
117
- /**
118
- * Options for importing an EVM account
119
- */
120
- interface ImportEvmAccountOptions {
121
- /** Private key as hex string (with or without 0x prefix) */
122
- privateKey: string;
123
- /** Idempotency key */
124
- idempotencyKey?: string;
125
- }
126
- /**
127
- * Options for exporting an EVM account
128
- */
129
- interface ExportEvmAccountOptions {
130
- /** Account ID (starts with acc_) */
131
- id: string;
132
- /** Idempotency key */
133
- idempotencyKey?: string;
134
- }
135
- /**
136
- * Options for updating an EVM account (e.g., upgrading to Delegated Account)
137
- */
138
- interface UpdateEvmAccountOptions {
139
- /** Account ID (starts with acc_) */
140
- id: string;
141
- /** Upgrade the account type. Currently only supports "Delegated Account". */
142
- accountType?: 'Delegated Account';
143
- /** The chain type. */
144
- chainType: 'EVM' | 'SVM';
145
- /** The chain ID. Must be a supported chain. */
146
- chainId: number;
147
- /** The implementation type for delegation (e.g., "Calibur"). Required when accountType is "Delegated Account". */
148
- implementationType?: string;
149
- }
150
- /**
151
- * Options for signing data
152
- */
153
- interface SignDataOptions {
154
- /** Account ID (starts with acc_) */
155
- id: string;
156
- /** Data to sign (hex-encoded transaction data or message hash) */
157
- data: string;
158
- /** Idempotency key */
159
- idempotencyKey?: string;
160
- }
161
-
162
- /**
163
- * @module Wallets/EVM/Accounts/EvmAccount
164
- * Factory function for creating EVM account objects with bound action methods
165
- */
166
-
167
- /**
168
- * Raw account data from API response
169
- */
170
- interface EvmAccountData {
171
- /** Account unique ID */
172
- id: string;
173
- /** Account address */
174
- address: string;
175
- }
176
- /**
177
- * Creates an EVM account object with bound action methods.
178
- *
179
- * @param data - Raw account data from API
180
- * @returns EVM account object with signing methods
181
- */
182
- declare function toEvmAccount(data: EvmAccountData): EvmAccount;
183
-
184
8
  /**
185
9
  * Error types for HTTP-level errors
186
10
  */
@@ -305,7 +129,7 @@ declare class ValidationError extends Error {
305
129
  }
306
130
 
307
131
  /**
308
- * Generated by orval v8.4.2 🍺
132
+ * Generated by orval v8.5.1 🍺
309
133
  * Do not edit manually.
310
134
  * Openfort API
311
135
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -2383,6 +2207,8 @@ interface SmartAccountData {
2383
2207
  deployedTx?: string;
2384
2208
  deployedAt?: number;
2385
2209
  active: boolean;
2210
+ ownerAddress?: string;
2211
+ chainId?: number;
2386
2212
  }
2387
2213
  interface PasskeyEnv {
2388
2214
  name?: string;
@@ -2395,7 +2221,7 @@ interface RecoveryMethodDetails {
2395
2221
  passkeyEnv?: PasskeyEnv;
2396
2222
  }
2397
2223
  /**
2398
- * Indicates key custody: "Developer" for server-managed keys (WALLTEE), "User" for user-managed keys (DB).
2224
+ * Indicates key custody: "Developer" for TEE managed keys, "User" for user-managed keys.
2399
2225
  */
2400
2226
  type PregenerateAccountResponseCustody = typeof PregenerateAccountResponseCustody[keyof typeof PregenerateAccountResponseCustody];
2401
2227
  declare const PregenerateAccountResponseCustody: {
@@ -2415,7 +2241,7 @@ interface PregenerateAccountResponse {
2415
2241
  smartAccount?: SmartAccountData;
2416
2242
  recoveryMethod?: string;
2417
2243
  recoveryMethodDetails?: RecoveryMethodDetails;
2418
- /** Indicates key custody: "Developer" for server-managed keys (WALLTEE), "User" for user-managed keys (DB). */
2244
+ /** Indicates key custody: "Developer" for TEE managed keys, "User" for user-managed keys. */
2419
2245
  custody: PregenerateAccountResponseCustody;
2420
2246
  /** The recovery share for the user's embedded signer.
2421
2247
  This should be stored securely and provided to the user for account recovery. */
@@ -3684,94 +3510,6 @@ interface CreateEmbeddedRequest {
3684
3510
  /** The type of smart account that will be created (e.g. UpgradeableV6, UpgradeableV5, Calibur, Simple). Defaults to UpgradeableV6 in mainnets. Must support EIP-7702 for Delegated Accounts. */
3685
3511
  implementationType?: string;
3686
3512
  }
3687
- /**
3688
- * The type of object.
3689
- */
3690
- type BackendWalletResponseObject = typeof BackendWalletResponseObject[keyof typeof BackendWalletResponseObject];
3691
- declare const BackendWalletResponseObject: {
3692
- readonly backendWallet: "backendWallet";
3693
- };
3694
- /**
3695
- * The chain type the wallet is associated with.
3696
- */
3697
- type BackendWalletResponseChainType = typeof BackendWalletResponseChainType[keyof typeof BackendWalletResponseChainType];
3698
- declare const BackendWalletResponseChainType: {
3699
- readonly EVM: "EVM";
3700
- readonly SVM: "SVM";
3701
- };
3702
- /**
3703
- * Key custody: always "Developer" for backend wallets (server-managed keys in TEE).
3704
- */
3705
- type BackendWalletResponseCustody = typeof BackendWalletResponseCustody[keyof typeof BackendWalletResponseCustody];
3706
- declare const BackendWalletResponseCustody: {
3707
- readonly Developer: "Developer";
3708
- };
3709
- /**
3710
- * Backend wallet details response.
3711
- */
3712
- interface BackendWalletResponse {
3713
- /** The type of object. */
3714
- object: BackendWalletResponseObject;
3715
- /** The wallet ID (starts with `acc_`). */
3716
- id: string;
3717
- /** The wallet address. */
3718
- address: string;
3719
- /** The chain type the wallet is associated with. */
3720
- chainType: BackendWalletResponseChainType;
3721
- /** Key custody: always "Developer" for backend wallets (server-managed keys in TEE). */
3722
- custody: BackendWalletResponseCustody;
3723
- /** Creation timestamp (Unix epoch seconds). */
3724
- createdAt: number;
3725
- /** Last updated timestamp (Unix epoch seconds). */
3726
- updatedAt: number;
3727
- }
3728
- /**
3729
- * The type of object.
3730
- */
3731
- type BackendWalletListResponseObject = typeof BackendWalletListResponseObject[keyof typeof BackendWalletListResponseObject];
3732
- declare const BackendWalletListResponseObject: {
3733
- readonly list: "list";
3734
- };
3735
- /**
3736
- * List of backend wallets response.
3737
- */
3738
- interface BackendWalletListResponse {
3739
- /** The type of object. */
3740
- object: BackendWalletListResponseObject;
3741
- /** API endpoint URL. */
3742
- url: string;
3743
- /** List of backend wallets. */
3744
- data: BackendWalletResponse[];
3745
- /** Starting index. */
3746
- start: number;
3747
- /** Ending index. */
3748
- end: number;
3749
- /** Total number of wallets. */
3750
- total: number;
3751
- }
3752
- /**
3753
- * Filter by chain type.
3754
- */
3755
- type BackendWalletListQueriesChainType = typeof BackendWalletListQueriesChainType[keyof typeof BackendWalletListQueriesChainType];
3756
- declare const BackendWalletListQueriesChainType: {
3757
- readonly EVM: "EVM";
3758
- readonly SVM: "SVM";
3759
- };
3760
- /**
3761
- * Query parameters for listing backend wallets.
3762
- */
3763
- interface BackendWalletListQueries {
3764
- /** Number of wallets to return (default: 10, max: 100). */
3765
- limit?: number;
3766
- /** Number of wallets to skip (for pagination). */
3767
- skip?: number;
3768
- /** Filter by chain type. */
3769
- chainType?: BackendWalletListQueriesChainType;
3770
- /** Filter by wallet address. */
3771
- address?: string;
3772
- /** Filter by associated wallet ID (starts with `pla_`). */
3773
- wallet?: string;
3774
- }
3775
3513
  /**
3776
3514
  * The type of object.
3777
3515
  */
@@ -3797,6 +3535,8 @@ interface CreateBackendWalletResponse {
3797
3535
  id: string;
3798
3536
  /** The wallet address generated for this account. */
3799
3537
  address: string;
3538
+ /** The wallet ID */
3539
+ walletId: string;
3800
3540
  /** The chain type the wallet is associated with. */
3801
3541
  chainType: CreateBackendWalletResponseChainType;
3802
3542
  /** Creation timestamp (Unix epoch seconds). */
@@ -3816,115 +3556,8 @@ declare const CreateBackendWalletRequestChainType: {
3816
3556
  interface CreateBackendWalletRequest {
3817
3557
  /** The chain type for the new wallet. */
3818
3558
  chainType: CreateBackendWalletRequestChainType;
3819
- /** The wallet ID to associate with this wallet (starts with `pla_`). */
3820
- wallet?: string;
3821
- }
3822
- /**
3823
- * The type of object.
3824
- */
3825
- type UpdateBackendWalletResponseObject = typeof UpdateBackendWalletResponseObject[keyof typeof UpdateBackendWalletResponseObject];
3826
- declare const UpdateBackendWalletResponseObject: {
3827
- readonly backendWallet: "backendWallet";
3828
- };
3829
- /**
3830
- * The chain type the wallet is associated with.
3831
- */
3832
- type UpdateBackendWalletResponseChainType = typeof UpdateBackendWalletResponseChainType[keyof typeof UpdateBackendWalletResponseChainType];
3833
- declare const UpdateBackendWalletResponseChainType: {
3834
- readonly EVM: "EVM";
3835
- readonly SVM: "SVM";
3836
- };
3837
- /**
3838
- * Key custody: always "Developer" for backend wallets (server-managed keys in TEE).
3839
- */
3840
- type UpdateBackendWalletResponseCustody = typeof UpdateBackendWalletResponseCustody[keyof typeof UpdateBackendWalletResponseCustody];
3841
- declare const UpdateBackendWalletResponseCustody: {
3842
- readonly Developer: "Developer";
3843
- };
3844
- /**
3845
- * The chain type.
3846
- */
3847
- type UpdateBackendWalletResponseDelegatedAccountChainChainType = typeof UpdateBackendWalletResponseDelegatedAccountChainChainType[keyof typeof UpdateBackendWalletResponseDelegatedAccountChainChainType];
3848
- declare const UpdateBackendWalletResponseDelegatedAccountChainChainType: {
3849
- readonly EVM: "EVM";
3850
- readonly SVM: "SVM";
3851
- };
3852
- /**
3853
- * The chain configuration for this delegation.
3854
- */
3855
- type UpdateBackendWalletResponseDelegatedAccountChain = {
3856
- /** The chain ID. */
3857
- chainId: number;
3858
- /** The chain type. */
3859
- chainType: UpdateBackendWalletResponseDelegatedAccountChainChainType;
3860
- };
3861
- /**
3862
- * Present when the wallet has been upgraded to a delegated account.
3863
- */
3864
- type UpdateBackendWalletResponseDelegatedAccount = {
3865
- /** The chain configuration for this delegation. */
3866
- chain: UpdateBackendWalletResponseDelegatedAccountChain;
3867
- /** The implementation contract address. */
3868
- implementationAddress: string;
3869
- /** The implementation type used for delegation. */
3870
- implementationType: string;
3871
- /** The delegated account ID (starts with `acc_`). */
3872
- id: string;
3873
- };
3874
- /**
3875
- * Response from updating a backend wallet.
3876
- */
3877
- interface UpdateBackendWalletResponse {
3878
- /** The type of object. */
3879
- object: UpdateBackendWalletResponseObject;
3880
- /** The wallet ID (starts with `acc_`). */
3881
- id: string;
3882
- /** The wallet address. */
3883
- address: string;
3884
- /** The chain type the wallet is associated with. */
3885
- chainType: UpdateBackendWalletResponseChainType;
3886
- /** Key custody: always "Developer" for backend wallets (server-managed keys in TEE). */
3887
- custody: UpdateBackendWalletResponseCustody;
3888
- /** The current account type. */
3889
- accountType: string;
3890
- /** Creation timestamp (Unix epoch seconds). */
3891
- createdAt: number;
3892
- /** Last updated timestamp (Unix epoch seconds). */
3893
- updatedAt: number;
3894
- /** Present when the wallet has been upgraded to a delegated account. */
3895
- delegatedAccount?: UpdateBackendWalletResponseDelegatedAccount;
3896
- }
3897
- /**
3898
- * Upgrade the account type. Currently only supports upgrading to "Delegated Account".
3899
- */
3900
- type UpdateBackendWalletRequestAccountType = typeof UpdateBackendWalletRequestAccountType[keyof typeof UpdateBackendWalletRequestAccountType];
3901
- declare const UpdateBackendWalletRequestAccountType: {
3902
- readonly Delegated_Account: "Delegated Account";
3903
- };
3904
- /**
3905
- * The chain type.
3906
- */
3907
- type UpdateBackendWalletRequestChainType = typeof UpdateBackendWalletRequestChainType[keyof typeof UpdateBackendWalletRequestChainType];
3908
- declare const UpdateBackendWalletRequestChainType: {
3909
- readonly EVM: "EVM";
3910
- readonly SVM: "SVM";
3911
- };
3912
- /**
3913
- * Request to update a backend wallet.
3914
-
3915
- All fields are optional — only provide the fields you want to update.
3916
- Currently supports upgrading to a Delegated Account (EIP-7702).
3917
- */
3918
- interface UpdateBackendWalletRequest {
3919
- /** Upgrade the account type. Currently only supports upgrading to "Delegated Account". */
3920
- accountType?: UpdateBackendWalletRequestAccountType;
3921
- /** The chain type. */
3922
- chainType: UpdateBackendWalletRequestChainType;
3923
- /** The chain ID. Must be a [supported chain](/development/chains). */
3924
- chainId: number;
3925
- /** The implementation type for delegation (e.g., "Calibur", "CaliburV9").
3926
- Required when accountType is "Delegated Account". */
3927
- implementationType?: string;
3559
+ /** The wallet ID to associate with this wallet (starts with `pla_`). */
3560
+ wallet?: string;
3928
3561
  }
3929
3562
  /**
3930
3563
  * The type of object.
@@ -4019,6 +3652,8 @@ interface ImportPrivateKeyResponse {
4019
3652
  id: string;
4020
3653
  /** The wallet address derived from the imported private key. */
4021
3654
  address: string;
3655
+ /** The wallet ID */
3656
+ walletId: string;
4022
3657
  /** The chain type the wallet is associated with. */
4023
3658
  chainType?: ImportPrivateKeyResponseChainType;
4024
3659
  /** Creation timestamp (Unix epoch seconds). */
@@ -4148,7 +3783,7 @@ interface RotateWalletSecretRequest {
4148
3783
  newKeyId?: string;
4149
3784
  }
4150
3785
  /**
4151
- * Indicates key custody: "Developer" for server-managed keys (WALLTEE), "User" for user-managed keys (DB).
3786
+ * Indicates key custody: "Developer" for TEE managed keys, "User" for user-managed keys.
4152
3787
  */
4153
3788
  type AccountV2ResponseCustody = typeof AccountV2ResponseCustody[keyof typeof AccountV2ResponseCustody];
4154
3789
  declare const AccountV2ResponseCustody: {
@@ -4168,7 +3803,7 @@ interface AccountV2Response {
4168
3803
  smartAccount?: SmartAccountData;
4169
3804
  recoveryMethod?: string;
4170
3805
  recoveryMethodDetails?: RecoveryMethodDetails;
4171
- /** Indicates key custody: "Developer" for server-managed keys (WALLTEE), "User" for user-managed keys (DB). */
3806
+ /** Indicates key custody: "Developer" for TEE managed keys, "User" for user-managed keys. */
4172
3807
  custody: AccountV2ResponseCustody;
4173
3808
  }
4174
3809
  interface BaseEntityListResponseAccountV2Response {
@@ -4267,7 +3902,7 @@ interface CreateAccountRequestV2 {
4267
3902
  implementationType?: string;
4268
3903
  /** The chain ID. Must be a [supported chain](/development/chains). */
4269
3904
  chainId?: number;
4270
- /** ID of the user this account belongs to (starts with `usr_`). If none is provided, a new user will be created. */
3905
+ /** ID of the user this account belongs to (starts with `usr_`). Also might take wallet ID (starts with `pla_`) */
4271
3906
  user: string;
4272
3907
  /** ID of the account (starts with `acc_`) to be linked with. Required for accountType "Smart Account". */
4273
3908
  account?: string;
@@ -4885,10 +4520,6 @@ interface UnlinkEmailRequest {
4885
4520
  /** The email address of the user. */
4886
4521
  email: string;
4887
4522
  }
4888
- interface LoginOIDCRequest {
4889
- /** The identity token of the user. */
4890
- identityToken: string;
4891
- }
4892
4523
  interface OAuthResponse {
4893
4524
  url: string;
4894
4525
  key: string;
@@ -5610,14 +5241,6 @@ interface JwtKey {
5610
5241
  interface JwtKeyResponse {
5611
5242
  keys: JwtKey[];
5612
5243
  }
5613
- interface AuthenticatedPlayerResponse {
5614
- /** Player's identifier. */
5615
- player: AuthPlayerResponse;
5616
- }
5617
- interface AuthorizePlayerRequest {
5618
- /** The authorization code received from the api to authorize the project to use the Ecosystem player. */
5619
- authorizationCode: string;
5620
- }
5621
5244
  type GetTransactionIntentsParams = {
5622
5245
  /**
5623
5246
  * Specifies the maximum number of records to return.
@@ -6145,33 +5768,6 @@ type ListFeeSponsorshipsParams = {
6145
5768
  */
6146
5769
  deleted?: boolean;
6147
5770
  };
6148
- type ListBackendWalletsParams = {
6149
- /**
6150
- * Number of wallets to return (default: 10, max: 100).
6151
- */
6152
- limit?: number;
6153
- /**
6154
- * Number of wallets to skip (for pagination).
6155
- */
6156
- skip?: number;
6157
- /**
6158
- * Filter by chain type.
6159
- */
6160
- chainType?: ListBackendWalletsChainType;
6161
- /**
6162
- * Filter by wallet address.
6163
- */
6164
- address?: string;
6165
- /**
6166
- * Filter by associated wallet ID (starts with `pla_`).
6167
- */
6168
- wallet?: string;
6169
- };
6170
- type ListBackendWalletsChainType = typeof ListBackendWalletsChainType[keyof typeof ListBackendWalletsChainType];
6171
- declare const ListBackendWalletsChainType: {
6172
- readonly EVM: "EVM";
6173
- readonly SVM: "SVM";
6174
- };
6175
5771
  type GetAccountsV2Params = {
6176
5772
  /**
6177
5773
  * Specifies the maximum number of records to return.
@@ -6337,7 +5933,7 @@ declare const openfortApiClient: <T>(config: AxiosRequestConfig, options?: Reque
6337
5933
  declare const getConfig: () => OpenfortClientOptions | undefined;
6338
5934
 
6339
5935
  /**
6340
- * Generated by orval v8.4.2 🍺
5936
+ * Generated by orval v8.5.1 🍺
6341
5937
  * Do not edit manually.
6342
5938
  * Openfort API
6343
5939
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -6389,7 +5985,7 @@ type GetAccountResult = NonNullable<Awaited<ReturnType<typeof getAccount>>>;
6389
5985
  type DisableAccountResult = NonNullable<Awaited<ReturnType<typeof disableAccount>>>;
6390
5986
 
6391
5987
  /**
6392
- * Generated by orval v8.4.2 🍺
5988
+ * Generated by orval v8.5.1 🍺
6393
5989
  * Do not edit manually.
6394
5990
  * Openfort API
6395
5991
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -6445,7 +6041,7 @@ type RemoveAccountResult = NonNullable<Awaited<ReturnType<typeof removeAccount>>
6445
6041
  type SwitchChainV2Result = NonNullable<Awaited<ReturnType<typeof switchChainV2>>>;
6446
6042
 
6447
6043
  /**
6448
- * Generated by orval v8.4.2 🍺
6044
+ * Generated by orval v8.5.1 🍺
6449
6045
  * Do not edit manually.
6450
6046
  * Openfort API
6451
6047
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -6541,7 +6137,6 @@ declare const deleteAuthPlayer: (id: string, options?: SecondParameter$m<typeof
6541
6137
  * @summary Verify auth token.
6542
6138
  */
6543
6139
  declare const verifyAuthToken: (params: VerifyAuthTokenParams, options?: SecondParameter$m<typeof openfortApiClient<AuthSessionResponse>>) => Promise<AuthSessionResponse>;
6544
- declare const authorize: (authorizePlayerRequest: AuthorizePlayerRequest, options?: SecondParameter$m<typeof openfortApiClient<AuthPlayerResponse | AuthenticatedPlayerResponse>>) => Promise<AuthPlayerResponse | AuthenticatedPlayerResponse>;
6545
6140
  type VerifyOAuthTokenResult = NonNullable<Awaited<ReturnType<typeof verifyOAuthToken>>>;
6546
6141
  type ListOAuthConfigResult = NonNullable<Awaited<ReturnType<typeof listOAuthConfig>>>;
6547
6142
  type CreateOAuthConfigResult = NonNullable<Awaited<ReturnType<typeof createOAuthConfig>>>;
@@ -6557,10 +6152,9 @@ type GetAuthPlayersResult = NonNullable<Awaited<ReturnType<typeof getAuthPlayers
6557
6152
  type GetAuthPlayerResult = NonNullable<Awaited<ReturnType<typeof getAuthPlayer>>>;
6558
6153
  type DeleteAuthPlayerResult = NonNullable<Awaited<ReturnType<typeof deleteAuthPlayer>>>;
6559
6154
  type VerifyAuthTokenResult = NonNullable<Awaited<ReturnType<typeof verifyAuthToken>>>;
6560
- type AuthorizeResult = NonNullable<Awaited<ReturnType<typeof authorize>>>;
6561
6155
 
6562
6156
  /**
6563
- * Generated by orval v8.4.2 🍺
6157
+ * Generated by orval v8.5.1 🍺
6564
6158
  * Do not edit manually.
6565
6159
  * Openfort Auth
6566
6160
  * API Reference for Openfort Auth
@@ -8368,7 +7962,7 @@ declare namespace openfortAuth_schemas {
8368
7962
  }
8369
7963
 
8370
7964
  /**
8371
- * Generated by orval v8.4.2 🍺
7965
+ * Generated by orval v8.5.1 🍺
8372
7966
  * Do not edit manually.
8373
7967
  * Openfort Auth
8374
7968
  * API Reference for Openfort Auth
@@ -8719,7 +8313,7 @@ declare namespace authV2 {
8719
8313
  }
8720
8314
 
8721
8315
  /**
8722
- * Generated by orval v8.4.2 🍺
8316
+ * Generated by orval v8.5.1 🍺
8723
8317
  * Do not edit manually.
8724
8318
  * Openfort API
8725
8319
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -8787,11 +8381,6 @@ declare const resetPassword: (resetPasswordRequest: ResetPasswordRequest, option
8787
8381
  declare const linkEmail: (loginRequest: LoginRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse | ActionRequiredResponse>>) => Promise<AuthPlayerResponse | ActionRequiredResponse>;
8788
8382
  declare const unlinkEmail: (unlinkEmailRequest: UnlinkEmailRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthPlayerResponse>>) => Promise<AuthPlayerResponse>;
8789
8383
  /**
8790
- * Authenticate a player from an identity token.
8791
- * @summary OIDC Identity token.
8792
- */
8793
- declare const loginOIDC: (loginOIDCRequest: LoginOIDCRequest, options?: SecondParameter$k<typeof openfortApiClient<AuthResponse>>) => Promise<AuthResponse>;
8794
- /**
8795
8384
  * @summary Initialize OAuth.
8796
8385
  */
8797
8386
  declare const initOAuth: (oAuthInitRequest: OAuthInitRequest, options?: SecondParameter$k<typeof openfortApiClient<OAuthResponse>>) => Promise<OAuthResponse>;
@@ -8846,7 +8435,6 @@ type RequestResetPasswordResult = NonNullable<Awaited<ReturnType<typeof requestR
8846
8435
  type ResetPasswordResult = NonNullable<Awaited<ReturnType<typeof resetPassword>>>;
8847
8436
  type LinkEmailResult = NonNullable<Awaited<ReturnType<typeof linkEmail>>>;
8848
8437
  type UnlinkEmailResult = NonNullable<Awaited<ReturnType<typeof unlinkEmail>>>;
8849
- type LoginOIDCResult = NonNullable<Awaited<ReturnType<typeof loginOIDC>>>;
8850
8438
  type InitOAuthResult = NonNullable<Awaited<ReturnType<typeof initOAuth>>>;
8851
8439
  type LinkOAuthResult = NonNullable<Awaited<ReturnType<typeof linkOAuth>>>;
8852
8440
  type LinkThirdPartyResult = NonNullable<Awaited<ReturnType<typeof linkThirdParty>>>;
@@ -8859,7 +8447,7 @@ type GetJwksResult = NonNullable<Awaited<ReturnType<typeof getJwks>>>;
8859
8447
  type MeResult = NonNullable<Awaited<ReturnType<typeof me>>>;
8860
8448
 
8861
8449
  /**
8862
- * Generated by orval v8.4.2 🍺
8450
+ * Generated by orval v8.5.1 🍺
8863
8451
  * Do not edit manually.
8864
8452
  * Openfort API
8865
8453
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -8868,13 +8456,6 @@ type MeResult = NonNullable<Awaited<ReturnType<typeof me>>>;
8868
8456
 
8869
8457
  type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
8870
8458
  /**
8871
- * List backend wallets.
8872
-
8873
- Returns a paginated list of backend wallets for the project.
8874
- * @summary List backend wallets.
8875
- */
8876
- declare const listBackendWallets: (params?: ListBackendWalletsParams, options?: SecondParameter$j<typeof openfortApiClient<BackendWalletListResponse>>) => Promise<BackendWalletListResponse>;
8877
- /**
8878
8459
  * Create a new backend wallet account.
8879
8460
 
8880
8461
  Generates a new keypair securely in the backend wallet system.
@@ -8883,21 +8464,6 @@ The private key is stored encrypted and never exposed.
8883
8464
  */
8884
8465
  declare const createBackendWallet: (createBackendWalletRequest: CreateBackendWalletRequest, options?: SecondParameter$j<typeof openfortApiClient<CreateBackendWalletResponse>>) => Promise<CreateBackendWalletResponse>;
8885
8466
  /**
8886
- * Get backend wallet details.
8887
-
8888
- Returns details for a specific backend wallet.
8889
- * @summary Get backend wallet.
8890
- */
8891
- declare const getBackendWallet: (id: string, options?: SecondParameter$j<typeof openfortApiClient<BackendWalletResponse>>) => Promise<BackendWalletResponse>;
8892
- /**
8893
- * Update a backend wallet.
8894
-
8895
- Currently supports upgrading an EOA backend wallet to a Delegated Account (EIP-7702).
8896
- Provide the target accountType along with the required delegation parameters (chainId, implementationType).
8897
- * @summary Update backend wallet.
8898
- */
8899
- declare const updateBackendWallet: (id: string, updateBackendWalletRequest: UpdateBackendWalletRequest, options?: SecondParameter$j<typeof openfortApiClient<UpdateBackendWalletResponse>>) => Promise<UpdateBackendWalletResponse>;
8900
- /**
8901
8467
  * Delete a backend wallet.
8902
8468
 
8903
8469
  Permanently deletes a backend wallet and its associated private key.
@@ -8967,10 +8533,7 @@ This proves possession of the new private key without transmitting it.
8967
8533
  * @summary Rotate wallet secret.
8968
8534
  */
8969
8535
  declare const rotateWalletSecret: (rotateWalletSecretRequest: RotateWalletSecretRequest, options?: SecondParameter$j<typeof openfortApiClient<RotateWalletSecretResponse>>) => Promise<RotateWalletSecretResponse>;
8970
- type ListBackendWalletsResult = NonNullable<Awaited<ReturnType<typeof listBackendWallets>>>;
8971
8536
  type CreateBackendWalletResult = NonNullable<Awaited<ReturnType<typeof createBackendWallet>>>;
8972
- type GetBackendWalletResult = NonNullable<Awaited<ReturnType<typeof getBackendWallet>>>;
8973
- type UpdateBackendWalletResult = NonNullable<Awaited<ReturnType<typeof updateBackendWallet>>>;
8974
8537
  type DeleteBackendWalletResult = NonNullable<Awaited<ReturnType<typeof deleteBackendWallet>>>;
8975
8538
  type SignResult = NonNullable<Awaited<ReturnType<typeof sign>>>;
8976
8539
  type ExportPrivateKeyResult = NonNullable<Awaited<ReturnType<typeof exportPrivateKey>>>;
@@ -8980,7 +8543,7 @@ type RevokeWalletSecretResult = NonNullable<Awaited<ReturnType<typeof revokeWall
8980
8543
  type RotateWalletSecretResult = NonNullable<Awaited<ReturnType<typeof rotateWalletSecret>>>;
8981
8544
 
8982
8545
  /**
8983
- * Generated by orval v8.4.2 🍺
8546
+ * Generated by orval v8.5.1 🍺
8984
8547
  * Do not edit manually.
8985
8548
  * Openfort API
8986
8549
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9029,7 +8592,7 @@ type DeleteContractResult = NonNullable<Awaited<ReturnType<typeof deleteContract
9029
8592
  type ReadContractResult = NonNullable<Awaited<ReturnType<typeof readContract>>>;
9030
8593
 
9031
8594
  /**
9032
- * Generated by orval v8.4.2 🍺
8595
+ * Generated by orval v8.5.1 🍺
9033
8596
  * Do not edit manually.
9034
8597
  * Openfort API
9035
8598
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9065,7 +8628,7 @@ type GetEventResult = NonNullable<Awaited<ReturnType<typeof getEvent>>>;
9065
8628
  type DeleteEventResult = NonNullable<Awaited<ReturnType<typeof deleteEvent>>>;
9066
8629
 
9067
8630
  /**
9068
- * Generated by orval v8.4.2 🍺
8631
+ * Generated by orval v8.5.1 🍺
9069
8632
  * Do not edit manually.
9070
8633
  * Openfort API
9071
8634
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9135,7 +8698,7 @@ type EnableFeeSponsorshipResult = NonNullable<Awaited<ReturnType<typeof enableFe
9135
8698
  type DisableFeeSponsorshipResult = NonNullable<Awaited<ReturnType<typeof disableFeeSponsorship>>>;
9136
8699
 
9137
8700
  /**
9138
- * Generated by orval v8.4.2 🍺
8701
+ * Generated by orval v8.5.1 🍺
9139
8702
  * Do not edit manually.
9140
8703
  * Openfort API
9141
8704
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9187,7 +8750,7 @@ type GetForwarderContractResult = NonNullable<Awaited<ReturnType<typeof getForwa
9187
8750
  type DeleteForwarderContractResult = NonNullable<Awaited<ReturnType<typeof deleteForwarderContract>>>;
9188
8751
 
9189
8752
  /**
9190
- * Generated by orval v8.4.2 🍺
8753
+ * Generated by orval v8.5.1 🍺
9191
8754
  * Do not edit manually.
9192
8755
  * Openfort API
9193
8756
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9266,7 +8829,7 @@ type GetGasPolicyBalanceLegacyResult = NonNullable<Awaited<ReturnType<typeof get
9266
8829
  type CreateGasPolicyWithdrawalLegacyResult = NonNullable<Awaited<ReturnType<typeof createGasPolicyWithdrawalLegacy>>>;
9267
8830
 
9268
8831
  /**
9269
- * Generated by orval v8.4.2 🍺
8832
+ * Generated by orval v8.5.1 🍺
9270
8833
  * Do not edit manually.
9271
8834
  * Openfort API
9272
8835
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9301,7 +8864,7 @@ type UpdateGasPolicyRuleLegacyResult = NonNullable<Awaited<ReturnType<typeof upd
9301
8864
  type DeleteGasPolicyRuleLegacyResult = NonNullable<Awaited<ReturnType<typeof deleteGasPolicyRuleLegacy>>>;
9302
8865
 
9303
8866
  /**
9304
- * Generated by orval v8.4.2 🍺
8867
+ * Generated by orval v8.5.1 🍺
9305
8868
  * Do not edit manually.
9306
8869
  * Openfort API
9307
8870
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9313,7 +8876,7 @@ declare const query: (queryBody: unknown, options?: SecondParameter$c<typeof ope
9313
8876
  type QueryResult = NonNullable<Awaited<ReturnType<typeof query>>>;
9314
8877
 
9315
8878
  /**
9316
- * Generated by orval v8.4.2 🍺
8879
+ * Generated by orval v8.5.1 🍺
9317
8880
  * Do not edit manually.
9318
8881
  * Openfort API
9319
8882
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9333,7 +8896,7 @@ type GetProjectLogsResult = NonNullable<Awaited<ReturnType<typeof getProjectLogs
9333
8896
  type GetWebhookLogsByProjectIdResult = NonNullable<Awaited<ReturnType<typeof getWebhookLogsByProjectId>>>;
9334
8897
 
9335
8898
  /**
9336
- * Generated by orval v8.4.2 🍺
8899
+ * Generated by orval v8.5.1 🍺
9337
8900
  * Do not edit manually.
9338
8901
  * Openfort API
9339
8902
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9364,7 +8927,7 @@ type CreateOnrampSessionResult = NonNullable<Awaited<ReturnType<typeof createOnr
9364
8927
  type GetOnrampQuoteResult = NonNullable<Awaited<ReturnType<typeof getOnrampQuote>>>;
9365
8928
 
9366
8929
  /**
9367
- * Generated by orval v8.4.2 🍺
8930
+ * Generated by orval v8.5.1 🍺
9368
8931
  * Do not edit manually.
9369
8932
  * Openfort API
9370
8933
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9416,7 +8979,7 @@ type GetPaymasterResult = NonNullable<Awaited<ReturnType<typeof getPaymaster>>>;
9416
8979
  type DeletePaymasterResult = NonNullable<Awaited<ReturnType<typeof deletePaymaster>>>;
9417
8980
 
9418
8981
  /**
9419
- * Generated by orval v8.4.2 🍺
8982
+ * Generated by orval v8.5.1 🍺
9420
8983
  * Do not edit manually.
9421
8984
  * Openfort API
9422
8985
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9475,7 +9038,7 @@ type RequestTransferAccountOwnershipResult = NonNullable<Awaited<ReturnType<type
9475
9038
  type CancelTransferAccountOwnershipResult = NonNullable<Awaited<ReturnType<typeof cancelTransferAccountOwnership>>>;
9476
9039
 
9477
9040
  /**
9478
- * Generated by orval v8.4.2 🍺
9041
+ * Generated by orval v8.5.1 🍺
9479
9042
  * Do not edit manually.
9480
9043
  * Openfort API
9481
9044
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9522,7 +9085,7 @@ type DeletePolicyV2Result = NonNullable<Awaited<ReturnType<typeof deletePolicyV2
9522
9085
  type EvaluatePolicyV2Result = NonNullable<Awaited<ReturnType<typeof evaluatePolicyV2>>>;
9523
9086
 
9524
9087
  /**
9525
- * Generated by orval v8.4.2 🍺
9088
+ * Generated by orval v8.5.1 🍺
9526
9089
  * Do not edit manually.
9527
9090
  * Openfort API
9528
9091
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9562,7 +9125,7 @@ type HandleRpcRequestResult = NonNullable<Awaited<ReturnType<typeof handleRpcReq
9562
9125
  type HandleChainRpcRequestResult = NonNullable<Awaited<ReturnType<typeof handleChainRpcRequest>>>;
9563
9126
 
9564
9127
  /**
9565
- * Generated by orval v8.4.2 🍺
9128
+ * Generated by orval v8.5.1 🍺
9566
9129
  * Do not edit manually.
9567
9130
  * Openfort API
9568
9131
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9604,7 +9167,7 @@ type SignatureSessionResult = NonNullable<Awaited<ReturnType<typeof signatureSes
9604
9167
  type GetSessionResult = NonNullable<Awaited<ReturnType<typeof getSession>>>;
9605
9168
 
9606
9169
  /**
9607
- * Generated by orval v8.4.2 🍺
9170
+ * Generated by orval v8.5.1 🍺
9608
9171
  * Do not edit manually.
9609
9172
  * Openfort API
9610
9173
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9663,7 +9226,7 @@ type DeleteDeveloperAccountResult = NonNullable<Awaited<ReturnType<typeof delete
9663
9226
  type GetVerificationPayloadResult = NonNullable<Awaited<ReturnType<typeof getVerificationPayload>>>;
9664
9227
 
9665
9228
  /**
9666
- * Generated by orval v8.4.2 🍺
9229
+ * Generated by orval v8.5.1 🍺
9667
9230
  * Do not edit manually.
9668
9231
  * Openfort API
9669
9232
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9696,7 +9259,7 @@ declare const handleSolanaRpcRequest: (cluster: string, jsonRpcRequest: JsonRpcR
9696
9259
  type HandleSolanaRpcRequestResult = NonNullable<Awaited<ReturnType<typeof handleSolanaRpcRequest>>>;
9697
9260
 
9698
9261
  /**
9699
- * Generated by orval v8.4.2 🍺
9262
+ * Generated by orval v8.5.1 🍺
9700
9263
  * Do not edit manually.
9701
9264
  * Openfort API
9702
9265
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9794,7 +9357,7 @@ type DeleteTriggerResult = NonNullable<Awaited<ReturnType<typeof deleteTrigger>>
9794
9357
  type TestTriggerResult = NonNullable<Awaited<ReturnType<typeof testTrigger>>>;
9795
9358
 
9796
9359
  /**
9797
- * Generated by orval v8.4.2 🍺
9360
+ * Generated by orval v8.5.1 🍺
9798
9361
  * Do not edit manually.
9799
9362
  * Openfort API
9800
9363
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9846,7 +9409,7 @@ type EstimateTransactionIntentCostResult = NonNullable<Awaited<ReturnType<typeof
9846
9409
  type SignatureResult = NonNullable<Awaited<ReturnType<typeof signature>>>;
9847
9410
 
9848
9411
  /**
9849
- * Generated by orval v8.4.2 🍺
9412
+ * Generated by orval v8.5.1 🍺
9850
9413
  * Do not edit manually.
9851
9414
  * Openfort API
9852
9415
  * Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
@@ -9907,6 +9470,247 @@ type PregenerateUserV2Result = NonNullable<Awaited<ReturnType<typeof pregenerate
9907
9470
  type MeV2Result = NonNullable<Awaited<ReturnType<typeof meV2>>>;
9908
9471
  type ThirdPartyV2Result = NonNullable<Awaited<ReturnType<typeof thirdPartyV2>>>;
9909
9472
 
9473
+ /**
9474
+ * @module Wallets/EVM/Types
9475
+ * EVM-specific types for wallet operations
9476
+ */
9477
+
9478
+ /**
9479
+ * Base EVM account with signing capabilities
9480
+ */
9481
+ interface EvmAccountBase {
9482
+ /** The account's unique identifier */
9483
+ id: string;
9484
+ /** The account's address */
9485
+ address: Address;
9486
+ /** Account type identifier */
9487
+ custody: 'Developer';
9488
+ /** Wallet ID */
9489
+ walletId: string;
9490
+ }
9491
+ /**
9492
+ * EVM signing methods interface
9493
+ */
9494
+ interface EvmSigningMethods {
9495
+ /**
9496
+ * Signs a hash and returns the signature
9497
+ * @param parameters - Object containing the hash to sign
9498
+ */
9499
+ sign(parameters: {
9500
+ hash: Hash;
9501
+ }): Promise<Hex>;
9502
+ /**
9503
+ * Signs a message (EIP-191 personal sign)
9504
+ * @param parameters - Object containing the message to sign
9505
+ */
9506
+ signMessage(parameters: {
9507
+ message: SignableMessage;
9508
+ }): Promise<Hex>;
9509
+ /**
9510
+ * Signs a transaction
9511
+ * @param transaction - Transaction to sign
9512
+ */
9513
+ signTransaction(transaction: TransactionSerializable): Promise<Hex>;
9514
+ /**
9515
+ * Signs typed data (EIP-712)
9516
+ * @param parameters - Typed data definition
9517
+ */
9518
+ signTypedData<const T extends TypedData | Record<string, unknown>, P extends keyof T | 'EIP712Domain' = keyof T>(parameters: TypedDataDefinition<T, P>): Promise<Hex>;
9519
+ }
9520
+ /**
9521
+ * Full EVM server account with all signing capabilities
9522
+ */
9523
+ type EvmAccount = EvmAccountBase & EvmSigningMethods;
9524
+ /**
9525
+ * Options for sign message action
9526
+ */
9527
+ interface SignMessageOptions$1 {
9528
+ /** Account address */
9529
+ address: Address;
9530
+ /** Message to sign (string or SignableMessage) */
9531
+ message: SignableMessage;
9532
+ /** Idempotency key */
9533
+ idempotencyKey?: string;
9534
+ }
9535
+ /**
9536
+ * Options for sign typed data action
9537
+ */
9538
+ interface SignTypedDataOptions<T extends TypedData | Record<string, unknown> = TypedData, P extends keyof T | 'EIP712Domain' = keyof T> {
9539
+ /** Account address */
9540
+ address: Address;
9541
+ /** Typed data definition */
9542
+ typedData: TypedDataDefinition<T, P>;
9543
+ /** Idempotency key */
9544
+ idempotencyKey?: string;
9545
+ }
9546
+ /**
9547
+ * Options for sign transaction action
9548
+ */
9549
+ interface SignTransactionOptions$1 {
9550
+ /** Account address */
9551
+ address: Address;
9552
+ /** Transaction to sign */
9553
+ transaction: TransactionSerializable;
9554
+ /** Idempotency key */
9555
+ idempotencyKey?: string;
9556
+ }
9557
+ /**
9558
+ * Options for creating an EVM account
9559
+ */
9560
+ interface CreateEvmAccountOptions {
9561
+ /** Wallet ID (starts with pla_). Optional - associates the wallet with a player. */
9562
+ wallet?: string;
9563
+ /** Idempotency key */
9564
+ idempotencyKey?: string;
9565
+ }
9566
+ /**
9567
+ * Options for getting an EVM account
9568
+ */
9569
+ interface GetEvmAccountOptions {
9570
+ /** Account address */
9571
+ address?: Address;
9572
+ /** Account ID */
9573
+ id?: string;
9574
+ }
9575
+ interface GetLinkedAccountsOptions {
9576
+ address: string;
9577
+ chainId: number;
9578
+ }
9579
+ /**
9580
+ * Options for listing EVM accounts
9581
+ */
9582
+ interface ListEvmAccountsOptions {
9583
+ /** Maximum number of accounts to return (default: 10, max: 100) */
9584
+ limit?: number;
9585
+ /** Number of accounts to skip (for pagination) */
9586
+ skip?: number;
9587
+ }
9588
+ /**
9589
+ * Options for importing an EVM account
9590
+ */
9591
+ interface ImportEvmAccountOptions {
9592
+ /** Private key as hex string (with or without 0x prefix) */
9593
+ privateKey: string;
9594
+ /** Idempotency key */
9595
+ idempotencyKey?: string;
9596
+ }
9597
+ /**
9598
+ * Options for exporting an EVM account
9599
+ */
9600
+ interface ExportEvmAccountOptions {
9601
+ /** Account ID (starts with acc_) */
9602
+ id: string;
9603
+ /** Idempotency key */
9604
+ idempotencyKey?: string;
9605
+ }
9606
+ /**
9607
+ * Options for updating an EVM account (e.g., upgrading to Delegated Account)
9608
+ */
9609
+ interface UpdateEvmAccountOptions {
9610
+ /** WalletId (starts with pla_) */
9611
+ walletId: string;
9612
+ /** Upgrade the account type. Currently only supports "Delegated Account". */
9613
+ accountType?: 'Delegated Account';
9614
+ /** The chain ID. Must be a supported chain. */
9615
+ chainId: number;
9616
+ /** The implementation type for delegation (e.g., "Calibur"). Required when accountType is "Delegated Account". */
9617
+ implementationType?: string;
9618
+ /** The ID of the existing account to upgrade. Required when accountType is "Delegated Account". */
9619
+ accountId?: string;
9620
+ }
9621
+ /**
9622
+ * Options for signing data
9623
+ */
9624
+ interface SignDataOptions {
9625
+ /** Account ID (starts with acc_) */
9626
+ id: string;
9627
+ /** Data to sign (hex-encoded transaction data or message hash) */
9628
+ data: string;
9629
+ /** Idempotency key */
9630
+ idempotencyKey?: string;
9631
+ }
9632
+ /**
9633
+ * Options for sending a gasless transaction with EIP-7702 delegation
9634
+ */
9635
+ interface SendTransactionOptions {
9636
+ /** Account ID (starts with acc_) */
9637
+ account: EvmAccount;
9638
+ /** Chain ID to execute on */
9639
+ chainId: number;
9640
+ /** Contract interactions to execute */
9641
+ interactions: Interaction[];
9642
+ /** Policy ID for gas sponsorship (starts with pol_). Optional. */
9643
+ policy?: string;
9644
+ /** Custom RPC URL. If omitted, uses viem's default public RPC for the chain. */
9645
+ rpcUrl?: string;
9646
+ }
9647
+
9648
+ /**
9649
+ * @module Wallets/EVM/Accounts/EvmAccount
9650
+ * Factory function for creating EVM account objects with bound action methods
9651
+ */
9652
+
9653
+ /**
9654
+ * Raw account data from API response
9655
+ */
9656
+ interface EvmAccountData {
9657
+ /** Account unique ID */
9658
+ id: string;
9659
+ /** Account address */
9660
+ address: string;
9661
+ /** Wallet ID */
9662
+ walletId: string;
9663
+ }
9664
+ /**
9665
+ * Creates an EVM account object with bound action methods.
9666
+ *
9667
+ * @param data - Raw account data from API
9668
+ * @returns EVM account object with signing methods
9669
+ */
9670
+ declare function toEvmAccount(data: EvmAccountData): EvmAccount;
9671
+
9672
+ /**
9673
+ * Delegates an EVM account via EIP-7702 and sends a gasless transaction in one call.
9674
+ *
9675
+ * Internally: registers delegation -> fetches EOA nonce via RPC -> hashes and signs
9676
+ * EIP-7702 authorization -> creates transaction intent -> signs and submits if needed.
9677
+ *
9678
+ * @param options - Transaction options including account ID, chain, interactions, and optional policy
9679
+ * @returns The transaction intent response
9680
+ *
9681
+ * @example
9682
+ * ```typescript
9683
+ * const result = await openfort.accounts.evm.backend.sendTransaction({
9684
+ * id: 'acc_...',
9685
+ * chainId: 84532,
9686
+ * interactions: [{ to: '0x...', data: '0x...' }],
9687
+ * policy: 'pol_...',
9688
+ * });
9689
+ * console.log(result.response?.transactionHash);
9690
+ * ```
9691
+ */
9692
+ declare function sendTransaction(options: SendTransactionOptions): Promise<TransactionIntentResponse>;
9693
+
9694
+ /**
9695
+ * Updates an EVM backend wallet.
9696
+ *
9697
+ * Currently supports upgrading an EVM EOA to a Delegated Account (EIP-7702).
9698
+ *
9699
+ * @param options - Update options including account ID and delegation parameters
9700
+ * @returns The updated backend wallet response
9701
+ *
9702
+ * @example
9703
+ * ```typescript
9704
+ * const updated = await openfort.accounts.evm.backend.update({
9705
+ * id: 'acc_...',
9706
+ * accountType: 'Delegated Account',
9707
+ * chain: { chainType: 'EVM', chainId: 8453 },
9708
+ * implementationType: 'Calibur',
9709
+ * });
9710
+ * ```
9711
+ */
9712
+ declare function update(options: UpdateEvmAccountOptions): Promise<AccountV2Response>;
9713
+
9910
9714
  /**
9911
9715
  * @module Wallets
9912
9716
  * Shared types for wallet functionality
@@ -9923,11 +9727,6 @@ interface ListAccountsResult<T> {
9923
9727
  total?: number;
9924
9728
  }
9925
9729
 
9926
- /**
9927
- * @module Wallets/EVM/EvmClient
9928
- * Main client for EVM wallet operations
9929
- */
9930
-
9931
9730
  /**
9932
9731
  * Options for creating an EVM wallet client
9933
9732
  */
@@ -9990,6 +9789,7 @@ declare class EvmClient {
9990
9789
  * ```
9991
9790
  */
9992
9791
  getAccount(options: GetEvmAccountOptions): Promise<EvmAccount>;
9792
+ getLinkedAccounts(options: GetLinkedAccountsOptions): Promise<AccountListV2Response>;
9993
9793
  /**
9994
9794
  * Lists all EVM backend wallets.
9995
9795
  *
@@ -10050,25 +9850,6 @@ declare class EvmClient {
10050
9850
  * ```
10051
9851
  */
10052
9852
  signData(options: SignDataOptions): Promise<string>;
10053
- /**
10054
- * Updates an EVM backend wallet.
10055
- *
10056
- * Currently supports upgrading an EVM EOA to a Delegated Account (EIP-7702).
10057
- *
10058
- * @param options - Update options including account ID and delegation parameters
10059
- * @returns The updated backend wallet response
10060
- *
10061
- * @example
10062
- * ```typescript
10063
- * const updated = await openfort.accounts.evm.backend.update({
10064
- * id: 'acc_...',
10065
- * accountType: 'Delegated Account',
10066
- * chain: { chainType: 'EVM', chainId: 8453 },
10067
- * implementationType: 'Calibur',
10068
- * });
10069
- * ```
10070
- */
10071
- update(options: UpdateEvmAccountOptions): Promise<UpdateBackendWalletResponse>;
10072
9853
  }
10073
9854
 
10074
9855
  /**
@@ -10405,6 +10186,12 @@ declare class AccountNotFoundError extends Error {
10405
10186
  */
10406
10187
  constructor(message?: string);
10407
10188
  }
10189
+ /**
10190
+ * DelegationError is thrown when EIP-7702 delegation or gasless transaction flow fails.
10191
+ */
10192
+ declare class DelegationError extends Error {
10193
+ constructor(message: string);
10194
+ }
10408
10195
  /**
10409
10196
  * EncryptionError is thrown when encryption or decryption fails.
10410
10197
  */
@@ -11078,11 +10865,11 @@ declare const SolNetworkCriterionSchema: z.ZodObject<{
11078
10865
  }, "strip", z.ZodTypeAny, {
11079
10866
  type: "solNetwork";
11080
10867
  operator: "in" | "not in";
11081
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
10868
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
11082
10869
  }, {
11083
10870
  type: "solNetwork";
11084
10871
  operator: "in" | "not in";
11085
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
10872
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
11086
10873
  }>;
11087
10874
  /** Solana message criterion — matches a sign-message payload against a regex. */
11088
10875
  declare const SolMessageCriterionSchema: z.ZodObject<{
@@ -11381,11 +11168,11 @@ declare const SendSolTransactionRuleSchema: z.ZodObject<{
11381
11168
  }, "strip", z.ZodTypeAny, {
11382
11169
  type: "solNetwork";
11383
11170
  operator: "in" | "not in";
11384
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
11171
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
11385
11172
  }, {
11386
11173
  type: "solNetwork";
11387
11174
  operator: "in" | "not in";
11388
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
11175
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
11389
11176
  }>]>, "many">;
11390
11177
  }, "strip", z.ZodTypeAny, {
11391
11178
  action: "accept" | "reject";
@@ -11423,7 +11210,7 @@ declare const SendSolTransactionRuleSchema: z.ZodObject<{
11423
11210
  } | {
11424
11211
  type: "solNetwork";
11425
11212
  operator: "in" | "not in";
11426
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
11213
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
11427
11214
  })[];
11428
11215
  }, {
11429
11216
  action: "accept" | "reject";
@@ -11461,7 +11248,7 @@ declare const SendSolTransactionRuleSchema: z.ZodObject<{
11461
11248
  } | {
11462
11249
  type: "solNetwork";
11463
11250
  operator: "in" | "not in";
11464
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
11251
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
11465
11252
  })[];
11466
11253
  }>;
11467
11254
  declare const SignSolMessageRuleSchema: z.ZodObject<{
@@ -11608,11 +11395,11 @@ declare const SponsorSolTransactionRuleSchema: z.ZodObject<{
11608
11395
  }, "strip", z.ZodTypeAny, {
11609
11396
  type: "solNetwork";
11610
11397
  operator: "in" | "not in";
11611
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
11398
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
11612
11399
  }, {
11613
11400
  type: "solNetwork";
11614
11401
  operator: "in" | "not in";
11615
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
11402
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
11616
11403
  }>]>, "many">;
11617
11404
  }, "strip", z.ZodTypeAny, {
11618
11405
  action: "accept" | "reject";
@@ -11650,7 +11437,7 @@ declare const SponsorSolTransactionRuleSchema: z.ZodObject<{
11650
11437
  } | {
11651
11438
  type: "solNetwork";
11652
11439
  operator: "in" | "not in";
11653
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
11440
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
11654
11441
  })[];
11655
11442
  }, {
11656
11443
  action: "accept" | "reject";
@@ -11688,7 +11475,7 @@ declare const SponsorSolTransactionRuleSchema: z.ZodObject<{
11688
11475
  } | {
11689
11476
  type: "solNetwork";
11690
11477
  operator: "in" | "not in";
11691
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
11478
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
11692
11479
  })[];
11693
11480
  }>;
11694
11481
 
@@ -12343,11 +12130,11 @@ declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
12343
12130
  }, "strip", z.ZodTypeAny, {
12344
12131
  type: "solNetwork";
12345
12132
  operator: "in" | "not in";
12346
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
12133
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
12347
12134
  }, {
12348
12135
  type: "solNetwork";
12349
12136
  operator: "in" | "not in";
12350
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
12137
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
12351
12138
  }>]>, "many">;
12352
12139
  }, "strip", z.ZodTypeAny, {
12353
12140
  action: "accept" | "reject";
@@ -12385,7 +12172,7 @@ declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
12385
12172
  } | {
12386
12173
  type: "solNetwork";
12387
12174
  operator: "in" | "not in";
12388
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
12175
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
12389
12176
  })[];
12390
12177
  }, {
12391
12178
  action: "accept" | "reject";
@@ -12423,7 +12210,7 @@ declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
12423
12210
  } | {
12424
12211
  type: "solNetwork";
12425
12212
  operator: "in" | "not in";
12426
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
12213
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
12427
12214
  })[];
12428
12215
  }>, z.ZodObject<{
12429
12216
  action: z.ZodEnum<["reject", "accept"]>;
@@ -12557,11 +12344,11 @@ declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
12557
12344
  }, "strip", z.ZodTypeAny, {
12558
12345
  type: "solNetwork";
12559
12346
  operator: "in" | "not in";
12560
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
12347
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
12561
12348
  }, {
12562
12349
  type: "solNetwork";
12563
12350
  operator: "in" | "not in";
12564
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
12351
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
12565
12352
  }>]>, "many">;
12566
12353
  }, "strip", z.ZodTypeAny, {
12567
12354
  action: "accept" | "reject";
@@ -12599,7 +12386,7 @@ declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
12599
12386
  } | {
12600
12387
  type: "solNetwork";
12601
12388
  operator: "in" | "not in";
12602
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
12389
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
12603
12390
  })[];
12604
12391
  }, {
12605
12392
  action: "accept" | "reject";
@@ -12637,7 +12424,7 @@ declare const RuleSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
12637
12424
  } | {
12638
12425
  type: "solNetwork";
12639
12426
  operator: "in" | "not in";
12640
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
12427
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
12641
12428
  })[];
12642
12429
  }>]>;
12643
12430
  type Rule = z.infer<typeof RuleSchema>;
@@ -13304,11 +13091,11 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
13304
13091
  }, "strip", z.ZodTypeAny, {
13305
13092
  type: "solNetwork";
13306
13093
  operator: "in" | "not in";
13307
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
13094
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
13308
13095
  }, {
13309
13096
  type: "solNetwork";
13310
13097
  operator: "in" | "not in";
13311
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
13098
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
13312
13099
  }>]>, "many">;
13313
13100
  }, "strip", z.ZodTypeAny, {
13314
13101
  action: "accept" | "reject";
@@ -13346,7 +13133,7 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
13346
13133
  } | {
13347
13134
  type: "solNetwork";
13348
13135
  operator: "in" | "not in";
13349
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
13136
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
13350
13137
  })[];
13351
13138
  }, {
13352
13139
  action: "accept" | "reject";
@@ -13384,7 +13171,7 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
13384
13171
  } | {
13385
13172
  type: "solNetwork";
13386
13173
  operator: "in" | "not in";
13387
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
13174
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
13388
13175
  })[];
13389
13176
  }>, z.ZodObject<{
13390
13177
  action: z.ZodEnum<["reject", "accept"]>;
@@ -13518,11 +13305,11 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
13518
13305
  }, "strip", z.ZodTypeAny, {
13519
13306
  type: "solNetwork";
13520
13307
  operator: "in" | "not in";
13521
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
13308
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
13522
13309
  }, {
13523
13310
  type: "solNetwork";
13524
13311
  operator: "in" | "not in";
13525
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
13312
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
13526
13313
  }>]>, "many">;
13527
13314
  }, "strip", z.ZodTypeAny, {
13528
13315
  action: "accept" | "reject";
@@ -13560,7 +13347,7 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
13560
13347
  } | {
13561
13348
  type: "solNetwork";
13562
13349
  operator: "in" | "not in";
13563
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
13350
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
13564
13351
  })[];
13565
13352
  }, {
13566
13353
  action: "accept" | "reject";
@@ -13598,7 +13385,7 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
13598
13385
  } | {
13599
13386
  type: "solNetwork";
13600
13387
  operator: "in" | "not in";
13601
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
13388
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
13602
13389
  })[];
13603
13390
  }>]>, "many">;
13604
13391
  }, "strip", z.ZodTypeAny, {
@@ -13760,7 +13547,7 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
13760
13547
  } | {
13761
13548
  type: "solNetwork";
13762
13549
  operator: "in" | "not in";
13763
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
13550
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
13764
13551
  })[];
13765
13552
  } | {
13766
13553
  action: "accept" | "reject";
@@ -13806,7 +13593,7 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
13806
13593
  } | {
13807
13594
  type: "solNetwork";
13808
13595
  operator: "in" | "not in";
13809
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
13596
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
13810
13597
  })[];
13811
13598
  })[];
13812
13599
  priority?: number | undefined;
@@ -13972,7 +13759,7 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
13972
13759
  } | {
13973
13760
  type: "solNetwork";
13974
13761
  operator: "in" | "not in";
13975
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
13762
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
13976
13763
  })[];
13977
13764
  } | {
13978
13765
  action: "accept" | "reject";
@@ -14018,7 +13805,7 @@ declare const CreatePolicyBodySchema: z.ZodObject<{
14018
13805
  } | {
14019
13806
  type: "solNetwork";
14020
13807
  operator: "in" | "not in";
14021
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
13808
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
14022
13809
  })[];
14023
13810
  })[];
14024
13811
  priority?: number | undefined;
@@ -14686,11 +14473,11 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
14686
14473
  }, "strip", z.ZodTypeAny, {
14687
14474
  type: "solNetwork";
14688
14475
  operator: "in" | "not in";
14689
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
14476
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
14690
14477
  }, {
14691
14478
  type: "solNetwork";
14692
14479
  operator: "in" | "not in";
14693
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
14480
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
14694
14481
  }>]>, "many">;
14695
14482
  }, "strip", z.ZodTypeAny, {
14696
14483
  action: "accept" | "reject";
@@ -14728,7 +14515,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
14728
14515
  } | {
14729
14516
  type: "solNetwork";
14730
14517
  operator: "in" | "not in";
14731
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
14518
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
14732
14519
  })[];
14733
14520
  }, {
14734
14521
  action: "accept" | "reject";
@@ -14766,7 +14553,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
14766
14553
  } | {
14767
14554
  type: "solNetwork";
14768
14555
  operator: "in" | "not in";
14769
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
14556
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
14770
14557
  })[];
14771
14558
  }>, z.ZodObject<{
14772
14559
  action: z.ZodEnum<["reject", "accept"]>;
@@ -14900,11 +14687,11 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
14900
14687
  }, "strip", z.ZodTypeAny, {
14901
14688
  type: "solNetwork";
14902
14689
  operator: "in" | "not in";
14903
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
14690
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
14904
14691
  }, {
14905
14692
  type: "solNetwork";
14906
14693
  operator: "in" | "not in";
14907
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
14694
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
14908
14695
  }>]>, "many">;
14909
14696
  }, "strip", z.ZodTypeAny, {
14910
14697
  action: "accept" | "reject";
@@ -14942,7 +14729,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
14942
14729
  } | {
14943
14730
  type: "solNetwork";
14944
14731
  operator: "in" | "not in";
14945
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
14732
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
14946
14733
  })[];
14947
14734
  }, {
14948
14735
  action: "accept" | "reject";
@@ -14980,7 +14767,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
14980
14767
  } | {
14981
14768
  type: "solNetwork";
14982
14769
  operator: "in" | "not in";
14983
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
14770
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
14984
14771
  })[];
14985
14772
  }>]>, "many">>;
14986
14773
  }, "strip", z.ZodTypeAny, {
@@ -15144,7 +14931,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
15144
14931
  } | {
15145
14932
  type: "solNetwork";
15146
14933
  operator: "in" | "not in";
15147
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
14934
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
15148
14935
  })[];
15149
14936
  } | {
15150
14937
  action: "accept" | "reject";
@@ -15190,7 +14977,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
15190
14977
  } | {
15191
14978
  type: "solNetwork";
15192
14979
  operator: "in" | "not in";
15193
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
14980
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
15194
14981
  })[];
15195
14982
  })[] | undefined;
15196
14983
  }, {
@@ -15354,7 +15141,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
15354
15141
  } | {
15355
15142
  type: "solNetwork";
15356
15143
  operator: "in" | "not in";
15357
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
15144
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
15358
15145
  })[];
15359
15146
  } | {
15360
15147
  action: "accept" | "reject";
@@ -15400,7 +15187,7 @@ declare const UpdatePolicyBodySchema: z.ZodObject<{
15400
15187
  } | {
15401
15188
  type: "solNetwork";
15402
15189
  operator: "in" | "not in";
15403
- networks: ("mainnet-beta" | "devnet" | "testnet")[];
15190
+ networks: ("testnet" | "mainnet-beta" | "devnet")[];
15404
15191
  })[];
15405
15192
  })[] | undefined;
15406
15193
  }>;
@@ -15571,7 +15358,9 @@ declare class Openfort {
15571
15358
  /** Export private key (with E2E encryption) */
15572
15359
  export: (options: ExportEvmAccountOptions) => Promise<string>;
15573
15360
  /** Update EOA to delegated account */
15574
- update: (options: UpdateEvmAccountOptions) => Promise<UpdateBackendWalletResponse>;
15361
+ update: typeof update;
15362
+ /** Delegate + create + sign + submit a gasless transaction in one call */
15363
+ sendTransaction: typeof sendTransaction;
15575
15364
  };
15576
15365
  /** Embedded wallet operations (User custody) */
15577
15366
  embedded: {
@@ -15769,7 +15558,7 @@ declare class Openfort {
15769
15558
  get transactionIntents(): {
15770
15559
  /** List transaction intents */
15771
15560
  list: (params?: GetTransactionIntentsParams, options?: string | RequestOptions | undefined) => Promise<TransactionIntentListResponse>;
15772
- /** Create a transaction intent with contract interactions */
15561
+ /** Create a transaction intent with contract interactions. */
15773
15562
  create: (createTransactionIntentRequest: CreateTransactionIntentRequest, options?: string | RequestOptions | undefined) => Promise<TransactionIntentResponse>;
15774
15563
  /** Get a transaction intent by ID */
15775
15564
  get: (id: string, params?: GetTransactionIntentParams, options?: string | RequestOptions | undefined) => Promise<TransactionIntentResponse>;
@@ -15893,8 +15682,6 @@ declare class Openfort {
15893
15682
  verifyToken: (params: VerifyAuthTokenParams, options?: string | RequestOptions | undefined) => Promise<AuthSessionResponse>;
15894
15683
  /** Verify OAuth token */
15895
15684
  verifyOAuthToken: (authenticateOAuthRequest: AuthenticateOAuthRequest, options?: string | RequestOptions | undefined) => Promise<PlayerResponse>;
15896
- /** Authorize */
15897
- authorize: (authorizePlayerRequest: AuthorizePlayerRequest, options?: string | RequestOptions | undefined) => Promise<AuthPlayerResponse | AuthenticatedPlayerResponse>;
15898
15685
  };
15899
15686
  };
15900
15687
  /**
@@ -15963,4 +15750,4 @@ declare class Openfort {
15963
15750
  createEncryptionSession(shieldApiKey: string, shieldApiSecret: string, encryptionShare: string, shieldApiBaseUrl?: string): Promise<string>;
15964
15751
  }
15965
15752
 
15966
- export { APIError, type APIErrorType, APITopic, APITopicBALANCECONTRACT, APITopicBALANCEDEVACCOUNT, APITopicBALANCEPROJECT, APITopicTRANSACTIONSUCCESSFUL, APITriggerType, type Abi, type AbiType, type AccelbyteOAuthConfig, type Account$1 as Account, type AccountAbstractionV6Details, type AccountAbstractionV8Details, type AccountAbstractionV9Details, type AccountEventResponse, type AccountListQueries, type AccountListQueriesV2, AccountListQueriesV2AccountType, AccountListQueriesV2ChainType, AccountListQueriesV2Custody, type AccountListResponse, type AccountListV2Response, AccountNotFoundError, type AccountPolicyRuleResponse, type AccountResponse, AccountResponseExpandable, type AccountV2Response, AccountV2ResponseCustody, type ActionRequiredResponse, Actions, type AllowedOriginsRequest, type AllowedOriginsResponse, type ApiKeyResponse, ApiKeyType, type AppleOAuthConfig, type AuthConfig, type AuthMigrationListResponse, type AuthMigrationResponse, AuthMigrationStatus, type AuthPlayerListQueries, type AuthPlayerListResponse, type AuthPlayerResponse, type AuthPlayerResponseWithRecoveryShare, AuthProvider, type AuthProviderListResponse, AuthProviderResponse, AuthProviderResponseV2, type AuthProviderWithTypeResponse, type AuthResponse, type AuthSessionResponse, type AuthUserResponse, type AuthenticateOAuthRequest, AuthenticateOAuthRequestProvider, type AuthenticateSIWEResult, type AuthenticatedPlayerResponse, AuthenticationType, type AuthorizePlayerRequest, type AuthorizeResult, type AuthorizedApp, type AuthorizedAppsResponse, type AuthorizedAppsResponseAuthorizedAppsItem, type AuthorizedNetwork, type AuthorizedNetworksResponse, type AuthorizedNetworksResponseAuthorizedNetworksItem, type AuthorizedOriginsResponse, type BackendWalletListQueries, BackendWalletListQueriesChainType, type BackendWalletListResponse, BackendWalletListResponseObject, type BackendWalletResponse, BackendWalletResponseChainType, BackendWalletResponseCustody, BackendWalletResponseObject, type BalanceEventResponse, type BalanceResponse, type BaseDeleteEntityResponseEntityTypePLAYER, type BaseEntityListResponseAccountV2Response, type BaseEntityListResponseAuthUserResponse, type BaseEntityListResponseDeviceResponse, type BaseEntityListResponseEmailSampleResponse, type BaseEntityListResponseLogResponse, type BaseEntityListResponseTriggerResponse, type BaseEntityResponseEntityTypeWALLET, BasicAuthProvider, BasicAuthProviderEMAIL, BasicAuthProviderGUEST, BasicAuthProviderPHONE, BasicAuthProviderWEB3, type BetterAuthConfig, type BillingSubscriptionResponse, type BillingSubscriptionResponsePlan, type CallbackOAuthParams, type CallbackOAuthResult, type CancelTransferAccountOwnershipResult, type ChargeCustomTokenPolicyStrategy, type CheckoutRequest, type CheckoutResponse, type CheckoutSubscriptionRequest, type ChildProjectListResponse, type ChildProjectResponse, type CodeChallenge, CodeChallengeMethod, type CodeChallengeVerify, type ContractDeleteResponse, type ContractEventResponse, type ContractListQueries, type ContractListResponse, type ContractPolicyRuleResponse, type ContractReadQueries, type ContractReadResponse, type ContractResponse, type CountPerIntervalLimitPolicyRuleResponse, type CreateAccountRequest, type CreateAccountRequestV2, CreateAccountRequestV2AccountType, CreateAccountRequestV2ChainType, type CreateAccountResult, type CreateAccountV2Result, type CreateAuthPlayerRequest, type CreateAuthPlayerResult, type CreateBackendWalletRequest, CreateBackendWalletRequestChainType, type CreateBackendWalletResponse, CreateBackendWalletResponseChainType, CreateBackendWalletResponseObject, type CreateBackendWalletResult, type CreateContractRequest, type CreateContractResult, type CreateDeveloperAccountCreateRequest, type CreateDeveloperAccountResult, type CreateDeviceRequest, type CreateDeviceResponse, type CreateEcosystemConfigurationRequest, type CreateEmailSampleRequest, type CreateEmailSampleResponse, type CreateEmbeddedRequest, CreateEmbeddedRequestAccountType, CreateEmbeddedRequestChainType, type CreateEventRequest, type CreateEventResponse, type CreateEventResult, type CreateEvmAccountOptions, type CreateFeeSponsorshipRequest, type CreateFeeSponsorshipResult, type CreateForwarderContractRequest, type CreateForwarderContractResponse, type CreateForwarderContractResult, type CreateGasPolicyLegacyResult, type CreateGasPolicyRuleLegacyResult, type CreateGasPolicyWithdrawalLegacyResult, type CreateMigrationRequest, type CreateOAuthConfigResult, type CreateOnrampSessionResult, type CreatePaymasterRequest, type CreatePaymasterRequestContext, type CreatePaymasterResponse, type CreatePaymasterResult, type CreatePlayerResult, type CreatePolicyBody, CreatePolicyBodySchema, type CreatePolicyRequest, type CreatePolicyRuleRequest, type CreatePolicyV2Request, CreatePolicyV2RequestScope, type CreatePolicyV2Result, type CreatePolicyV2RuleRequest, CreatePolicyV2RuleRequestAction, type CreateProjectApiKeyRequest, type CreateProjectRequest, type CreateResult, type CreateSMTPConfigResponse, type CreateSessionRequest, type CreateSessionResult, type CreateSolanaAccountOptions, type CreateSubscriptionRequest, type CreateSubscriptionResponse, type CreateSubscriptionResult, type CreateTransactionIntentRequest, type CreateTransactionIntentResult, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResult, CriteriaOperator, CriteriaOperatorEQUAL, CriteriaOperatorGREATERTHAN, CriteriaOperatorGREATERTHANOREQUAL, CriteriaOperatorIN, CriteriaOperatorLESSTHAN, CriteriaOperatorLESSTHANOREQUAL, CriteriaOperatorMATCH, CriteriaOperatorNOTIN, CriteriaType, Currency, type CustomAuthConfig, type DeleteAccountResponse, type DeleteAuthPlayerResult, type DeleteBackendWalletResponse, DeleteBackendWalletResponseObject, type DeleteBackendWalletResult, type DeleteContractResult, type DeleteDeveloperAccountResult, type DeleteEventResult, type DeleteFeeSponsorshipResult, type DeleteForwarderContractResult, type DeleteGasPolicyLegacyResult, type DeleteGasPolicyRuleLegacyResult, type DeleteOAuthConfigResult, type DeletePaymasterResult, type DeletePlayerResult, type DeletePolicyV2Result, type DeleteSMTPConfigResponse, type DeleteSubscriptionResult, type DeleteTriggerResult, type DeleteUserResult, type DeprecatedCallbackOAuthParams, type DeprecatedCallbackOAuthResult, type DeveloperAccount, type DeveloperAccountDeleteResponse, type DeveloperAccountGetMessageResponse, type DeveloperAccountListQueries, type DeveloperAccountListResponse, type DeveloperAccountResponse, DeveloperAccountResponseExpandable, type DeviceListQueries, type DeviceListResponse, type DeviceResponse, type DeviceStat, type DisableAccountResult, type DisableFeeSponsorshipResult, type DisableGasPolicyLegacyResult, type DiscordOAuthConfig, type EcosystemConfigurationResponse, type EcosystemMetadata, type EmailAuthConfig, type EmailAuthConfigPasswordRequirements, type EmailSampleDeleteResponse, type EmailSampleListResponse, type EmailSampleResponse, EmailTypeRequest, EmailTypeResponse, type EmbeddedNextActionResponse, EmbeddedNextActionResponseNextAction, type EmbeddedResponse, type EmbeddedV2Response, type EnableFeeSponsorshipResult, type EnableGasPolicyLegacyResult, EncryptionError, type EntityIdResponse, EntityTypeACCOUNT, EntityTypeCONTRACT, EntityTypeDEVELOPERACCOUNT, EntityTypeDEVICE, EntityTypeEMAILSAMPLE, EntityTypeEVENT, EntityTypeFEESPONSORSHIP, EntityTypeFORWARDERCONTRACT, EntityTypeLOG, EntityTypePAYMASTER, EntityTypePLAYER, EntityTypePOLICY, EntityTypePOLICYRULE, EntityTypePOLICYV2, EntityTypePOLICYV2RULE, EntityTypePROJECT, EntityTypeREADCONTRACT, EntityTypeSESSION, EntityTypeSIGNATURE, EntityTypeSMTPCONFIG, EntityTypeSUBSCRIPTION, EntityTypeTRANSACTIONINTENT, EntityTypeTRIGGER, EntityTypeUSER, EntityTypeWALLET, type EpicGamesOAuthConfig, ErrorTypeINVALIDREQUESTERROR, type EstimateTransactionIntentCostResult, type EstimateTransactionIntentGasResult, type EthValueCriterion, EthValueCriterionOperator, type EthValueCriterionRequest, EthValueCriterionRequestOperator, EthValueCriterionRequestType, EthValueCriterionSchema, type EvaluatePolicyV2Payload, type EvaluatePolicyV2Request, type EvaluatePolicyV2Response, EvaluatePolicyV2ResponseObject, type EvaluatePolicyV2Result, type EventDeleteResponse, type EventListQueries, type EventListResponse, type EventResponse, type EvmAccount, type EvmAccountBase, type EvmAccountData, type EvmAddressCriterion, EvmAddressCriterionOperator, type EvmAddressCriterionRequest, EvmAddressCriterionRequestOperator, EvmAddressCriterionRequestType, EvmAddressCriterionSchema, EvmClient, EvmCriteriaType, EvmCriteriaTypeETHVALUE, EvmCriteriaTypeEVMADDRESS, EvmCriteriaTypeEVMDATA, EvmCriteriaTypeEVMMESSAGE, EvmCriteriaTypeEVMNETWORK, EvmCriteriaTypeEVMTYPEDDATAFIELD, EvmCriteriaTypeEVMTYPEDDATAVERIFYINGCONTRACT, EvmCriteriaTypeNETUSDCHANGE, type EvmDataCriterion, type EvmDataCriterionRequest, EvmDataCriterionRequestOperator, EvmDataCriterionRequestType, EvmDataCriterionSchema, type EvmMessageCriterion, type EvmMessageCriterionRequest, EvmMessageCriterionRequestOperator, EvmMessageCriterionRequestType, EvmMessageCriterionSchema, type EvmNetworkCriterion, EvmNetworkCriterionOperator, type EvmNetworkCriterionRequest, EvmNetworkCriterionRequestOperator, EvmNetworkCriterionRequestType, EvmNetworkCriterionSchema, type SignMessageOptions$1 as EvmSignMessageOptions, type SignTransactionOptions$1 as EvmSignTransactionOptions, type SignTypedDataOptions as EvmSignTypedDataOptions, type EvmSigningMethods, type EvmTypedDataFieldCriterion, EvmTypedDataFieldCriterionOperator, type EvmTypedDataFieldCriterionRequest, EvmTypedDataFieldCriterionRequestOperator, EvmTypedDataFieldCriterionRequestType, EvmTypedDataFieldCriterionSchema, type EvmTypedDataVerifyingContractCriterion, EvmTypedDataVerifyingContractCriterionOperator, type EvmTypedDataVerifyingContractCriterionRequest, EvmTypedDataVerifyingContractCriterionRequestOperator, EvmTypedDataVerifyingContractCriterionRequestType, EvmTypedDataVerifyingContractCriterionSchema, type ExportPrivateKeyRequest, type ExportPrivateKeyResponse, ExportPrivateKeyResponseObject, type ExportPrivateKeyResult, type ExportSolanaAccountOptions, type ExportedEmbeddedRequest, type FacebookOAuthConfig, type FeeSponsorshipDeleteResponse, type FeeSponsorshipListQueries, type FeeSponsorshipListResponse, type FeeSponsorshipResponse, type FeeSponsorshipStrategy, type FeeSponsorshipStrategyResponse, type FieldErrors, type FirebaseOAuthConfig, type FixedRateTokenPolicyStrategy, type ForwarderContractDeleteResponse, type ForwarderContractResponse, type GasPerIntervalLimitPolicyRuleResponse, type GasPerTransactionLimitPolicyRuleResponse, type GasReport, type GasReportListResponse, type GasReportTransactionIntents, type GasReportTransactionIntentsListResponse, type GetAccountParams, type GetAccountResult, type GetAccountV2Result, type GetAccountsParams, type GetAccountsResult, GetAccountsV2AccountType, GetAccountsV2ChainType, GetAccountsV2Custody, type GetAccountsV2Params, type GetAccountsV2Result, type GetAuthPlayerResult, type GetAuthPlayersParams, type GetAuthPlayersResult, type GetAuthUserResult, type GetAuthUsersParams, type GetAuthUsersResult, type GetBackendWalletResult, type GetContractResult, type GetContractsParams, type GetContractsResult, type GetDeveloperAccountParams, type GetDeveloperAccountResult, type GetDeveloperAccountsParams, type GetDeveloperAccountsResult, type GetDeviceResponse, type GetEmailSampleResponse, type GetEventResponse, type GetEventResult, type GetEventsParams, type GetEventsResult, type GetEvmAccountOptions, type GetFeeSponsorshipResult, type GetForwarderContractResult, type GetGasPoliciesLegacyParams, type GetGasPoliciesLegacyResult, type GetGasPolicyBalanceLegacyResult, type GetGasPolicyLegacyParams, type GetGasPolicyLegacyResult, type GetGasPolicyReportTransactionIntentsLegacyParams, type GetGasPolicyReportTransactionIntentsLegacyResult, GetGasPolicyRulesLegacyExpandItem, type GetGasPolicyRulesLegacyParams, type GetGasPolicyRulesLegacyResult, type GetGasPolicyTotalGasUsageLegacyParams, type GetGasPolicyTotalGasUsageLegacyResult, type GetJwksResult, type GetOAuthConfigResult, type GetOnrampQuoteResult, type GetPaymasterResult, type GetPlayerParams, type GetPlayerResult, type GetPlayerSessionsParams, type GetPlayerSessionsResult, type GetPlayersParams, type GetPlayersResult, type GetPolicyV2Result, type GetProjectLogsParams, type GetProjectLogsResult, type GetSMTPConfigResponse, type GetSessionParams, type GetSessionResult, type GetSignerIdByAddressParams, type GetSignerIdByAddressResult, type GetSolanaAccountOptions, type GetSubscriptionResponse, type GetSubscriptionResult, type GetSubscriptionsResult, type GetTransactionIntentParams, type GetTransactionIntentResult, type GetTransactionIntentsParams, type GetTransactionIntentsResult, type GetTriggerResponse, type GetTriggerResult, type GetTriggersResult, type GetUserWalletResult, type GetVerificationPayloadParams, type GetVerificationPayloadResult, type GetWebhookLogsByProjectIdResult, type GoogleOAuthConfig, type GrantCallbackRequest, type GrantOAuthResponse, type GrantOAuthResult, type GuestAuthConfig, type HandleChainRpcRequestResult, type HandleRpcRequestResult, type HandleSolanaRpcRequestResult, type HttpErrorType, IMPORT_ENCRYPTION_PUBLIC_KEY, type ImportPrivateKeyRequest, ImportPrivateKeyRequestChainType, type ImportPrivateKeyResponse, ImportPrivateKeyResponseChainType, ImportPrivateKeyResponseObject, type ImportPrivateKeyResult, type ImportSolanaAccountOptions, type InitEmbeddedRequest, type InitOAuthResult, type InitSIWEResult, type Interaction, InvalidAPIKeyFormatError, InvalidPublishableKeyFormatError, type InvalidRequestError, type InvalidRequestErrorResponse, InvalidWalletSecretFormatError, type JsonRpcError, type JsonRpcErrorResponse, JsonRpcErrorResponseJsonrpc, type JsonRpcRequest, JsonRpcRequestJsonrpc, type JsonRpcResponse, type JsonRpcSuccessResponseAny, JsonRpcSuccessResponseAnyJsonrpc, type JwtKey, type JwtKeyResponse, type LineOAuthConfig, type LinkEmailResult, type LinkOAuthResult, type LinkSIWEResult, type LinkThirdPartyResult, type LinkedAccountResponse, type LinkedAccountResponseV2, type ListAccountsResult, ListBackendWalletsChainType, type ListBackendWalletsParams, type ListBackendWalletsResult, type ListConfigRequest, type ListEvmAccountsOptions, type ListFeeSponsorshipsParams, type ListFeeSponsorshipsResult, type ListForwarderContractsParams, type ListForwarderContractsResult, type ListMigrationsRequest, type ListOAuthConfigResult, type ListParams, type ListPaymastersParams, type ListPaymastersResult, type ListPoliciesParams, type ListPoliciesResult, ListPoliciesScopeItem, type ListResult, type ListSolanaAccountsOptions, type ListSubscriptionLogsParams, type ListSubscriptionLogsRequest, type ListSubscriptionLogsResult, type Log, type LogResponse, type LoginEmailPasswordResult, type LoginOIDCRequest, type LoginOIDCResult, type LoginRequest, type LoginWithIdTokenRequest, type LoginWithIdTokenResult, type LogoutRequest, type LogoutResult, type LootLockerOAuthConfig, type MappingStrategy, type MeResult, type MeV2Result, type MessageBirdSmsProviderConfig, type MintAddressCriterion, MintAddressCriterionOperator, type MintAddressCriterionRequest, MintAddressCriterionRequestOperator, MintAddressCriterionRequestType, MintAddressCriterionSchema, MissingAPIKeyError, MissingPublishableKeyError, MissingWalletSecretError, type Money, type MonthRange, type MonthlyUsageHistoryResponse, type MonthlyUsageHistoryResponseMonthsItem, type MyEcosystemResponse, type NetUSDChangeCriterion, NetUSDChangeCriterionOperator, type NetUSDChangeCriterionRequest, NetUSDChangeCriterionRequestOperator, NetUSDChangeCriterionRequestType, NetworkError, type NextActionPayload, type NextActionResponse, NextActionType, type OAuthConfigListResponse, type OAuthConfigRequest, type OAuthConfigResponse, type OAuthInitRequest, type OAuthInitRequestOptions, type OAuthInitRequestOptionsQueryParams, OAuthProvider, OAuthProviderAPPLE, OAuthProviderDISCORD, OAuthProviderEPICGAMES, OAuthProviderFACEBOOK, OAuthProviderGOOGLE, OAuthProviderLINE, OAuthProviderTWITTER, type OAuthResponse, type OIDCAuthConfig, type OnrampFee, OnrampProvider, type OnrampQuoteRequest, type OnrampQuoteResponse, type OnrampQuotesResponse, type OnrampSessionRequest, type OnrampSessionResponse, type OnrampSessionResponseQuote, Openfort, type OpenfortErrorResponse, type OpenfortOptions, type PagingQueries, type PasskeyEnv, type PayForUserPolicyStrategy, type PaymasterDeleteResponse, type PaymasterResponse, type PaymasterResponseContext, type PhoneAuthConfig, type PickContractResponseId, type PickJsonFragmentExcludeKeyofJsonFragmentInputsOrOutputs, type PickJsonFragmentTypeExcludeKeyofJsonFragmentTypeComponents, type PickPlayerResponseId, type Plan, PlanChangeType, type PlansResponse, type PlayFabOAuthConfig, type Player, type PlayerCancelTransferOwnershipRequest, type PlayerCreateRequest, type PlayerDeleteResponse, type PlayerListQueries, type PlayerListResponse, type PlayerMetadata, type PlayerResponse, PlayerResponseExpandable, type PlayerTransferOwnershipRequest, type PlayerUpdateRequest, type Policy, type PolicyBalanceWithdrawResponse, type PolicyDeleteResponse, type PolicyListQueries, type PolicyListResponse, PolicyRateLimit, PolicyRateLimitCOUNTPERINTERVAL, PolicyRateLimitGASPERINTERVAL, PolicyRateLimitGASPERTRANSACTION, type PolicyReportQueries, type PolicyReportTransactionIntentsQueries, type PolicyResponse, PolicyResponseExpandable, type PolicyRuleDeleteResponse, type PolicyRuleListQueries, PolicyRuleListQueriesExpandItem, type PolicyRuleListResponse, type PolicyRuleResponse, PolicyRuleType, PolicyRuleTypeACCOUNT, PolicyRuleTypeCONTRACT, PolicyRuleTypeRATELIMIT, type PolicyStrategy, type PolicyStrategyRequest, PolicyV2Action, type PolicyV2Criterion, type PolicyV2CriterionRequest, type PolicyV2DeleteResponse, type PolicyV2ListQueries, PolicyV2ListQueriesScopeItem, type PolicyV2ListResponse, type PolicyV2Response, type PolicyV2RuleResponse, PolicyV2Scope, type PoolOAuthParams, type PoolOAuthResult, type PregenerateAccountResponse, PregenerateAccountResponseCustody, type PregenerateUserRequestV2, PregenerateUserRequestV2AccountType, PregenerateUserRequestV2ChainType, type PregenerateUserV2Result, PrismaSortOrder, PrivateKeyPolicy, type ProgramIdCriterion, ProgramIdCriterionOperator, type ProgramIdCriterionRequest, ProgramIdCriterionRequestOperator, ProgramIdCriterionRequestType, ProgramIdCriterionSchema, type ProjectListResponse, type ProjectLogs, type ProjectResponse, type ProjectStatsRequest, ProjectStatsRequestTimeFrame, type ProjectStatsResponse, type QueryResult, type RSAKeyPair, type ReadContractParams, type ReadContractResult, type RecordStringUnknown, type RecoverV2EmbeddedRequest, type RecoverV2Response, type RecoveryMethodDetails, type RefreshResult, type RefreshTokenRequest, type RegisterEmbeddedRequest, type RegisterEmbeddedV2Request, type RegisterGuestResult, type RegisterWalletSecretRequest, type RegisterWalletSecretResponse, RegisterWalletSecretResponseObject, type RegisterWalletSecretResult, type RemoveAccountResult, type RequestEmailVerificationResult, type RequestOptions, type RequestResetPasswordRequest, type RequestResetPasswordResult, type RequestTransferAccountOwnershipResult, type RequestVerifyEmailRequest, type ResetPasswordRequest, type ResetPasswordResult, type ResponseResponse, ResponseTypeLIST, type RevokeSessionRequest, type RevokeSessionResult, type RevokeWalletSecretRequest, type RevokeWalletSecretResponse, RevokeWalletSecretResponseObject, type RevokeWalletSecretResult, type RotateWalletSecretRequest, type RotateWalletSecretResponse, RotateWalletSecretResponseObject, type RotateWalletSecretResult, type Rule, RuleSchema, type SIWEAuthenticateRequest, type SIWEInitResponse, type SIWERequest, type SMTPConfigResponse, SendEvmTransactionRuleSchema, SendSolTransactionRuleSchema, type SessionListQueries, type SessionListResponse, type SessionResponse, SessionResponseExpandable, type ShieldConfiguration, SignEvmHashRuleSchema, SignEvmMessageRuleSchema, SignEvmTransactionRuleSchema, SignEvmTypedDataRuleSchema, type SignPayloadDeveloperAccountResult, type SignPayloadRequest, type SignPayloadRequestTypes, type SignPayloadRequestValue, type SignPayloadResponse, type SignRequest, type SignResponse, SignResponseObject, type SignResult, SignSolMessageRuleSchema, SignSolTransactionRuleSchema, type SignatureRequest, type SignatureResult, type SignatureSessionResult, type SignerIdResponse, type SignupEmailPasswordResult, type SignupRequest, type SmartAccountData, type SmsApiProviderConfig, SmsProviderMESSAGEBIRD, SmsProviderSMSAPI, SmsProviderTWILIO, SmsProviderTXTLOCAL, SmsProviderVONAGE, type SolAddressCriterion, SolAddressCriterionOperator, type SolAddressCriterionRequest, SolAddressCriterionRequestOperator, SolAddressCriterionRequestType, SolAddressCriterionSchema, type SolDataCriterion, type SolDataCriterionRequest, SolDataCriterionRequestOperator, SolDataCriterionRequestType, SolDataCriterionSchema, type SolMessageCriterion, type SolMessageCriterionRequest, SolMessageCriterionRequestOperator, SolMessageCriterionRequestType, SolMessageCriterionSchema, type SolNetworkCriterion, SolNetworkCriterionOperator, type SolNetworkCriterionRequest, SolNetworkCriterionRequestOperator, SolNetworkCriterionRequestType, SolNetworkCriterionSchema, type SolValueCriterion, SolValueCriterionOperator, type SolValueCriterionRequest, SolValueCriterionRequestOperator, SolValueCriterionRequestType, SolValueCriterionSchema, type SolanaAccount, type SolanaAccountBase, type SolanaAccountData, SolanaClient, SolanaCriteriaType, SolanaCriteriaTypeMINTADDRESS, SolanaCriteriaTypePROGRAMID, SolanaCriteriaTypeSOLADDRESS, SolanaCriteriaTypeSOLDATA, SolanaCriteriaTypeSOLMESSAGE, SolanaCriteriaTypeSOLNETWORK, SolanaCriteriaTypeSOLVALUE, SolanaCriteriaTypeSPLADDRESS, SolanaCriteriaTypeSPLVALUE, type SignMessageOptions as SolanaSignMessageOptions, type SignTransactionOptions as SolanaSignTransactionOptions, type SolanaSigningMethods, type SplAddressCriterion, SplAddressCriterionOperator, type SplAddressCriterionRequest, SplAddressCriterionRequestOperator, SplAddressCriterionRequestType, SplAddressCriterionSchema, type SplValueCriterion, SplValueCriterionOperator, type SplValueCriterionRequest, SplValueCriterionRequestOperator, SplValueCriterionRequestType, SplValueCriterionSchema, SponsorEvmTransactionRuleSchema, SponsorSchema, SponsorSchemaCHARGECUSTOMTOKENS, SponsorSchemaFIXEDRATE, SponsorSchemaPAYFORUSER, SponsorSolTransactionRuleSchema, type StandardDetails, type Stat, Status, type SubscriptionDeleteResponse, type SubscriptionListResponse, type SubscriptionLogsResponse, type SubscriptionResponse, type SupabaseAuthConfig, type SwitchChainQueriesV2, type SwitchChainRequest, type SwitchChainV2Result, type TestTrigger200, type TestTriggerResult, type ThirdPartyLinkRequest, ThirdPartyOAuthProvider, ThirdPartyOAuthProviderACCELBYTE, ThirdPartyOAuthProviderBETTERAUTH, ThirdPartyOAuthProviderCUSTOM, ThirdPartyOAuthProviderFIREBASE, ThirdPartyOAuthProviderLOOTLOCKER, ThirdPartyOAuthProviderOIDC, ThirdPartyOAuthProviderPLAYFAB, ThirdPartyOAuthProviderSUPABASE, type ThirdPartyOAuthRequest, type ThirdPartyResult, type ThirdPartyV2Result, TimeIntervalType, TimeoutError, TokenType, TransactionAbstractionType, type TransactionConfirmedEventResponse, type TransactionIntent, type TransactionIntentListQueries, type TransactionIntentListResponse, type TransactionIntentResponse, TransactionIntentResponseExpandable, type TransactionResponseLog, type TransactionStat, TransactionStatus, type Transition, type TriggerDeleteResponse, type TriggerListResponse, type TriggerResponse, type TwilioSmsProviderConfig, type TwitterOAuthConfig, type TxtLocalSmsProviderConfig, type TypedDataField, type TypedDomainData, UnknownError, type UnlinkEmailRequest, type UnlinkEmailResult, type UnlinkOAuthRequest, type UnlinkOAuthResult, type UnlinkSIWEResult, type UpdateAuthorizedAppsRequest, type UpdateAuthorizedNetworksRequest, type UpdateAuthorizedOriginsRequest, type UpdateBackendWalletRequest, UpdateBackendWalletRequestAccountType, UpdateBackendWalletRequestChainType, type UpdateBackendWalletResponse, UpdateBackendWalletResponseChainType, UpdateBackendWalletResponseCustody, type UpdateBackendWalletResponseDelegatedAccount, type UpdateBackendWalletResponseDelegatedAccountChain, UpdateBackendWalletResponseDelegatedAccountChainChainType, UpdateBackendWalletResponseObject, type UpdateBackendWalletResult, type UpdateContractRequest, type UpdateContractResult, type UpdateDeveloperAccountCreateRequest, type UpdateDeveloperAccountResult, type UpdateEmailSampleRequest, type UpdateEmailSampleResponse, type UpdateFeeSponsorshipRequest, type UpdateFeeSponsorshipResult, type UpdateForwarderContractResult, type UpdateGasPolicyLegacyResult, type UpdateGasPolicyRuleLegacyResult, type UpdateMigrationRequest, type UpdatePaymasterResult, type UpdatePlayerResult, type UpdatePolicyBody, UpdatePolicyBodySchema, type UpdatePolicyRequest, type UpdatePolicyRuleRequest, type UpdatePolicyV2Request, type UpdatePolicyV2Result, type UpdateProjectApiKeyRequest, type UpdateProjectRequest, type UpsertSMTPConfigRequest, type UsageAlert, UsageAlertType, type UsageSummaryResponse, type UsageSummaryResponseBillingPeriod, type UsageSummaryResponseOperations, type UsageSummaryResponsePlan, type UserDeleteResponse, UserInputValidationError, type UserListQueries, type UserListResponse, type UserOperationV6, type UserOperationV8, type UserOperationV9, type UserProjectCreateRequest, UserProjectCreateRequestRole, type UserProjectDeleteResponse, type UserProjectListResponse, type UserProjectResponse, UserProjectRole, UserProjectRoleADMIN, UserProjectRoleMEMBER, type UserProjectUpdateRequest, UserProjectUpdateRequestRole, ValidationError, type VerifyAuthTokenParams, type VerifyAuthTokenResult, type VerifyEmailRequest, type VerifyEmailResult, type VerifyOAuthTokenResult, type VonageSmsProviderConfig, type WalletResponse, type Web3AuthConfig, type WebhookResponse, type WithdrawalPolicyRequest, type ZKSyncDetails, authV2 as authApi, openfortAuth_schemas as authSchemas, authenticateSIWE, authorize, callbackOAuth, cancelTransferAccountOwnership, configure, create, createAccount, createAccountV2, createAuthPlayer, createBackendWallet, createContract, createDeveloperAccount, createEvent, createFeeSponsorship, createForwarderContract, createGasPolicyLegacy, createGasPolicyRuleLegacy, createGasPolicyWithdrawalLegacy, createOAuthConfig, createOnrampSession, createPaymaster, createPlayer, createPolicyV2, createSession, createSubscription, createTransactionIntent, createTrigger, decryptExportedPrivateKey, Openfort as default, deleteAuthPlayer, deleteBackendWallet, deleteContract, deleteDeveloperAccount, deleteEvent, deleteFeeSponsorship, deleteForwarderContract, deleteGasPolicyLegacy, deleteGasPolicyRuleLegacy, deleteOAuthConfig, deletePaymaster, deletePlayer, deletePolicyV2, deleteSubscription, deleteTrigger, deleteUser, deprecatedCallbackOAuth, disableAccount, disableFeeSponsorship, disableGasPolicyLegacy, enableFeeSponsorship, enableGasPolicyLegacy, encryptForImport, estimateTransactionIntentCost, evaluatePolicyV2, exportPrivateKey, generateRSAKeyPair, getAccount, getAccountV2, getAccounts, getAccountsV2, getAuthPlayer, getAuthPlayers, getAuthUser, getAuthUsers, getBackendWallet, getConfig, getContract, getContracts, getDeveloperAccount, getDeveloperAccounts, getEvent, getEvents, getFeeSponsorship, getForwarderContract, getGasPoliciesLegacy, getGasPolicyBalanceLegacy, getGasPolicyLegacy, getGasPolicyReportTransactionIntentsLegacy, getGasPolicyRulesLegacy, getGasPolicyTotalGasUsageLegacy, getJwks, getOAuthConfig, getOnrampQuote, getPaymaster, getPlayer, getPlayerSessions, getPlayers, getPolicyV2, getProjectLogs, getSession, getSignerIdByAddress, getSubscription, getSubscriptions, getTransactionIntent, getTransactionIntents, getTrigger, getTriggers, getUserWallet, getVerificationPayload, getWebhookLogsByProjectId, grantOAuth, handleChainRpcRequest, handleRpcRequest, handleSolanaRpcRequest, importPrivateKey, initOAuth, initSIWE, isOpenfortError, linkEmail, linkOAuth, linkSIWE, linkThirdParty, list, listBackendWallets, listFeeSponsorships, listForwarderContracts, listOAuthConfig, listPaymasters, listPolicies, listSubscriptionLogs, loginEmailPassword, loginOIDC, loginWithIdToken, logout, me, meV2, poolOAuth, pregenerateUserV2, query, readContract, refresh, registerGuest, registerWalletSecret, removeAccount, requestEmailVerification, requestResetPassword, requestTransferAccountOwnership, resetPassword, revokeSession, revokeWalletSecret, rotateWalletSecret, sign, signPayloadDeveloperAccount, signature, signatureSession, signupEmailPassword, switchChainV2, testTrigger, thirdParty, thirdPartyV2, toEvmAccount, toSolanaAccount, unlinkEmail, unlinkOAuth, unlinkSIWE, updateBackendWallet, updateContract, updateDeveloperAccount, updateFeeSponsorship, updateForwarderContract, updateGasPolicyLegacy, updateGasPolicyRuleLegacy, updatePaymaster, updatePlayer, updatePolicyV2, verifyAuthToken, verifyEmail, verifyOAuthToken };
15753
+ export { APIError, type APIErrorType, APITopic, APITopicBALANCECONTRACT, APITopicBALANCEDEVACCOUNT, APITopicBALANCEPROJECT, APITopicTRANSACTIONSUCCESSFUL, APITriggerType, type Abi, type AbiType, type AccelbyteOAuthConfig, type Account$1 as Account, type AccountAbstractionV6Details, type AccountAbstractionV8Details, type AccountAbstractionV9Details, type AccountEventResponse, type AccountListQueries, type AccountListQueriesV2, AccountListQueriesV2AccountType, AccountListQueriesV2ChainType, AccountListQueriesV2Custody, type AccountListResponse, type AccountListV2Response, AccountNotFoundError, type AccountPolicyRuleResponse, type AccountResponse, AccountResponseExpandable, type AccountV2Response, AccountV2ResponseCustody, type ActionRequiredResponse, Actions, type AllowedOriginsRequest, type AllowedOriginsResponse, type ApiKeyResponse, ApiKeyType, type AppleOAuthConfig, type AuthConfig, type AuthMigrationListResponse, type AuthMigrationResponse, AuthMigrationStatus, type AuthPlayerListQueries, type AuthPlayerListResponse, type AuthPlayerResponse, type AuthPlayerResponseWithRecoveryShare, AuthProvider, type AuthProviderListResponse, AuthProviderResponse, AuthProviderResponseV2, type AuthProviderWithTypeResponse, type AuthResponse, type AuthSessionResponse, type AuthUserResponse, type AuthenticateOAuthRequest, AuthenticateOAuthRequestProvider, type AuthenticateSIWEResult, AuthenticationType, type AuthorizedApp, type AuthorizedAppsResponse, type AuthorizedAppsResponseAuthorizedAppsItem, type AuthorizedNetwork, type AuthorizedNetworksResponse, type AuthorizedNetworksResponseAuthorizedNetworksItem, type AuthorizedOriginsResponse, type BalanceEventResponse, type BalanceResponse, type BaseDeleteEntityResponseEntityTypePLAYER, type BaseEntityListResponseAccountV2Response, type BaseEntityListResponseAuthUserResponse, type BaseEntityListResponseDeviceResponse, type BaseEntityListResponseEmailSampleResponse, type BaseEntityListResponseLogResponse, type BaseEntityListResponseTriggerResponse, type BaseEntityResponseEntityTypeWALLET, BasicAuthProvider, BasicAuthProviderEMAIL, BasicAuthProviderGUEST, BasicAuthProviderPHONE, BasicAuthProviderWEB3, type BetterAuthConfig, type BillingSubscriptionResponse, type BillingSubscriptionResponsePlan, type CallbackOAuthParams, type CallbackOAuthResult, type CancelTransferAccountOwnershipResult, type ChargeCustomTokenPolicyStrategy, type CheckoutRequest, type CheckoutResponse, type CheckoutSubscriptionRequest, type ChildProjectListResponse, type ChildProjectResponse, type CodeChallenge, CodeChallengeMethod, type CodeChallengeVerify, type ContractDeleteResponse, type ContractEventResponse, type ContractListQueries, type ContractListResponse, type ContractPolicyRuleResponse, type ContractReadQueries, type ContractReadResponse, type ContractResponse, type CountPerIntervalLimitPolicyRuleResponse, type CreateAccountRequest, type CreateAccountRequestV2, CreateAccountRequestV2AccountType, CreateAccountRequestV2ChainType, type CreateAccountResult, type CreateAccountV2Result, type CreateAuthPlayerRequest, type CreateAuthPlayerResult, type CreateBackendWalletRequest, CreateBackendWalletRequestChainType, type CreateBackendWalletResponse, CreateBackendWalletResponseChainType, CreateBackendWalletResponseObject, type CreateBackendWalletResult, type CreateContractRequest, type CreateContractResult, type CreateDeveloperAccountCreateRequest, type CreateDeveloperAccountResult, type CreateDeviceRequest, type CreateDeviceResponse, type CreateEcosystemConfigurationRequest, type CreateEmailSampleRequest, type CreateEmailSampleResponse, type CreateEmbeddedRequest, CreateEmbeddedRequestAccountType, CreateEmbeddedRequestChainType, type CreateEventRequest, type CreateEventResponse, type CreateEventResult, type CreateEvmAccountOptions, type CreateFeeSponsorshipRequest, type CreateFeeSponsorshipResult, type CreateForwarderContractRequest, type CreateForwarderContractResponse, type CreateForwarderContractResult, type CreateGasPolicyLegacyResult, type CreateGasPolicyRuleLegacyResult, type CreateGasPolicyWithdrawalLegacyResult, type CreateMigrationRequest, type CreateOAuthConfigResult, type CreateOnrampSessionResult, type CreatePaymasterRequest, type CreatePaymasterRequestContext, type CreatePaymasterResponse, type CreatePaymasterResult, type CreatePlayerResult, type CreatePolicyBody, CreatePolicyBodySchema, type CreatePolicyRequest, type CreatePolicyRuleRequest, type CreatePolicyV2Request, CreatePolicyV2RequestScope, type CreatePolicyV2Result, type CreatePolicyV2RuleRequest, CreatePolicyV2RuleRequestAction, type CreateProjectApiKeyRequest, type CreateProjectRequest, type CreateResult, type CreateSMTPConfigResponse, type CreateSessionRequest, type CreateSessionResult, type CreateSolanaAccountOptions, type CreateSubscriptionRequest, type CreateSubscriptionResponse, type CreateSubscriptionResult, type CreateTransactionIntentRequest, type CreateTransactionIntentResult, type CreateTriggerRequest, type CreateTriggerResponse, type CreateTriggerResult, CriteriaOperator, CriteriaOperatorEQUAL, CriteriaOperatorGREATERTHAN, CriteriaOperatorGREATERTHANOREQUAL, CriteriaOperatorIN, CriteriaOperatorLESSTHAN, CriteriaOperatorLESSTHANOREQUAL, CriteriaOperatorMATCH, CriteriaOperatorNOTIN, CriteriaType, Currency, type CustomAuthConfig, DelegationError, type DeleteAccountResponse, type DeleteAuthPlayerResult, type DeleteBackendWalletResponse, DeleteBackendWalletResponseObject, type DeleteBackendWalletResult, type DeleteContractResult, type DeleteDeveloperAccountResult, type DeleteEventResult, type DeleteFeeSponsorshipResult, type DeleteForwarderContractResult, type DeleteGasPolicyLegacyResult, type DeleteGasPolicyRuleLegacyResult, type DeleteOAuthConfigResult, type DeletePaymasterResult, type DeletePlayerResult, type DeletePolicyV2Result, type DeleteSMTPConfigResponse, type DeleteSubscriptionResult, type DeleteTriggerResult, type DeleteUserResult, type DeprecatedCallbackOAuthParams, type DeprecatedCallbackOAuthResult, type DeveloperAccount, type DeveloperAccountDeleteResponse, type DeveloperAccountGetMessageResponse, type DeveloperAccountListQueries, type DeveloperAccountListResponse, type DeveloperAccountResponse, DeveloperAccountResponseExpandable, type DeviceListQueries, type DeviceListResponse, type DeviceResponse, type DeviceStat, type DisableAccountResult, type DisableFeeSponsorshipResult, type DisableGasPolicyLegacyResult, type DiscordOAuthConfig, type EcosystemConfigurationResponse, type EcosystemMetadata, type EmailAuthConfig, type EmailAuthConfigPasswordRequirements, type EmailSampleDeleteResponse, type EmailSampleListResponse, type EmailSampleResponse, EmailTypeRequest, EmailTypeResponse, type EmbeddedNextActionResponse, EmbeddedNextActionResponseNextAction, type EmbeddedResponse, type EmbeddedV2Response, type EnableFeeSponsorshipResult, type EnableGasPolicyLegacyResult, EncryptionError, type EntityIdResponse, EntityTypeACCOUNT, EntityTypeCONTRACT, EntityTypeDEVELOPERACCOUNT, EntityTypeDEVICE, EntityTypeEMAILSAMPLE, EntityTypeEVENT, EntityTypeFEESPONSORSHIP, EntityTypeFORWARDERCONTRACT, EntityTypeLOG, EntityTypePAYMASTER, EntityTypePLAYER, EntityTypePOLICY, EntityTypePOLICYRULE, EntityTypePOLICYV2, EntityTypePOLICYV2RULE, EntityTypePROJECT, EntityTypeREADCONTRACT, EntityTypeSESSION, EntityTypeSIGNATURE, EntityTypeSMTPCONFIG, EntityTypeSUBSCRIPTION, EntityTypeTRANSACTIONINTENT, EntityTypeTRIGGER, EntityTypeUSER, EntityTypeWALLET, type EpicGamesOAuthConfig, ErrorTypeINVALIDREQUESTERROR, type EstimateTransactionIntentCostResult, type EstimateTransactionIntentGasResult, type EthValueCriterion, EthValueCriterionOperator, type EthValueCriterionRequest, EthValueCriterionRequestOperator, EthValueCriterionRequestType, EthValueCriterionSchema, type EvaluatePolicyV2Payload, type EvaluatePolicyV2Request, type EvaluatePolicyV2Response, EvaluatePolicyV2ResponseObject, type EvaluatePolicyV2Result, type EventDeleteResponse, type EventListQueries, type EventListResponse, type EventResponse, type EvmAccount, type EvmAccountBase, type EvmAccountData, type EvmAddressCriterion, EvmAddressCriterionOperator, type EvmAddressCriterionRequest, EvmAddressCriterionRequestOperator, EvmAddressCriterionRequestType, EvmAddressCriterionSchema, EvmClient, EvmCriteriaType, EvmCriteriaTypeETHVALUE, EvmCriteriaTypeEVMADDRESS, EvmCriteriaTypeEVMDATA, EvmCriteriaTypeEVMMESSAGE, EvmCriteriaTypeEVMNETWORK, EvmCriteriaTypeEVMTYPEDDATAFIELD, EvmCriteriaTypeEVMTYPEDDATAVERIFYINGCONTRACT, EvmCriteriaTypeNETUSDCHANGE, type EvmDataCriterion, type EvmDataCriterionRequest, EvmDataCriterionRequestOperator, EvmDataCriterionRequestType, EvmDataCriterionSchema, type EvmMessageCriterion, type EvmMessageCriterionRequest, EvmMessageCriterionRequestOperator, EvmMessageCriterionRequestType, EvmMessageCriterionSchema, type EvmNetworkCriterion, EvmNetworkCriterionOperator, type EvmNetworkCriterionRequest, EvmNetworkCriterionRequestOperator, EvmNetworkCriterionRequestType, EvmNetworkCriterionSchema, type SignMessageOptions$1 as EvmSignMessageOptions, type SignTransactionOptions$1 as EvmSignTransactionOptions, type SignTypedDataOptions as EvmSignTypedDataOptions, type EvmSigningMethods, type EvmTypedDataFieldCriterion, EvmTypedDataFieldCriterionOperator, type EvmTypedDataFieldCriterionRequest, EvmTypedDataFieldCriterionRequestOperator, EvmTypedDataFieldCriterionRequestType, EvmTypedDataFieldCriterionSchema, type EvmTypedDataVerifyingContractCriterion, EvmTypedDataVerifyingContractCriterionOperator, type EvmTypedDataVerifyingContractCriterionRequest, EvmTypedDataVerifyingContractCriterionRequestOperator, EvmTypedDataVerifyingContractCriterionRequestType, EvmTypedDataVerifyingContractCriterionSchema, type ExportPrivateKeyRequest, type ExportPrivateKeyResponse, ExportPrivateKeyResponseObject, type ExportPrivateKeyResult, type ExportSolanaAccountOptions, type ExportedEmbeddedRequest, type FacebookOAuthConfig, type FeeSponsorshipDeleteResponse, type FeeSponsorshipListQueries, type FeeSponsorshipListResponse, type FeeSponsorshipResponse, type FeeSponsorshipStrategy, type FeeSponsorshipStrategyResponse, type FieldErrors, type FirebaseOAuthConfig, type FixedRateTokenPolicyStrategy, type ForwarderContractDeleteResponse, type ForwarderContractResponse, type GasPerIntervalLimitPolicyRuleResponse, type GasPerTransactionLimitPolicyRuleResponse, type GasReport, type GasReportListResponse, type GasReportTransactionIntents, type GasReportTransactionIntentsListResponse, type GetAccountParams, type GetAccountResult, type GetAccountV2Result, type GetAccountsParams, type GetAccountsResult, GetAccountsV2AccountType, GetAccountsV2ChainType, GetAccountsV2Custody, type GetAccountsV2Params, type GetAccountsV2Result, type GetAuthPlayerResult, type GetAuthPlayersParams, type GetAuthPlayersResult, type GetAuthUserResult, type GetAuthUsersParams, type GetAuthUsersResult, type GetContractResult, type GetContractsParams, type GetContractsResult, type GetDeveloperAccountParams, type GetDeveloperAccountResult, type GetDeveloperAccountsParams, type GetDeveloperAccountsResult, type GetDeviceResponse, type GetEmailSampleResponse, type GetEventResponse, type GetEventResult, type GetEventsParams, type GetEventsResult, type GetEvmAccountOptions, type GetFeeSponsorshipResult, type GetForwarderContractResult, type GetGasPoliciesLegacyParams, type GetGasPoliciesLegacyResult, type GetGasPolicyBalanceLegacyResult, type GetGasPolicyLegacyParams, type GetGasPolicyLegacyResult, type GetGasPolicyReportTransactionIntentsLegacyParams, type GetGasPolicyReportTransactionIntentsLegacyResult, GetGasPolicyRulesLegacyExpandItem, type GetGasPolicyRulesLegacyParams, type GetGasPolicyRulesLegacyResult, type GetGasPolicyTotalGasUsageLegacyParams, type GetGasPolicyTotalGasUsageLegacyResult, type GetJwksResult, type GetOAuthConfigResult, type GetOnrampQuoteResult, type GetPaymasterResult, type GetPlayerParams, type GetPlayerResult, type GetPlayerSessionsParams, type GetPlayerSessionsResult, type GetPlayersParams, type GetPlayersResult, type GetPolicyV2Result, type GetProjectLogsParams, type GetProjectLogsResult, type GetSMTPConfigResponse, type GetSessionParams, type GetSessionResult, type GetSignerIdByAddressParams, type GetSignerIdByAddressResult, type GetSolanaAccountOptions, type GetSubscriptionResponse, type GetSubscriptionResult, type GetSubscriptionsResult, type GetTransactionIntentParams, type GetTransactionIntentResult, type GetTransactionIntentsParams, type GetTransactionIntentsResult, type GetTriggerResponse, type GetTriggerResult, type GetTriggersResult, type GetUserWalletResult, type GetVerificationPayloadParams, type GetVerificationPayloadResult, type GetWebhookLogsByProjectIdResult, type GoogleOAuthConfig, type GrantCallbackRequest, type GrantOAuthResponse, type GrantOAuthResult, type GuestAuthConfig, type HandleChainRpcRequestResult, type HandleRpcRequestResult, type HandleSolanaRpcRequestResult, type HttpErrorType, IMPORT_ENCRYPTION_PUBLIC_KEY, type ImportPrivateKeyRequest, ImportPrivateKeyRequestChainType, type ImportPrivateKeyResponse, ImportPrivateKeyResponseChainType, ImportPrivateKeyResponseObject, type ImportPrivateKeyResult, type ImportSolanaAccountOptions, type InitEmbeddedRequest, type InitOAuthResult, type InitSIWEResult, type Interaction, InvalidAPIKeyFormatError, InvalidPublishableKeyFormatError, type InvalidRequestError, type InvalidRequestErrorResponse, InvalidWalletSecretFormatError, type JsonRpcError, type JsonRpcErrorResponse, JsonRpcErrorResponseJsonrpc, type JsonRpcRequest, JsonRpcRequestJsonrpc, type JsonRpcResponse, type JsonRpcSuccessResponseAny, JsonRpcSuccessResponseAnyJsonrpc, type JwtKey, type JwtKeyResponse, type LineOAuthConfig, type LinkEmailResult, type LinkOAuthResult, type LinkSIWEResult, type LinkThirdPartyResult, type LinkedAccountResponse, type LinkedAccountResponseV2, type ListAccountsResult, type ListConfigRequest, type ListEvmAccountsOptions, type ListFeeSponsorshipsParams, type ListFeeSponsorshipsResult, type ListForwarderContractsParams, type ListForwarderContractsResult, type ListMigrationsRequest, type ListOAuthConfigResult, type ListParams, type ListPaymastersParams, type ListPaymastersResult, type ListPoliciesParams, type ListPoliciesResult, ListPoliciesScopeItem, type ListResult, type ListSolanaAccountsOptions, type ListSubscriptionLogsParams, type ListSubscriptionLogsRequest, type ListSubscriptionLogsResult, type Log, type LogResponse, type LoginEmailPasswordResult, type LoginRequest, type LoginWithIdTokenRequest, type LoginWithIdTokenResult, type LogoutRequest, type LogoutResult, type LootLockerOAuthConfig, type MappingStrategy, type MeResult, type MeV2Result, type MessageBirdSmsProviderConfig, type MintAddressCriterion, MintAddressCriterionOperator, type MintAddressCriterionRequest, MintAddressCriterionRequestOperator, MintAddressCriterionRequestType, MintAddressCriterionSchema, MissingAPIKeyError, MissingPublishableKeyError, MissingWalletSecretError, type Money, type MonthRange, type MonthlyUsageHistoryResponse, type MonthlyUsageHistoryResponseMonthsItem, type MyEcosystemResponse, type NetUSDChangeCriterion, NetUSDChangeCriterionOperator, type NetUSDChangeCriterionRequest, NetUSDChangeCriterionRequestOperator, NetUSDChangeCriterionRequestType, NetworkError, type NextActionPayload, type NextActionResponse, NextActionType, type OAuthConfigListResponse, type OAuthConfigRequest, type OAuthConfigResponse, type OAuthInitRequest, type OAuthInitRequestOptions, type OAuthInitRequestOptionsQueryParams, OAuthProvider, OAuthProviderAPPLE, OAuthProviderDISCORD, OAuthProviderEPICGAMES, OAuthProviderFACEBOOK, OAuthProviderGOOGLE, OAuthProviderLINE, OAuthProviderTWITTER, type OAuthResponse, type OIDCAuthConfig, type OnrampFee, OnrampProvider, type OnrampQuoteRequest, type OnrampQuoteResponse, type OnrampQuotesResponse, type OnrampSessionRequest, type OnrampSessionResponse, type OnrampSessionResponseQuote, Openfort, type OpenfortErrorResponse, type OpenfortOptions, type PagingQueries, type PasskeyEnv, type PayForUserPolicyStrategy, type PaymasterDeleteResponse, type PaymasterResponse, type PaymasterResponseContext, type PhoneAuthConfig, type PickContractResponseId, type PickJsonFragmentExcludeKeyofJsonFragmentInputsOrOutputs, type PickJsonFragmentTypeExcludeKeyofJsonFragmentTypeComponents, type PickPlayerResponseId, type Plan, PlanChangeType, type PlansResponse, type PlayFabOAuthConfig, type Player, type PlayerCancelTransferOwnershipRequest, type PlayerCreateRequest, type PlayerDeleteResponse, type PlayerListQueries, type PlayerListResponse, type PlayerMetadata, type PlayerResponse, PlayerResponseExpandable, type PlayerTransferOwnershipRequest, type PlayerUpdateRequest, type Policy, type PolicyBalanceWithdrawResponse, type PolicyDeleteResponse, type PolicyListQueries, type PolicyListResponse, PolicyRateLimit, PolicyRateLimitCOUNTPERINTERVAL, PolicyRateLimitGASPERINTERVAL, PolicyRateLimitGASPERTRANSACTION, type PolicyReportQueries, type PolicyReportTransactionIntentsQueries, type PolicyResponse, PolicyResponseExpandable, type PolicyRuleDeleteResponse, type PolicyRuleListQueries, PolicyRuleListQueriesExpandItem, type PolicyRuleListResponse, type PolicyRuleResponse, PolicyRuleType, PolicyRuleTypeACCOUNT, PolicyRuleTypeCONTRACT, PolicyRuleTypeRATELIMIT, type PolicyStrategy, type PolicyStrategyRequest, PolicyV2Action, type PolicyV2Criterion, type PolicyV2CriterionRequest, type PolicyV2DeleteResponse, type PolicyV2ListQueries, PolicyV2ListQueriesScopeItem, type PolicyV2ListResponse, type PolicyV2Response, type PolicyV2RuleResponse, PolicyV2Scope, type PoolOAuthParams, type PoolOAuthResult, type PregenerateAccountResponse, PregenerateAccountResponseCustody, type PregenerateUserRequestV2, PregenerateUserRequestV2AccountType, PregenerateUserRequestV2ChainType, type PregenerateUserV2Result, PrismaSortOrder, PrivateKeyPolicy, type ProgramIdCriterion, ProgramIdCriterionOperator, type ProgramIdCriterionRequest, ProgramIdCriterionRequestOperator, ProgramIdCriterionRequestType, ProgramIdCriterionSchema, type ProjectListResponse, type ProjectLogs, type ProjectResponse, type ProjectStatsRequest, ProjectStatsRequestTimeFrame, type ProjectStatsResponse, type QueryResult, type RSAKeyPair, type ReadContractParams, type ReadContractResult, type RecordStringUnknown, type RecoverV2EmbeddedRequest, type RecoverV2Response, type RecoveryMethodDetails, type RefreshResult, type RefreshTokenRequest, type RegisterEmbeddedRequest, type RegisterEmbeddedV2Request, type RegisterGuestResult, type RegisterWalletSecretRequest, type RegisterWalletSecretResponse, RegisterWalletSecretResponseObject, type RegisterWalletSecretResult, type RemoveAccountResult, type RequestEmailVerificationResult, type RequestOptions, type RequestResetPasswordRequest, type RequestResetPasswordResult, type RequestTransferAccountOwnershipResult, type RequestVerifyEmailRequest, type ResetPasswordRequest, type ResetPasswordResult, type ResponseResponse, ResponseTypeLIST, type RevokeSessionRequest, type RevokeSessionResult, type RevokeWalletSecretRequest, type RevokeWalletSecretResponse, RevokeWalletSecretResponseObject, type RevokeWalletSecretResult, type RotateWalletSecretRequest, type RotateWalletSecretResponse, RotateWalletSecretResponseObject, type RotateWalletSecretResult, type Rule, RuleSchema, type SIWEAuthenticateRequest, type SIWEInitResponse, type SIWERequest, type SMTPConfigResponse, SendEvmTransactionRuleSchema, SendSolTransactionRuleSchema, type SessionListQueries, type SessionListResponse, type SessionResponse, SessionResponseExpandable, type ShieldConfiguration, SignEvmHashRuleSchema, SignEvmMessageRuleSchema, SignEvmTransactionRuleSchema, SignEvmTypedDataRuleSchema, type SignPayloadDeveloperAccountResult, type SignPayloadRequest, type SignPayloadRequestTypes, type SignPayloadRequestValue, type SignPayloadResponse, type SignRequest, type SignResponse, SignResponseObject, type SignResult, SignSolMessageRuleSchema, SignSolTransactionRuleSchema, type SignatureRequest, type SignatureResult, type SignatureSessionResult, type SignerIdResponse, type SignupEmailPasswordResult, type SignupRequest, type SmartAccountData, type SmsApiProviderConfig, SmsProviderMESSAGEBIRD, SmsProviderSMSAPI, SmsProviderTWILIO, SmsProviderTXTLOCAL, SmsProviderVONAGE, type SolAddressCriterion, SolAddressCriterionOperator, type SolAddressCriterionRequest, SolAddressCriterionRequestOperator, SolAddressCriterionRequestType, SolAddressCriterionSchema, type SolDataCriterion, type SolDataCriterionRequest, SolDataCriterionRequestOperator, SolDataCriterionRequestType, SolDataCriterionSchema, type SolMessageCriterion, type SolMessageCriterionRequest, SolMessageCriterionRequestOperator, SolMessageCriterionRequestType, SolMessageCriterionSchema, type SolNetworkCriterion, SolNetworkCriterionOperator, type SolNetworkCriterionRequest, SolNetworkCriterionRequestOperator, SolNetworkCriterionRequestType, SolNetworkCriterionSchema, type SolValueCriterion, SolValueCriterionOperator, type SolValueCriterionRequest, SolValueCriterionRequestOperator, SolValueCriterionRequestType, SolValueCriterionSchema, type SolanaAccount, type SolanaAccountBase, type SolanaAccountData, SolanaClient, SolanaCriteriaType, SolanaCriteriaTypeMINTADDRESS, SolanaCriteriaTypePROGRAMID, SolanaCriteriaTypeSOLADDRESS, SolanaCriteriaTypeSOLDATA, SolanaCriteriaTypeSOLMESSAGE, SolanaCriteriaTypeSOLNETWORK, SolanaCriteriaTypeSOLVALUE, SolanaCriteriaTypeSPLADDRESS, SolanaCriteriaTypeSPLVALUE, type SignMessageOptions as SolanaSignMessageOptions, type SignTransactionOptions as SolanaSignTransactionOptions, type SolanaSigningMethods, type SplAddressCriterion, SplAddressCriterionOperator, type SplAddressCriterionRequest, SplAddressCriterionRequestOperator, SplAddressCriterionRequestType, SplAddressCriterionSchema, type SplValueCriterion, SplValueCriterionOperator, type SplValueCriterionRequest, SplValueCriterionRequestOperator, SplValueCriterionRequestType, SplValueCriterionSchema, SponsorEvmTransactionRuleSchema, SponsorSchema, SponsorSchemaCHARGECUSTOMTOKENS, SponsorSchemaFIXEDRATE, SponsorSchemaPAYFORUSER, SponsorSolTransactionRuleSchema, type StandardDetails, type Stat, Status, type SubscriptionDeleteResponse, type SubscriptionListResponse, type SubscriptionLogsResponse, type SubscriptionResponse, type SupabaseAuthConfig, type SwitchChainQueriesV2, type SwitchChainRequest, type SwitchChainV2Result, type TestTrigger200, type TestTriggerResult, type ThirdPartyLinkRequest, ThirdPartyOAuthProvider, ThirdPartyOAuthProviderACCELBYTE, ThirdPartyOAuthProviderBETTERAUTH, ThirdPartyOAuthProviderCUSTOM, ThirdPartyOAuthProviderFIREBASE, ThirdPartyOAuthProviderLOOTLOCKER, ThirdPartyOAuthProviderOIDC, ThirdPartyOAuthProviderPLAYFAB, ThirdPartyOAuthProviderSUPABASE, type ThirdPartyOAuthRequest, type ThirdPartyResult, type ThirdPartyV2Result, TimeIntervalType, TimeoutError, TokenType, TransactionAbstractionType, type TransactionConfirmedEventResponse, type TransactionIntent, type TransactionIntentListQueries, type TransactionIntentListResponse, type TransactionIntentResponse, TransactionIntentResponseExpandable, type TransactionResponseLog, type TransactionStat, TransactionStatus, type Transition, type TriggerDeleteResponse, type TriggerListResponse, type TriggerResponse, type TwilioSmsProviderConfig, type TwitterOAuthConfig, type TxtLocalSmsProviderConfig, type TypedDataField, type TypedDomainData, UnknownError, type UnlinkEmailRequest, type UnlinkEmailResult, type UnlinkOAuthRequest, type UnlinkOAuthResult, type UnlinkSIWEResult, type UpdateAuthorizedAppsRequest, type UpdateAuthorizedNetworksRequest, type UpdateAuthorizedOriginsRequest, type UpdateContractRequest, type UpdateContractResult, type UpdateDeveloperAccountCreateRequest, type UpdateDeveloperAccountResult, type UpdateEmailSampleRequest, type UpdateEmailSampleResponse, type UpdateFeeSponsorshipRequest, type UpdateFeeSponsorshipResult, type UpdateForwarderContractResult, type UpdateGasPolicyLegacyResult, type UpdateGasPolicyRuleLegacyResult, type UpdateMigrationRequest, type UpdatePaymasterResult, type UpdatePlayerResult, type UpdatePolicyBody, UpdatePolicyBodySchema, type UpdatePolicyRequest, type UpdatePolicyRuleRequest, type UpdatePolicyV2Request, type UpdatePolicyV2Result, type UpdateProjectApiKeyRequest, type UpdateProjectRequest, type UpsertSMTPConfigRequest, type UsageAlert, UsageAlertType, type UsageSummaryResponse, type UsageSummaryResponseBillingPeriod, type UsageSummaryResponseOperations, type UsageSummaryResponsePlan, type UserDeleteResponse, UserInputValidationError, type UserListQueries, type UserListResponse, type UserOperationV6, type UserOperationV8, type UserOperationV9, type UserProjectCreateRequest, UserProjectCreateRequestRole, type UserProjectDeleteResponse, type UserProjectListResponse, type UserProjectResponse, UserProjectRole, UserProjectRoleADMIN, UserProjectRoleMEMBER, type UserProjectUpdateRequest, UserProjectUpdateRequestRole, ValidationError, type VerifyAuthTokenParams, type VerifyAuthTokenResult, type VerifyEmailRequest, type VerifyEmailResult, type VerifyOAuthTokenResult, type VonageSmsProviderConfig, type WalletResponse, type Web3AuthConfig, type WebhookResponse, type WithdrawalPolicyRequest, type ZKSyncDetails, authV2 as authApi, openfortAuth_schemas as authSchemas, authenticateSIWE, callbackOAuth, cancelTransferAccountOwnership, configure, create, createAccount, createAccountV2, createAuthPlayer, createBackendWallet, createContract, createDeveloperAccount, createEvent, createFeeSponsorship, createForwarderContract, createGasPolicyLegacy, createGasPolicyRuleLegacy, createGasPolicyWithdrawalLegacy, createOAuthConfig, createOnrampSession, createPaymaster, createPlayer, createPolicyV2, createSession, createSubscription, createTransactionIntent, createTrigger, decryptExportedPrivateKey, Openfort as default, deleteAuthPlayer, deleteBackendWallet, deleteContract, deleteDeveloperAccount, deleteEvent, deleteFeeSponsorship, deleteForwarderContract, deleteGasPolicyLegacy, deleteGasPolicyRuleLegacy, deleteOAuthConfig, deletePaymaster, deletePlayer, deletePolicyV2, deleteSubscription, deleteTrigger, deleteUser, deprecatedCallbackOAuth, disableAccount, disableFeeSponsorship, disableGasPolicyLegacy, enableFeeSponsorship, enableGasPolicyLegacy, encryptForImport, estimateTransactionIntentCost, evaluatePolicyV2, exportPrivateKey, generateRSAKeyPair, getAccount, getAccountV2, getAccounts, getAccountsV2, getAuthPlayer, getAuthPlayers, getAuthUser, getAuthUsers, getConfig, getContract, getContracts, getDeveloperAccount, getDeveloperAccounts, getEvent, getEvents, getFeeSponsorship, getForwarderContract, getGasPoliciesLegacy, getGasPolicyBalanceLegacy, getGasPolicyLegacy, getGasPolicyReportTransactionIntentsLegacy, getGasPolicyRulesLegacy, getGasPolicyTotalGasUsageLegacy, getJwks, getOAuthConfig, getOnrampQuote, getPaymaster, getPlayer, getPlayerSessions, getPlayers, getPolicyV2, getProjectLogs, getSession, getSignerIdByAddress, getSubscription, getSubscriptions, getTransactionIntent, getTransactionIntents, getTrigger, getTriggers, getUserWallet, getVerificationPayload, getWebhookLogsByProjectId, grantOAuth, handleChainRpcRequest, handleRpcRequest, handleSolanaRpcRequest, importPrivateKey, initOAuth, initSIWE, isOpenfortError, linkEmail, linkOAuth, linkSIWE, linkThirdParty, list, listFeeSponsorships, listForwarderContracts, listOAuthConfig, listPaymasters, listPolicies, listSubscriptionLogs, loginEmailPassword, loginWithIdToken, logout, me, meV2, poolOAuth, pregenerateUserV2, query, readContract, refresh, registerGuest, registerWalletSecret, removeAccount, requestEmailVerification, requestResetPassword, requestTransferAccountOwnership, resetPassword, revokeSession, revokeWalletSecret, rotateWalletSecret, sign, signPayloadDeveloperAccount, signature, signatureSession, signupEmailPassword, switchChainV2, testTrigger, thirdParty, thirdPartyV2, toEvmAccount, toSolanaAccount, unlinkEmail, unlinkOAuth, unlinkSIWE, updateContract, updateDeveloperAccount, updateFeeSponsorship, updateForwarderContract, updateGasPolicyLegacy, updateGasPolicyRuleLegacy, updatePaymaster, updatePlayer, updatePolicyV2, verifyAuthToken, verifyEmail, verifyOAuthToken };